refactor(backend-core): split monolithic index.ts into 15 focused modules

Extract config, context, logger, types, db, http, overview, performance,
provider-registry, scheduler, task-dispatcher, microservice-proxy,
ssh-bridge, and egress-tcp into separate files. index.ts now only handles
server setup, HTTP/WebSocket routing, and startup orchestration.

No behavioral changes — all existing tests and health checks pass.
This commit is contained in:
UniDesk
2026-05-15 18:16:23 +00:00
parent a65711b900
commit 8b636e2c11
19 changed files with 3848 additions and 3576 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ function commandItem(name: string, command: string[]): CheckItem {
function unifiedLogRotationItem(): CheckItem {
const serviceFiles = [
"src/components/backend-core/src/index.ts",
"src/components/backend-core/src/logger.ts",
"src/components/frontend/src/index.ts",
"src/components/provider-gateway/src/index.ts",
"src/components/microservices/code-queue/src/index.ts",