anomalyco / anomalyco/opencode
Model selector unavailable when reopening a session whose project directory was deleted
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
If a project's directory is removed from the local filesystem after a session has been run, reopening that session leaves the model selector unavailable. The user can't view or change the model for the session.
Plugins
No response
OpenCode version
2.0.10
Steps to reproduce
- Create a project
- Run a session on that project
- Remove the directory from local filesystem
- Go back to the session in OpenCode, model selector would not be available
Screenshot and/or share link
Operating System
macOS 27
Terminal
OpenCode Desktop
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in OpenCode Desktop: create a project, run a session, remove its directory, and reopen the session. Trace the session-reopen path and model-selector availability; done means the selector is available and the user can view or change the model even after the project directory is deleted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100