opencode-readseek 0.9.16 → 0.10.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 +13 -5
- package/dist/index.js +929 -291
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@ document inspection.
|
|
|
5
5
|
|
|
6
6
|
## Install
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
For OpenCode with the legacy server plugin API, add the plugin to `opencode.json`:
|
|
9
9
|
|
|
10
10
|
```json
|
|
11
11
|
{
|
|
@@ -13,14 +13,22 @@ Add the plugin to `opencode.json`:
|
|
|
13
13
|
}
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
OpenCode V2 can load the same package using `"plugins": ["opencode-readseek"]`.
|
|
17
|
+
The V2 entrypoint supplies a ReadSeek skill and agent guidance, but OpenCode V2
|
|
18
|
+
currently has no plugin API for registering custom tools. The `readseek_*` tools
|
|
19
|
+
listed below require the legacy server plugin API. To use the V2 skill without
|
|
20
|
+
those tools, install `@jarkkojs/readseek-api` globally so `readseek` is on PATH;
|
|
21
|
+
otherwise use OpenCode's built-in tools.
|
|
22
|
+
|
|
23
|
+
The plugin uses the AppImage on Linux (without FUSE) and native executables on
|
|
24
|
+
macOS/Windows supplied by `@jarkkojs/readseek-api`. Set
|
|
17
25
|
`READSEEK_BINARY` to an absolute executable path to override it.
|
|
18
26
|
|
|
19
27
|
## Tools
|
|
20
28
|
|
|
21
|
-
`
|
|
22
|
-
`readseek_search`, `readseek_def`, `readseek_refs`,
|
|
23
|
-
`
|
|
29
|
+
`readseek_inspect`, `readseek_extract`, `readseek_edit`, `readseek_write`,
|
|
30
|
+
`readseek_grep`, `readseek_search`, `readseek_def`, `readseek_refs`, and
|
|
31
|
+
`readseek_rename`.
|
|
24
32
|
|
|
25
33
|
To control image handling:
|
|
26
34
|
|