multi-agents-cli 1.0.75 → 1.0.76
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
|
@@ -1025,6 +1025,8 @@ const main = async () => {
|
|
|
1025
1025
|
}
|
|
1026
1026
|
}
|
|
1027
1027
|
|
|
1028
|
+
let userSeedingContracts = false;
|
|
1029
|
+
|
|
1028
1030
|
// Contracts check — only for relevant agents, optional for senior devs
|
|
1029
1031
|
|
|
1030
1032
|
const CONTRACTS_SEED_AGENTS = ['LOGIC', 'INIT', 'API'];
|
|
@@ -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