opencode-codebase-index 0.5.2 → 0.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-codebase-index",
3
- "version": "0.5.2",
3
+ "version": "0.6.0",
4
4
  "description": "Semantic codebase indexing and search for OpenCode - find code by meaning, not just keywords",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -39,8 +39,15 @@
39
39
  "build:native": "cd native && cargo build --release && napi build --release --platform",
40
40
  "build:native:all": "cd native && napi build --release --platform --target x86_64-apple-darwin --target aarch64-apple-darwin --target x86_64-unknown-linux-gnu --target aarch64-unknown-linux-gnu --target x86_64-pc-windows-msvc",
41
41
  "dev": "tsup --watch",
42
+ "eval": "npx tsx src/cli.ts eval run",
43
+ "eval:smoke": "npx tsx src/cli.ts eval run --config .github/eval-config.json --reindex --dataset benchmarks/golden/small.json",
44
+ "eval:ci": "npx tsx src/cli.ts eval run --reindex --ci --budget benchmarks/budgets/default.json --against benchmarks/baselines/eval-baseline-summary.json",
45
+ "eval:ci:ollama": "npx tsx src/cli.ts eval run --config .github/eval-ollama-config.json --reindex --ci --budget benchmarks/budgets/default.json --against benchmarks/baselines/eval-baseline-summary.json",
46
+ "eval:compare": "npx tsx src/cli.ts eval compare",
42
47
  "test": "vitest",
48
+ "pretest:run": "npm run build:native",
43
49
  "test:run": "vitest run",
50
+ "pretest:coverage": "npm run build:native",
44
51
  "test:coverage": "vitest run --coverage",
45
52
  "lint": "eslint src/",
46
53
  "typecheck": "tsc --noEmit",