multi-agents-cli 1.1.55 → 1.1.57
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 +3 -3
- package/package.json +1 -1
package/core/workflow/agent.js
CHANGED
|
@@ -476,7 +476,7 @@ const acknowledgeSkipped = async (skipped) => {
|
|
|
476
476
|
|
|
477
477
|
// ── File generators ───────────────────────────────────────────────────────────
|
|
478
478
|
|
|
479
|
-
const generateClaudeScope = ({ project, agent, branchName, worktreePath }) => {
|
|
479
|
+
const generateClaudeScope = ({ project, agent, branchName, worktreePath, outputMode = 'full' }) => {
|
|
480
480
|
return `# .claude-scope
|
|
481
481
|
# Auto-generated by .workflow/agent.js
|
|
482
482
|
# This file identifies the scope of this worktree.
|
|
@@ -1313,7 +1313,7 @@ const main = async () => {
|
|
|
1313
1313
|
execSync(`git worktree add "${beWorktreePath}" -b ${beBranchName}`, { cwd: ROOT, stdio: 'pipe' });
|
|
1314
1314
|
|
|
1315
1315
|
// Framework files
|
|
1316
|
-
const beScope = generateClaudeScope({ project: 'backend', agent: 'INIT', branchName: beBranchName, worktreePath: beWorktreePath });
|
|
1316
|
+
const beScope = generateClaudeScope({ project: 'backend', agent: 'INIT', branchName: beBranchName, worktreePath: beWorktreePath, outputMode: outputMode || 'full' });
|
|
1317
1317
|
fs.writeFileSync(path.join(beWorktreePath, '.claude-scope'), beScope, 'utf8');
|
|
1318
1318
|
|
|
1319
1319
|
const beTask = AGENT_DESCRIPTIONS.backend?.INIT || 'scaffolds backend architecture, folder structure, DB setup, wiring config and contracts';
|
|
@@ -1522,7 +1522,7 @@ Mark each step complete. Only proceed to the task below when all are checked.
|
|
|
1522
1522
|
|
|
1523
1523
|
fs.writeFileSync(
|
|
1524
1524
|
path.join(worktreePath, '.claude-scope'),
|
|
1525
|
-
generateClaudeScope({ project, agent, branchName, worktreePath }),
|
|
1525
|
+
generateClaudeScope({ project, agent, branchName, worktreePath, outputMode }),
|
|
1526
1526
|
'utf8'
|
|
1527
1527
|
);
|
|
1528
1528
|
console.log(` ${green('✓')} .claude-scope written`);
|
package/package.json
CHANGED