multi-agents-cli 1.0.59 → 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 -3
- package/package.json +1 -1
package/init.js
CHANGED
|
@@ -1583,12 +1583,15 @@ fi
|
|
|
1583
1583
|
}
|
|
1584
1584
|
console.log(` ${dim('shared')} : CLOUD, SECURITY\n`);
|
|
1585
1585
|
|
|
1586
|
-
console.log(` ${dim('
|
|
1587
|
-
console.log(` ${cyan(`cd ${projectName}`)} ${dim('- enter your project')}`);
|
|
1588
|
-
console.log(` ${cyan('npm run agent')} ${dim('- start your first task')}\n`);
|
|
1586
|
+
console.log(` ${dim('Starting your first agent session...\n')}`);
|
|
1589
1587
|
separator();
|
|
1590
1588
|
console.log('');
|
|
1591
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
|
+
});
|
|
1592
1595
|
return;
|
|
1593
1596
|
}
|
|
1594
1597
|
|
package/package.json
CHANGED