anomalyco / anomalyco/opencode
Cannot delete projects or sessions; deleting the project folder and recreating a same-named folder brings back old sessions
@jlongster is already working on this.
Since Aug 7, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Feature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
On the OpenCode desktop app (Windows 11, v1.18.15), I cannot delete a project or a session from the UI (right-click has no delete option / delete does nothing).
I tried to work around it by manually deleting the project folder on disk (after quitting the app), but after recreating a folder with the same name, the old sessions for that project reappear in the project's session list, as if they were still stored somewhere outside the project folder (probably keyed by project name/path rather than an ID).
This is a follow-up of #39999 (closed as not_planned without a response) — the problem still exists.
Suggested behavior
- Add a delete option for projects and sessions in the desktop UI (right-click menu / settings page).
- Session data should not be tied to the folder name; deleting the folder or recreating a same-named folder should not resurrect old sessions.
Environment
- OS: Windows 11
- App: OpenCode Desktop v1.18.15
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.
Assessment
This issue has not been assessed yet.