multi-agents-cli 1.0.75 → 1.0.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.
- package/core/workflow/agent.js +4 -1
- package/package.json +1 -1
package/core/workflow/agent.js
CHANGED
|
@@ -791,7 +791,9 @@ const main = async () => {
|
|
|
791
791
|
let timestamp, sanitizedName, worktreeName, branchName, worktreePath;
|
|
792
792
|
let contextSection = '';
|
|
793
793
|
|
|
794
|
+
let userSeedingContracts = false;
|
|
794
795
|
flowLoop: while (true) {
|
|
796
|
+
userSeedingContracts = false; // reset each iteration
|
|
795
797
|
|
|
796
798
|
// ── Select scope ─────────────────────────────────────────────────────────────
|
|
797
799
|
|
|
@@ -1039,6 +1041,7 @@ const main = async () => {
|
|
|
1039
1041
|
rl
|
|
1040
1042
|
);
|
|
1041
1043
|
if (seedIdx === 1) {
|
|
1044
|
+
userSeedingContracts = true;
|
|
1042
1045
|
const manual = await ask(`\n ${bold('Describe your known interfaces, types, or DTOs')} ${dim('(free text)')}: \n → `);
|
|
1043
1046
|
if (manual.trim()) {
|
|
1044
1047
|
contractsNote = `Contract structure provided by user before session start:\n${manual.trim()}\nBootstrap CONTRACTS.md from this before implementing anything.`;
|
|
@@ -1101,7 +1104,7 @@ const main = async () => {
|
|
|
1101
1104
|
let skipped = [];
|
|
1102
1105
|
contextSection = '';
|
|
1103
1106
|
|
|
1104
|
-
if (AGENT_QUESTIONS[agent]) {
|
|
1107
|
+
if (AGENT_QUESTIONS[agent] && userSeedingContracts) {
|
|
1105
1108
|
let gathering = true;
|
|
1106
1109
|
while (gathering) {
|
|
1107
1110
|
const result = await gatherAgentContext(agent);
|
package/package.json
CHANGED