cd /news/developer-tools/opencode-search-fast-full-text-searc… · home › topics › developer-tools › article
[ARTICLE · art-139360] src=github.com ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

OpenCode-search: fast full-text search of all your sessions

Developer arvindell released opencode-search v1.0.3, a local full-text search plugin for OpenCode that indexes session transcripts — user messages, assistant responses, tool output and referenced files — in a local SQLite index built on first use and incrementally refreshed as sessions change. The plugin installs via `opencode plugin add github:arvindell/opencode-search#v1.0.3`, adds a TUI plugin to the global cli.json, and is invoked with the /search command, with Ctrl+A toggling between current-project and all-project search. The plugin searches locally stored sessions and does not send transcript content to an external search service.

read2 min views1 publishedSep 25, 2026
OpenCode-search: fast full-text search of all your sessions
Image: Michielbdejong (auto-discovered)

A fast, local session-search plugin for OpenCode. Search past conversations by title, message text, tool output, and file references without leaving the terminal.

  • Full-text search across OpenCode session transcripts, including user messages, assistant responses, tool output, and referenced files.
  • Fuzzy matching for small typos and partial terms, with title matches ranked ahead of weaker transcript matches.
  • Project-first results so the sessions most relevant to the current workspace stay in focus.
  • Cross-project search when you need to find an older conversation anywhere in your local OpenCode history.
  • Context preview with matching excerpts and a compact message timeline before opening a result.
  • Session actions to pin, rename, or delete sessions from the picker.
  • Local SQLite index that is created on first use and incrementally refreshed as sessions change.

Install the versioned Git package with OpenCode:

opencode plugin add github:arvindell/opencode-search#v1.0.3

Restart OpenCode. The installer adds the TUI plugin to your global cli.json.

The plugin searches locally stored OpenCode sessions. It does not send transcript content to an external search service.

Open the command picker in OpenCode and run:

/search

You can also start with a query:

/search payment webhook

Search begins in the current project by default. Press Ctrl+A to include sessions from every project.

Shortcut Action
↑ / ↓ Move through results
Enter Open the selected session
Ctrl+A Toggle current-project / all-project search
Ctrl+F Pin or unpin a session
Ctrl+R Rename the selected session
Ctrl+D twice Delete the selected session

The first search builds a local SQLite full-text index from your session history. Later searches reuse that index and refresh only sessions that changed, so the picker stays responsive even when your history gets large.

Results combine exact full-text matches, title matches, prefix matching, and limited typo-tolerant matching. The selected result shows the relevant message excerpts alongside a compact conversation timeline, which makes it easier to recognize the right session before reopening it.

This plugin is written in TypeScript and uses Bun for local checks:

bun test
bun run typecheck
bun run compile

MIT — see LICENSE.

── more in #developer-tools 4 stories · sorted by recency
── more on @opencode 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/opencode-search-fast…] indexed:0 read:2min 2026-09-25 · —