7d8d511dcadc87c80dac2389bfe64895f13dc7de
Telegram's rich-message Markdown has no ATX heading support and its MarkdownV2 dialect needs escaping, so hand-building a Markdown string and sending it as myMarkdown showed literal heading/code markers and mangled unescaped characters. The previous fix layered blank-line insertion on top of a dialect that could not render headings at all. Replace the whole markdown-string pipeline with structured InputRichMessage blocks: markdownToBlocks emits SectionHeading, Preformatted, List, BlockQuotation and Paragraph (inline emphasis/code/links reduced to plain text so no marker can leak), blocksToPlainText feeds the fallback send, and splitBlocks chunks at block boundaries. sendBlocks, open, edit and the live renderer now send myBlocks. Delete the dead string surgery (normalizeTelegramText, telegramMarkdown, telegramPlainText, splitLongMessage, the fence-split cluster and their regexes) and the tests that pinned it, removing about 1100 lines. splitBlocks and the parser are unit-tested.
Description
Archie connects events from your systems to agents that can investigate, reason, and act.
Define what an event means, map its data into a workflow, and give that workflow an agent equipped for the job: its own execution environment, tools, and identity.
https://archie.catlow.cloud
133 MiB
0 Stars
1 Watchers
0 Forks
Releases
11
Archie v1.62.0
Latest
Languages
Go
76.7%
Vue
13.1%
TypeScript
7.8%
JavaScript
1.2%
Shell
0.6%
Other
0.4%