Support subagent transcript viewing for Agent tool calls - #76
Merged
Conversation
roborev: Combined Review (
|
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
force-pushed
the
feature/agent-tool-support
branch
from
March 3, 2026 00:55
2a506fe to
97be2e6
Compare
roborev: Combined Review (
|
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Claude Code renamed its subagent tool from
TasktoAgent. This addsAgenthandling across parser, taxonomy, frontend, and subagent transcript rendering so it works identically toTask.Key changes
agent_progressevents to map Agent tool calls to subagent session IDsAgenttoTaskcategory in tool taxonomySubagentInlinerendering and content-parser regex to cover Agent