[PR #6184] feat: add interactive session switcher for subagent navigation #11768

Open
opened 2026-02-16 18:16:42 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/6184

State: open
Merged: No


Summary

Adds an interactive session switcher dialog for navigating between parent and subagent sessions, replacing the need to cycle through sessions one-by-one.

  • Hierarchical display of parent and descendant sessions (up to 3 levels)
  • Permission indicator () for sessions awaiting user input
  • Busy spinner for active sessions
  • New keybind: <leader>s (session_child_list)
  • Appears in suggested commands when subagents exist

Closes #6183

Related Issues

This addresses several related feature requests and pain points:

  • Partially addresses #5826 (Agent Session Tab Bar Navigation) - provides visual session overview via dialog
  • Partially addresses #6032 (Nerdtree like session manager) - hierarchical display in picker format
  • Helps with #4727 (Subagent Switching - Buggy) - direct selection bypasses cycling lag issues
  • Relates to #5578 (Custom command to cycle) - accessible via command palette as alternative to keybinds
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/6184 **State:** open **Merged:** No --- ## Summary Adds an interactive session switcher dialog for navigating between parent and subagent sessions, replacing the need to cycle through sessions one-by-one. - Hierarchical display of parent and descendant sessions (up to 3 levels) - Permission indicator (`◉`) for sessions awaiting user input - Busy spinner for active sessions - New keybind: `<leader>s` (`session_child_list`) - Appears in suggested commands when subagents exist Closes #6183 ## Related Issues This addresses several related feature requests and pain points: - Partially addresses #5826 (Agent Session Tab Bar Navigation) - provides visual session overview via dialog - Partially addresses #6032 (Nerdtree like session manager) - hierarchical display in picker format - Helps with #4727 (Subagent Switching - Buggy) - direct selection bypasses cycling lag issues - Relates to #5578 (Custom command to cycle) - accessible via command palette as alternative to keybinds
yindo added the pull-request label 2026-02-16 18:16:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11768