@vodmal/vdx-cli 0.21.0 → 0.21.1
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/package.json +1 -1
- package/src/ai.ts +6 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vodmal/vdx-cli",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.1",
|
|
4
4
|
"description": "vdx — unified lifecycle interface (up/down/build/test/check/fix) + versioned maturity audit with drift detection. Pairs with the vdx Claude Code plugin.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vdx",
|
package/src/ai.ts
CHANGED
|
@@ -1067,7 +1067,10 @@ export function chooseConversation(plan: LaunchPlan, deps: AiDeps, canAsk: boole
|
|
|
1067
1067
|
lines: [`chosen: ${show(c)}`],
|
|
1068
1068
|
};
|
|
1069
1069
|
};
|
|
1070
|
-
if (found.every(idleHere))
|
|
1070
|
+
if (found.every(idleHere)) {
|
|
1071
|
+
const chosen = take(found[0]!);
|
|
1072
|
+
return { ...chosen, lines: [...chosen.lines, ...silent] };
|
|
1073
|
+
}
|
|
1071
1074
|
|
|
1072
1075
|
const firstIdle = found.find(idleHere);
|
|
1073
1076
|
if (canAsk && deps.interactive) {
|
|
@@ -1078,6 +1081,8 @@ export function chooseConversation(plan: LaunchPlan, deps: AiDeps, canAsk: boole
|
|
|
1078
1081
|
deps.log(` ${i + 1}) ${show(c)}${m.length ? ` ← ${m.join(', ')}` : ''}`);
|
|
1079
1082
|
});
|
|
1080
1083
|
deps.log(' n) a new conversation');
|
|
1084
|
+
// A machine that did not answer may run any of these: say so before the person picks.
|
|
1085
|
+
for (const n of silent) deps.log(` ${n}`);
|
|
1081
1086
|
for (let tries = 0; tries < 2; tries++) {
|
|
1082
1087
|
const answer = deps.ask(`Which one to continue? [1]: `);
|
|
1083
1088
|
// Ctrl-D at the question is a cancel, not "no terminal": start nothing.
|