Search your OpenCode sessions with full text & fuzzy search; with message and file matching
TypeScript
2
11 commits
updated Sep 24, 2026
A fast, local session-search plugin for OpenCode. Search past conversations by title, message text, tool output, and file references without leaving the terminal.

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.
11 commits
Search your OpenCode sessions with full text & fuzzy search; with message and file matching
TypeScript
2
11 commits
updated Sep 24, 2026
A fast, local session-search plugin for OpenCode. Search past conversations by title, message text, tool output, and file references without leaving the terminal.

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.
11 commits
TypeScript
100.0%