anomalyco / anomalyco/opencode

Model selector unavailable when reopening a session whose project directory was deleted

Open
#50,137 0 comments 0 reactions 0 assignees View on GitHub

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
  1. Create a project
  2. Run a session on that project
  3. Remove the directory from local filesystem
  4. Go back to the session in OpenCode, model selector would not be available
Screenshot and/or share link
Image
Operating System

macOS 27

Terminal

OpenCode Desktop

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.