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:
parent
54f2afd6a2
commit
9a8a666880
@ -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 ---
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user