GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(tui): restore subagent navigation by aryaminus · Pull Request #35762 · anomalyco/opencode

Conversation

@aryaminus

@aryaminus aryaminus commented Jul 7, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Issue for this PR

Closes #34457

Also addresses the cancelled subagent navigation part of #32432 and the nested child navigation part of #15972.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

This restores navigation into subagent sessions after task cancellation or interruption.

The main regression was that failed task rows could have a valid child session id, but the TUI treated the failed state as an error-expansion click and returned before running the row click handler. This PR lets failed rows with an onClick navigate, while preserving error expansion for failed rows that do not navigate anywhere.

It also keeps task cards linkable when the child session id is on top-level part metadata, keeps the subagent footer hint visible for completed/cancelled subagents, and fixes session.child.first to choose true direct children instead of siblings in nested sessions.

This does not change Windows-specific ctrl+x down key handling from #33085 or remap Ctrl+X from #23322.

How did you verify your code works?

  • npx --yes [email protected] test src/components/message-part.test.ts from packages/session-ui
  • npx --yes [email protected] run test test/cli/run/footer.view.test.tsx from packages/opencode
  • npx --yes [email protected] run test test/cli/tui/inline-tool-wrap-snapshot.test.tsx from packages/tui
  • npx --yes [email protected] typecheck from packages/session-ui
  • npx --yes [email protected] typecheck from packages/opencode
  • npx --yes [email protected] typecheck from packages/tui
  • pre-push hook: bun turbo typecheck (30 successful, 30 total)

Screenshots / recordings

No screenshot; this is a navigation/click behavior fix.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

zack-heil-fhr, michael-schienbein-fhr, taylor-rackley-FHR, avery-hyman-fhr, atomic-235, XavierCLL, and christian-berard-fhr reacted with heart emoji
All reactions
  • ❤️ 7 reactions
@aryaminus
fix(tui): restore subagent navigation
1c66d89
@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. and removed needs:compliance This means the issue will auto-close after 2 hours. labels Jul 7, 2026
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aryaminus
Merge branch 'dev' into subagent-navigation
cb392b1
@github-actions github-actions Bot mentioned this pull request Jul 9, 2026
feat(tui): show subagent status in sidebar #36042
Closed
3 of 6 tasks
@aryaminus
Merge branch 'dev' into subagent-navigation
f37caa5
This was referenced Jul 12, 2026
📊 AI CLI 工具社区动态日报 2026-07-12 zx0828/big_model_radar#242
Open
📊 AI CLI 工具社区动态日报 2026-07-12 litang9/big_model_radar#194
Open
@aryaminus

aryaminus commented Aug 15, 2026

Copy link
Copy Markdown
Author

Hi maintainers, this PR has been open for a few weeks with all checks green but no review yet.

This restores navigation into subagent sessions after task cancellation/interruption across three packages:

  • packages/tui/src/routes/session/index.tsx (InlineTool row click, children()/siblings() split for nested navigation)
  • packages/session-ui/src/components/message-part.tsx + new message-part-task.ts (task card session id resolution from top-level metadata)
  • packages/opencode/src/cli/cmd/run/footer.view.tsx (subagent footer hint visibility)

Closes #34457 and addresses parts of #32432 and #15972.

Could someone from the TUI / session-ui side take a look? cc @thdxr @rekram1-node @simonklee @Hona @Brendonovich

Happy to make any changes requested.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@aryaminus
Merge remote-tracking branch 'origin/dev' into subagent-navigation
d23ebcb
@github-actions github-actions Bot mentioned this pull request Aug 17, 2026
fix(tui): navigate nested subagent sessions #43121
Closed
3 of 6 tasks
@zack-heil-fhr

zack-heil-fhr commented Aug 24, 2026

Copy link
Copy Markdown

@thdxr can we get this fixed, please?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@thdxr

thdxr commented Oct 10, 2026

Copy link
Copy Markdown
Member

This branch has been upgraded to V2. We're no longer taking PRs for V1. If you think this is still relevant, please port it over and open it for V2.

— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@thdxr thdxr closed this Oct 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

UX Regression: Can't View Session Details of Incomplete Task Call

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@aryaminus @zack-heil-fhr @thdxr
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.