[PR #8542] feat: add project navigation to /session dialog in TUI #12788

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

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

State: open
Merged: No


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):

https://github.com/user-attachments/assets/345a1b60-2754-4db1-b800-367cbb67f6c3

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/8542 **State:** open **Merged:** No --- ### 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 - Closes #8541 ### Screenshot/Video Before (Can only select from current directory): <img width="558" height="271" alt="Screenshot 2026-01-14 at 2 42 58 PM" src="https://github.com/user-attachments/assets/6b6ab575-6b2e-4f01-95c4-08454729096e" /> After (Select from any directory with an OpenCode session): https://github.com/user-attachments/assets/345a1b60-2754-4db1-b800-367cbb67f6c3
yindo added the pull-request label 2026-02-16 18:17:40 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12788