@antinomyhq/forge 0.99.0 → 0.100.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/forge.js CHANGED
@@ -21,10 +21,13 @@ if (!existsSync(forgeBinaryPath)) {
21
21
  }
22
22
 
23
23
  // Execute the binary with the same arguments
24
- const forgeProcess = spawn(forgeBinaryPath, process.argv.slice(2), {
25
- stdio: 'inherit',
26
- shell: process.platform === 'win32' // Use shell on Windows
27
- });
24
+ const forgeProcess = spawn(
25
+ process.platform === 'win32' ? `"${forgeBinaryPath}"` : forgeBinaryPath,
26
+ process.argv.slice(2),
27
+ {
28
+ stdio: 'inherit',
29
+ shell: process.platform === 'win32' // Use shell on Windows
30
+ });
28
31
 
29
32
  // Pass through SIGINT signals to the child process
30
33
  process.on('SIGINT', () => {
@@ -37,4 +40,4 @@ process.on('SIGINT', () => {
37
40
  forgeProcess.on('exit', (code) => {
38
41
  // Only exit with code when the child actually exits
39
42
  process.exit(code || 0);
40
- });
43
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antinomyhq/forge",
3
- "version": "0.99.0",
3
+ "version": "0.100.1",
4
4
  "description": "Code Forge CLI - an AI-powered coding assistant",
5
5
  "bin": {
6
6
  "forge": "forge.js"