sgrep-opencode
v1.0.0
Published
## What it does
Readme
Sgrep OpenCode Plugin
What it does
sgrepSearch: semantic code search for the current project (usessgrep search --json, optional--limit). Returns ranked snippets (path, lines, score, snippet).
Install
cd plugins/opencode
bun installUse in OpenCode
Normal: if published/linked as sgrep-opencode, add by name:
{
"plugins": ["sgrep-opencode"]
}Dev (local checkout): point to the full path, e.g.
{
"plugins": ["file:///Users/jenslys/Code/sgrep/plugins/opencode"]
}Develop
cd plugins/opencode
bun run index.ts # type-check / quick load test