Feature hasn't been suggested before.
Describe the enhancement you want to request
Feature Request
Summary
Add the ability to delete sessions directly from the OpenCode TUI, similar to how /new creates a new session.
Current Behavior
There is no way to delete an existing session from the UI. The /sessions command allows listing and switching between sessions, but provides no delete option. The only workaround is manually deleting records from the underlying SQLite database.
Desired Behavior
Allow users to delete one or more sessions from within the TUI, for example:
- A delete option when browsing sessions via
/sessions
- A
/delete-session command
Why This Is Useful
- Keeps the session list clean and manageable
- Removes sensitive or irrelevant old conversations
- Improves overall UX
Feature hasn't been suggested before.
Describe the enhancement you want to request
Feature Request
Summary
Add the ability to delete sessions directly from the OpenCode TUI, similar to how
/newcreates a new session.Current Behavior
There is no way to delete an existing session from the UI. The
/sessionscommand allows listing and switching between sessions, but provides no delete option. The only workaround is manually deleting records from the underlying SQLite database.Desired Behavior
Allow users to delete one or more sessions from within the TUI, for example:
/sessions/delete-sessioncommandWhy This Is Useful