@puku/puku-cli 1.8.22 → 1.8.24
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/puku-cli +101 -0
- package/dist/cli.mjs +1503 -1503
- package/package.json +3 -3
- package/bin/openpuku +0 -15
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@puku/puku-cli",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.24",
|
|
4
4
|
"description": "Puku CLI — AI coding assistant powered by Puku AI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
|
-
"puku-cli": "bin/
|
|
7
|
+
"puku-cli": "bin/puku-cli"
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
|
-
"bin/
|
|
10
|
+
"bin/puku-cli",
|
|
11
11
|
"bin/import-specifier.mjs",
|
|
12
12
|
"dist/cli.mjs",
|
|
13
13
|
"README.md"
|
package/bin/openpuku
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
import { existsSync } from 'fs'
|
|
4
|
-
import { join, dirname } from 'path'
|
|
5
|
-
import { fileURLToPath, pathToFileURL } from 'url'
|
|
6
|
-
|
|
7
|
-
const __dirname = dirname(fileURLToPath(import.meta.url))
|
|
8
|
-
const distPath = join(__dirname, '..', 'dist', 'cli.mjs')
|
|
9
|
-
|
|
10
|
-
if (existsSync(distPath)) {
|
|
11
|
-
await import(pathToFileURL(distPath).href)
|
|
12
|
-
} else {
|
|
13
|
-
console.error('puku-cli: build not found. Please reinstall the package.')
|
|
14
|
-
process.exit(1)
|
|
15
|
-
}
|