anomalyco / anomalyco/opencode

Home page session list has no delete/archive entry point (desktop)

Open
#40,786 2 comments 3 reactions 1 assignee View on GitHub

@Brendonovich is already working on this.

Since Aug 6, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Summary

On the Desktop app (macOS, v1.18.14), the Home page session list has no way to delete or archive sessions — there is no three-dot menu, no right-click context menu, and no hover button. Right-clicking a session row does nothing.

Expected behavior

Users should be able to delete (or at least archive) sessions directly from the Home page session list, e.g.:

  1. A hover-visible delete/archive button on each session row, and/or
  2. A right-click context menu with "Archive" / "Delete session", and/or
  3. A bulk "Select" mode to delete multiple sessions at once.
What I verified (from the app bundle, v1.18.14)

I extracted app.asar from the installed desktop build and inspected the Home session row component:

  • HomeSessionRow only binds click / auxclick (open session, open in background) — no onContextMenu handler, which is why right-click silently does nothing.
  • The only per-row action button (archive) is gated behind SHOW_HOME_SESSION_ARCHIVE = false — a hardcoded constant, so the archive button is never rendered in the current build.
  • The delete-session entry (DialogDeleteSession, "Delete session") only exists inside the session's own timeline header menu (the faint ghost button in the top-right of an open conversation), which requires opening the session first.
Impact

With no management affordance on the Home list, sessions accumulate without any way to clean them up from the UI. The only workaround is manually deleting rows from the SQLite database (~/.local/share/opencode/opencode.db) after quitting the app.

Environment
  • OpenCode Desktop: 1.18.14 (macOS)
  • Session count in DB: 100+ (grows every day)

Related: #21619 (older request for RECENTS delete option, closed as not-planned; the Home list in the current V2 desktop UI still has no entry point).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.