open-codebase-index 0.22.0 → 0.22.2
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 +2 -2
- package/.claude-plugin/plugin.json +4 -4
- package/.codex-plugin/plugin.json +7 -7
- package/README.md +1 -1
- package/dist/cli.cjs +10 -1
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +10 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/pi-extension.cjs +1 -1
- package/dist/pi-extension.cjs.map +1 -1
- package/dist/pi-extension.js +1 -1
- 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 +2 -2
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
"owner": {
|
|
4
4
|
"name": "Kenneth",
|
|
5
5
|
"email": "kenneth@example.com",
|
|
6
|
-
"url": "https://github.com/Helweg/
|
|
6
|
+
"url": "https://github.com/Helweg/open-codebase-index"
|
|
7
7
|
},
|
|
8
8
|
"plugins": [
|
|
9
9
|
{
|
|
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.
|
|
13
|
+
"version": "0.22.2"
|
|
14
14
|
}
|
|
15
15
|
]
|
|
16
16
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codebase-index",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.2",
|
|
4
4
|
"description": "Semantic code search and codebase graph tools for Claude Code",
|
|
5
5
|
"displayName": "Codebase Index",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Kenneth",
|
|
8
8
|
"email": "kenneth@example.com",
|
|
9
|
-
"url": "https://github.com/Helweg/
|
|
9
|
+
"url": "https://github.com/Helweg/open-codebase-index"
|
|
10
10
|
},
|
|
11
|
-
"homepage": "https://github.com/Helweg/
|
|
12
|
-
"repository": "https://github.com/Helweg/
|
|
11
|
+
"homepage": "https://github.com/Helweg/open-codebase-index",
|
|
12
|
+
"repository": "https://github.com/Helweg/open-codebase-index",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"keywords": [
|
|
15
15
|
"codebase-index",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codebase-index",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.2",
|
|
4
4
|
"description": "Semantic code search and codebase graph tools for Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Kenneth",
|
|
7
7
|
"email": "kenneth@example.com",
|
|
8
|
-
"url": "https://github.com/Helweg/
|
|
8
|
+
"url": "https://github.com/Helweg/open-codebase-index"
|
|
9
9
|
},
|
|
10
|
-
"homepage": "https://github.com/Helweg/
|
|
11
|
-
"repository": "https://github.com/Helweg/
|
|
10
|
+
"homepage": "https://github.com/Helweg/open-codebase-index",
|
|
11
|
+
"repository": "https://github.com/Helweg/open-codebase-index",
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"keywords": [
|
|
14
14
|
"codebase-index",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"MCP Tools",
|
|
33
33
|
"Search"
|
|
34
34
|
],
|
|
35
|
-
"websiteURL": "https://github.com/Helweg/
|
|
36
|
-
"privacyPolicyURL": "https://github.com/Helweg/
|
|
37
|
-
"termsOfServiceURL": "https://github.com/Helweg/
|
|
35
|
+
"websiteURL": "https://github.com/Helweg/open-codebase-index",
|
|
36
|
+
"privacyPolicyURL": "https://github.com/Helweg/open-codebase-index/blob/main/SECURITY.md",
|
|
37
|
+
"termsOfServiceURL": "https://github.com/Helweg/open-codebase-index/blob/main/LICENSE",
|
|
38
38
|
"brandColor": "#3B82F6",
|
|
39
39
|
"defaultPrompt": [
|
|
40
40
|
"For repository questions, use index_status when readiness is unknown, then call codebase_context before shell search or broad file reads."
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://www.npmjs.com/package/open-codebase-index)
|
|
4
4
|
[](https://opensource.org/licenses/MIT)
|
|
5
5
|
[](https://www.npmjs.com/package/open-codebase-index)
|
|
6
|
-
[](https://github.com/Helweg/open-codebase-index/actions)
|
|
7
7
|
[](https://nodejs.org/)
|
|
8
8
|
|
|
9
9
|
> Search a codebase by meaning, then follow the result into definitions, callers, and dependency paths.
|
package/dist/cli.cjs
CHANGED
|
@@ -4163,7 +4163,7 @@ var identity_catalog_default = {
|
|
|
4163
4163
|
current: {
|
|
4164
4164
|
productName: "opencode-codebase-index",
|
|
4165
4165
|
packageName: "opencode-codebase-index",
|
|
4166
|
-
repository: "https://github.com/Helweg/
|
|
4166
|
+
repository: "https://github.com/Helweg/open-codebase-index",
|
|
4167
4167
|
mcpBinary: "opencode-codebase-index-mcp",
|
|
4168
4168
|
mcpServerName: "opencode-codebase-index"
|
|
4169
4169
|
},
|
|
@@ -16505,6 +16505,15 @@ async function runEvaluation(options) {
|
|
|
16505
16505
|
const indexer = new Indexer(options.projectRoot, effectiveConfig, "opencode");
|
|
16506
16506
|
try {
|
|
16507
16507
|
await indexer.index();
|
|
16508
|
+
if (options.ciMode) {
|
|
16509
|
+
const indexStatus = await indexer.getStatus();
|
|
16510
|
+
if (!indexStatus.indexed || indexStatus.vectorCount === 0) {
|
|
16511
|
+
const failedBatchDetails = indexStatus.failedBatchesCount > 0 ? ` ${indexStatus.failedBatchesCount} embedding batch(es) failed; diagnostics: ${indexStatus.failedBatchesPath ?? "unavailable"}.` : "";
|
|
16512
|
+
throw new Error(
|
|
16513
|
+
`Evaluation reindex produced no searchable vectors.${failedBatchDetails} Check the embedding provider and indexing diagnostics before evaluating retrieval quality.`
|
|
16514
|
+
);
|
|
16515
|
+
}
|
|
16516
|
+
}
|
|
16508
16517
|
const perQuery = [];
|
|
16509
16518
|
for (const query of dataset.queries) {
|
|
16510
16519
|
if (query.expected.branch && query.expected.branch !== indexer.getCurrentBranch()) {
|