feat(api): implement phase 2 expanded read endpoints

This commit is contained in:
2026-03-11 23:04:42 -04:00
parent e8303b819b
commit 1be576a9a0
4 changed files with 97 additions and 8 deletions

View File

@@ -12,14 +12,14 @@
- [x] Task: Conductor - User Manual Verification 'Phase 1: WebSocket Infrastructure' (Protocol in workflow.md)
## Phase 2: Expanded Read Endpoints (GET)
- [ ] Task: Implement detailed state exposure endpoints.
- [ ] Add `/api/mma/workers` to return the status, logs, and traces of all active sub-agents.
- [ ] Add `/api/context/state` to expose AST cache metadata and file aggregation status.
- [ ] Add `/api/metrics/financial` to return track-specific token usage and cost data.
- [ ] Add `/api/system/telemetry` to expose internal thread and queue metrics.
- [ ] Task: Enhance `/api/gui/state` to provide a truly exhaustive JSON dump of all internal managers.
- [ ] Task: Update `api_hook_client.py` with corresponding methods for all new GET endpoints.
- [ ] Task: Write integration tests for all new GET endpoints using `live_gui`.
- [x] Task: Implement detailed state exposure endpoints.
- [x] Add `/api/mma/workers` to return the status, logs, and traces of all active sub-agents.
- [x] Add `/api/context/state` to expose AST cache metadata and file aggregation status.
- [x] Add `/api/metrics/financial` to return track-specific token usage and cost data.
- [x] Add `/api/system/telemetry` to expose internal thread and queue metrics.
- [x] Task: Enhance `/api/gui/state` to provide a truly exhaustive JSON dump of all internal managers.
- [x] Task: Update `api_hook_client.py` with corresponding methods for all new GET endpoints.
- [x] Task: Write integration tests for all new GET endpoints using `live_gui`.
- [ ] Task: Conductor - User Manual Verification 'Phase 2: Expanded Read Endpoints' (Protocol in workflow.md)
## Phase 3: Comprehensive Control Endpoints (POST)