feat/p8-013-hot-reload
main
MosaicPlugin
isMosaicPlugin
apps/gateway/src/reload/
ReloadService
POST /api/admin/reload
ReloadController
/reload
CommandRegistryService
CommandExecutorService
broadcastReload()
ChatGateway
system:reload
ReloadModule
AppModule
forwardRef()
pnpm typecheck
pnpm lint
pnpm format:check
pnpm test
Closes #166
bfbe9fff97
3fcc03379a
No dependencies set.
The note is not visible to the blocked user.
Summary
MosaicPlugininterface withisMosaicPlugintype guard inapps/gateway/src/reload/ReloadServicethat orchestrates plugin unload/reload, rebuilds command manifest, handles SIGHUPPOST /api/admin/reloadREST endpoint (admin-guarded) viaReloadController/reloadadmin command toCommandRegistryServiceandCommandExecutorServicebroadcastReload()toChatGatewayto emitsystem:reloadto all connected Socket.IO clientsReloadModuleintoAppModule; usesforwardRef()to resolve circular depsTest plan
pnpm typecheck— passespnpm lint— passespnpm format:check— passespnpm test— 65 tests pass (8 test files)Closes #166
bfbe9fff97to3fcc03379a