Add whisper docker dependency status to gateway dashboard

This commit is contained in:
William Valentin
2026-02-22 19:20:09 -08:00
parent d4a13e3c71
commit 8fcbb5f521
11 changed files with 559 additions and 24 deletions
+33
View File
@@ -382,6 +382,39 @@ Return status for user-level local LLM backend daemons (for example `ollama.serv
}
```
#### `system.dockerDependencies`
Return status for docker-compose managed dependencies (currently includes local Whisper service status for voice transcription workflows).
**Request:**
```json
{
"id": 12,
"method": "system.dockerDependencies"
}
```
**Response:**
```json
{
"id": 12,
"result": {
"dependencies": [
{
"id": "whisper",
"name": "Whisper (whisper.cpp)",
"service": "whisper-server",
"configured": true,
"state": "running",
"health": "healthy",
"statusText": "Up 4 minutes (healthy)",
"containerName": "flynn-whisper-server-1"
}
]
}
}
```
#### `system.localBackendControl`
Control a local backend daemon (`start`, `restart`, `stop`, `update`).
+20
View File
@@ -15,6 +15,26 @@
],
"test_status": "pnpm test:run src/frontends/tui/minimal.test.ts passing"
},
"dashboard-docker-dependencies-whisper-status": {
"status": "completed",
"date": "2026-02-23",
"updated": "2026-02-23",
"summary": "Added docker-compose dependency visibility to gateway + dashboard with new `system.dockerDependencies` RPC and Whisper status cards in Live Ops Dashboard. Whisper compose service is now defined in `docker-compose.yml` behind a `voice` profile for optional local transcription runtime.",
"files_modified": [
"src/gateway/handlers/dockerDependencies.ts",
"src/gateway/handlers/dockerDependencies.test.ts",
"src/gateway/handlers/system.ts",
"src/gateway/handlers/handlers.test.ts",
"src/gateway/server.ts",
"src/gateway/ui/pages/dashboard.js",
"src/gateway/ui/pages/dashboard.test.ts",
"docker-compose.yml",
"README.md",
"docs/api/PROTOCOL.md",
"docs/plans/state.json"
],
"test_status": "pnpm test:run src/gateway/handlers/dockerDependencies.test.ts src/gateway/handlers/handlers.test.ts src/gateway/ui/pages/dashboard.test.ts + pnpm typecheck passing"
},
"dashboard-local-backend-update-actions": {
"status": "completed",
"date": "2026-02-23",