open-codebase-index 0.23.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/README.md +6 -5
- package/commands/peek.md +2 -1
- package/commands/search.md +2 -1
- package/dist/cli.cjs +1020 -260
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +1020 -260
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +788 -256
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +788 -256
- package/dist/index.js.map +1 -1
- package/dist/pi-extension.cjs +5440 -2157
- package/dist/pi-extension.cjs.map +1 -1
- package/dist/pi-extension.js +5429 -2146
- package/dist/pi-extension.js.map +1 -1
- package/native/codebase-index-native.darwin-arm64.node +0 -0
- package/native/codebase-index-native.darwin-x64.node +0 -0
- package/native/codebase-index-native.linux-arm64-gnu.node +0 -0
- package/native/codebase-index-native.linux-x64-gnu.node +0 -0
- package/native/codebase-index-native.win32-x64-msvc.node +0 -0
- package/package.json +3 -1
- package/skill/SKILL.md +12 -16
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ New installs should use `open-codebase-index` and `open-codebase-index-mcp`. The
|
|
|
19
19
|
- **Definition and graph navigation** through `implementation_lookup`, `call_graph`, and `call_graph_path`.
|
|
20
20
|
- **Incremental, branch-aware indexing** with file watching and content-hash reuse.
|
|
21
21
|
- **Local storage** backed by SQLite, usearch vectors, and a BM25 inverted index.
|
|
22
|
-
- **Multiple embedding providers**: Ollama,
|
|
22
|
+
- **Multiple embedding providers**: Ollama, OpenAI, Google, or a custom OpenAI-compatible endpoint.
|
|
23
23
|
- **Native parsing** for TypeScript/TSX, JavaScript/JSX, Python, Rust, Swift, Go, Java, C#, Ruby, C/C++, Metal, PHP, Apex, Bash, Zig, GDScript, MATLAB, JSON, TOML, YAML, Markdown, and HTML, with text fallback.
|
|
24
24
|
|
|
25
25
|
## Quick start with OpenCode
|
|
@@ -128,9 +128,8 @@ Read [Architecture](ARCHITECTURE.md) for the detailed data flow and design decis
|
|
|
128
128
|
With `embeddingProvider: "auto"`, providers are tried in this order:
|
|
129
129
|
|
|
130
130
|
1. Ollama
|
|
131
|
-
2.
|
|
132
|
-
3.
|
|
133
|
-
4. Google
|
|
131
|
+
2. OpenAI
|
|
132
|
+
3. Google
|
|
134
133
|
|
|
135
134
|
Ollama is the simplest local option:
|
|
136
135
|
|
|
@@ -177,7 +176,9 @@ The index stores reusable content by hash and maintains branch catalogs for chun
|
|
|
177
176
|
|
|
178
177
|
## Knowledge bases and reranking
|
|
179
178
|
|
|
180
|
-
OpenCode and
|
|
179
|
+
OpenCode, Pi, and every MCP client can index additional directories as knowledge bases. Configure them with `knowledgeBases`, or use the knowledge-base tools:
|
|
180
|
+
- MCP and OpenCode: `add_knowledge_base`, `list_knowledge_bases`, `remove_knowledge_base`
|
|
181
|
+
- Pi: `knowledge_base_add`, `knowledge_base_list`, `knowledge_base_remove`
|
|
181
182
|
|
|
182
183
|
Optional external reranking supports Cohere, Jina, and custom compatible endpoints. Local filtering and evidence classes are applied before external candidates are submitted.
|
|
183
184
|
|
package/commands/peek.md
CHANGED
|
@@ -14,6 +14,7 @@ The first part is the search query. Look for optional parameters:
|
|
|
14
14
|
- `author=X` or `blameAuthor=X` → set blameAuthor filter
|
|
15
15
|
- `sha=X` or `blameSha=X` → set blameSha filter
|
|
16
16
|
- `since=YYYY-MM-DD` or `blameSince=YYYY-MM-DD` → set blameSince filter
|
|
17
|
+
- `until=YYYY-MM-DD` or `blameUntil=YYYY-MM-DD` → set blameUntil filter
|
|
17
18
|
|
|
18
19
|
Call `codebase_peek` with the parsed arguments.
|
|
19
20
|
|
|
@@ -21,7 +22,7 @@ Examples:
|
|
|
21
22
|
- `/peek authentication logic` → query="authentication logic"
|
|
22
23
|
- `/peek error handling limit=5` → query="error handling", limit=5
|
|
23
24
|
- `/peek validation functions` → query="validation", chunkType="function"
|
|
24
|
-
- `/peek auth logic author=jane@example.com since=2025-01-01` → query="auth logic", blameAuthor="jane@example.com", blameSince="2025-01-01"
|
|
25
|
+
- `/peek auth logic author=jane@example.com since=2025-01-01 until=2025-01-31` → query="auth logic", blameAuthor="jane@example.com", blameSince="2025-01-01", blameUntil="2025-01-31"
|
|
25
26
|
|
|
26
27
|
If the index doesn't exist, run `index_codebase` first.
|
|
27
28
|
|
package/commands/search.md
CHANGED
|
@@ -14,6 +14,7 @@ The first part is the search query. Look for optional parameters:
|
|
|
14
14
|
- `author=X` or `blameAuthor=X` → set blameAuthor filter
|
|
15
15
|
- `sha=X` or `blameSha=X` → set blameSha filter
|
|
16
16
|
- `since=YYYY-MM-DD` or `blameSince=YYYY-MM-DD` → set blameSince filter
|
|
17
|
+
- `until=YYYY-MM-DD` or `blameUntil=YYYY-MM-DD` → set blameUntil filter
|
|
17
18
|
|
|
18
19
|
Call `codebase_search` with the parsed arguments.
|
|
19
20
|
|
|
@@ -21,7 +22,7 @@ Examples:
|
|
|
21
22
|
- `/search authentication logic` → query="authentication logic"
|
|
22
23
|
- `/search error handling limit=5` → query="error handling", limit=5
|
|
23
24
|
- `/search validation functions` → query="validation", chunkType="function"
|
|
24
|
-
- `/search auth logic author=jane@example.com since=2025-01-01` → query="auth logic", blameAuthor="jane@example.com", blameSince="2025-01-01"
|
|
25
|
+
- `/search auth logic author=jane@example.com since=2025-01-01 until=2025-01-31` → query="auth logic", blameAuthor="jane@example.com", blameSince="2025-01-01", blameUntil="2025-01-31"
|
|
25
26
|
|
|
26
27
|
If the index doesn't exist, run `index_codebase` first.
|
|
27
28
|
|