fix(feishu): break auth login barrel cycle

This commit is contained in:
Peter Steinberger
2026-04-13 11:36:09 +01:00
parent 268824ff3a
commit ebba080ffc
3 changed files with 3 additions and 2 deletions

View File

@@ -15,6 +15,6 @@ export * from "./src/setup-core.js";
export * from "./src/setup-surface.js";
export * from "./src/thread-bindings.js";
export { __testing as feishuThreadBindingTesting } from "./src/thread-bindings.js";
export { createClackPrompter } from "openclaw/plugin-sdk/feishu";
export { createClackPrompter } from "openclaw/plugin-sdk/setup-runtime";
export const feishuSessionBindingAdapterChannels = ["feishu"] as const;

View File

@@ -1093,7 +1093,7 @@ export const feishuPlugin: ChannelPlugin<ResolvedFeishuAccount, FeishuProbeResul
},
auth: {
login: async ({ cfg }) => {
const { createClackPrompter } = await import("../api.js");
const { createClackPrompter } = await import("openclaw/plugin-sdk/setup-runtime");
const { writeConfigFile } = await import("openclaw/plugin-sdk/config-runtime");
const prompter = createClackPrompter();
const { runFeishuLogin } = await import("./setup-surface.js");

View File

@@ -1,5 +1,6 @@
export type { OpenClawConfig } from "../config/config.js";
export type { WizardPrompter } from "../wizard/prompts.js";
export { createClackPrompter } from "../wizard/clack-prompter.js";
export type { ChannelSetupAdapter } from "../channels/plugins/types.adapters.js";
export type {
ChannelSetupDmPolicy,