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
[FEATURE]: Add ability to delete projects in OpenCode Desktop #28030
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
OpenCode currently has no way to delete a project from the Desktop application. Users can list, create, and update projects, but there is no delete option in the UI. This leaves stale project entries that cannot be cleaned up without manual SQLite manipulation.
I've verified that #25004 (which proposed the backend DELETE /project/:id endpoint) was closed for not following contributing guidelines, and #8083 and #15694 (similar requests) are also closed. The backend API for project deletion may not yet be implemented, but this issue is specifically about adding a UI feature in the Desktop app that allows users to delete projects they no longer need.
What I'm asking for:
A delete button or option in the Desktop
A confirmation dialog before deletion to prevent accidental data loss
The deletion should cascade to remove associated sessions, messages, and related data
Why this is needed:
Users who switch projects frequently accumulate stale entries
There's no built-in way to clean up old projects from the Desktop UI
You could just delete the individual sessions. The project is just like the folder in which you are working so I think it was right that the sessions alone are the ones which are deletable. But it will be a nice feature in a sense that, you can delete all sessions at once
Ok, i expected that near archive icon. My bad.
Still that is not solution or workaround. When i delete all session project on left toolbar still persist and cant be deleted
Reacted by Luke Ballantyne, Slava Petrov, Senex and happk
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.
Reacted by Slava Petrov, Benjamin Schaffrath, Senex, Elouan Martinet, Edward Leselrod, Davood Haji Taghi Tehrani, happk, TheNexter, Felix Schaefer, Diogo Gomes and 2 more
When changing the directory name (ie folder name) that was declared as project in opencode desktop that leads to corrupted workspace - now i can not add the newly renamed folder as new project and reveal in finder does not work - delete project is needed
Reacted by Oleksandr Liakhevych, soldiweb, Jiří Kuneš, Felix Schaefer, niico, tknot, Diogo Gomes, Ioannis Tsintzas and likman
My use case was a clone to the same project inside another subdirectory. I had (wrongly) selected that folder as the project in opencode.
That folder has now been deleted. Removing the project in the app and creating a new one (pointed to the correct folder) just references the old project, with no way to clear.
This is also breaking any calls, because it keeps trying to use the folder from the previous project.
Naming the folder to something else and pointing a new project to it is not enough, it's still pointing to sessions from the previous project.
Activity
github-actions commentedon May 17, 2026
This issue might be a duplicate of existing issues. Please check:
sparrowhaydnn commentedon May 17, 2026
You could just delete the individual sessions. The project is just like the folder in which you are working so I think it was right that the sessions alone are the ones which are deletable. But it will be a nice feature in a sense that, you can delete all sessions at once
kadeshar commentedon May 17, 2026
First issue is about sessions
Second issue is about workspaces
Both are not related with projects.
From desktop perspective you can only archive sessions
sparrowhaydnn commentedon May 17, 2026
Did you check the latest version, cos you can actually delete a session now. Click on the 3 dots when you open a session and then you will see delete
kadeshar commentedon May 18, 2026
Ok, i expected that near archive icon. My bad.
Still that is not solution or workaround. When i delete all session project on left toolbar still persist and cant be deleted
github-actions commentedon Jul 18, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.
trackme518 commentedon Sep 21, 2026
When changing the directory name (ie folder name) that was declared as project in opencode desktop that leads to corrupted workspace - now i can not add the newly renamed folder as new project and reveal in finder does not work - delete project is needed
FranciscoKnebel commentedon Sep 29, 2026
My use case was a clone to the same project inside another subdirectory. I had (wrongly) selected that folder as the project in opencode.
That folder has now been deleted. Removing the project in the app and creating a new one (pointed to the correct folder) just references the old project, with no way to clear.
This is also breaking any calls, because it keeps trying to use the folder from the previous project.
Naming the folder to something else and pointing a new project to it is not enough, it's still pointing to sessions from the previous project.
Had to resort back to using the CLI.
garawaa commentedon Nov 5, 2026
still did not fixed it.
kadeshar commentedon Nov 5, 2026
Yeap, i should say is pretty basic feature to not get mess in projects.
azadshaikh commentedon Nov 6, 2026
This is a imp feature. Please implement this.