Skip to content

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

Closed

Description

@AksharP5

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.

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Jan 14, 2026
  2. AksharP5 commented on Jan 14, 2026

    @AksharP5
    ContributorAuthor

    working on this

  3. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Jan 14, 2026
  4. github-actions commented on Jan 14, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if your specific use case differs from these.

  5. thdxr commented on Mar 25, 2026

    @thdxr
    Member

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussionopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions