pi-readseek 0.10.1 → 0.10.3

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 CHANGED
@@ -10,7 +10,7 @@ pi install npm:pi-readseek
10
10
  ```
11
11
 
12
12
  The extension uses the AppImage on Linux (without FUSE) and native executables on
13
- macOS/Windows supplied by `@jarkkojs/readseek-api`. Set
13
+ macOS/Windows supplied by `@jarkkojs/readseek`. Set
14
14
  `READSEEK_BINARY` to an absolute executable path to override it.
15
15
 
16
16
  ## Tools
package/dist/index.ts CHANGED
@@ -920,18 +920,18 @@ function resolveReadSeekBinaryFromPackages(resolver = resolveFromPackage, option
920
920
  const platformPackage = READSEEK_PLATFORM_PACKAGES[key];
921
921
  if (!platformPackage) {
922
922
  const supported = Object.keys(READSEEK_PLATFORM_PACKAGES).join(", ");
923
- throw new Error(`@jarkkojs/readseek-api ships no binary for ${key}; it supports ${supported}`);
923
+ throw new Error(`@jarkkojs/readseek ships no binary for ${key}; it supports ${supported}`);
924
924
  }
925
- const metaPackage = options.metaPackage ?? "@jarkkojs/readseek-api";
926
- const metaPackageJson = resolve(`${metaPackage}/package.json`);
927
- const metaPackageDir = path.dirname(metaPackageJson);
925
+ const metaPackage = options.metaPackage ?? "@jarkkojs/readseek";
928
926
  let packageJsonPath;
929
927
  try {
930
- packageJsonPath = resolve(`${platformPackage}/package.json`);
931
- } catch {
928
+ const metaPackageJson = resolve(`${metaPackage}/package.json`);
929
+ const metaPackageDir = path.dirname(metaPackageJson);
932
930
  packageJsonPath = resolve(`${platformPackage}/package.json`, {
933
931
  paths: [metaPackageDir]
934
932
  });
933
+ } catch {
934
+ packageJsonPath = resolve(`${platformPackage}/package.json`);
935
935
  }
936
936
  const binaryPath = path.join(path.dirname(packageJsonPath), "bin", readSeekBinaryName(platform));
937
937
  accessSync(binaryPath, fsConstants.X_OK);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-readseek",
3
- "version": "0.10.1",
3
+ "version": "0.10.3",
4
4
  "description": "Pi extension for LINE:HASH-anchored file operations and structural code navigation",
5
5
  "type": "module",
6
6
  "exports": {
@@ -39,7 +39,8 @@
39
39
  "node": ">=20.0.0"
40
40
  },
41
41
  "dependencies": {
42
- "@jarkkojs/readseek-api": "^0.10.1",
42
+ "@jarkkojs/readseek": "^0.10.3",
43
+ "@jarkkojs/readseek-api": "^0.10.3",
43
44
  "diff": "^9.0.0",
44
45
  "xxhash-wasm": "^1.1.0"
45
46
  },
@@ -51,7 +52,7 @@
51
52
  "devDependencies": {
52
53
  "@bgotink/kdl": "0.4.0",
53
54
  "@earendil-works/pi-ai": "^0.84.2",
54
- "@earendil-works/pi-coding-agent": "^0.84.2",
55
+ "@earendil-works/pi-coding-agent": "^0.87.1",
55
56
  "@earendil-works/pi-tui": "^0.84.2",
56
57
  "@sinclair/typebox": "^0.34.48",
57
58
  "@types/node": "^26.1.1",