@@ -63,11 +63,16 @@ export async function initAgent(opts: AgentOptions): Promise<{
6363 cwd,
6464 () => currentModel,
6565 );
66+ let verboseOutputEnabled = opts.initialVerboseOutput;
6667 const agents = loadAgents(cwd);
6768 const tools: ToolDef[] = buildToolSet({
6869 cwd,
6970 runSubagent,
70- onShellOutput: (chunk) => opts.reporter.streamChunk(chunk),
71+ onShellOutput: (chunk) => {
72+ if (!verboseOutputEnabled) return false;
73+ opts.reporter.streamChunk(chunk);
74+ return true;
75+ },
7176 availableAgents: subagentAgents(agents),
7277 });
7378
@@ -162,6 +167,7 @@ export async function initAgent(opts: AgentOptions): Promise<{
162167 },
163168 setVerboseOutput: (verbose) => {
164169 runner.verboseOutput = verbose;
170+ verboseOutputEnabled = verbose;
165171 setPreferredVerboseOutput(verbose);
166172 },
167173 get pruningMode() {