opencode-codebase-index 0.22.5 → 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.
@@ -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.22.5"
13
+ "version": "0.24.0"
14
14
  }
15
15
  ]
16
16
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codebase-index",
3
- "version": "0.22.5",
3
+ "version": "0.24.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.22.5",
3
+ "version": "0.24.0",
4
4
  "description": "Semantic code search and codebase graph tools for Codex",
5
5
  "author": {
6
6
  "name": "Kenneth",
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, GitHub Copilot, OpenAI, Google, or a custom OpenAI-compatible endpoint.
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. GitHub Copilot
132
- 3. OpenAI
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 Pi can index additional directories as knowledge bases. Configure them with `knowledgeBases` or use the host-native knowledge-base tools where available.
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
 
@@ -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