@exreve/exk 1.0.8 → 1.0.9

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/dist/index.js CHANGED
@@ -190,8 +190,8 @@ async function connect() {
190
190
  /** Read CLI version from the npm package.json (works when installed via npm i -g @exreve/exk) */
191
191
  function getCliVersion() {
192
192
  try {
193
- // When installed via npm, package.json is at ../package.json relative to index.ts
194
- const pkgPath = path.join(__dirname, 'package.json');
193
+ // Compiled JS is in dist/, package.json is one level up
194
+ const pkgPath = path.join(__dirname, '..', 'package.json');
195
195
  const raw = fsSync.readFileSync(pkgPath, 'utf-8');
196
196
  const pkg = JSON.parse(raw);
197
197
  return pkg.version || '0.0.0';
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exreve/exk",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "exk - Control Claude CLI with voice and programmable interfaces",
5
5
  "type": "module",
6
6
  "bin": {