refactor(plugin-sdk): split interactive runtime helpers

This commit is contained in:
Ayaan Zaidi
2026-03-18 11:27:07 +05:30
parent 8c436a470e
commit c245c8b39d
10 changed files with 38 additions and 15 deletions

View File

@@ -1,9 +1,9 @@
import { reduceInteractiveReply } from "openclaw/plugin-sdk/channel-runtime";
import { reduceInteractiveReply } from "openclaw/plugin-sdk/interactive-runtime";
import {
normalizeInteractiveReply,
type InteractiveReply,
type InteractiveReplyButton,
} from "openclaw/plugin-sdk/channel-runtime";
} from "openclaw/plugin-sdk/interactive-runtime";
export type TelegramButtonStyle = "danger" | "success" | "primary";

View File

@@ -4,7 +4,7 @@ import {
} from "openclaw/plugin-sdk/channel-runtime";
import type { ChannelOutboundAdapter } from "openclaw/plugin-sdk/channel-runtime";
import { resolveOutboundSendDep, type OutboundSendDeps } from "openclaw/plugin-sdk/channel-runtime";
import { resolveInteractiveTextFallback } from "openclaw/plugin-sdk/channel-runtime";
import { resolveInteractiveTextFallback } from "openclaw/plugin-sdk/interactive-runtime";
import type { ReplyPayload } from "openclaw/plugin-sdk/reply-runtime";
import type { TelegramInlineButtons } from "./button-types.js";
import { resolveTelegramInlineButtons } from "./button-types.js";