opencode-codebase-index 0.20.1 → 0.21.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.20.1"
13
+ "version": "0.21.0"
14
14
  }
15
15
  ]
16
16
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codebase-index",
3
- "version": "0.20.1",
3
+ "version": "0.21.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.20.1",
3
+ "version": "0.21.0",
4
4
  "description": "Semantic code search and codebase graph tools for Codex",
5
5
  "author": {
6
6
  "name": "Kenneth",
package/README.md CHANGED
@@ -1,14 +1,16 @@
1
- # opencode-codebase-index
1
+ # open-codebase-index
2
2
 
3
- [![npm version](https://img.shields.io/npm/v/opencode-codebase-index.svg)](https://www.npmjs.com/package/opencode-codebase-index)
3
+ [![npm version](https://img.shields.io/npm/v/open-codebase-index.svg)](https://www.npmjs.com/package/open-codebase-index)
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
- [![Downloads](https://img.shields.io/npm/dm/opencode-codebase-index.svg)](https://www.npmjs.com/package/opencode-codebase-index)
5
+ [![Downloads](https://img.shields.io/npm/dm/open-codebase-index.svg)](https://www.npmjs.com/package/open-codebase-index)
6
6
  [![Build Status](https://img.shields.io/github/actions/workflow/status/Helweg/opencode-codebase-index/ci.yml?branch=main)](https://github.com/Helweg/opencode-codebase-index/actions)
7
7
  [![Node.js](https://img.shields.io/badge/node-%3E%3D20-brightgreen.svg)](https://nodejs.org/)
8
8
 
9
9
  > Search a codebase by meaning, then follow the result into definitions, callers, and dependency paths.
10
10
 
11
- `opencode-codebase-index` is a local semantic code index for OpenCode, Jcode, Pi, Codex, Claude Code, and other MCP clients. It combines embeddings, BM25 keyword search, branch-aware filtering, symbol lookup, and a call graph behind agent-friendly tools.
11
+ `open-codebase-index` is a local semantic code index for OpenCode, Jcode, Pi, Codex, Claude Code, and other MCP clients. It combines embeddings, BM25 keyword search, branch-aware filtering, symbol lookup, and a call graph behind agent-friendly tools.
12
+
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.
12
14
 
13
15
  ## Highlights
14
16
 
@@ -26,12 +28,26 @@ Requires Node.js 20 or newer.
26
28
 
27
29
  1. Install the package:
28
30
 
31
+ ```bash
32
+ npm install open-codebase-index
33
+ ```
34
+
35
+ Legacy installs continue to work with:
36
+
29
37
  ```bash
30
38
  npm install opencode-codebase-index
31
39
  ```
32
40
 
33
41
  2. Add it to `opencode.json`:
34
42
 
43
+ ```json
44
+ {
45
+ "plugin": ["open-codebase-index"]
46
+ }
47
+ ```
48
+
49
+ Legacy alias:
50
+
35
51
  ```json
36
52
  {
37
53
  "plugin": ["opencode-codebase-index"]
@@ -54,7 +70,7 @@ The first index creates embeddings. Later runs reuse unchanged content and proce
54
70
  | Pi | Pi package | `.codebase-index/` |
55
71
  | Codex | Marketplace plugin with MCP and skill guidance | `.codebase-index/` |
56
72
  | Claude Code | Marketplace plugin with MCP and skill guidance | `.claude/` |
57
- | Cursor, Windsurf, other MCP clients | `opencode-codebase-index-mcp` | Selected by `--host`; default is OpenCode-compatible |
73
+ | Cursor, Windsurf, other MCP clients | `open-codebase-index-mcp` (legacy alias: `opencode-codebase-index-mcp`) | Selected by `--host`; default is OpenCode-compatible |
58
74
 
59
75
  See [Installation and host setup](docs/installation.md) for complete instructions.
60
76
 
@@ -157,7 +173,7 @@ Only specify values you want to override. See [Configuration](docs/configuration
157
173
 
158
174
  ## Branch-aware indexing
159
175
 
160
- The index stores reusable content by hash and maintains branch catalogs for chunks and symbols. On a branch switch, unchanged content can be reused while results remain scoped to the active branch. Project indexes are kept separate for linked worktrees, while configuration may fall back to the main repository.
176
+ The index stores reusable content by hash and maintains branch catalogs for chunks and symbols. On a branch switch, unchanged content can be reused while results remain scoped to the active branch. Linked worktrees without a local project config share the main checkout's portable project index; adding a worktree-local config creates an isolated index boundary.
161
177
 
162
178
  ## Knowledge bases and reranking
163
179
 
@@ -209,6 +225,7 @@ Native changes require Rust and `npm run build:native`. See [Contributing](CONTR
209
225
  - [Evaluation](docs/evaluation.md)
210
226
  - [Cross-repository benchmarking](docs/benchmarking-cross-repo.md)
211
227
  - [Adding language support](docs/adding-language-support.md)
228
+ - [Future `open-codebase-index` rename plan](docs/rename-to-open-codebase-index.md)
212
229
  - [Contributing](CONTRIBUTING.md)
213
230
  - [Security](SECURITY.md)
214
231
  - [Changelog](CHANGELOG.md)