pi-goosedump 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/index.ts +2 -4
  2. package/package.json +2 -4
package/index.ts CHANGED
@@ -64,10 +64,8 @@ function binaryPath(): string {
64
64
 
65
65
  function goosedumpVersion(): string | null {
66
66
  try {
67
- const result = execFileSync(process.execPath, [binaryPath(), '--version'], {
68
- encoding: 'utf-8',
69
- });
70
- return result.trim();
67
+ const pkg = require('@jarkkojs/goosedump/package.json') as { version: string };
68
+ return pkg.version;
71
69
  } catch {
72
70
  return null;
73
71
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-goosedump",
3
- "version": "0.1.0",
3
+ "version": "0.1.3",
4
4
  "description": "Coding agent context data browser plugin for pi",
5
5
  "keywords": [
6
6
  "goosedump",
@@ -29,6 +29,7 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@earendil-works/pi-tui": "^0.78.0",
32
+ "@jarkkojs/goosedump": "^0.1.2",
32
33
  "@sinclair/typebox": "^0.34.49"
33
34
  },
34
35
  "devDependencies": {
@@ -46,9 +47,6 @@
46
47
  "optional": true
47
48
  }
48
49
  },
49
- "optionalDependencies": {
50
- "@jarkkojs/goosedump": "^0.1.2"
51
- },
52
50
  "pi": {
53
51
  "extensions": [
54
52
  "./index.ts"