Skip to content

Clicking on Task tool no longer navigates to subagent session #15769

@jerome-benoit

Description

@jerome-benoit

Description

Since 90270c6, the Task component was refactored from BlockTool to InlineTool. BlockTool had an onClick handler that navigated to the subagent session, but InlineTool doesn't support onClick, so clicking on a task tool in the chat no longer navigates to the child session.

The keyboard shortcut (Ctrl+X Down) still works — only mouse click navigation is broken.

Steps to reproduce

  1. Start a session that delegates to a subagent (e.g. use @general)
  2. Wait for the task tool to appear in the chat
  3. Click on the task tool block
  4. Nothing happens — previously this would navigate to the subagent session

Operating System

Linux

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions