multi-agents-cli 1.1.32 → 1.1.33
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 +1 -1
- package/core/workflow/run.js +2 -0
- package/init.js +2 -0
- package/package.json +1 -1
package/core/workflow/agent.js
CHANGED
|
@@ -14,7 +14,7 @@ const path = require('path');
|
|
|
14
14
|
const { execSync } = require('child_process');
|
|
15
15
|
const guards = require('./guards');
|
|
16
16
|
const tasksHistory = require('./tasks_history');
|
|
17
|
-
const { AGENTS, AGENT_DESCRIPTIONS, AGENT_TASK_SUFFIX, SCAFFOLD_REQUIRED, CONTRACTS_REQUIRED, AGENT_PREREQUISITES, DOD_ITEMS, AGENT_QUESTIONS } = require('
|
|
17
|
+
const { AGENTS, AGENT_DESCRIPTIONS, AGENT_TASK_SUFFIX, SCAFFOLD_REQUIRED, CONTRACTS_REQUIRED, AGENT_PREREQUISITES, DOD_ITEMS, AGENT_QUESTIONS } = require('./agent-config');
|
|
18
18
|
|
|
19
19
|
// ── Prompts (arrow-key navigation) ───────────────────────────────────────────
|
|
20
20
|
|
package/core/workflow/run.js
CHANGED
|
@@ -52,6 +52,8 @@ const copyWorkflow = (cliRoot) => {
|
|
|
52
52
|
for (const file of fs.readdirSync(src)) {
|
|
53
53
|
fs.copyFileSync(path.join(src, file), path.join(dest, file));
|
|
54
54
|
}
|
|
55
|
+
const agentConfigSrc = path.join(cliRoot, 'lib', 'agent-config.js');
|
|
56
|
+
if (fs.existsSync(agentConfigSrc)) fs.copyFileSync(agentConfigSrc, path.join(dest, 'agent-config.js'));
|
|
55
57
|
return true;
|
|
56
58
|
};
|
|
57
59
|
|
package/init.js
CHANGED
|
@@ -416,6 +416,8 @@ const main = async () => {
|
|
|
416
416
|
const WORKFLOW_DEST = path.join(ROOT, '.workflow');
|
|
417
417
|
fs.mkdirSync(WORKFLOW_DEST, { recursive: true });
|
|
418
418
|
copyDir(WORKFLOW_SRC, WORKFLOW_DEST);
|
|
419
|
+
const agentConfigSrc = path.join(CORE_DIR, '..', 'lib', 'agent-config.js');
|
|
420
|
+
if (fs.existsSync(agentConfigSrc)) fs.copyFileSync(agentConfigSrc, path.join(WORKFLOW_DEST, 'agent-config.js'));
|
|
419
421
|
console.log(` ${green('✓')} Workflow scripts copied (.workflow/)`);
|
|
420
422
|
try {
|
|
421
423
|
const cliPkg = require('./package.json');
|
package/package.json
CHANGED