fix(cli): silence "session restored" log for one-shot commands (alpha.40)
Add quiet opt to BrokerClient; withMesh passes quiet:true so commands like peers/state/info/remind no longer print per-mesh restore chatter. Long-running paths (launch, MCP) stay verbose. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -69,7 +69,7 @@ export async function withMesh<T>(
|
||||
}
|
||||
|
||||
const displayName = opts.displayName ?? config.displayName ?? `${hostname()}-${process.pid}`;
|
||||
const client = new BrokerClient(mesh, { displayName });
|
||||
const client = new BrokerClient(mesh, { displayName, quiet: true });
|
||||
|
||||
try {
|
||||
await client.connect();
|
||||
|
||||
Reference in New Issue
Block a user