@kandiforge/spectacle 0.3.31 → 0.3.32

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.
Binary file
Binary file
package/bin/kandi-gpt-bin CHANGED
Binary file
Binary file
package/bin/kandi-run-bin CHANGED
Binary file
Binary file
Binary file
package/bin/kandi-test 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-test-bin.exe' : 'kandi-test-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-test binary:', err.message);
24
+ process.exit(1);
25
+ });
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kandiforge/spectacle",
3
- "version": "0.3.31",
3
+ "version": "0.3.32",
4
4
  "description": "Spectacle server and CLI tools for KandiForge ecosystem",
5
5
  "author": "Abstract Class Consulting Inc.",
6
6
  "license": "PROPRIETARY",
@@ -25,6 +25,7 @@
25
25
  "kandi-plan": "./bin/kandi-plan",
26
26
  "kandi-gpt": "./bin/kandi-gpt",
27
27
  "kandi-run": "./bin/kandi-run",
28
+ "kandi-test": "./bin/kandi-test",
28
29
  "kandi-deploy": "./bin/kandi-deploy",
29
30
  "kandi-secure": "./bin/kandi-secure",
30
31
  "kandi-forge": "./bin/kandi-forge",
@@ -9,7 +9,7 @@ const stream = require('stream');
9
9
  const pipeline = promisify(stream.pipeline);
10
10
 
11
11
  // This version MUST match package.json
12
- const RELEASE_VERSION = '0.3.31';
12
+ const RELEASE_VERSION = '0.3.32';
13
13
  const GITHUB_REPO = 'KandiForge/distribution';
14
14
 
15
15
  function downloadFile(url, destPath) {