mirror of https://github.com/openclaw/openclaw.git
12 lines
536 B
TypeScript
12 lines
536 B
TypeScript
import type { ChannelPlugin } from "openclaw/plugin-sdk/imessage";
|
|
import { type ResolvedIMessageAccount } from "./accounts.js";
|
|
import { createIMessageSetupWizardProxy } from "./setup-core.js";
|
|
|
|
async function loadIMessageChannelRuntime() {
|
|
return await import("./channel.runtime.js");
|
|
}
|
|
|
|
export const imessageSetupWizard = createIMessageSetupWizardProxy(async () => ({
|
|
imessageSetupWizard: (await loadIMessageChannelRuntime()).imessageSetupWizard,
|
|
})) satisfies NonNullable<ChannelPlugin<ResolvedIMessageAccount>["setupWizard"]>;
|