opencode-readseek 0.10.1 → 0.10.2
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 +2 -2
- package/dist/index.js +6 -6
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ OpenCode V2 can load the same package using `"plugins": ["opencode-readseek"]`.
|
|
|
17
17
|
The V2 entrypoint supplies a ReadSeek skill and agent guidance, but OpenCode V2
|
|
18
18
|
currently has no plugin API for registering custom tools. The `readseek_*` tools
|
|
19
19
|
listed below require the legacy server plugin API. To use the V2 skill without
|
|
20
|
-
those tools, install `@jarkkojs/readseek
|
|
20
|
+
those tools, install `@jarkkojs/readseek` globally so `readseek` is on PATH;
|
|
21
21
|
otherwise use OpenCode's built-in tools.
|
|
22
22
|
|
|
23
23
|
The plugin uses the AppImage on Linux (without FUSE) and native executables on
|
|
24
|
-
macOS/Windows supplied by `@jarkkojs/readseek
|
|
24
|
+
macOS/Windows supplied by `@jarkkojs/readseek`. Set
|
|
25
25
|
`READSEEK_BINARY` to an absolute executable path to override it.
|
|
26
26
|
|
|
27
27
|
## Tools
|
package/dist/index.js
CHANGED
|
@@ -918,18 +918,18 @@ function resolveReadSeekBinaryFromPackages(resolver = resolveFromPackage, option
|
|
|
918
918
|
const platformPackage = READSEEK_PLATFORM_PACKAGES[key];
|
|
919
919
|
if (!platformPackage) {
|
|
920
920
|
const supported = Object.keys(READSEEK_PLATFORM_PACKAGES).join(", ");
|
|
921
|
-
throw new Error(`@jarkkojs/readseek
|
|
921
|
+
throw new Error(`@jarkkojs/readseek ships no binary for ${key}; it supports ${supported}`);
|
|
922
922
|
}
|
|
923
|
-
const metaPackage = options.metaPackage ?? "@jarkkojs/readseek
|
|
924
|
-
const metaPackageJson = resolve(`${metaPackage}/package.json`);
|
|
925
|
-
const metaPackageDir = path.dirname(metaPackageJson);
|
|
923
|
+
const metaPackage = options.metaPackage ?? "@jarkkojs/readseek";
|
|
926
924
|
let packageJsonPath;
|
|
927
925
|
try {
|
|
928
|
-
|
|
929
|
-
|
|
926
|
+
const metaPackageJson = resolve(`${metaPackage}/package.json`);
|
|
927
|
+
const metaPackageDir = path.dirname(metaPackageJson);
|
|
930
928
|
packageJsonPath = resolve(`${platformPackage}/package.json`, {
|
|
931
929
|
paths: [metaPackageDir]
|
|
932
930
|
});
|
|
931
|
+
} catch {
|
|
932
|
+
packageJsonPath = resolve(`${platformPackage}/package.json`);
|
|
933
933
|
}
|
|
934
934
|
const binaryPath = path.join(path.dirname(packageJsonPath), "bin", readSeekBinaryName(platform));
|
|
935
935
|
accessSync(binaryPath, fsConstants.X_OK);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-readseek",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.2",
|
|
4
4
|
"description": "OpenCode plugin for anchored file operations and structural code navigation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
"node": ">=20.0.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@jarkkojs/readseek
|
|
35
|
+
"@jarkkojs/readseek": "^0.10.2",
|
|
36
|
+
"@jarkkojs/readseek-api": "^0.10.2",
|
|
36
37
|
"@opencode-ai/plugin": "^1.18.18"
|
|
37
38
|
},
|
|
38
39
|
"devDependencies": {
|