refactor(feishu): split outbound runtime seam

This commit is contained in:
Vincent Koc
2026-04-03 21:32:08 +09:00
parent ee39ec29d1
commit e4cc8cd975
2 changed files with 3 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
export { chunkTextForOutbound } from "openclaw/plugin-sdk/feishu";
export type { ChannelOutboundAdapter } from "../runtime-api.js";

View File

@@ -1,12 +1,12 @@
import fs from "fs";
import path from "path";
import { createAttachedChannelResultAdapter } from "openclaw/plugin-sdk/channel-send-result";
import { chunkTextForOutbound, type ChannelOutboundAdapter } from "../runtime-api.js";
import { resolveFeishuAccount } from "./accounts.js";
import { createFeishuClient } from "./client.js";
import { parseFeishuCommentTarget } from "./comment-target.js";
import { replyComment } from "./drive.js";
import { sendMediaFeishu } from "./media.js";
import { chunkTextForOutbound, type ChannelOutboundAdapter } from "./outbound-runtime-api.js";
import { getFeishuRuntime } from "./runtime.js";
import { sendMarkdownCardFeishu, sendMessageFeishu, sendStructuredCardFeishu } from "./send.js";