Commit 7f04a4a
committed
feat(codex): normalize items and emit subagent task events
- Normalize commandExecution, fileChange, webSearch, mcpToolCall, and dynamicToolCall items to Claude-compatible data shapes with toolName + input + extras
- Map Codex collabAgentToolCall (spawnAgent/wait/closeAgent) to task.started/task.completed events for AgentGroupCard rendering
- Track subagent lifecycle idempotently across reconnects using SubagentTaskTracker keyed by parentThreadId|subagentThreadId
- Surface durationMs for tasks and tool calls
- Sanitize MCP server/tool segment names (__ → _) while preserving originals for McpToolCallCard1 parent f95a4d2 commit 7f04a4a
29 files changed
Lines changed: 2269 additions & 57 deletions
File tree
- apps
- server/src
- orchestration/Layers
- provider
- Layers
- acp
- web/src
- components
- chat
- lib
- routes
- rpc
- packages/contracts/src
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2781 | 2781 | | |
2782 | 2782 | | |
2783 | 2783 | | |
| 2784 | + | |
2784 | 2785 | | |
2785 | 2786 | | |
2786 | 2787 | | |
| |||
2835 | 2836 | | |
2836 | 2837 | | |
2837 | 2838 | | |
| 2839 | + | |
2838 | 2840 | | |
2839 | 2841 | | |
2840 | 2842 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
444 | 447 | | |
445 | 448 | | |
446 | 449 | | |
| |||
0 commit comments