Skip to content

[FEATURE]: Show directory in opencode session list output #17594

Closed as not planned

Description

@linuxtopia

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

Description

The opencode session list command shows session ID, title, and updated time, but does NOT include the directory field that tells users which directory each session was started from.
When a user has many sessions across different projects, they have no way to know which directory a session belongs to without running opencode export <sessionID> for each one.

Current behavior

Session ID Title Updated
─────────────────────────────────────────────────────────────────────────
ses_xxxx My session 2:36 PM

Expected behavior

Session ID Title Directory Updated
─────────────────────────────────────────────────────────────────────────────────
ses_xxxx My session /home/user/project 2:36 PM

Why this matters

  • Users can't see which directory their previous sessions were in
  • Hard to find sessions from a specific project when there are many
  • Forces unnecessary export calls just to see basic context
  • CLI session list should show the same information available in the session JSON (directory field)

Workaround

Currently users must run opencode export <sessionID> for each session to see the directory, or use opencode db if it supported session queries (it currently doesn't expose sessions table).

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Mar 15, 2026
  2. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Mar 15, 2026
  3. jcrben commented on Apr 18, 2026

    @jcrben

    I ended up just writing a wrapper around it to see this. But looking forward to being able to replace it with native functionality.

  4. assigned and unassigned on Apr 26, 2026
  5. removed
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  6. github-actions commented on Jul 7, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 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

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions