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 refactor(gateway): extract authorization cluster into GatewayAuthorizationMixin (god-file Phase 3) 2026-06-08 09:42:02 -07:00
channel_directory.py
…
config.py feat(sessions): add optional max session cap 2026-06-08 15:12:12 -07:00
delivery.py
…
display_config.py
…
hooks.py feat(hooks): expose thread_id and chat_type in agent:start/end context (#41672) 2026-06-07 19:16:36 -07:00
kanban_watchers.py refactor(gateway): extract kanban watcher loops into GatewayKanbanWatchersMixin (god-file Phase 3) 2026-06-07 23:14:18 -07:00
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 fix(gateway): isolate DM sessions on user_id when chat_id is absent (#41764) 2026-06-07 22:07:07 -07:00
session_context.py
…
shutdown_forensics.py
…
slash_access.py
…
slash_commands.py refactor(gateway): extract 42 slash-command handlers into GatewaySlashCommandsMixin (god-file Phase 3b) 2026-06-08 01:25:35 -07:00
status.py
…
sticker_cache.py
…
stream_consumer.py
…
stream_dispatch.py
…
stream_events.py
…
whatsapp_identity.py
…