multi-agents-cli 1.1.54 → 1.1.56

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.
@@ -193,6 +193,14 @@ Examples:
193
193
  This is mandatory. It is the only human-readable signal the user gets while
194
194
  the agent is working. Keep it specific and honest — not generic filler.
195
195
 
196
+ ### Output Mode
197
+
198
+ Read `output_mode` from `.claude-scope` at session start. Honor it for the entire session:
199
+
200
+ - `full` — no restrictions, behave normally
201
+ - `insights` — emit `▶ narration` lines before each phase; suppress routine file read/write commentary in between
202
+ - `silent` — emit only git operations, errors, and verification results; show `✢ working...` between phases, no other output
203
+
196
204
  ---
197
205
 
198
206
  ## Workflow
@@ -185,6 +185,14 @@ Examples:
185
185
  This is mandatory. It is the only human-readable signal the user gets while
186
186
  the agent is working. Keep it specific and honest — not generic filler.
187
187
 
188
+ ### Output Mode
189
+
190
+ Read `output_mode` from `.claude-scope` at session start. Honor it for the entire session:
191
+
192
+ - `full` — no restrictions, behave normally
193
+ - `insights` — emit `▶ narration` lines before each phase; suppress routine file read/write commentary in between
194
+ - `silent` — emit only git operations, errors, and verification results; show `✢ working...` between phases, no other output
195
+
188
196
  ---
189
197
 
190
198
  ## Workflow
@@ -192,6 +192,14 @@ Examples:
192
192
  This is mandatory. It is the only human-readable signal the user gets while
193
193
  the agent is working. Keep it specific and honest — not generic filler.
194
194
 
195
+ ### Output Mode
196
+
197
+ Read `output_mode` from `.claude-scope` at session start. Honor it for the entire session:
198
+
199
+ - `full` — no restrictions, behave normally
200
+ - `insights` — emit `▶ narration` lines before each phase; suppress routine file read/write commentary in between
201
+ - `silent` — emit only git operations, errors, and verification results; show `✢ working...` between phases, no other output
202
+
195
203
  ---
196
204
 
197
205
  ## Workflow
@@ -191,6 +191,14 @@ Examples:
191
191
  This is mandatory. It is the only human-readable signal the user gets while
192
192
  the agent is working. Keep it specific and honest — not generic filler.
193
193
 
194
+ ### Output Mode
195
+
196
+ Read `output_mode` from `.claude-scope` at session start. Honor it for the entire session:
197
+
198
+ - `full` — no restrictions, behave normally
199
+ - `insights` — emit `▶ narration` lines before each phase; suppress routine file read/write commentary in between
200
+ - `silent` — emit only git operations, errors, and verification results; show `✢ working...` between phases, no other output
201
+
194
202
  ---
195
203
 
196
204
  ## Workflow
@@ -175,6 +175,14 @@ Examples:
175
175
  This is mandatory. It is the only human-readable signal the user gets while
176
176
  the agent is working. Keep it specific and honest — not generic filler.
177
177
 
178
+ ### Output Mode
179
+
180
+ Read `output_mode` from `.claude-scope` at session start. Honor it for the entire session:
181
+
182
+ - `full` — no restrictions, behave normally
183
+ - `insights` — emit `▶ narration` lines before each phase; suppress routine file read/write commentary in between
184
+ - `silent` — emit only git operations, errors, and verification results; show `✢ working...` between phases, no other output
185
+
178
186
  ---
179
187
 
180
188
  ## Workflow
@@ -191,6 +191,14 @@ Examples:
191
191
  This is mandatory. It is the only human-readable signal the user gets while
192
192
  the agent is working. Keep it specific and honest — not generic filler.
193
193
 
194
+ ### Output Mode
195
+
196
+ Read `output_mode` from `.claude-scope` at session start. Honor it for the entire session:
197
+
198
+ - `full` — no restrictions, behave normally
199
+ - `insights` — emit `▶ narration` lines before each phase; suppress routine file read/write commentary in between
200
+ - `silent` — emit only git operations, errors, and verification results; show `✢ working...` between phases, no other output
201
+
194
202
  ---
195
203
 
196
204
  ## Workflow
@@ -217,6 +217,14 @@ Examples:
217
217
  This is mandatory. It is the only human-readable signal the user gets while
218
218
  the agent is working. Keep it specific and honest — not generic filler.
219
219
 
220
+ ### Output Mode
221
+
222
+ Read `output_mode` from `.claude-scope` at session start. Honor it for the entire session:
223
+
224
+ - `full` — no restrictions, behave normally
225
+ - `insights` — emit `▶ narration` lines before each phase; suppress routine file read/write commentary in between
226
+ - `silent` — emit only git operations, errors, and verification results; show `✢ working...` between phases, no other output
227
+
220
228
  ---
221
229
 
222
230
  ## Workflow
@@ -199,6 +199,14 @@ Examples:
199
199
  This is mandatory. It is the only human-readable signal the user gets while
200
200
  the agent is working. Keep it specific and honest — not generic filler.
201
201
 
202
+ ### Output Mode
203
+
204
+ Read `output_mode` from `.claude-scope` at session start. Honor it for the entire session:
205
+
206
+ - `full` — no restrictions, behave normally
207
+ - `insights` — emit `▶ narration` lines before each phase; suppress routine file read/write commentary in between
208
+ - `silent` — emit only git operations, errors, and verification results; show `✢ working...` between phases, no other output
209
+
202
210
  ---
203
211
 
204
212
  ## Workflow
@@ -194,6 +194,14 @@ Examples:
194
194
  This is mandatory. It is the only human-readable signal the user gets while
195
195
  the agent is working. Keep it specific and honest — not generic filler.
196
196
 
197
+ ### Output Mode
198
+
199
+ Read `output_mode` from `.claude-scope` at session start. Honor it for the entire session:
200
+
201
+ - `full` — no restrictions, behave normally
202
+ - `insights` — emit `▶ narration` lines before each phase; suppress routine file read/write commentary in between
203
+ - `silent` — emit only git operations, errors, and verification results; show `✢ working...` between phases, no other output
204
+
197
205
  ---
198
206
 
199
207
  ## Workflow
@@ -179,6 +179,14 @@ Examples:
179
179
  This is mandatory. It is the only human-readable signal the user gets while
180
180
  the agent is working. Keep it specific and honest — not generic filler.
181
181
 
182
+ ### Output Mode
183
+
184
+ Read `output_mode` from `.claude-scope` at session start. Honor it for the entire session:
185
+
186
+ - `full` — no restrictions, behave normally
187
+ - `insights` — emit `▶ narration` lines before each phase; suppress routine file read/write commentary in between
188
+ - `silent` — emit only git operations, errors, and verification results; show `✢ working...` between phases, no other output
189
+
182
190
  ---
183
191
 
184
192
  ## Workflow
@@ -211,6 +211,14 @@ Examples:
211
211
  This is mandatory. It is the only human-readable signal the user gets while
212
212
  the agent is working. Keep it specific and honest — not generic filler.
213
213
 
214
+ ### Output Mode
215
+
216
+ Read `output_mode` from `.claude-scope` at session start. Honor it for the entire session:
217
+
218
+ - `full` — no restrictions, behave normally
219
+ - `insights` — emit `▶ narration` lines before each phase; suppress routine file read/write commentary in between
220
+ - `silent` — emit only git operations, errors, and verification results; show `✢ working...` between phases, no other output
221
+
214
222
  ---
215
223
 
216
224
  ## Workflow
@@ -180,6 +180,14 @@ Examples:
180
180
  This is mandatory. It is the only human-readable signal the user gets while
181
181
  the agent is working. Keep it specific and honest — not generic filler.
182
182
 
183
+ ### Output Mode
184
+
185
+ Read `output_mode` from `.claude-scope` at session start. Honor it for the entire session:
186
+
187
+ - `full` — no restrictions, behave normally
188
+ - `insights` — emit `▶ narration` lines before each phase; suppress routine file read/write commentary in between
189
+ - `silent` — emit only git operations, errors, and verification results; show `✢ working...` between phases, no other output
190
+
183
191
  ---
184
192
 
185
193
  ## Workflow
@@ -181,6 +181,14 @@ Examples:
181
181
  This is mandatory. It is the only human-readable signal the user gets while
182
182
  the agent is working. Keep it specific and honest — not generic filler.
183
183
 
184
+ ### Output Mode
185
+
186
+ Read `output_mode` from `.claude-scope` at session start. Honor it for the entire session:
187
+
188
+ - `full` — no restrictions, behave normally
189
+ - `insights` — emit `▶ narration` lines before each phase; suppress routine file read/write commentary in between
190
+ - `silent` — emit only git operations, errors, and verification results; show `✢ working...` between phases, no other output
191
+
184
192
  ---
185
193
 
186
194
  ## Workflow
@@ -172,6 +172,14 @@ Examples:
172
172
  This is mandatory. It is the only human-readable signal the user gets while
173
173
  the agent is working. Keep it specific and honest — not generic filler.
174
174
 
175
+ ### Output Mode
176
+
177
+ Read `output_mode` from `.claude-scope` at session start. Honor it for the entire session:
178
+
179
+ - `full` — no restrictions, behave normally
180
+ - `insights` — emit `▶ narration` lines before each phase; suppress routine file read/write commentary in between
181
+ - `silent` — emit only git operations, errors, and verification results; show `✢ working...` between phases, no other output
182
+
175
183
  ---
176
184
 
177
185
  ## Workflow
@@ -194,6 +194,14 @@ Examples:
194
194
  This is mandatory. It is the only human-readable signal the user gets while
195
195
  the agent is working. Keep it specific and honest — not generic filler.
196
196
 
197
+ ### Output Mode
198
+
199
+ Read `output_mode` from `.claude-scope` at session start. Honor it for the entire session:
200
+
201
+ - `full` — no restrictions, behave normally
202
+ - `insights` — emit `▶ narration` lines before each phase; suppress routine file read/write commentary in between
203
+ - `silent` — emit only git operations, errors, and verification results; show `✢ working...` between phases, no other output
204
+
197
205
  ---
198
206
 
199
207
  ## Workflow
@@ -146,7 +146,12 @@ the agent must:
146
146
  # then take the parent directory of that path - this is PROJECT_ROOT
147
147
  ```
148
148
  Store this as PROJECT_ROOT. All subsequent paths (`.scaffold/`, `BUILD_STATE.md`, `CONTRACTS.md`, etc.) resolve from PROJECT_ROOT, never from the worktree directory.
149
- 2. Read `BUILD_STATE.md` at PROJECT_ROOT - understand what has been built
149
+ 2. Read `output_mode` from `.claude-scope` in the current worktree directory:
150
+ - `full` — default, no restrictions on output
151
+ - `insights` — emit `▶ narration` lines before each phase only; suppress routine file read/write commentary
152
+ - `silent` — emit only git operations, errors, and verification results; show `✢ working...` between phases
153
+ Store this as OUTPUT_MODE. Apply it consistently for the entire session.
154
+ 3. Read `BUILD_STATE.md` at PROJECT_ROOT - understand what has been built
150
155
  3. Check if `TASK.md` exists in the current directory
151
156
  4. If yes - read it and verify dependencies are met against BUILD_STATE.md
152
157
  5. If dependencies not met - surface what is missing and propose options
@@ -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.
@@ -486,6 +486,7 @@ project : ${project}
486
486
  agent : ${agent}
487
487
  branch : ${branchName}
488
488
  worktree : ${worktreePath}
489
+ output_mode : ${outputMode}
489
490
 
490
491
  ## Scope Verification Rule
491
492
  Before doing anything else, verify:
@@ -1312,7 +1313,7 @@ const main = async () => {
1312
1313
  execSync(`git worktree add "${beWorktreePath}" -b ${beBranchName}`, { cwd: ROOT, stdio: 'pipe' });
1313
1314
 
1314
1315
  // Framework files
1315
- 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' });
1316
1317
  fs.writeFileSync(path.join(beWorktreePath, '.claude-scope'), beScope, 'utf8');
1317
1318
 
1318
1319
  const beTask = AGENT_DESCRIPTIONS.backend?.INIT || 'scaffolds backend architecture, folder structure, DB setup, wiring config and contracts';
@@ -1521,7 +1522,7 @@ Mark each step complete. Only proceed to the task below when all are checked.
1521
1522
 
1522
1523
  fs.writeFileSync(
1523
1524
  path.join(worktreePath, '.claude-scope'),
1524
- generateClaudeScope({ project, agent, branchName, worktreePath }),
1525
+ generateClaudeScope({ project, agent, branchName, worktreePath, outputMode }),
1525
1526
  'utf8'
1526
1527
  );
1527
1528
  console.log(` ${green('✓')} .claude-scope written`);
@@ -1733,6 +1734,17 @@ ${excludedUrls}
1733
1734
  );
1734
1735
  const skipPermissions = permIdx === 0;
1735
1736
 
1737
+ const outputModeIdx = await arrowSelect(
1738
+ 'Agent output mode for this session?',
1739
+ [
1740
+ { label: `${green('→')} Full output ${dim('— see everything (default)')}` },
1741
+ { label: `${green('→')} Insights only ${dim('— phase narrations + important blocks')}` },
1742
+ { label: `${green('→')} Silent ${dim('— spinner + critical blocks only')}` },
1743
+ ],
1744
+ rl
1745
+ );
1746
+ const outputMode = ['full', 'insights', 'silent'][outputModeIdx];
1747
+
1736
1748
  sessionLoop: while (true) {
1737
1749
  const sessionIdx = await arrowSelect('How would you like to start the session?', [
1738
1750
  { label: `${green('→')} IDE + new terminal ${dim('(Claude Code CLI)')} ${dim('← recommended')}` },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "multi-agents-cli",
3
- "version": "1.1.54",
3
+ "version": "1.1.56",
4
4
  "description": "Multi-agent workflow orchestration for Claude Code — isolated git worktrees, structured state tracking, autonomous task chaining",
5
5
  "keywords": [
6
6
  "claude-code",