mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-01 20:50:20 +00:00
refactor: expose setup wizard sdk surfaces
This commit is contained in:
@@ -90,6 +90,13 @@ describe("plugin-sdk subpath exports", () => {
|
||||
expect(typeof imessageSdk.imessageSetupAdapter).toBe("object");
|
||||
});
|
||||
|
||||
it("exports IRC helpers", async () => {
|
||||
const ircSdk = await import("openclaw/plugin-sdk/irc");
|
||||
expect(typeof ircSdk.resolveIrcAccount).toBe("function");
|
||||
expect(typeof ircSdk.ircSetupWizard).toBe("object");
|
||||
expect(typeof ircSdk.ircSetupAdapter).toBe("object");
|
||||
});
|
||||
|
||||
it("exports WhatsApp helpers", () => {
|
||||
// WhatsApp-specific functions (resolveWhatsAppAccount, whatsappOnboardingAdapter) moved to extensions/whatsapp/src/
|
||||
expect(typeof whatsappSdk.WhatsAppConfigSchema).toBe("object");
|
||||
@@ -108,6 +115,19 @@ describe("plugin-sdk subpath exports", () => {
|
||||
expect(typeof msteamsSdk.loadOutboundMediaFromUrl).toBe("function");
|
||||
});
|
||||
|
||||
it("exports Google Chat helpers", async () => {
|
||||
const googlechatSdk = await import("openclaw/plugin-sdk/googlechat");
|
||||
expect(typeof googlechatSdk.googlechatSetupWizard).toBe("object");
|
||||
expect(typeof googlechatSdk.googlechatSetupAdapter).toBe("object");
|
||||
});
|
||||
|
||||
it("exports Tlon helpers", async () => {
|
||||
const tlonSdk = await import("openclaw/plugin-sdk/tlon");
|
||||
expect(typeof tlonSdk.fetchWithSsrFGuard).toBe("function");
|
||||
expect(typeof tlonSdk.tlonSetupWizard).toBe("object");
|
||||
expect(typeof tlonSdk.tlonSetupAdapter).toBe("object");
|
||||
});
|
||||
|
||||
it("exports acpx helpers", async () => {
|
||||
const acpxSdk = await import("openclaw/plugin-sdk/acpx");
|
||||
expect(typeof acpxSdk.listKnownProviderAuthEnvVarNames).toBe("function");
|
||||
|
||||
Reference in New Issue
Block a user