codecane 1.0.0-beta.1 → 1.0.0-beta.2

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 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -404,10 +404,9 @@ async function checkForUpdates(runningProcess, exitListener) {
404
404
  runningProcess.kill('SIGKILL')
405
405
  }
406
406
  resolve()
407
+ }, 5000)
407
408
  })
408
409
 
409
- // Find the extracted binary - it should be named "codecane" or "codecane.exe"
410
- }, 5000)
411
410
  console.log(`Update available: ${currentVersion} → ${latestVersion}`)
412
411
 
413
412
  await downloadBinary(latestVersion)
@@ -426,12 +425,11 @@ async function checkForUpdates(runningProcess, exitListener) {
426
425
  newChild.on('exit', (code) => {
427
426
  process.exit(code || 0)
428
427
  })
429
- } catch (error) {
430
- console.error('❌ Failed to download codecane:', error.message)
431
428
 
432
429
  // Don't return - keep this function running to maintain the wrapper
433
430
  return new Promise(() => {}) // Never resolves, keeps wrapper alive
434
431
  }
432
+ } catch (error) {
435
433
  // Silently ignore update check errors
436
434
  }
437
435
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codecane",
3
- "version": "1.0.0-beta.1",
3
+ "version": "1.0.0-beta.2",
4
4
  "description": "AI coding agent (staging)",
5
5
  "license": "MIT",
6
6
  "bin": {