feat(M6): Set up orchestrator service foundation
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

Add NestJS-based orchestrator service structure for M6-AgentOrchestration.

Changes:
- Migrate from Express to NestJS architecture
- Add health check endpoint module
- Add placeholder modules: coordinator, git, killswitch, monitor, queue, spawner, valkey
- Update configuration for NestJS
- Update lockfile for new dependencies

This is foundational work for M6-AgentOrchestration milestone.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Jason Woltje
2026-02-02 13:16:19 -06:00
parent 9e06e977be
commit e808487725
21 changed files with 587 additions and 74 deletions

View File

@@ -2,32 +2,47 @@
"name": "@mosaic/orchestrator",
"version": "0.0.6",
"private": true,
"type": "module",
"main": "dist/main.js",
"scripts": {
"dev": "tsx watch src/main.ts",
"build": "tsc",
"dev": "nest start --watch",
"build": "nest build",
"start": "node dist/main.js",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main.js",
"test": "vitest",
"test:watch": "vitest watch",
"test:e2e": "vitest run --config tests/integration/vitest.config.ts",
"typecheck": "tsc --noEmit",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.31.1",
"@anthropic-ai/sdk": "^0.72.1",
"@mosaic/shared": "workspace:*",
"@mosaic/config": "workspace:*",
"fastify": "^5.2.0",
"ioredis": "^5.4.2",
"@nestjs/common": "^11.1.12",
"@nestjs/core": "^11.1.12",
"@nestjs/platform-express": "^11.1.12",
"@nestjs/config": "^4.0.2",
"@nestjs/bullmq": "^11.0.4",
"bullmq": "^5.67.2",
"ioredis": "^5.9.2",
"dockerode": "^4.0.2",
"simple-git": "^3.27.0",
"zod": "^3.24.1"
"zod": "^3.24.1",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1"
},
"devDependencies": {
"@nestjs/cli": "^11.0.6",
"@nestjs/schematics": "^11.0.1",
"@nestjs/testing": "^11.1.12",
"@types/dockerode": "^3.3.31",
"@types/node": "^22.10.5",
"tsx": "^4.19.2",
"@types/node": "^22.13.4",
"@types/express": "^5.0.1",
"typescript": "^5.8.2",
"vitest": "^3.0.8"
"vitest": "^4.0.18",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0"
}
}