multi-agents-cli 1.0.39 → 1.0.41
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 +30 -4
- package/package.json +1 -1
package/init.js
CHANGED
|
@@ -1367,9 +1367,9 @@ fi
|
|
|
1367
1367
|
console.log(` ${bold('How do you want to build?')}\n`);
|
|
1368
1368
|
|
|
1369
1369
|
console.log(` ${dim('1.')} ${bold('Multi-Agent Driven Orchestration')}`);
|
|
1370
|
-
console.log(
|
|
1370
|
+
console.log(dim(' · Every task should start with ') + cyan('npm run agent'));
|
|
1371
1371
|
console.log(`${dim(' · Each agent runs in its own git worktree — an isolated branch')}`);
|
|
1372
|
-
console.log(
|
|
1372
|
+
console.log(dim(' and folder that merges back into main via ') + cyan('npm run complete'));
|
|
1373
1373
|
console.log(`${dim(' · Faster builds and lower token spend than a single long session')}`);
|
|
1374
1374
|
console.log(`${yellow(' ⚠ If you commit directly to main yourself, you bypass the framework')}`);
|
|
1375
1375
|
console.log(`${yellow(' and break task tracking for any active agent branches')}\n`);
|
|
@@ -1462,9 +1462,9 @@ fi
|
|
|
1462
1462
|
separator();
|
|
1463
1463
|
console.log(`\n ${bold('How do you want to build?')}\n`);
|
|
1464
1464
|
console.log(` ${dim('1.')} ${bold('Multi-Agent Driven Orchestration')}`);
|
|
1465
|
-
console.log(
|
|
1465
|
+
console.log(dim(' · Every task should start with ') + cyan('npm run agent'));
|
|
1466
1466
|
console.log(`${dim(' · Each agent runs in its own git worktree — an isolated branch')}`);
|
|
1467
|
-
console.log(
|
|
1467
|
+
console.log(dim(' and folder that merges back into main via ') + cyan('npm run complete'));
|
|
1468
1468
|
console.log(`${dim(' · Faster builds and lower token spend than a single long session')}`);
|
|
1469
1469
|
console.log(`${yellow(' ⚠ If you commit directly to main yourself, you bypass the framework')}`);
|
|
1470
1470
|
console.log(`${yellow(' and break task tracking for any active agent branches')}\n`);
|
|
@@ -1486,6 +1486,32 @@ fi
|
|
|
1486
1486
|
fs.writeFileSync(path.join(RUNTIME_DIR, '.config.json'), JSON.stringify(cfg, null, 2), 'utf8');
|
|
1487
1487
|
} catch { /* best-effort */ }
|
|
1488
1488
|
|
|
1489
|
+
// ── Cloud deployment intent ──────────────────────────────────────────────────
|
|
1490
|
+
|
|
1491
|
+
separator();
|
|
1492
|
+
console.log(`\n ${bold('Do you plan to deploy this project to a cloud platform?')}\n`);
|
|
1493
|
+
|
|
1494
|
+
const cloudIdx = await arrowSelect('Cloud deployment?', [
|
|
1495
|
+
{ label: 'Yes - I plan to deploy to a cloud platform' },
|
|
1496
|
+
{ label: 'No - I will run it locally or decide later' },
|
|
1497
|
+
], rl);
|
|
1498
|
+
|
|
1499
|
+
try {
|
|
1500
|
+
const cfg = JSON.parse(fs.readFileSync(path.join(RUNTIME_DIR, '.config.json'), 'utf8'));
|
|
1501
|
+
cfg.cloudDeployment = cloudIdx === 0 ? 'yes' : 'no';
|
|
1502
|
+
fs.writeFileSync(path.join(RUNTIME_DIR, '.config.json'), JSON.stringify(cfg, null, 2), 'utf8');
|
|
1503
|
+
} catch { /* best-effort */ }
|
|
1504
|
+
|
|
1505
|
+
if (cloudIdx === 0) {
|
|
1506
|
+
console.log(`\n ${green('✓')} Cloud deployment noted.\n`);
|
|
1507
|
+
console.log(dim(' When ready, run ') + cyan('npm run agent') + dim(' and select the CLOUD agent.'));
|
|
1508
|
+
console.log(dim(' It will read your stack and suggest the best platform options for your project.\n'));
|
|
1509
|
+
} else {
|
|
1510
|
+
console.log(`\n ${green('✓')} Noted - no cloud deployment for now.\n`);
|
|
1511
|
+
console.log(dim(' You can always add it later by running ') + cyan('npm run agent') + dim(' and selecting the CLOUD agent.'));
|
|
1512
|
+
console.log(dim(' No changes to your project are needed before that point.\n'));
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1489
1515
|
if (selected.next === 'launch') {
|
|
1490
1516
|
const launchConfirm = await arrowConfirm('Ready to launch your first task?', rl);
|
|
1491
1517
|
if (launchConfirm) {
|
package/package.json
CHANGED