multi-agents-cli 1.0.7 → 1.0.8
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 +1 -3
- package/package.json +1 -1
package/init.js
CHANGED
|
@@ -475,14 +475,12 @@ const showList = (items, showSkip = false) => {
|
|
|
475
475
|
};
|
|
476
476
|
|
|
477
477
|
const selectRequired = async (prompt, items) => {
|
|
478
|
-
console.log(`\n${bold(prompt)}`);
|
|
479
478
|
const idx = await arrowSelect(prompt, items.map(i => ({ label: typeof i === 'string' ? i : i.label })), rl);
|
|
480
479
|
return items[idx];
|
|
481
480
|
};
|
|
482
481
|
|
|
483
482
|
const selectOptional = async (prompt, items) => {
|
|
484
483
|
if (!items || items.length === 0) return null;
|
|
485
|
-
console.log(`\n${bold(prompt)}`);
|
|
486
484
|
const choices = [
|
|
487
485
|
...items.map(i => ({ label: typeof i === 'string' ? i : i.label })),
|
|
488
486
|
{ label: dim('Skip (agent will propose when needed)') },
|
|
@@ -595,7 +593,7 @@ const main = async () => {
|
|
|
595
593
|
separator();
|
|
596
594
|
|
|
597
595
|
console.log(`\n${bold('Let\'s configure your project.')}`);
|
|
598
|
-
console.log(dim('
|
|
596
|
+
console.log(dim(' Use arrow keys to select. Optional fields can be skipped.\n'));
|
|
599
597
|
console.log(dim(' Skipped fields will be resolved by the agent when first needed.\n'));
|
|
600
598
|
|
|
601
599
|
// ── Project name ────────────────────────────────────────────────────────────
|
package/package.json
CHANGED