GeezerVison is showing github.com — desktop: unsent new-session draft disappears from the Inbox sidebar · Issue #64078 · anomalyco/opencode
desktop: unsent new-session draft disappears from the Inbox sidebar #64078DescriptionDescription
With Settings → General → Interface layout → Inbox (appearance.tabLayout = "inbox"), a new session that has not been sent yet has no row in the sidebar. After switching to another session, it cannot be found in the list at all — it looks like it was dropped.
Nothing is deleted: the prompt is kept in %APPDATA%/ai.opencode.desktop/drafts.sqlite and the tab stays open, but the Inbox gives no way to see or return to it.
Probably why: a new session is a draft tab (/new-session?draftId=…) until the first prompt is submitted, while the Inbox list is built from server sessions (session.list), so drafts never appear. In this mode the tab strip is replaced by the Inbox, so a draft has no representation anywhere.
Expected: the Inbox keeps showing the open draft — e.g. a "Drafts" section, or the routed draft included in the top block, the way the selected session already is (sections().current in inbox.tsx).
Steps to reproduce
- Settings → General → Interface layout → Inbox.
- Start a new session, type a prompt, do not send it.
- Click another session in the sidebar.
- Look for the new session in the sidebar — no section lists it.
Environment
- OpenCode version: 2.3.0 (desktop, latest channel)
- Operating System: Windows 10.0.19045 (x64)
- Terminal: desktop app
- Plugins: none
Additional context
Activityopencodejr commented on Nov 15, 2026 Thanks for the clear report and the analysis, @BestGood777!
You're asking for the Inbox interface layout to keep showing a new session that hasn't been sent yet (a draft tab), for example in a "Drafts" section or in the top block next to the selected session. That way you can get back to the draft after switching to another session.
From the code I read, this looks like something the Inbox doesn't cover yet, not a regression:
- In Inbox layout, the Inbox replaces the vertical tab strip.
- Its top block only covers a session entry that is currently selected.
- The customized side-tabs layout does give draft tabs their own row, so this would bring the Inbox in line with it.
I've marked this as a feature request. Maintainers will consider it, but I can't promise anything about whether or when it will happen. Until then, your workaround is the one I'd suggest: send the first message before switching away.
Related:
neriousy commented on Nov 23, 2026 This was fixed in #65525, which adds a Drafts group to the Inbox sidebar. If you still see this on the latest version, comment here and we'll reopen.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|