@openclaw/nostr 2026.10.5-beta.4 → 2026.10.10-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/.setup/{channel-B_rRGVN_.mjs → channel-B0EC4IOq.mjs} +10 -33
- package/dist/.setup/{setup-plugin-api-CZ-PzJZP.mjs → channel.setup-B2tWt-Ro.mjs} +45 -5
- package/dist/.setup/secret-contract-api-sFIFEwqO.mjs +1 -0
- package/dist/.setup/setup-plugin-api-BT2_wr33.mjs +2 -0
- package/dist/.setup/{setup-surface-BAq4Fs6P.mjs → setup-surface-CadI9603.mjs} +5 -5
- package/dist/api.js +3 -3
- package/dist/channel-plugin-api.js +1 -2
- package/dist/runtime-api.js +1 -2
- package/dist/secret-contract-api.js +1 -2
- package/dist/setup-api.js +1 -2
- package/dist/setup-entry.js +2 -2
- package/dist/setup-plugin-api.js +1 -2
- package/package.json +4 -4
- package/dist/.setup/config-schema-CkZgmIVF.mjs +0 -42
- package/dist/.setup/secret-contract-api-DUmw8THQ.mjs +0 -2
- package/dist/.setup/setup-plugin-api-CNjlfjWb.mjs +0 -2
- package/dist/.setup/{setup-adapter-B2ksCBWv.mjs → setup-adapter-DTqb2Hne.mjs} +2 -2
package/README.md
CHANGED
|
@@ -128,7 +128,7 @@ docker run -p 7777:7777 ghcr.io/hoytech/strfry
|
|
|
128
128
|
|
|
129
129
|
1. Verify private key is correctly configured
|
|
130
130
|
2. Check relay connectivity
|
|
131
|
-
3.
|
|
131
|
+
3. Check that `enabled` is not set to `false`
|
|
132
132
|
4. Check the bot's public key matches what you're sending to
|
|
133
133
|
|
|
134
134
|
### Messages not being delivered
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { a as listNostrAccountIds, c as normalizePubkey, n as nostrSetupContract, o as resolveDefaultNostrAccountId, r as nostrSetupWizard, s as resolveNostrAccount } from "./setup-surface-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { describeAccountSnapshot } from "openclaw/plugin-sdk/account-helpers";
|
|
1
|
+
import { a as listNostrAccountIds, c as normalizePubkey, n as nostrSetupContract, o as resolveDefaultNostrAccountId, r as nostrSetupWizard, s as resolveNostrAccount } from "./setup-surface-CadI9603.mjs";
|
|
2
|
+
import { l as validatePrivateKey, u as DEFAULT_RELAYS } from "./setup-adapter-DTqb2Hne.mjs";
|
|
3
|
+
import { n as NostrProfileSchema, t as nostrSetupPlugin } from "./channel.setup-B2tWt-Ro.mjs";
|
|
5
4
|
import { createScopedDmSecurityResolver, createTopLevelChannelConfigAdapter } from "openclaw/plugin-sdk/channel-config-helpers";
|
|
6
5
|
import { createChatChannelPlugin } from "openclaw/plugin-sdk/channel-core";
|
|
7
6
|
import { missingTargetError } from "openclaw/plugin-sdk/channel-feedback";
|
|
8
7
|
import { DEFAULT_INGRESS_ADOPTION_STALL_MS, bindIngressLifecycleToReplyOptions, createChannelIngressError, createChannelIngressMonitor, createChannelMessageAdapterFromOutbound, runPassiveAccountLifecycle } from "openclaw/plugin-sdk/channel-outbound";
|
|
9
|
-
import { DEFAULT_ACCOUNT_ID,
|
|
8
|
+
import { DEFAULT_ACCOUNT_ID, formatPairingApproveHint } from "openclaw/plugin-sdk/channel-plugin-common";
|
|
10
9
|
import { buildPassiveChannelStatusSummary, buildTrafficStatusSummary } from "openclaw/plugin-sdk/extension-shared";
|
|
11
10
|
import { collectStatusIssuesFromLastError, createComputedAccountStatusAdapter, createDefaultChannelRuntimeState } from "openclaw/plugin-sdk/status-helpers";
|
|
12
11
|
import { isRecord, normalizeStringEntries } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -126,11 +125,10 @@ function createNostrCursorStateWriter(options) {
|
|
|
126
125
|
const flush = () => {
|
|
127
126
|
clearTimer();
|
|
128
127
|
if (activeFlush) return activeFlush;
|
|
129
|
-
|
|
130
|
-
|
|
128
|
+
activeFlush = runFlush().finally(() => {
|
|
129
|
+
activeFlush = void 0;
|
|
131
130
|
});
|
|
132
|
-
activeFlush
|
|
133
|
-
return tracked;
|
|
131
|
+
return activeFlush;
|
|
134
132
|
};
|
|
135
133
|
const setDesiredCursor = (cursor) => {
|
|
136
134
|
desiredCursor = Math.max(options.minimumCursor, cursor);
|
|
@@ -661,7 +659,6 @@ function createRelayHealthTracker() {
|
|
|
661
659
|
const s = stats.get(relay);
|
|
662
660
|
if (!s) return .5;
|
|
663
661
|
const total = s.successCount + s.failureCount;
|
|
664
|
-
if (total === 0) return .5;
|
|
665
662
|
const successRate = s.successCount / total;
|
|
666
663
|
const now = Date.now();
|
|
667
664
|
const recencyBonus = s.lastSuccess > s.lastFailure ? Math.max(0, 1 - (now - s.lastSuccess) / HEALTH_WINDOW_MS) * .2 : 0;
|
|
@@ -1347,32 +1344,12 @@ const nostrPluginOutboundAdapter = {
|
|
|
1347
1344
|
};
|
|
1348
1345
|
const nostrPlugin = createChatChannelPlugin({
|
|
1349
1346
|
base: {
|
|
1350
|
-
|
|
1351
|
-
meta: {
|
|
1352
|
-
id: "nostr",
|
|
1353
|
-
label: "Nostr",
|
|
1354
|
-
selectionLabel: "Nostr",
|
|
1355
|
-
docsPath: "/channels/nostr",
|
|
1356
|
-
docsLabel: "nostr",
|
|
1357
|
-
blurb: "Decentralized DMs via Nostr relays (NIP-04)",
|
|
1358
|
-
order: 100
|
|
1359
|
-
},
|
|
1360
|
-
capabilities: {
|
|
1361
|
-
chatTypes: ["direct"],
|
|
1362
|
-
media: false
|
|
1363
|
-
},
|
|
1364
|
-
reload: { configPrefixes: ["channels.nostr"] },
|
|
1365
|
-
configSchema: buildChannelConfigSchema(NostrConfigSchema),
|
|
1347
|
+
...nostrSetupPlugin,
|
|
1366
1348
|
setupContract: nostrSetupContract,
|
|
1367
1349
|
setupWizard: nostrSetupWizard,
|
|
1368
1350
|
config: {
|
|
1369
|
-
...
|
|
1370
|
-
|
|
1371
|
-
describeAccount: (account) => describeAccountSnapshot({
|
|
1372
|
-
account,
|
|
1373
|
-
configured: account.configured,
|
|
1374
|
-
extra: { publicKey: account.publicKey }
|
|
1375
|
-
})
|
|
1351
|
+
...nostrSetupPlugin.config,
|
|
1352
|
+
...nostrConfigAdapter
|
|
1376
1353
|
},
|
|
1377
1354
|
messaging: {
|
|
1378
1355
|
targetPrefixes: ["nostr"],
|
|
@@ -1,9 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as createNostrSetupStatus, n as createNostrSetupAdapter, o as getNostrConfig, r as createNostrSetupContract, s as resolveNostrAccountBase } from "./setup-adapter-B2ksCBWv.mjs";
|
|
3
|
-
import { describeAccountSnapshot } from "openclaw/plugin-sdk/account-helpers";
|
|
1
|
+
import { i as createNostrSetupStatus, n as createNostrSetupAdapter, o as getNostrConfig, r as createNostrSetupContract, s as resolveNostrAccountBase } from "./setup-adapter-DTqb2Hne.mjs";
|
|
4
2
|
import { buildChannelConfigSchema } from "openclaw/plugin-sdk/channel-plugin-common";
|
|
3
|
+
import { describeAccountSnapshot } from "openclaw/plugin-sdk/account-helpers";
|
|
5
4
|
import { normalizeAccountId } from "openclaw/plugin-sdk/account-id";
|
|
6
5
|
import { createDelegatedSetupWizardProxy } from "openclaw/plugin-sdk/setup-runtime";
|
|
6
|
+
import { buildSecretInputSchema } from "openclaw/plugin-sdk/secret-input";
|
|
7
|
+
import { AllowFromListSchema, DmPolicySchema, MarkdownConfigSchema } from "openclaw/plugin-sdk/channel-config-schema";
|
|
8
|
+
import { z } from "zod";
|
|
9
|
+
//#region extensions/nostr/src/config-schema.ts
|
|
10
|
+
const safeUrlSchema = z.string().url().refine((url) => URL.parse(url)?.protocol === "https:", { message: "URL must use https:// protocol" });
|
|
11
|
+
/**
|
|
12
|
+
* NIP-01 profile metadata schema
|
|
13
|
+
* https://github.com/nostr-protocol/nips/blob/master/01.md
|
|
14
|
+
*/
|
|
15
|
+
const NostrProfileSchema = z.object({
|
|
16
|
+
name: z.string().max(256).optional(),
|
|
17
|
+
/** NIP-01 display_name. */
|
|
18
|
+
displayName: z.string().max(256).optional(),
|
|
19
|
+
about: z.string().max(2e3).optional(),
|
|
20
|
+
picture: safeUrlSchema.optional(),
|
|
21
|
+
banner: safeUrlSchema.optional(),
|
|
22
|
+
website: safeUrlSchema.optional(),
|
|
23
|
+
/** NIP-05 identifier (e.g., "user@example.com") */
|
|
24
|
+
nip05: z.string().optional(),
|
|
25
|
+
/** Lightning address (LUD-16) */
|
|
26
|
+
lud16: z.string().optional()
|
|
27
|
+
});
|
|
28
|
+
const NostrConfigSchema = z.object({
|
|
29
|
+
name: z.string().optional(),
|
|
30
|
+
/** Optional default account id for routing/account selection. */
|
|
31
|
+
defaultAccount: z.string().optional(),
|
|
32
|
+
enabled: z.boolean().optional(),
|
|
33
|
+
configWrites: z.boolean().optional(),
|
|
34
|
+
/** Markdown formatting overrides (tables). */
|
|
35
|
+
markdown: MarkdownConfigSchema,
|
|
36
|
+
/** Private key in hex or nsec bech32 format */
|
|
37
|
+
privateKey: buildSecretInputSchema().optional(),
|
|
38
|
+
/** WebSocket relay URLs to connect to */
|
|
39
|
+
relays: z.array(z.string()).optional(),
|
|
40
|
+
dmPolicy: DmPolicySchema.optional(),
|
|
41
|
+
/** Allowed sender pubkeys (npub or hex format) */
|
|
42
|
+
allowFrom: AllowFromListSchema,
|
|
43
|
+
/** Profile metadata (NIP-01 kind:0 content) */
|
|
44
|
+
profile: NostrProfileSchema.optional()
|
|
45
|
+
});
|
|
46
|
+
//#endregion
|
|
7
47
|
//#region extensions/nostr/src/channel.setup.ts
|
|
8
48
|
const channel = "nostr";
|
|
9
49
|
function resolveDefaultSetupNostrAccountId(cfg) {
|
|
@@ -15,7 +55,7 @@ function resolveSetupNostrAccount(params) {
|
|
|
15
55
|
}
|
|
16
56
|
const nostrSetupWizard = createDelegatedSetupWizardProxy({
|
|
17
57
|
channel,
|
|
18
|
-
loadWizard: async () => (await import("./setup-surface-
|
|
58
|
+
loadWizard: async () => (await import("./setup-surface-CadI9603.mjs").then((n) => n.i)).nostrSetupWizard,
|
|
19
59
|
status: createNostrSetupStatus(resolveSetupNostrAccount),
|
|
20
60
|
resolveShouldPromptAccountIds: () => false,
|
|
21
61
|
delegatePrepare: true,
|
|
@@ -56,4 +96,4 @@ const nostrSetupPlugin = {
|
|
|
56
96
|
}
|
|
57
97
|
};
|
|
58
98
|
//#endregion
|
|
59
|
-
export { nostrSetupPlugin as t };
|
|
99
|
+
export { NostrProfileSchema as n, nostrSetupPlugin as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./secret-contract-api-nVWula4c.mjs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as parseRelayUrls, c as hasConfiguredNostrPrivateKey, i as createNostrSetupStatus, l as validatePrivateKey, n as createNostrSetupAdapter, o as getNostrConfig, r as createNostrSetupContract, s as resolveNostrAccountBase, t as buildNostrSetupPatch, u as DEFAULT_RELAYS } from "./setup-adapter-
|
|
2
|
-
import { createAccountListHelpers } from "openclaw/plugin-sdk/account-helpers";
|
|
1
|
+
import { a as parseRelayUrls, c as hasConfiguredNostrPrivateKey, i as createNostrSetupStatus, l as validatePrivateKey, n as createNostrSetupAdapter, o as getNostrConfig, r as createNostrSetupContract, s as resolveNostrAccountBase, t as buildNostrSetupPatch, u as DEFAULT_RELAYS } from "./setup-adapter-DTqb2Hne.mjs";
|
|
3
2
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
4
|
-
import {
|
|
5
|
-
import { decode } from "nostr-tools/nip19";
|
|
6
|
-
import { getPublicKey } from "nostr-tools/pure";
|
|
3
|
+
import { createAccountListHelpers } from "openclaw/plugin-sdk/account-helpers";
|
|
7
4
|
import { DEFAULT_ACCOUNT_ID, normalizeAccountId, normalizeOptionalAccountId } from "openclaw/plugin-sdk/account-id";
|
|
5
|
+
import { decode } from "nostr-tools/nip19";
|
|
6
|
+
import { hasConfiguredSecretInput, normalizeSecretInputString } from "openclaw/plugin-sdk/secret-input";
|
|
8
7
|
import { DEFAULT_ACCOUNT_ID as DEFAULT_ACCOUNT_ID$1 } from "openclaw/plugin-sdk/routing";
|
|
9
8
|
import { createSetupTranslator, createTopLevelChannelDmPolicy, createTopLevelChannelParsedAllowFromPrompt, defineTokenCredential, formatDocsLink, mergeAllowFromEntries, parseSetupEntriesWithParser, patchTopLevelChannelConfigSection, setSetupChannelEnabled } from "openclaw/plugin-sdk/setup";
|
|
9
|
+
import { getPublicKey } from "nostr-tools/pure";
|
|
10
10
|
//#region \0rolldown/runtime.js
|
|
11
11
|
var __defProp = Object.defineProperty;
|
|
12
12
|
var __exportAll = (all, no_symbols) => {
|
package/dist/api.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as resolveNostrAccount } from "./.setup/setup-surface-
|
|
1
|
+
import { s as resolveNostrAccount } from "./.setup/setup-surface-CadI9603.mjs";
|
|
2
2
|
import { getPluginRuntimeGatewayRequestScope } from "./runtime-api.js";
|
|
3
|
-
import { n as NostrProfileSchema } from "./.setup/
|
|
4
|
-
import { a as getNostrRuntime, i as contentToProfile, n as nostrPlugin, o as setNostrRuntime, r as publishNostrProfile, t as getNostrProfileState } from "./.setup/channel-
|
|
3
|
+
import { n as NostrProfileSchema } from "./.setup/channel.setup-B2tWt-Ro.mjs";
|
|
4
|
+
import { a as getNostrRuntime, i as contentToProfile, n as nostrPlugin, o as setNostrRuntime, r as publishNostrProfile, t as getNostrProfileState } from "./.setup/channel-B0EC4IOq.mjs";
|
|
5
5
|
import { getPluginRuntimeGatewayRequestScope as getPluginRuntimeGatewayRequestScope$1 } from "openclaw/plugin-sdk/plugin-runtime";
|
|
6
6
|
import { isRecord, normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
7
7
|
import { z } from "zod";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { nostrPlugin };
|
|
1
|
+
export { n as nostrPlugin } from "./.setup/channel-B0EC4IOq.mjs";
|
package/dist/runtime-api.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { getPluginRuntimeGatewayRequestScope };
|
|
1
|
+
export { getPluginRuntimeGatewayRequestScope } from "openclaw/plugin-sdk/plugin-runtime";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { channelSecrets, collectRuntimeConfigAssignments, secretTargetRegistryEntries };
|
|
1
|
+
export { t as channelSecrets, n as collectRuntimeConfigAssignments, r as secretTargetRegistryEntries } from "./.setup/secret-contract-api-nVWula4c.mjs";
|
package/dist/setup-api.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { nostrSetupAdapter, nostrSetupWizard };
|
|
1
|
+
export { t as nostrSetupAdapter, r as nostrSetupWizard } from "./.setup/setup-surface-CadI9603.mjs";
|
package/dist/setup-entry.js
CHANGED
|
@@ -4,11 +4,11 @@ import { fileURLToPath } from "node:url";
|
|
|
4
4
|
var setup_entry_default = defineBundledChannelSetupEntry({
|
|
5
5
|
importMetaUrl: import.meta.url,
|
|
6
6
|
plugin: {
|
|
7
|
-
specifier: fileURLToPath(new URL(".setup/setup-plugin-api-
|
|
7
|
+
specifier: fileURLToPath(new URL(".setup/setup-plugin-api-BT2_wr33.mjs", import.meta.url).href),
|
|
8
8
|
exportName: "nostrSetupPlugin"
|
|
9
9
|
},
|
|
10
10
|
secrets: {
|
|
11
|
-
specifier: fileURLToPath(new URL(".setup/secret-contract-api-
|
|
11
|
+
specifier: fileURLToPath(new URL(".setup/secret-contract-api-sFIFEwqO.mjs", import.meta.url).href),
|
|
12
12
|
exportName: "channelSecrets"
|
|
13
13
|
}
|
|
14
14
|
});
|
package/dist/setup-plugin-api.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { nostrSetupPlugin };
|
|
1
|
+
export { t as nostrSetupPlugin } from "./.setup/channel.setup-B2tWt-Ro.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/nostr",
|
|
3
|
-
"version": "2026.10.
|
|
3
|
+
"version": "2026.10.10-beta.1",
|
|
4
4
|
"description": "OpenClaw Nostr channel plugin for NIP-04 encrypted direct messages.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"zod": "4.6.5"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"openclaw": ">=2026.10.
|
|
15
|
+
"openclaw": ">=2026.10.10-beta.1"
|
|
16
16
|
},
|
|
17
17
|
"peerDependenciesMeta": {
|
|
18
18
|
"openclaw": {
|
|
@@ -80,10 +80,10 @@
|
|
|
80
80
|
"minHostVersion": ">=2026.4.10"
|
|
81
81
|
},
|
|
82
82
|
"compat": {
|
|
83
|
-
"pluginApi": ">=2026.10.
|
|
83
|
+
"pluginApi": ">=2026.10.10-beta.1"
|
|
84
84
|
},
|
|
85
85
|
"build": {
|
|
86
|
-
"openclawVersion": "2026.10.
|
|
86
|
+
"openclawVersion": "2026.10.10-beta.1"
|
|
87
87
|
},
|
|
88
88
|
"release": {
|
|
89
89
|
"publishToClawHub": true,
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { AllowFromListSchema, DmPolicySchema, MarkdownConfigSchema } from "openclaw/plugin-sdk/channel-config-schema";
|
|
2
|
-
import { buildSecretInputSchema } from "openclaw/plugin-sdk/secret-input";
|
|
3
|
-
import { z } from "zod";
|
|
4
|
-
//#region extensions/nostr/src/config-schema.ts
|
|
5
|
-
const safeUrlSchema = z.string().url().refine((url) => URL.parse(url)?.protocol === "https:", { message: "URL must use https:// protocol" });
|
|
6
|
-
/**
|
|
7
|
-
* NIP-01 profile metadata schema
|
|
8
|
-
* https://github.com/nostr-protocol/nips/blob/master/01.md
|
|
9
|
-
*/
|
|
10
|
-
const NostrProfileSchema = z.object({
|
|
11
|
-
name: z.string().max(256).optional(),
|
|
12
|
-
/** NIP-01 display_name. */
|
|
13
|
-
displayName: z.string().max(256).optional(),
|
|
14
|
-
about: z.string().max(2e3).optional(),
|
|
15
|
-
picture: safeUrlSchema.optional(),
|
|
16
|
-
banner: safeUrlSchema.optional(),
|
|
17
|
-
website: safeUrlSchema.optional(),
|
|
18
|
-
/** NIP-05 identifier (e.g., "user@example.com") */
|
|
19
|
-
nip05: z.string().optional(),
|
|
20
|
-
/** Lightning address (LUD-16) */
|
|
21
|
-
lud16: z.string().optional()
|
|
22
|
-
});
|
|
23
|
-
const NostrConfigSchema = z.object({
|
|
24
|
-
name: z.string().optional(),
|
|
25
|
-
/** Optional default account id for routing/account selection. */
|
|
26
|
-
defaultAccount: z.string().optional(),
|
|
27
|
-
enabled: z.boolean().optional(),
|
|
28
|
-
configWrites: z.boolean().optional(),
|
|
29
|
-
/** Markdown formatting overrides (tables). */
|
|
30
|
-
markdown: MarkdownConfigSchema,
|
|
31
|
-
/** Private key in hex or nsec bech32 format */
|
|
32
|
-
privateKey: buildSecretInputSchema().optional(),
|
|
33
|
-
/** WebSocket relay URLs to connect to */
|
|
34
|
-
relays: z.array(z.string()).optional(),
|
|
35
|
-
dmPolicy: DmPolicySchema.optional(),
|
|
36
|
-
/** Allowed sender pubkeys (npub or hex format) */
|
|
37
|
-
allowFrom: AllowFromListSchema,
|
|
38
|
-
/** Profile metadata (NIP-01 kind:0 content) */
|
|
39
|
-
profile: NostrProfileSchema.optional()
|
|
40
|
-
});
|
|
41
|
-
//#endregion
|
|
42
|
-
export { NostrProfileSchema as n, NostrConfigSchema as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { uniqueStrings } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
2
|
-
import { hasConfiguredSecretInput, normalizeSecretInputString } from "openclaw/plugin-sdk/secret-input";
|
|
3
2
|
import { decode } from "nostr-tools/nip19";
|
|
3
|
+
import { hasConfiguredSecretInput, normalizeSecretInputString } from "openclaw/plugin-sdk/secret-input";
|
|
4
|
+
import { defineChannelSetupContract } from "openclaw/plugin-sdk/channel-setup";
|
|
4
5
|
import { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/routing";
|
|
5
6
|
import { createSetupTranslator, createStandardChannelSetupStatus, patchTopLevelChannelConfigSection, splitSetupEntries } from "openclaw/plugin-sdk/setup";
|
|
6
|
-
import { defineChannelSetupContract } from "openclaw/plugin-sdk/channel-setup";
|
|
7
7
|
//#region extensions/nostr/src/default-relays.ts
|
|
8
8
|
const DEFAULT_RELAYS = ["wss://relay.damus.io", "wss://nos.lol"];
|
|
9
9
|
//#endregion
|