fix(feishu): use local api barrel for cross-bot-relay imports

The channel-import-guardrails test requires extension files to import
helpers via the local runtime-api barrel rather than directly from
openclaw/plugin-sdk/feishu. Update cross-bot-relay.ts to import
ClawdbotConfig, RuntimeEnv, and HistoryEntry from ../runtime-api.js,
matching the pattern used by other files in the feishu extension.
This commit is contained in:
aunknown 2026-03-21 00:05:54 +08:00
parent 54f2afd6a2
commit 9a8a666880

View File

@ -6,7 +6,7 @@
* This works around Feishu's platform limitation where bot messages
* do not trigger im.message.receive_v1 events for other bots.
*/
import type { ClawdbotConfig, RuntimeEnv, HistoryEntry } from "openclaw/plugin-sdk/feishu";
import type { ClawdbotConfig, RuntimeEnv, HistoryEntry } from "../runtime-api.js";
import { handleFeishuMessage, type FeishuMessageEvent } from "./bot.js";
// --- Account registry ---