You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Subagent table shows ids instead of task descriptions (Agent vs Task rename) #16
Part of #2. The subagent table shows raw ids (aef1ba54…) instead of task descriptions.
Investigation (evidence)
src/main/utils/toolExtraction.ts:20 hardcodes const isTask = block.name === 'Task';. Newer Claude Code renamed the tool: the current session has 11 tool_use blocks named "Agent" and 0 named "Task". So getTaskCalls() returns nothing → SubagentResolver.linkToTaskCalls links nothing → Process.description stays undefined → the CLI prints bare ids.
Proposed fix
One line in src/main/utils/toolExtraction.ts: const isTask = block.name === 'Task' || block.name === 'Agent';
This is a shared file — the Electron app benefits too (its task-filtering has the same blind spot for Agent-named calls). Consumers checked: ProcessLinker.ts:27 (subagent linking — exactly what we want fixed), jsonl.ts getTaskCalls, renderer displayItemBuilder.ts uses its own call.name === 'Task' checks (line 518) — those stay as-is for now (separate concern, note in PR).
Estimate: S (~15 LOC incl. test for an Agent-named call extracting taskDescription).
Fixed in main (cherry-pick f8bb1fd): extractToolCalls now accepts both Task and Agent names — subagent descriptions resolve in the CLI table. Upstream tracking: matt1398#237, PR matt1398#238 (Task was renamed to Agent in Claude Code 2.1.63, docs confirmed).
Activity
axisrow commentedon Sep 21, 2026
Fixed in main (cherry-pick f8bb1fd): extractToolCalls now accepts both Task and Agent names — subagent descriptions resolve in the CLI table. Upstream tracking: matt1398#237, PR matt1398#238 (Task was renamed to Agent in Claude Code 2.1.63, docs confirmed).