Skip to content

[FEATURE]: Sessions should be able to be listed globally #16116

Closed as not planned

Description

@mahyarmirrashed

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

If I have a project at path /A, and I move it to /B, how can I get the OpenCode session that I launched in /A to move with me to /B?

Being able to see all sessions globally would give me the ability to rename a project/folder, and have the sessions follow me. This is currently a huge limiting factor for me.

Activity

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

    @github-actions
    Contributor

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

  4. mahyarmirrashed commented on Mar 5, 2026

    @mahyarmirrashed
    Author

    It would be great to have a way to view it as a tree-like structure of all your sessions, or even as a table, and then be able to change the working directory for each of these sessions in the database.

  5. marktari commented on Apr 4, 2026

    @marktari

    Having trouble with this myself. It would be nice if the project id was created/read from a dot file so if the project moved opencode can still reference everything correctly. Referencing by project path IMHO isn't the best way. Each project should have a .opencode.config.json type file inside the project root.

  6. assigned and unassigned on Apr 26, 2026
  7. 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
  8. SusanWhiteUTK commented on May 21, 2026

    @SusanWhiteUTK

    This request is for CLI, and there is another related one for TUI. I would like to see something similar for "listSessionsGlobal was added to the internal API for the CLI and TUI builds, but the desktop GUI app never got the corresponding PluginInput.listSessionsGlobal hook for plugins to use." Let me know if I need to create a new ticket?

  9. github-actions commented on Jul 21, 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