Skip to content

Desktop session search excludes older sessions outside the loaded list #46832

Closed as not planned

Description

@pt-james-woszczynski

Description

In OpenCode Desktop, session search does not find older sessions that are outside the currently loaded session list, even though those sessions still exist, are not archived, and belong to the current workspace.

A session in my workspace was ranked 92nd by time_updated. It did not appear when listing the newest 50 sessions, and Desktop search returned no result for its exact title. The same session appeared when 100 sessions were requested through the CLI.

This suggests Desktop search filters only the currently loaded session subset rather than searching all sessions in the workspace. Users may therefore believe an older session has been lost.

Related:

Plugins

Not known to be relevant.

OpenCode version

1.18.26

Steps to reproduce

  1. Use OpenCode Desktop in a workspace containing more sessions than the initial session-list limit.
  2. Identify an older, non-archived session outside the loaded list.
  3. Search for that session using its exact title.
  4. Observe that Desktop returns no result.
  5. Run opencode session list -n 100 and confirm that the session exists and belongs to the same workspace.

Expected: Search returns matching sessions from the complete workspace session history.

Actual: Search only returns matches from the currently loaded subset.

Screenshot and/or share link

None.

Operating System

macOS 26.6.2

Terminal

OpenCode Desktop

Activity

  1. wsaaaqqq commented on Sep 18, 2026

    @wsaaaqqq

    Hit the same wall — search only covers the loaded subset, so an older session is unfindable even by exact title.

    Workaround I built: oos reads the session SQLite DB directly instead of the loaded list, so search completeness doesn't depend on pagination at all. Every non-archived session is searchable, including the 92nd-by-time_updated kind from this report.

    oos demo

    Same deal: type to filter across all projects, Enter to resume, zero config, MIT: https://github.com/wsaaaqqq/oos

  2. thdxr commented on Oct 11, 2026

    @thdxr
    Member

    Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.

    — from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions