@enruana/claude-orka 0.1.0 → 0.1.1
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/orka.js +4 -12
- package/dist/cli.js +2433 -0
- package/package.json +5 -2
package/bin/orka.js
CHANGED
|
@@ -1,19 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { register } from 'tsx/esm/api'
|
|
4
|
-
import { pathToFileURL } from 'url'
|
|
5
|
-
import { resolve, dirname } from 'path'
|
|
6
3
|
import { fileURLToPath } from 'url'
|
|
4
|
+
import { dirname, resolve } from 'path'
|
|
7
5
|
|
|
8
6
|
const __filename = fileURLToPath(import.meta.url)
|
|
9
7
|
const __dirname = dirname(__filename)
|
|
10
8
|
|
|
11
|
-
//
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
// Import and run the CLI
|
|
15
|
-
const cliPath = resolve(__dirname, '../src/cli/index.ts')
|
|
16
|
-
await import(pathToFileURL(cliPath).href)
|
|
17
|
-
|
|
18
|
-
// Cleanup
|
|
19
|
-
unregister()
|
|
9
|
+
// Run the bundled CLI
|
|
10
|
+
const cliPath = resolve(__dirname, '../dist/cli.js')
|
|
11
|
+
await import(cliPath)
|