refactor(plugin-sdk): split runtime helper seams

This commit is contained in:
Peter Steinberger
2026-04-04 08:53:12 +01:00
parent 470898b5e1
commit edfaa01d1d
57 changed files with 605 additions and 333 deletions

View File

@@ -0,0 +1,14 @@
import { defineChannelPluginEntry } from "openclaw/plugin-sdk/channel-core";
import { feishuPlugin } from "./src/channel.js";
import { setFeishuRuntime } from "./src/runtime.js";
export { feishuPlugin } from "./src/channel.js";
export { setFeishuRuntime } from "./src/runtime.js";
export default defineChannelPluginEntry({
id: "feishu",
name: "Feishu",
description: "Feishu/Lark channel plugin",
plugin: feishuPlugin,
setRuntime: setFeishuRuntime,
});

View File

@@ -1,7 +1,7 @@
import {
createResolvedApproverActionAuthAdapter,
resolveApprovalApprovers,
} from "openclaw/plugin-sdk/approval-runtime";
} from "openclaw/plugin-sdk/approval-auth-runtime";
import { resolveFeishuAccount } from "./accounts.js";
import { normalizeFeishuTarget } from "./targets.js";