refactor: unify queueing and normalize telegram slack flows

This commit is contained in:
Peter Steinberger
2026-03-02 20:55:10 +00:00
parent 320920d523
commit 3a08e69a05
21 changed files with 627 additions and 266 deletions

View File

@@ -128,6 +128,10 @@ export function markdownToSlackMrkdwn(
return renderMarkdownWithMarkers(ir, buildSlackRenderOptions());
}
export function normalizeSlackOutboundText(markdown: string): string {
return markdownToSlackMrkdwn(markdown ?? "");
}
export function markdownToSlackMrkdwnChunks(
markdown: string,
limit: number,