hermes-agent/gateway
ruangraung f4531feee8 fix(telegram): improve MarkdownV2 edit fallback and fix _strip_mdv2 bold handling
When edit_message(finalize=True) fails with a MarkdownV2 parse error,
the silent fallback previously sent raw content with escape sequences.
Now it logs the error and strips markdown formatting via _strip_mdv2()
for clean plain-text fallback.

Also fixes _strip_mdv2 to handle standard markdown bold (\*\*text\*\*)
before MarkdownV2 bold (\*text\*), preventing half-stripped asterisks.

Refs: #41955, #41732
2026-06-08 15:53:16 -07:00
..
assets
…
builtin_hooks
…
platforms fix(telegram): improve MarkdownV2 edit fallback and fix _strip_mdv2 bold handling 2026-06-08 15:53:16 -07:00
__init__.py
…
authz_mixin.py
…
channel_directory.py
…
config.py
…
delivery.py
…
display_config.py
…
hooks.py
…
kanban_watchers.py
…
memory_monitor.py
…
mirror.py
…
pairing.py
…
platform_registry.py
…
restart.py
…
run.py fix(gateway): apply MarkdownV2 formatting on progress message edits 2026-06-08 15:53:16 -07:00
runtime_footer.py
…
session.py
…
session_context.py
…
shutdown_forensics.py
…
slash_access.py
…
slash_commands.py
…
status.py
…
sticker_cache.py
…
stream_consumer.py
…
stream_dispatch.py
…
stream_events.py
…
whatsapp_identity.py
…