@kandiforge/spectacle 0.3.20 → 0.3.26
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/kandi-deploy-bin +0 -0
- package/bin/kandi-forge-bin +0 -0
- package/bin/kandi-gpt-bin +0 -0
- package/bin/kandi-plan +25 -0
- package/bin/kandi-plan-bin +0 -0
- package/bin/kandi-run-bin +0 -0
- package/bin/kandi-secure-bin +0 -0
- package/bin/kandi-spectacle-bin +0 -0
- package/bin/supersmall-bin +0 -0
- package/package.json +1 -1
- package/scripts/install.js +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/bin/kandi-plan
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const { spawn } = require('child_process');
|
|
4
|
+
const path = require('path');
|
|
5
|
+
|
|
6
|
+
// Determine binary name based on platform
|
|
7
|
+
const binaryName = process.platform === 'win32' ? 'kandi-plan-bin.exe' : 'kandi-plan-bin';
|
|
8
|
+
const binaryPath = path.join(__dirname, binaryName);
|
|
9
|
+
|
|
10
|
+
// Spawn the binary with all arguments
|
|
11
|
+
const child = spawn(binaryPath, process.argv.slice(2), {
|
|
12
|
+
stdio: 'inherit',
|
|
13
|
+
env: process.env
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
// Forward exit code
|
|
17
|
+
child.on('exit', (code) => {
|
|
18
|
+
process.exit(code || 0);
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
// Handle errors
|
|
22
|
+
child.on('error', (err) => {
|
|
23
|
+
console.error('Failed to start kandi-plan binary:', err.message);
|
|
24
|
+
process.exit(1);
|
|
25
|
+
});
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
package/scripts/install.js
CHANGED
|
@@ -6,7 +6,7 @@ const https = require('https');
|
|
|
6
6
|
const { execSync } = require('child_process');
|
|
7
7
|
|
|
8
8
|
// This version MUST match package.json
|
|
9
|
-
const RELEASE_VERSION = '0.3.
|
|
9
|
+
const RELEASE_VERSION = '0.3.26';
|
|
10
10
|
const GITHUB_REPO = 'KandiForge/distribution';
|
|
11
11
|
|
|
12
12
|
function downloadFile(url, destPath) {
|