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]: Desktop: add Undo to Archive current session #65242
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Give OpenCode Desktop’s Archive current session command a short undo window. I use the keyboard to clear finished conversations as I work, and I want to be able to catch an accidental press without opening the archive or confirming every time.
Invoke Archive current session from the command palette or a configurable shortcut. I use ⌘⇧M on Mac, including while the composer has focus.
Keep the session open and show a toast with Undo for about five seconds. Undo cancels the pending archive; nothing has been changed on the server.
If the timer expires, archive the session that was originally targeted and close its tab. Switching tabs shouldn’t change the target. If the session has started running or is waiting for input, skip the archive.
#62601 tracks restoring the Desktop shortcut. This request is for the undo window and what happens before the archive is committed.
I built this as a small reference plugin for OpenCode Desktop 2.3.2 on macOS. I’d like to switch to the built-in command once this behavior is available.
Thanks for the clear write-up and for building a reference plugin, @Santiago-j-s!
To restate the request: Archive current session in Desktop would wait about five seconds and show an Undo toast before archiving. The target stays the session you started from, even if you switch tabs. The archive is skipped if that session starts running or is waiting for input, so an accidental keypress is easy to catch without a confirmation dialog. Maintainers will consider it.
Activity
opencodejr commentedon Nov 20, 2026
Thanks for the clear write-up and for building a reference plugin, @Santiago-j-s!
To restate the request: Archive current session in Desktop would wait about five seconds and show an Undo toast before archiving. The target stays the session you started from, even if you switch tabs. The archive is skipped if that session starts running or is waiting for input, so an accidental keypress is easy to catch without a confirmation dialog. Maintainers will consider it.
Related: