HTTP implementation and testing
The current control-plane HTTP contract is documented in the REST API reference.
| Topic | Reference |
|---|---|
| Health, identity, and capabilities | Health and identity |
| Session queries | List sessions, session detail |
| Run cancellation | Cancel a run |
| Conversation requests, human feedback, and events | AG-UI reference |
| Output listings and previews | List outputs, preview text |
| Error handling | HTTP errors |
| A2A discovery and tasks | A2A reference |
Implementation and verification entry points
- Health, identity, capabilities, and cancellation routes live in product.py. JSON envelopes and error conversion live in envelopes.py.
- Sessions, REST execution, and event streams live in app.py. Output listings and previews live in outputs.py.
- Interface checks cover product routes, sessions and runs, human feedback, and outputs.
Client progress adaptation
TUI recognizes subagent lifecycle events at its parsing boundary. Before CopilotKit validation, Web wraps SUBAGENT_* events as CUSTOM events named subagent and scopes step names by the sub-run ID. The UI continues to display the original stepName. See AG-UI stream scope for fields and parent-tool correlation.
Web and TUI measure active elapsed time on the client. Web's waiting hint only indicates a period without new progress. Progress records live in the current UI and are not replayed from a Checkpoint. Saved parent-tool results can be read after recovery. For user operations, see TUI and the Web workbench.