Commit Graph

4 Commits

Author SHA1 Message Date
Ayaan Zaidi dfcef3a28f fix: Claude CLI subagent thinking and tool calls leak into the parent turn (#125621)
Claude Code forwards Agent-tool subagent records with parent_tool_use_id set; the streaming parser treated them as parent records, so subagent thinking streamed as the assistant's reasoning and subagent tool calls surfaced as unattributed top-level tool events. Gate the thinking/tool dispatchers and assistant-snapshot path on one shared isClaudeSubagentRecord guard.

Also read Claude result errors[] (skipping [ede_diagnostic] telemetry) for every error result instead of reporting only the subtype name.

Fixture: live Claude Code 2.1.234 stream-json capture with a background Explore subagent. Telegram E2E on the claude-cli backend shows the progress draft with only the parent Agent row.
2026-08-18 10:51:18 +05:30
Peter Steinberger 97d374b357 refactor(agents): remove retired Codex CLI parser (#116017) 2026-07-29 14:14:41 -04:00
Peter Steinberger 1f537c36c6 fix(agents): expose CLI tool summaries in terminal results (#115797)
* fix(agents): preserve CLI tool summaries

* fix(agents): cover Codex collaboration tools
2026-07-29 05:30:39 -04:00
Ayaan Zaidi b34c188f8f fix(agents): surface Claude CLI thinking token progress 2026-07-04 19:43:11 -07:00