Skip to content

Subagent table shows ids instead of task descriptions (Agent vs Task rename) #16

Description

@axisrow

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).

Activity

  1. axisrow commented on Sep 21, 2026

    @axisrow
    OwnerAuthor

    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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions