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>
20 lines
517 B
TypeScript
20 lines
517 B
TypeScript
import { NestFactory } from "@nestjs/core";
|
|
import { AppModule } from "./app.module";
|
|
import { Logger } from "@nestjs/common";
|
|
|
|
const logger = new Logger("Orchestrator");
|
|
|
|
async function bootstrap() {
|
|
const app = await NestFactory.create(AppModule, {
|
|
logger: ["error", "warn", "log", "debug", "verbose"],
|
|
});
|
|
|
|
const port = process.env.ORCHESTRATOR_PORT ?? 3001;
|
|
|
|
await app.listen(Number(port), "0.0.0.0");
|
|
|
|
logger.log(`🚀 Orchestrator running on http://0.0.0.0:${String(port)}`);
|
|
}
|
|
|
|
void bootstrap();
|