mirror of
https://github.com/cocoindex-io/cocoindex-code.git
synced 2026-09-14 16:39:38 +08:00
2a3ba53b5c
Oh My Pi does not run Claude hooks/hooks.json. Ship a TypeScript extension (package.json#omp.extensions) that reindexes on session_start and after edit tool results, and add the matching PostToolUse hook for Grok/Claude. Fail-open if ccc or .cocoindex_code is missing.
11 lines
240 B
JSON
11 lines
240 B
JSON
{
|
|
"name": "cocoindex-code",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "OMP extension host for cocoindex-code (ccc index hooks).",
|
|
"license": "Apache-2.0",
|
|
"omp": {
|
|
"extensions": ["./extensions/ccc-index.ts"]
|
|
}
|
|
}
|