openclaw/extensions/telegram
Robin Waslander ab2ef7bbfc
fix(telegram): split long messages at word boundaries instead of mid-word (#56595)
Replace proportional text estimate with binary search for the largest
text prefix whose rendered Telegram HTML fits the character limit, then
split at the last whitespace boundary within that verified prefix.

Single words longer than the limit still hard-split (unavoidable).
Markdown formatting stays balanced across split points.

Fixes #36644
2026-03-28 21:24:59 +01:00
..
src fix(telegram): split long messages at word boundaries instead of mid-word (#56595) 2026-03-28 21:24:59 +01:00
allow-from.ts perf: split telegram audit runtime seams 2026-03-22 00:53:12 +00:00
api.ts refactor: route more test seams through public plugin APIs 2026-03-27 13:46:17 +00:00
channel-config-api.ts refactor: move channel config metadata into plugin-owned manifests 2026-03-27 01:59:30 +00:00
index.ts
openclaw.plugin.json
package-manifest.contract.test.ts refactor: move extension-owned tests to extensions 2026-03-27 21:37:09 +00:00
package.json refactor: derive channel metadata from plugin manifests 2026-03-28 17:17:10 +00:00
runtime-api.ts refactor: move provider seams behind plugin sdk surfaces 2026-03-27 23:26:26 +00:00
setup-entry.ts
test-api.ts refactor: route plugin runtime through bundled seams 2026-03-27 16:40:27 +00:00
update-offset-runtime-api.ts refactor: remove remaining core extension reach-ins 2026-03-27 13:46:16 +00:00