diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index fc3acce5b..9fe268778 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "da89108b82a5c33d7972fd7bc248a379394d5a5c", - "syncedAt": "2026-04-25T03:54:38.216Z" + "sha": "70fd1c91aa821d266c54b923243b13baec89966d", + "syncedAt": "2026-04-25T03:56:10.704Z" } diff --git a/docs/.generated/config-baseline.sha256 b/docs/.generated/config-baseline.sha256 index 3c080dd76..18beac9d4 100644 --- a/docs/.generated/config-baseline.sha256 +++ b/docs/.generated/config-baseline.sha256 @@ -1,4 +1,4 @@ -5c7709e1686f6ad90beaa8e34ba45e6445e34c48d598407bd837361b58c365ab config-baseline.json +b6d1e53947fcdfbff1b99f8ec79d3814d243385a1750b7fb40b40bb30f2e2975 config-baseline.json 98c83ce8af9ec4703726d7d673add95279be008a801b1d298982cbd9c1785747 config-baseline.core.json -22d7cd6d8279146b2d79c9531a55b80b52a2c99c81338c508104729154fdd02d config-baseline.channel.json +d72032762ab46b99480b57deb81130a0ab5b1401189cfbaf4f7fef4a063a7f6c config-baseline.channel.json 86f615b7d267b03888af0af7ccb3f8232a6b636f8a741d522ff425e46729ba81 config-baseline.plugin.json diff --git a/docs/channels/telegram.md b/docs/channels/telegram.md index efdeb70d6..50c0d1bc7 100644 --- a/docs/channels/telegram.md +++ b/docs/channels/telegram.md @@ -273,9 +273,28 @@ curl "https://api.telegram.org/bot/getUpdates" - `channels.telegram.streaming` is `off | partial | block | progress` (default: `partial`) - `progress` maps to `partial` on Telegram (compat with cross-channel naming) - - `streaming.preview.toolProgress` controls whether tool/progress updates reuse the same edited preview message (default: `false`). Set `true` only when visible Telegram progress updates are desired. + - `streaming.preview.toolProgress` controls whether tool/progress updates reuse the same edited preview message (default: `true` when preview streaming is active) - legacy `channels.telegram.streamMode` and boolean `streaming` values are auto-mapped + Tool-progress preview updates are the short "Working..." lines shown while tools run, for example command execution, file reads, planning updates, or patch summaries. Telegram keeps these enabled by default to match released OpenClaw behavior from `v2026.4.22` and later. To keep the edited preview for answer text but hide tool-progress lines, set: + + ```json + { + "channels": { + "telegram": { + "streaming": { + "mode": "partial", + "preview": { + "toolProgress": false + } + } + } + } + } + ``` + + Use `streaming.mode: "off"` only when you want to disable Telegram preview edits entirely. Use `streaming.preview.toolProgress: false` when you only want to disable the tool-progress status lines. + For text-only replies: - DM: OpenClaw keeps the same preview message and performs a final edit in place (no second message) diff --git a/docs/concepts/streaming.md b/docs/concepts/streaming.md index b61571a0f..5c80ffc2c 100644 --- a/docs/concepts/streaming.md +++ b/docs/concepts/streaming.md @@ -176,10 +176,28 @@ Preview streaming can also include **tool-progress** updates — short status li Supported surfaces: -- **Discord** and **Slack** stream tool-progress into the live preview edit by default. -- **Telegram** only streams tool-progress into the live preview edit when `streaming.preview.toolProgress` is explicitly enabled. +- **Discord**, **Slack**, and **Telegram** stream tool-progress into the live preview edit by default when preview streaming is active. +- Telegram has shipped with tool-progress preview updates enabled since `v2026.4.22`; keeping them enabled preserves that released behavior. - **Mattermost** already folds tool activity into its single draft preview post (see above). - Tool-progress edits follow the active preview streaming mode; they are skipped when preview streaming is `off` or when block streaming has taken over the message. +- To keep preview streaming but hide tool-progress lines, set `streaming.preview.toolProgress` to `false` for that channel. To disable preview edits entirely, set `streaming.mode` to `off`. + +Example: + +```json +{ + "channels": { + "telegram": { + "streaming": { + "mode": "partial", + "preview": { + "toolProgress": false + } + } + } + } +} +``` ## Related