Skip to content

Support subagent transcript viewing for Agent tool calls - #76

Merged
wesm merged 1 commit into
kenn-io:mainfrom
thellert:feature/agent-tool-support
Mar 3, 2026
Merged

Support subagent transcript viewing for Agent tool calls#76
wesm merged 1 commit into
kenn-io:mainfrom
thellert:feature/agent-tool-support

Conversation

@thellert

@thellert thellert commented Feb 28, 2026

Copy link
Copy Markdown
Contributor

Summary

Claude Code renamed its subagent tool from Task to Agent. This adds Agent handling across parser, taxonomy, frontend, and subagent transcript rendering so it works identically to Task.

Key changes

  • Parse agent_progress events to map Agent tool calls to subagent session IDs
  • Normalize Agent to Task category in tool taxonomy
  • Extend SubagentInline rendering and content-parser regex to cover Agent
  • Add Agent tool name mapping and normalization tests

@roborev-ci

roborev-ci Bot commented Feb 28, 2026

Copy link
Copy Markdown

roborev: Combined Review (2a506fe)

Verdict: All successful reviews agree the code is clean and free of vulnerabilities or logic errors.

No issues of Medium, High, or Critical severity were found.


Synthesized from 4 reviews (agents: codex, gemini | types: default, security)

Claude Code renamed its `Task` tool to `Agent`. Add handling for the
new name across all parser, taxonomy, content formatting, and frontend
layers while keeping backward compatibility with existing `Task` data.

- Normalize "Agent" → "Task" category in taxonomy
- Handle "Agent" in content.go, codex.go switch cases
- Add "Agent" to export.go toolBlockRe regex
- Add Agent to frontend content-parser TOOL_NAMES and TOOL_ALIASES
- Skip fallback content for Agent in tool-params.ts
- Render Agent tool_use via SubagentInline in ToolBlock.svelte
- Parse queue-operation and progress events for subagent session IDs
- Add tests for Agent in taxonomy, parser, codex, and subagent mapping
@wesm
wesm force-pushed the feature/agent-tool-support branch from 2a506fe to 97be2e6 Compare March 3, 2026 00:55
@roborev-ci

roborev-ci Bot commented Mar 3, 2026

Copy link
Copy Markdown

roborev: Combined Review (97be2e6)

Verdict: All agents agree the code is clean and no medium or higher severity issues were found.


Synthesized from 3 reviews (agents: codex, gemini | types: default, security)

@wesm
wesm merged commit 352c74c into kenn-io:main Mar 3, 2026
6 checks passed
cursor Bot pushed a commit to diazMelgarejo/periscope that referenced this pull request Jun 1, 2026
## Summary
Claude Code renamed its subagent tool from `Task` to `Agent`. This adds
`Agent` handling across parser, taxonomy, frontend, and subagent
transcript rendering so it works identically to `Task`.

## Key changes
- Parse `agent_progress` events to map Agent tool calls to subagent
session IDs
- Normalize `Agent` to `Task` category in tool taxonomy
- Extend `SubagentInline` rendering and content-parser regex to cover
Agent
- Add Agent tool name mapping and normalization tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants