Skip to content

Conversation

@rgodha24
Copy link
Contributor

Screen.Recording.2025-12-18.at.2.00.49.PM.mov

the latency is just because im doing this over an ssh connection

Copilot AI review requested due to automatic review settings December 18, 2025 21:01
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds interactive click functionality to subagent task displays in the TUI, allowing users to click on subagent tasks to open them in a dialog with navigation options.

  • Converts TaskTool rendering to an interactive clickable box with hover effects
  • Adds a new dialog component for subagent actions (currently supporting "Open" action to navigate to the subagent's session)
  • Implements text selection detection to prevent dialog opening when users are selecting text

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
packages/opencode/src/cli/cmd/tui/routes/session/index.tsx Updated TaskTool registration to use an interactive box component with mouse event handlers, hover states, and dialog integration for subagent navigation
packages/opencode/src/cli/cmd/tui/routes/session/dialog-subagent.tsx New dialog component providing action menu for subagent sessions with navigation to the subagent's session view

The code changes follow established patterns in the codebase, implement appropriate null checks, and integrate cleanly with existing dialog and navigation systems. No issues were identified during the review.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rgodha24 rgodha24 changed the title tui: click on subagents to open them feat(tui): click on subagents to open them Dec 18, 2025
@rekram1-node
Copy link
Collaborator

this is good

@rekram1-node
Copy link
Collaborator

/review

@github-actions
Copy link
Contributor

lgtm

@rekram1-node rekram1-node merged commit 5f03290 into anomalyco:dev Dec 19, 2025
3 checks passed
shuv1337 added a commit to Latitudes-Dev/shuvcode that referenced this pull request Dec 19, 2025
* feat(tui): click on subagents to open them (anomalyco#5761)

Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>

* chore: generate

* fix: better api call error msgs in some cases

* tweak: better release notes (grouped changelog) (anomalyco#5768)

* ci: better err msg for generate workflow

* fix(desktop): extra reqs

* fix(desktop): shell mode

* release: v1.0.169

* sync: record last synced tag v1.0.169

---------

Co-authored-by: Rohan Godha <git@rohangodha.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
Co-authored-by: Luke Parker <10430890+Hona@users.noreply.github.com>
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
Co-authored-by: opencode <opencode@sst.dev>
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
rekram1-node added a commit that referenced this pull request Dec 27, 2025
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants