fix(twitch): align markdown table mode type

This commit is contained in:
Vincent Koc
2026-03-30 19:32:14 +09:00
parent b7de04f23f
commit 69916e8082

View File

@@ -5,7 +5,8 @@
* resolves agent routes, and handles replies.
*/
import type { ReplyPayload, OpenClawConfig } from "../api.js";
import type { MarkdownTableMode, OpenClawConfig } from "openclaw/plugin-sdk/config-runtime";
import type { ReplyPayload } from "../api.js";
import { createChannelReplyPipeline } from "../api.js";
import { checkTwitchAccessControl } from "./access-control.js";
import { getOrCreateClientManager } from "./client-manager-registry.js";
@@ -145,7 +146,7 @@ async function deliverTwitchReply(params: {
account: TwitchAccountConfig;
accountId: string;
config: unknown;
tableMode: "off" | "plain" | "markdown" | "bullets" | "code";
tableMode: MarkdownTableMode;
runtime: TwitchRuntimeEnv;
statusSink?: (patch: { lastInboundAt?: number; lastOutboundAt?: number }) => void;
}): Promise<void> {