multi-agents-cli 1.0.58 → 1.0.60
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/init.js +6 -2
- package/package.json +1 -1
package/init.js
CHANGED
|
@@ -1583,11 +1583,15 @@ fi
|
|
|
1583
1583
|
}
|
|
1584
1584
|
console.log(` ${dim('shared')} : CLOUD, SECURITY\n`);
|
|
1585
1585
|
|
|
1586
|
-
console.log(` ${dim('
|
|
1587
|
-
console.log(` ${cyan('npm run agent')} ${dim('- start your first task')}\n`);
|
|
1586
|
+
console.log(` ${dim('Starting your first agent session...\n')}`);
|
|
1588
1587
|
separator();
|
|
1589
1588
|
console.log('');
|
|
1590
1589
|
rl.close();
|
|
1590
|
+
const { spawn: sp } = require('child_process');
|
|
1591
|
+
const agentProc = sp('npm', ['run', 'agent'], { cwd: ROOT, stdio: 'inherit' });
|
|
1592
|
+
agentProc.on('error', (err) => {
|
|
1593
|
+
console.error(' Could not start agent:', err.message);
|
|
1594
|
+
});
|
|
1591
1595
|
return;
|
|
1592
1596
|
}
|
|
1593
1597
|
|
package/package.json
CHANGED