From 134edc5e49a96a64fc2de2da550054546600e243 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Tue, 25 Nov 2025 01:40:05 +0100 Subject: [PATCH] Silence Baileys session logs unless verbose --- src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.ts b/src/index.ts index 9bab689a9..a3377e2fe 100644 --- a/src/index.ts +++ b/src/index.ts @@ -717,6 +717,8 @@ async function getReplyFromConfig( } // Ensure Claude commands can emit plain text by forcing --output-format when configured. + // We inject the flags only when the user points at the `claude` binary and has opted in via config, + // so existing custom argv or non-Claude commands remain untouched. if ( reply.claudeOutputFormat && argv.length > 0 &&