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
Windows: shell working directory remains stuck on old project path after moving folder #39836
OpenCode Desktop caches the shell working directory. After I moved the project folder on Windows and reopened it from the new location, the agent session still tried to access the old path.
Expected: New session uses D:\project space\video watching agent.
Actual: Shell fails with NotFound: FileSystem.access (D:\video watching agent).
The project sidebar shows the new path, but the shell session is stuck on the old directory.
Plugins
None
OpenCode version
v1.16.2
Steps to reproduce
Create or open a project at D:\video watching agent.
Start at least one chat session in that project.
In Windows File Explorer, move the entire folder to D:\project space\video watching agent.
In OpenCode, click "New Session" (or fully restart the app).
Use "Open Project" and select the new path: D:\project space\video watching agent.
Start a new chat and run any shell command.
Observe the error: NotFound: FileSystem.access (D:\video watching agent).
Activity
github-actions commentedon Jul 31, 2026
This issue might be a duplicate of existing issues. Please check:
NotFound: FileSystem.accesserrors after moving a project folder to a new pathHona commentedon Sep 2, 2026
Fixed for opencode2 launch via #46713
You can try the desktop beta here: https://github.com/anomalyco/opencode-beta