anomalyco / anomalyco/opencode

[FEATURE]: Search session contents from session pickers

Open
#38,973 2 comments 1 reaction 1 assignee View on GitHub

@kitlangton is already working on this.

Since Jul 26, 2026.

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

Description

Feature hasn't been suggested before.
  • I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request

Session search in the desktop Home screen / Cmd+B picker and the TUI /sessions picker currently matches session titles only. Generated titles are often insufficient when trying to recover a particular discussion, error message, command, or decision from an older session.

Please allow session search to match user and assistant text stored throughout each session. Desktop results could show one compact context snippet with the matching phrase highlighted, while TUI results can remain compact.

Search should respect the selected project scope and continue to support global search from Home. Results should also remain stable while typing.

This would make past discussions discoverable without requiring users to remember generated titles or open and export sessions individually.

Related prior requests: #11819 and #14708 were closed for inactivity, and their associated PR #14718 was closed unmerged. #15602 concerns searching within the currently open session and only mentions cross-session search as future work. This request is specifically scoped to searching stored message text from the session picker, with compact matching snippets.

Image

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.