multi-agents-cli 1.0.33 → 1.0.35
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 +2 -8
- package/package.json +1 -1
package/init.js
CHANGED
|
@@ -688,12 +688,6 @@ const main = async () => {
|
|
|
688
688
|
}
|
|
689
689
|
|
|
690
690
|
separator();
|
|
691
|
-
console.log(`\n${bold(' Which process do you want to restart?')}\n`);
|
|
692
|
-
active.forEach(({ scope, agent, data }, i) => {
|
|
693
|
-
const status = data.status || 'ACTIVE';
|
|
694
|
-
console.log(` ${dim(`${i + 1}.`)} ${bold(agent)} ${dim(`(${scope})`)} - ${dim(status)}`);
|
|
695
|
-
});
|
|
696
|
-
console.log(` ${dim(`${active.length + 1}.`)} ${dim('Back')}\n`);
|
|
697
691
|
|
|
698
692
|
const pickRes = await prompts({
|
|
699
693
|
type: 'select',
|
|
@@ -736,7 +730,7 @@ const main = async () => {
|
|
|
736
730
|
}
|
|
737
731
|
}
|
|
738
732
|
|
|
739
|
-
if (
|
|
733
|
+
if (affectedAgents.length > 1) {
|
|
740
734
|
console.log(`\n ${yellow('Dependent processes will also be wiped.')}`);
|
|
741
735
|
}
|
|
742
736
|
|
|
@@ -745,7 +739,7 @@ const main = async () => {
|
|
|
745
739
|
const confirmRes = await prompts({
|
|
746
740
|
type: 'select',
|
|
747
741
|
name: 'value',
|
|
748
|
-
message: '
|
|
742
|
+
message: 'Confirm restart?',
|
|
749
743
|
choices: [
|
|
750
744
|
{ title: 'Yes - wipe and restart', value: 'y' },
|
|
751
745
|
{ title: 'Cancel', value: 'n' },
|
package/package.json
CHANGED