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
opencode -c in a new directory shows the wrong working directory #42221
Running opencode -c for the first time in a new directory (one with no prior sessions) displays a previous/old directory instead of the current one. The TUI resumes a session from a different directory.
Steps to reproduce
Use opencode in directory A (creates sessions there)
Activity
github-actions commentedon Aug 13, 2026
This issue might be a duplicate of an existing issue. Please check:
opencode -cresumes a session from a different working directory — same symptom of the continue flag picking up a session from a different directory instead of the current one.