{
"name": "basemind",
"version": "0.5.0",
"description": "Full AI context layer over MCP — tree-sitter code-map, document RAG (PDF/Office/HTML/email + OCR + reranker), shared agent memory, on-demand web crawl, git history + blame + per-symbol diff. 300+ languages, 8 coding-agent harnesses, content-addressed Fjall + LanceDB.",
"contextFileName": "GEMINI.md",
"mcpServers": {
"basemind": {
"command": "${extensionPath}/scripts/mcp-launch.sh",
"args": ["serve"]
}
},
"_comment_hooks": "BEST-EFFORT: Gemini CLI extension hook wiring is only partly documented. We mirror the Claude SessionStart + UserPromptSubmit entries against the shared top-level hooks scripts via ${extensionPath} (the gemini extension root == repo root, so hooks/ resolves directly — no copy needed). session-start emits SDK-standard {additionalContext}; inbox-notify does per-turn delta injection. TODO: confirm Gemini's exact event names + stdout contract and drop this _comment_ shim if it consumes a different manifest.",
"hooks": {
"SessionStart": [
{
"matcher": "startup|resume|clear|compact",
"hooks": [
{
"type": "command",
"command": "\"${extensionPath}/hooks/run-hook.cmd\" session-start",
"async": false
}
]
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "\"${extensionPath}/hooks/run-hook.cmd\" inbox-notify",
"async": false
}
]
}
]
}
}