@exreve/exk 1.0.58 → 1.0.59

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/bin/exk CHANGED
@@ -4,14 +4,16 @@
4
4
 
5
5
  import { resolve, dirname } from 'path'
6
6
  import { fileURLToPath } from 'url'
7
+ import { existsSync } from 'fs'
7
8
 
8
9
  const __filename = fileURLToPath(import.meta.url)
9
10
  const __dirname = dirname(__filename)
10
11
 
11
12
  const pkgDir = resolve(__dirname, '..')
12
- const entryPoint = resolve(pkgDir, 'dist', 'index.js')
13
-
14
- const args = process.argv.slice(2)
13
+ // tsc outputs to dist/cli/ (see CLAUDE.md "tsc output goes to dist/cli/")
14
+ const entryPoint = existsSync(resolve(pkgDir, 'dist', 'cli', 'index.js'))
15
+ ? resolve(pkgDir, 'dist', 'cli', 'index.js')
16
+ : resolve(pkgDir, 'dist', 'index.js')
15
17
 
16
18
  // Import and run the compiled CLI
17
19
  import(entryPoint).catch(err => {
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exreve/exk",
3
- "version": "1.0.58",
3
+ "version": "1.0.59",
4
4
  "description": "exk - Control Claude CLI with voice and programmable interfaces",
5
5
  "type": "module",
6
6
  "bin": {