From 3f19290c8d6a5df59ea8de43e698163d6ea93be3 Mon Sep 17 00:00:00 2001 From: Wujie Li <66515269+wujieli0207@users.noreply.github.com> Date: Thu, 5 Mar 2026 11:00:06 +0800 Subject: [PATCH] fix: preserve paragraph breaks between text blocks in bridge responses (#144) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When Claude's response includes tool calls (Read, Edit, Bash, etc.), the response text is split into multiple content blocks — one before each tool call and one after. These blocks were joined with an empty string (.join('')), causing all paragraphs to concatenate without any spacing in the final Telegram message. Changed .join('') to .join('\n\n') so paragraph breaks between text blocks are preserved, matching how they appear in the desktop UI.