mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-21 06:51:01 +00:00
12 lines
552 B
TypeScript
12 lines
552 B
TypeScript
import { type ChannelPlugin } from "../../../src/plugin-sdk-internal/imessage.js";
|
|
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"]>;
|