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
session-list shows empty when --project-path equals current directory #15023
When executing session-list --project-path in a project directory, if the --project-path parameter is the same as the current directory, the session list shows as empty.
Important Context: D:\sourceCode\opencodetest was created inside the D:\sourceCode\InsuranceCashierTool directory (nested relationship).
Plugins
No response
OpenCode version
No response
Steps to reproduce
Reproduction Steps
D:\sourceCode\opencodetest is a subdirectory of D:\sourceCode\InsuranceCashierTool
Start opencode in D:\sourceCode\opencodetest
Execute pwd to confirm current directory: /d/sourceCode/opencodetest
I'm getting this too in a directory within opencode doing ctrl+x l I get an empty list but running opencode session list I can see all the sessions an once I do opencode --session id it will then correctly appear in the session list model inside opencode.
Ok figured out whats going on in this project of mine, the sessions are older than 30 days so the tui dialog filters them, to me if I jump into a project I don't touch that much it would be useful to see the last n session even if they're older than 30 days.
Activity
github-actions commentedon Feb 25, 2026
This issue might be a duplicate of existing issues. Please check:
session-list --project-pathreturns empty results when the path equals the current working directorysession_listtool only returns current session, not all historical sessions (closed) — similar symptom of session list returning fewer sessions than expected based on directory contextbewa1t commentedon Apr 22, 2026
i guess this is true for mac as well
ryanseddon commentedon May 7, 2026
I'm getting this too in a directory within opencode doing ctrl+x l I get an empty list but running
opencode session listI can see all the sessions an once I doopencode --session idit will then correctly appear in the session list model inside opencode.ryanseddon commentedon May 7, 2026
Ok figured out whats going on in this project of mine, the sessions are older than 30 days so the tui dialog filters them, to me if I jump into a project I don't touch that much it would be useful to see the last n session even if they're older than 30 days.
github-actions commentedon Jul 8, 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.