Expand description
Agent response parser — normalizes JSON output from different agents.
Each agent (Claude, Codex, OpenCode) returns a different JSON shape.
This module parses them all into a common AgentResponse struct.
Replaces scripts/parse_response.sh + jq pipelines.
Structs§
- Agent
Response - Normalized agent response.
- Delegation
- A subtask delegation requested by an agent.
Functions§
- parse
- Parse raw agent output into a normalized response.
- parse_
and_ print - Parse an agent response from a file path (or stdin if “-”).