mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-29 18:12:52 +00:00
feat: add nostr setup and unify channel setup discovery
This commit is contained in:
@@ -4,12 +4,13 @@ import * as discordSdk from "openclaw/plugin-sdk/discord";
|
||||
import * as imessageSdk from "openclaw/plugin-sdk/imessage";
|
||||
import * as lineSdk from "openclaw/plugin-sdk/line";
|
||||
import * as msteamsSdk from "openclaw/plugin-sdk/msteams";
|
||||
import * as nostrSdk from "openclaw/plugin-sdk/nostr";
|
||||
import * as signalSdk from "openclaw/plugin-sdk/signal";
|
||||
import * as slackSdk from "openclaw/plugin-sdk/slack";
|
||||
import * as telegramSdk from "openclaw/plugin-sdk/telegram";
|
||||
import * as whatsappSdk from "openclaw/plugin-sdk/whatsapp";
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { pluginSdkSubpaths } from "../../scripts/lib/plugin-sdk-entries.mjs";
|
||||
import { pluginSdkSubpaths } from "./entrypoints.js";
|
||||
|
||||
const importPluginSdkSubpath = (specifier: string) => import(/* @vite-ignore */ specifier);
|
||||
|
||||
@@ -93,6 +94,11 @@ describe("plugin-sdk subpath exports", () => {
|
||||
expect(typeof msteamsSdk.msteamsSetupAdapter).toBe("object");
|
||||
});
|
||||
|
||||
it("exports Nostr helpers", () => {
|
||||
expect(typeof nostrSdk.nostrSetupWizard).toBe("object");
|
||||
expect(typeof nostrSdk.nostrSetupAdapter).toBe("object");
|
||||
});
|
||||
|
||||
it("exports Google Chat helpers", async () => {
|
||||
const googlechatSdk = await import("openclaw/plugin-sdk/googlechat");
|
||||
expect(typeof googlechatSdk.googlechatSetupWizard).toBe("object");
|
||||
|
||||
Reference in New Issue
Block a user