Files
stack/apps/gateway/src/reload/reload.module.ts
Jason Woltje bfbe9fff97
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
feat(gateway): MosaicPlugin lifecycle + ReloadService + hot reload (P8-013)
Implements gateway hot reload via MosaicPlugin interface, ReloadService orchestration,
/reload admin command, POST /api/admin/reload REST endpoint, SIGHUP handler, and
system:reload broadcast to all connected TUI clients via ChatGateway.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-15 21:50:43 -05:00

15 lines
562 B
TypeScript

import { forwardRef, Module } from '@nestjs/common';
import { AdminGuard } from '../admin/admin.guard.js';
import { ChatModule } from '../chat/chat.module.js';
import { CommandsModule } from '../commands/commands.module.js';
import { ReloadController } from './reload.controller.js';
import { ReloadService } from './reload.service.js';
@Module({
imports: [forwardRef(() => CommandsModule), forwardRef(() => ChatModule)],
controllers: [ReloadController],
providers: [ReloadService, AdminGuard],
exports: [ReloadService],
})
export class ReloadModule {}