opencode-codebase-index 0.13.2 → 0.15.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/README.md +45 -6
- package/commands/peek.md +4 -0
- package/commands/search.md +4 -0
- package/dist/cli.cjs +1921 -640
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +1919 -628
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +1856 -580
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1855 -569
- package/dist/index.js.map +1 -1
- package/dist/pi-extension.cjs +1855 -610
- package/dist/pi-extension.cjs.map +1 -1
- package/dist/pi-extension.js +1861 -606
- 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 +11 -8
- package/skill/SKILL.md +5 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-codebase-index",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.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",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"pi"
|
|
34
34
|
],
|
|
35
35
|
"engines": {
|
|
36
|
-
"node": ">=
|
|
36
|
+
"node": ">=20.0.0"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "npm run build:ts && npm run build:native",
|
|
@@ -91,28 +91,31 @@
|
|
|
91
91
|
"zod": "^4.4.3"
|
|
92
92
|
},
|
|
93
93
|
"devDependencies": {
|
|
94
|
-
"@earendil-works/pi-coding-agent": "^0.
|
|
94
|
+
"@earendil-works/pi-coding-agent": "^0.82.0",
|
|
95
95
|
"@eslint/js": "^9.39.4",
|
|
96
96
|
"@napi-rs/cli": "^3.6.0",
|
|
97
97
|
"@types/node": "^25.5.2",
|
|
98
98
|
"@vitest/coverage-v8": "^4.1.2",
|
|
99
99
|
"eslint": "^9.39.4",
|
|
100
100
|
"tsup": "^8.1.0",
|
|
101
|
+
"tsx": "^4.23.1",
|
|
101
102
|
"typescript": "^5.9.3",
|
|
102
103
|
"typescript-eslint": "^8.58.0",
|
|
103
104
|
"vitest": "^4.1.2"
|
|
104
105
|
},
|
|
105
106
|
"overrides": {
|
|
106
|
-
"@hono/node-server": "
|
|
107
|
-
"brace-expansion": "5.0.
|
|
107
|
+
"@hono/node-server": "2.0.10",
|
|
108
|
+
"brace-expansion": "5.0.7",
|
|
108
109
|
"express-rate-limit": "8.5.2",
|
|
109
|
-
"fast-uri": "3.1.
|
|
110
|
-
"hono": "4.12.
|
|
110
|
+
"fast-uri": "3.1.4",
|
|
111
|
+
"hono": "4.12.27",
|
|
111
112
|
"ip-address": "10.2.0",
|
|
112
113
|
"postcss": "8.5.15",
|
|
113
114
|
"qs": "6.15.2",
|
|
114
115
|
"vite": "8.0.16",
|
|
115
|
-
"esbuild": "0.28.1"
|
|
116
|
+
"esbuild": "0.28.1",
|
|
117
|
+
"body-parser": "2.3.0",
|
|
118
|
+
"js-yaml": "4.3.0"
|
|
116
119
|
},
|
|
117
120
|
"peerDependencies": {
|
|
118
121
|
"@earendil-works/pi-coding-agent": "*",
|
package/skill/SKILL.md
CHANGED
|
@@ -69,6 +69,7 @@ Find WHERE code is. Returns metadata only (file, line, name, type).
|
|
|
69
69
|
|
|
70
70
|
```
|
|
71
71
|
codebase_peek(query="validation logic", chunkType="function", directory="src/utils")
|
|
72
|
+
codebase_peek(query="authentication flow", blameAuthor="jane@example.com")
|
|
72
73
|
```
|
|
73
74
|
|
|
74
75
|
### `codebase_search`
|
|
@@ -76,6 +77,7 @@ Find code with full content. Use when you need to see implementation.
|
|
|
76
77
|
|
|
77
78
|
```
|
|
78
79
|
codebase_search(query="error handling middleware", fileType="ts", contextLines=2)
|
|
80
|
+
codebase_search(query="rate limiter", blameSince="2025-01-01")
|
|
79
81
|
```
|
|
80
82
|
|
|
81
83
|
### `find_similar`
|
|
@@ -132,3 +134,6 @@ remove_knowledge_base(path="/path/to/docs")
|
|
|
132
134
|
| `chunkType` | `function`, `class`, `interface`, `type`, `method` |
|
|
133
135
|
| `directory` | `"src/api"`, `"tests"` |
|
|
134
136
|
| `fileType` | `"ts"`, `"py"`, `"rs"` |
|
|
137
|
+
| `blameAuthor` | `"jane@example.com"` or `"Jane Doe"` |
|
|
138
|
+
| `blameSha` | `"abc1234"` |
|
|
139
|
+
| `blameSince` | `"2025-01-01"` |
|