Skip to content

Conversation

@AksharP5
Copy link
Contributor

What does this PR do?

  • Add a directory selector to /session (ctrl+g) to browse directories with sessions.
  • Allow opening sessions from other directories with a confirmation prompt.
  • Keep session list scoped to the chosen directory; add refresh keybind in selector.

How did you verify your code works?

  • bun dev
  • type /session
  • ctrl+g to show directory selection (keybind can be changed, wasn't sure what to pick)
  • Verified manually on MacOS and WSL running ubuntu

Issue

Screenshot/Video

Before (Can only select from current directory):
Screenshot 2026-01-14 at 2 42 58 PM

After (Select from any directory with an OpenCode session):

opencode-directory-sessions.mov

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@AksharP5 AksharP5 force-pushed the feature/tui-session-directory-switch branch from 6b8774c to 872731b Compare January 14, 2026 20:38
@AksharP5 AksharP5 force-pushed the feature/tui-session-directory-switch branch from 082b8c9 to 4bba788 Compare January 16, 2026 23:21
@rekram1-node
Copy link
Collaborator

replied in discord

@AksharP5 AksharP5 changed the title feat: add directory navigation to /session dialog in TUI feat: add project navigation to /session dialog in TUI Jan 17, 2026
@AksharP5
Copy link
Contributor Author

@rekram1-node changes have been made

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.

[FEATURE]: add directory navigation to /session dialog in TUI

2 participants