opencode-codebase-index 0.13.2 → 0.14.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 +5 -2
- package/commands/peek.md +4 -0
- package/commands/search.md +4 -0
- package/dist/cli.cjs +597 -398
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +595 -396
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +531 -322
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +529 -320
- package/dist/index.js.map +1 -1
- package/dist/pi-extension.cjs +638 -395
- package/dist/pi-extension.cjs.map +1 -1
- package/dist/pi-extension.js +638 -395
- 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 +1 -1
- package/skill/SKILL.md +5 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
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"` |
|