sgrepSearch: semantic code search for the current project (usessgrep search --json, optional--limit). Returns ranked snippets (path, lines, score, snippet).
cd plugins/opencode
bun installNormal: 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"]
}cd plugins/opencode
bun run index.ts # type-check / quick load test