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

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

Originally created by @AksharP5 on GitHub (Jan 14, 2026).

Originally assigned to: @rekram1-node on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Summary

The /session dialog is scoped to the current directory, which makes it hard to find or open sessions created in other directories. There’s no built‑in way to browse recent directories or switch context from the session list.

Expected

Provide a “change directory” flow inside /session that lets users browse sessions from other directories and optionally switch to that directory when opening a session.

Current behavior

Users must restart OpenCode in the target directory to see those sessions.

Proposed Solution

Add a directory selector in /session (e.g. ctrl+g), list recent directories based on existing sessions, and prompt to switch directories when opening a session outside the current directory.

Originally created by @AksharP5 on GitHub (Jan 14, 2026). Originally assigned to: @rekram1-node on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request ### Summary The `/session` dialog is scoped to the current directory, which makes it hard to find or open sessions created in other directories. There’s no built‑in way to browse recent directories or switch context from the session list. ## Expected Provide a “change directory” flow inside `/session` that lets users browse sessions from other directories and optionally switch to that directory when opening a session. ## Current behavior Users must restart OpenCode in the target directory to see those sessions. ## Proposed Solution Add a directory selector in `/session` (e.g. ctrl+g), list recent directories based on existing sessions, and prompt to switch directories when opening a session outside the current directory.
yindo added the opentuidiscussion labels 2026-02-16 17:58:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#5926