codecane 1.0.420-beta.89 → 1.0.420-beta.9

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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -415,7 +415,7 @@ async function checkForUpdates(runningProcess, exitListener) {
415
415
  // Restart with new binary - this replaces the current process
416
416
  const newChild = spawn(
417
417
  CONFIG.binaryPath,
418
- process.argv.slice(2),
418
+ [packageName, ...process.argv.slice(2)],
419
419
  {
420
420
  stdio: 'inherit',
421
421
  detached: false,
@@ -450,7 +450,7 @@ async function main() {
450
450
  // Start the binary with codecane argument
451
451
  const child = spawn(
452
452
  CONFIG.binaryPath,
453
- process.argv.slice(2),
453
+ [packageName, ...process.argv.slice(2)],
454
454
  {
455
455
  stdio: 'inherit',
456
456
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codecane",
3
- "version": "1.0.420-beta.89",
3
+ "version": "1.0.420-beta.9",
4
4
  "description": "AI coding agent (staging)",
5
5
  "license": "MIT",
6
6
  "bin": {