mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-20 01:21:41 -06:00
e31a6e29ff
The four Telegram dispatch controllers were partitions of one closure: ~75 factory parameter slots, 7 post-construction back-edge setters, a shared mutable state bag, and load-bearing construction order. One turn record now carries the once-resolved config and all state; the four files remain as implementation with a hand-written leaf type contract (four state-slice types). Rides along: dead generation fence deleted (constant-0 from birth), queuedFinal ||= fix with regression (suppressed exec-approval turns no longer trigger a spurious fallback), collapse resolver/mutator split. Dispatch tests and harness byte-identical to main; live E2E lifecycle proof on the PR. Co-authored-by: Ayaan Zaidi <hi@obviy.us>
10 lines
518 B
TypeScript
10 lines
518 B
TypeScript
// Telegram plugin module implements bot message dispatch behavior.
|
|
export { getSessionEntry } from "openclaw/plugin-sdk/session-store-runtime";
|
|
export { resolveMarkdownTableMode } from "openclaw/plugin-sdk/markdown-table-runtime";
|
|
export { getAgentScopedMediaLocalRoots } from "openclaw/plugin-sdk/media-runtime";
|
|
export { resolveChunkMode } from "openclaw/plugin-sdk/reply-dispatch-runtime";
|
|
export {
|
|
generateTelegramTopicLabel as generateTopicLabel,
|
|
resolveAutoTopicLabelConfig,
|
|
} from "./auto-topic-label.js";
|