openclaw/extensions
chi 33e6a6724d
fix(telegram): enable HTML formatting for model switch messages (#60042)
* fix(telegram): enable HTML formatting for model switch messages

The model switch confirmation message was displaying raw Markdown
(**text**) instead of bold formatting because parse_mode was not set.

Changes:
- Add optional extra parameter to editMessageWithButtons for parse_mode
- Change format from Markdown ** to HTML <b> tags
- Pass parse_mode: 'HTML' when editing model switch message

Fixes the issue where model names appeared as **provider/model**
instead of bold text in Telegram.

* fix(telegram): escape HTML entities in model switch confirmation

Add defensive `escapeHtml` helper to sanitize `selection.provider`
and `selection.model` before interpolating them into the HTML
callback message. This prevents potential API rejection (HTTP 400)
if future provider or model names contain `<`, `>`, or `&`.

Addresses review feedback on unescaped HTML interpolation.

* test(telegram): cover HTML model switch confirmation

---------

Co-authored-by: Frank Yang <frank.ekn@gmail.com>
2026-04-04 00:05:09 +08:00
..
acpx test(acpx): use direct ACP adapter contract seam 2026-04-03 23:01:51 +09:00
amazon-bedrock refactor: move provider replay runtime ownership into plugins (#60126) 2026-04-03 23:14:37 +09:00
anthropic refactor: move provider replay runtime ownership into plugins (#60126) 2026-04-03 23:14:37 +09:00
anthropic-vertex refactor: move provider replay runtime ownership into plugins (#60126) 2026-04-03 23:14:37 +09:00
bluebubbles fix: honor bluebubbles setup dm policy accounts 2026-04-03 10:39:32 -05:00
brave test: move extension-owned coverage out of core 2026-04-03 10:58:44 +01:00
browser fix: restore browser-config sdk compatibility 2026-04-03 16:39:47 +01:00
byteplus
chutes
cloudflare-ai-gateway
copilot-proxy
deepgram test(types): remove remaining testing barrel references 2026-04-03 23:03:02 +09:00
deepseek test(extensions): narrow provider registration test helpers 2026-04-03 21:24:43 +09:00
device-pair
diagnostics-otel CI: add ClawHub plugin release workflow (#59179) 2026-04-03 15:40:07 +02:00
diffs test(diffs): split render coverage from config tests 2026-04-03 18:39:50 +09:00
discord fix: resolve post-rebase gate follow-ups for #60081 2026-04-04 00:53:45 +09:00
duckduckgo
elevenlabs
exa
fal
feishu refactor(feishu): lazy-load subagent hooks 2026-04-03 23:19:11 +09:00
firecrawl
github-copilot refactor: move provider replay runtime ownership into plugins (#60126) 2026-04-03 23:14:37 +09:00
google fix(ci): route extension test helpers through public sdk seams 2026-04-04 00:03:48 +09:00
googlechat fix: honor account-scoped setup dm policy 2026-04-03 10:31:00 -05:00
groq
huggingface
image-generation-core
imessage fix: honor imessage setup dm policy accounts 2026-04-03 10:56:55 -05:00
irc
kilocode fix(ci): route extension test helpers through public sdk seams 2026-04-04 00:03:48 +09:00
kimi-coding refactor: move provider replay runtime ownership into plugins (#60126) 2026-04-03 23:14:37 +09:00
line fix: honor line setup dm policy accounts 2026-04-03 10:52:03 -05:00
litellm
llm-task
lobster fix(ci): route extension test helpers through sdk testing 2026-04-03 23:39:06 +09:00
matrix test(matrix): avoid loading send module in thread binding tests 2026-04-03 20:56:58 +09:00
mattermost test(mattermost): slim leaf runtime fixtures 2026-04-03 21:21:24 +09:00
media-understanding-core
memory-core fix: align latest-main gate drift on #60221 2026-04-03 21:52:35 +09:00
memory-lancedb CI: add ClawHub plugin release workflow (#59179) 2026-04-03 15:40:07 +02:00
microsoft
microsoft-foundry refactor: move provider replay runtime ownership into plugins (#60126) 2026-04-03 23:14:37 +09:00
minimax refactor: move provider replay runtime ownership into plugins (#60126) 2026-04-03 23:14:37 +09:00
mistral refactor(providers): centralize native provider detection (#60341) 2026-04-03 23:46:21 +09:00
modelstudio feat: add qwen3.6-plus to modelstudio catalog 2026-04-03 18:32:14 +09:00
moonshot fix(ci): route extension test helpers through public sdk seams 2026-04-04 00:03:48 +09:00
msteams fix(ci): route extension test helpers through public sdk seams 2026-04-04 00:03:48 +09:00
nextcloud-talk fix: honor nextcloud setup dm policy accounts 2026-04-03 10:37:07 -05:00
nostr CI: add ClawHub plugin release workflow (#59179) 2026-04-03 15:40:07 +02:00
nvidia
ollama refactor: move ollama synthetic auth precedence into extension 2026-04-03 21:25:02 +09:00
open-prose
openai refactor: move provider replay runtime ownership into plugins (#60126) 2026-04-03 23:14:37 +09:00
opencode refactor: move provider replay runtime ownership into plugins (#60126) 2026-04-03 23:14:37 +09:00
opencode-go refactor: move provider replay runtime ownership into plugins (#60126) 2026-04-03 23:14:37 +09:00
openrouter refactor: move provider replay runtime ownership into plugins (#60126) 2026-04-03 23:14:37 +09:00
openshell test(types): remove remaining testing barrel references 2026-04-03 23:03:02 +09:00
perplexity fix(ci): route extension test helpers through public sdk seams 2026-04-04 00:03:48 +09:00
phone-control
qianfan
qqbot CI: add ClawHub plugin release workflow (#59179) 2026-04-03 15:40:07 +02:00
searxng
sglang
shared test: trim whatsapp channel test barrels 2026-04-03 16:39:47 +01:00
signal fix: honor signal setup dm policy accounts 2026-04-03 10:54:40 -05:00
slack fix: honor legacy setup dm policy accounts 2026-04-03 10:34:18 -05:00
speech-core refactor(plugin-sdk): genericize web channel runtime seams 2026-04-03 11:17:28 +01:00
stepfun
synology-chat
synthetic
talk-voice fix(ci): restore talk-voice plugin runtime export 2026-04-03 13:32:16 +01:00
tavily
telegram fix(telegram): enable HTML formatting for model switch messages (#60042) 2026-04-04 00:05:09 +08:00
thread-ownership
tlon
together
twitch
venice
vercel-ai-gateway
vllm
voice-call CI: add ClawHub plugin release workflow (#59179) 2026-04-03 15:40:07 +02:00
volcengine
whatsapp fix: honor whatsapp heartbeat account allowFrom 2026-04-03 11:04:00 -05:00
xai fix(ci): route extension test helpers through public sdk seams 2026-04-04 00:03:48 +09:00
xiaomi
zai
zalo fix: honor zalo setup dm policy accounts 2026-04-03 10:42:23 -05:00
zalouser refactor(zalouser): lazy-load async runtime surfaces 2026-04-04 00:51:22 +09:00
.npmignore
AGENTS.md
CLAUDE.md