feat(CUB-58): Agent Status SignalR Service (Angular)

- Scaffold Angular 17 frontend with standalone components
- Add @microsoft/signalr package dependency
- Create AgentStatusService connecting to /hub endpoint
  - Auto-reconnect with progressive delays
  - Listens for AgentStatusChanged and BroadcastMessage
  - Logs all updates to console
  - Exposes statusUpdates$ and connected$ observables
  - onStatusUpdate() alias matching CUB-58 spec
- Create AgentStatusUpdate interface (agentId, status, lastSeenAt)
- Add APP_INITIALIZER provider to start connection on app boot
- Register initializer in app.config.ts
- Update .gitignore for frontend build artifacts
This commit is contained in:
cubecraft-agents[bot]
2026-04-26 07:21:47 +00:00
parent 230c3b295d
commit a154ea9d66
27 changed files with 15307 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "./out-tsc/spec",
"types": [
"jasmine"
]
},
"include": [
"src/**/*.spec.ts",
"src/**/*.d.ts"
]
}