Files
openclaw/src/plugin-sdk/interactive-runtime.ts
2026-07-23 01:28:11 -04:00

68 lines
2.1 KiB
TypeScript

/**
* Runtime SDK subpath for interactive replies and message presentation helpers.
*/
export {
adaptMessagePresentationForChannel,
applyPresentationActionLimits,
presentationPageSize,
reduceInteractiveReply,
} from "../channels/plugins/outbound/interactive.js";
export type {
InteractiveButtonStyle,
InteractiveReply,
InteractiveReplyBlock,
InteractiveReplyButton,
InteractiveReplyOption,
LegacyInteractiveReply,
LegacyInteractiveReplyBlock,
LegacyInteractiveReplyButton,
LegacyInteractiveReplyOption,
LegacyInteractiveReplySelectBlock,
LegacyInteractiveReplyTextBlock,
MessagePresentation,
MessagePresentationAction,
MessagePresentationBlock,
MessagePresentationButton,
MessagePresentationButtonStyle,
MessagePresentationButtonsBlock,
MessagePresentationChartBlock,
MessagePresentationChartSegment,
MessagePresentationChartSeries,
MessagePresentationContextBlock,
MessagePresentationDividerBlock,
MessagePresentationInteractiveBlock,
MessagePresentationOption,
MessagePresentationSelectBlock,
MessagePresentationTableBlock,
MessagePresentationTableCell,
MessagePresentationTextBlock,
MessagePresentationTone,
ReplyPayloadDelivery,
ReplyPayloadDeliveryPin,
} from "../interactive/payload.js";
export {
hasInteractiveReplyBlocks,
hasLegacyInteractiveReplyBlocks,
hasMessagePresentationBlocks,
hasReplyChannelData,
hasReplyContent,
interactiveReplyToPresentation,
legacyInteractiveReplyToPresentation,
isMessagePresentationInteractiveBlock,
normalizeMessagePresentation,
normalizeInteractiveReply,
normalizeLegacyInteractiveReply,
presentationToInteractiveControlsReply,
presentationToInteractiveReply,
renderMessagePresentationChartFallbackText,
renderMessagePresentationFallbackText,
renderMessagePresentationTableFallbackText,
resolveMessagePresentationActionValue,
resolveMessagePresentationButtonAction,
resolveMessagePresentationControlValue,
resolveMessagePresentationOptionAction,
resolveInteractiveTextFallback,
reduceLegacyInteractiveReply,
resolveLegacyInteractiveTextFallback,
} from "../interactive/payload.js";