4runr-os 2.1.42 → 2.1.45

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/package.json +1 -1
  2. package/scripts/setup.js +12 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "4runr-os",
3
- "version": "2.1.42",
3
+ "version": "2.1.45",
4
4
  "type": "module",
5
5
  "description": "4Runr AI Agent OS - Interactive terminal for managing AI agents",
6
6
  "main": "dist/index.js",
package/scripts/setup.js CHANGED
@@ -316,8 +316,9 @@ if (isWindows && rustInstalled && rustNeedsGNU) {
316
316
  }
317
317
 
318
318
  // Continue with rest of setup (outside Windows-specific block)
319
- try {
320
- execSync('4r --version', { stdio: 'ignore' });
319
+ console.log('\nšŸ“¦ Checking 4runr-os installation...');
320
+ try {
321
+ execSync('4r --version', { stdio: 'ignore' });
321
322
  console.log('āœ… 4runr-os is installed');
322
323
  } catch {
323
324
  console.log('āš ļø 4runr-os not found in PATH');
@@ -376,8 +377,13 @@ if (isWindows && rustInstalled && rustNeedsGNU) {
376
377
  }
377
378
 
378
379
  // Run the setup
379
- runSetup().catch((error) => {
380
- console.error('\nāŒ Setup failed:', error);
381
- process.exit(1);
382
- });
380
+ runSetup()
381
+ .then(() => {
382
+ // Setup completed successfully
383
+ process.exit(0);
384
+ })
385
+ .catch((error) => {
386
+ console.error('\nāŒ Setup failed:', error);
387
+ process.exit(1);
388
+ });
383
389