-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpackage.json
More file actions
114 lines (114 loc) · 3.43 KB
/
package.json
File metadata and controls
114 lines (114 loc) · 3.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "opencode-codebase-index",
"version": "0.7.0",
"description": "Semantic codebase indexing and search for OpenCode - find code by meaning, not just keywords",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"bin": {
"opencode-codebase-index-mcp": "dist/cli.js"
},
"license": "MIT",
"author": "Kenneth",
"repository": {
"type": "git",
"url": "https://github.com/Helweg/opencode-codebase-index"
},
"keywords": [
"opencode",
"semantic-search",
"codebase-indexing",
"vector-search",
"embeddings",
"tree-sitter",
"ai-coding"
],
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "npm run build:ts && npm run build:native",
"build:ts": "tsup",
"build:native": "cd native && cargo build --release && napi build --release --platform",
"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",
"dev": "tsup --watch",
"eval": "npx tsx src/cli.ts eval run",
"eval:smoke": "npx tsx src/cli.ts eval run --config .github/eval-config.json --reindex --dataset benchmarks/golden/small.json",
"eval:ci": "npx tsx src/cli.ts eval run --reindex --ci --budget benchmarks/budgets/default.json --against benchmarks/baselines/eval-baseline-summary.json",
"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",
"eval:compare": "npx tsx src/cli.ts eval compare",
"test": "vitest",
"pretest:run": "RUSTFLAGS=\"-C target-cpu=generic\" npm run build:native",
"test:run": "vitest run",
"pretest:coverage": "RUSTFLAGS=\"-C target-cpu=generic\" npm run build:native",
"test:coverage": "vitest run --coverage",
"lint": "eslint src/",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run build"
},
"files": [
"dist",
"native/*.node",
"skill",
"commands"
],
"napi": {
"binaryName": "codebase-index-native",
"targets": [
"x86_64-apple-darwin",
"aarch64-apple-darwin",
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
"x86_64-pc-windows-msvc"
]
},
"dependencies": {
"@opencode-ai/plugin": "~1.3.13",
"chokidar": "^5.0.0",
"ignore": "^7.0.5",
"p-queue": "^9.1.1",
"p-retry": "^7.1.1",
"tiktoken": "^1.0.15"
},
"devDependencies": {
"@eslint/js": "^9.39.4",
"@modelcontextprotocol/sdk": "^1.29.0",
"@napi-rs/cli": "^3.6.0",
"@types/node": "^25.5.2",
"@vitest/coverage-v8": "^4.1.2",
"eslint": "^9.39.4",
"tsup": "^8.1.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.58.0",
"vitest": "^4.1.2",
"zod": "^3.25.76"
},
"overrides": {
"@hono/node-server": "1.19.14",
"hono": "4.12.12",
"vite": "8.0.8"
},
"peerDependencies": {
"@modelcontextprotocol/sdk": "^1.29.0",
"@opencode-ai/plugin": "^1.0.0",
"zod": "^3.0.0"
},
"peerDependenciesMeta": {
"@modelcontextprotocol/sdk": {
"optional": true
},
"@opencode-ai/plugin": {
"optional": true
},
"zod": {
"optional": true
}
}
}