From 9a8a66688026df38301aed852f98c812542d1fc2 Mon Sep 17 00:00:00 2001 From: aunknown Date: Sat, 21 Mar 2026 00:05:54 +0800 Subject: [PATCH] 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. --- extensions/feishu/src/cross-bot-relay.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/feishu/src/cross-bot-relay.ts b/extensions/feishu/src/cross-bot-relay.ts index c9ee486210b..c78aa6b2b1c 100644 --- a/extensions/feishu/src/cross-bot-relay.ts +++ b/extensions/feishu/src/cross-bot-relay.ts @@ -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 ---