multi-agents-cli 1.1.75 → 1.1.77

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.
Files changed (2) hide show
  1. package/lib/ui.js +2 -33
  2. package/package.json +1 -1
package/lib/ui.js CHANGED
@@ -174,45 +174,14 @@ const handleFreeText = async (prompt, items, stepMachine, stepIndex, context, is
174
174
  return typed;
175
175
  }
176
176
 
177
- // unverified - show options first, risk block only if user insists
177
+ // unverified
178
178
  console.log('');
179
179
  const unverifiedChoice = await arrowSelect(`"${typed}" couldn't be verified.`, [
180
180
  { label: `→ Type a different value` },
181
181
  { label: `→ Choose from the ${block || 'available'} list` },
182
- { label: `→ Proceed with "${typed}" - I accept the risks` },
183
182
  ]);
184
183
  if (unverifiedChoice === 0) return handleFreeText(prompt, items, stepMachine, stepIndex, context, isOptional, block);
185
- if (unverifiedChoice === 1) return SHOW_LIST;
186
-
187
- // Proceed with risks - show consequence block
188
- console.log('');
189
- console.log(` ${yellow('⚠ Proceeding with an unverified framework may result in:')}`);
190
- console.log(dim(' · Agent spending excessive tokens resolving unknown setup'));
191
- console.log(dim(' · Incorrect scaffold structure for this framework'));
192
- console.log(dim(' · Missing contracts and integration points'));
193
- console.log(dim(' · Potential mid-flow failures requiring full restart'));
194
- console.log('');
195
- const confirm = await arrowSelect('Confirm you understand and want to continue?', [
196
- { label: `→ Yes - proceed with "${typed}"` },
197
- { label: `→ No - let me pick something else` },
198
- ]);
199
- if (confirm === 1) return handleFreeText(prompt, items, stepMachine, stepIndex, context, isOptional, block);
200
-
201
- const check = validateCombination(typed, context);
202
- if (!check.valid) {
203
- console.log(`\n ${yellow('⚠')} ${check.reason}\n`);
204
- const opts = [
205
- '→ Continue - I understand the tradeoff',
206
- ...check.alternatives.map(a => `→ ${a}`),
207
- '→ Type a different value',
208
- ];
209
- const choice = await arrowSelect('How would you like to proceed?', opts.map(o => ({ label: o })));
210
- if (choice === 0) return typed;
211
- if (choice === opts.length - 1) return handleFreeText(prompt, items, stepMachine, stepIndex, context, isOptional, block);
212
- return check.alternatives[choice - 1];
213
- }
214
- console.log(dim(' Custom value - the agent will handle compatibility at runtime.'));
215
- return typed;
184
+ return SHOW_LIST;
216
185
  };
217
186
 
218
187
  const selectRequired = async (prompt, items, stepMachine, stepIndex, context = {}, block = null) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "multi-agents-cli",
3
- "version": "1.1.75",
3
+ "version": "1.1.77",
4
4
  "description": "Multi-agent workflow orchestration for Claude Code — isolated git worktrees, structured state tracking, autonomous task chaining",
5
5
  "keywords": [
6
6
  "claude-code",