You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Sessions should be able to be listed globally #16116
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.
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.
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.
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?
Activity
github-actions commentedon Mar 5, 2026
This issue might be a duplicate of existing issues. Please check:
mahyarmirrashed commentedon Mar 5, 2026
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.
marktari commentedon Apr 4, 2026
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.
SusanWhiteUTK commentedon May 21, 2026
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?
github-actions commentedon Jul 21, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.