multi-agents-cli 1.0.78 → 1.0.79
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/core/workflow/agent.js +14 -1
- package/package.json +1 -1
package/core/workflow/agent.js
CHANGED
|
@@ -1393,8 +1393,21 @@ ${excludedUrls}
|
|
|
1393
1393
|
separator();
|
|
1394
1394
|
console.log(`\n${bold(' Workspace is set up and ready.')}\n`);
|
|
1395
1395
|
|
|
1396
|
+
// Spinner — flushes terminal buffer and signals readiness before prompt renders
|
|
1397
|
+
await new Promise(resolve => {
|
|
1398
|
+
const frames = ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏'];
|
|
1399
|
+
let i = 0;
|
|
1400
|
+
const spin = setInterval(() => {
|
|
1401
|
+
process.stdout.write(`\r ${frames[i++ % frames.length]} Preparing session...`);
|
|
1402
|
+
}, 60);
|
|
1403
|
+
setTimeout(() => {
|
|
1404
|
+
clearInterval(spin);
|
|
1405
|
+
process.stdout.write('\r' + ' '.repeat(30) + '\r');
|
|
1406
|
+
resolve();
|
|
1407
|
+
}, 600);
|
|
1408
|
+
});
|
|
1409
|
+
|
|
1396
1410
|
sessionLoop: while (true) {
|
|
1397
|
-
process.stdout.write("\n");
|
|
1398
1411
|
const sessionIdx = await arrowSelect('How would you like to start the session?', [
|
|
1399
1412
|
{ label: `${green('→')} IDE + new terminal ${dim('(Claude Code CLI)')} ${dim('← recommended')}` },
|
|
1400
1413
|
{ label: `${green('→')} IDE only` },
|
package/package.json
CHANGED