feat(tess): add Mos coordination boundary (#735)

This commit is contained in:
2026-07-13 11:59:16 +00:00
parent 9e5b9188ce
commit 76325ca3f2
12 changed files with 1307 additions and 15 deletions
+22 -2
View File
@@ -1,10 +1,30 @@
import { Module } from '@nestjs/common';
import { InMemoryMosCoordinationPort } from '@mosaicstack/coord';
import { CoordService } from './coord.service.js';
import { CoordController } from './coord.controller.js';
import {
MOS_COORDINATION_CONFIG,
MOS_COORDINATION_PORT,
MosCoordinationService,
} from './mos-coordination.service.js';
@Module({
providers: [CoordService],
providers: [
CoordService,
{
provide: MOS_COORDINATION_PORT,
useFactory: (): InMemoryMosCoordinationPort => new InMemoryMosCoordinationPort(),
},
{
provide: MOS_COORDINATION_CONFIG,
useFactory: () => ({
interactionAgentId: process.env['MOSAIC_AGENT_NAME'],
orchestrationAgentId: process.env['MOSAIC_ORCHESTRATOR_AGENT_NAME'],
}),
},
MosCoordinationService,
],
controllers: [CoordController],
exports: [CoordService],
exports: [CoordService, MosCoordinationService],
})
export class CoordModule {}