opencode-codebase-index 0.23.0 → 0.25.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.
@@ -10,7 +10,7 @@
10
10
  "name": "codebase-index",
11
11
  "description": "Semantic code search and codebase graph tools for Claude Code",
12
12
  "source": "./",
13
- "version": "0.23.0"
13
+ "version": "0.25.0"
14
14
  }
15
15
  ]
16
16
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codebase-index",
3
- "version": "0.23.0",
3
+ "version": "0.25.0",
4
4
  "description": "Semantic code search and codebase graph tools for Claude Code",
5
5
  "displayName": "Codebase Index",
6
6
  "author": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codebase-index",
3
- "version": "0.23.0",
3
+ "version": "0.25.0",
4
4
  "description": "Semantic code search and codebase graph tools for Codex",
5
5
  "author": {
6
6
  "name": "Kenneth",
package/README.md CHANGED
@@ -12,6 +12,16 @@
12
12
 
13
13
  New installs should use `open-codebase-index` and `open-codebase-index-mcp`. The legacy package `opencode-codebase-index` and `opencode-codebase-index-mcp` remain supported aliases.
14
14
 
15
+ For terminal use outside an MCP client, install the package globally and use the concise `cbi` command:
16
+
17
+ ```bash
18
+ npm install -g open-codebase-index
19
+ cbi status --project /path/to/repo --host jcode
20
+ cbi search "retry recovery" --project /path/to/repo
21
+ ```
22
+
23
+ `cbi` provides status, indexing, search, definition lookup, and direct caller or callee inspection. See [Installation and host setup](docs/installation.md#human-cli) for the full command reference.
24
+
15
25
  ## Highlights
16
26
 
17
27
  - **Semantic and hybrid retrieval** for questions where you do not know the identifier.
@@ -19,7 +29,7 @@ New installs should use `open-codebase-index` and `open-codebase-index-mcp`. The
19
29
  - **Definition and graph navigation** through `implementation_lookup`, `call_graph`, and `call_graph_path`.
20
30
  - **Incremental, branch-aware indexing** with file watching and content-hash reuse.
21
31
  - **Local storage** backed by SQLite, usearch vectors, and a BM25 inverted index.
22
- - **Multiple embedding providers**: Ollama, GitHub Copilot, OpenAI, Google, or a custom OpenAI-compatible endpoint.
32
+ - **Multiple embedding providers**: Ollama, OpenAI, Google, or a custom OpenAI-compatible endpoint.
23
33
  - **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
34
 
25
35
  ## Quick start with OpenCode
@@ -128,9 +138,8 @@ Read [Architecture](ARCHITECTURE.md) for the detailed data flow and design decis
128
138
  With `embeddingProvider: "auto"`, providers are tried in this order:
129
139
 
130
140
  1. Ollama
131
- 2. GitHub Copilot
132
- 3. OpenAI
133
- 4. Google
141
+ 2. OpenAI
142
+ 3. Google
134
143
 
135
144
  Ollama is the simplest local option:
136
145
 
@@ -177,7 +186,9 @@ The index stores reusable content by hash and maintains branch catalogs for chun
177
186
 
178
187
  ## Knowledge bases and reranking
179
188
 
180
- OpenCode and Pi can index additional directories as knowledge bases. Configure them with `knowledgeBases` or use the host-native knowledge-base tools where available.
189
+ OpenCode, Pi, and every MCP client can index additional directories as knowledge bases. Configure them with `knowledgeBases`, or use the knowledge-base tools:
190
+ - MCP and OpenCode: `add_knowledge_base`, `list_knowledge_bases`, `remove_knowledge_base`
191
+ - Pi: `knowledge_base_add`, `knowledge_base_list`, `knowledge_base_remove`
181
192
 
182
193
  Optional external reranking supports Cohere, Jina, and custom compatible endpoints. Local filtering and evidence classes are applied before external candidates are submitted.
183
194
 
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
 
@@ -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