Skip to content

Commit e4cc8cd

Browse files
committed
refactor(feishu): split outbound runtime seam
1 parent ee39ec2 commit e4cc8cd

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export { chunkTextForOutbound } from "openclaw/plugin-sdk/feishu";
2+
export type { ChannelOutboundAdapter } from "../runtime-api.js";

extensions/feishu/src/outbound.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import fs from "fs";
22
import path from "path";
33
import { createAttachedChannelResultAdapter } from "openclaw/plugin-sdk/channel-send-result";
4-
import { chunkTextForOutbound, type ChannelOutboundAdapter } from "../runtime-api.js";
54
import { resolveFeishuAccount } from "./accounts.js";
65
import { createFeishuClient } from "./client.js";
76
import { parseFeishuCommentTarget } from "./comment-target.js";
87
import { replyComment } from "./drive.js";
98
import { sendMediaFeishu } from "./media.js";
9+
import { chunkTextForOutbound, type ChannelOutboundAdapter } from "./outbound-runtime-api.js";
1010
import { getFeishuRuntime } from "./runtime.js";
1111
import { sendMarkdownCardFeishu, sendMessageFeishu, sendStructuredCardFeishu } from "./send.js";
1212

0 commit comments

Comments
 (0)