mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-02 12:11:34 +00:00
72 lines
1.8 KiB
JSON
72 lines
1.8 KiB
JSON
{
|
|
"name": "@openclaw/nostr",
|
|
"version": "2026.7.2",
|
|
"description": "OpenClaw Nostr channel plugin for NIP-04 encrypted direct messages.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/openclaw/openclaw"
|
|
},
|
|
"type": "module",
|
|
"dependencies": {
|
|
"nostr-tools": "2.24.1",
|
|
"zod": "4.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@openclaw/plugin-sdk": "workspace:*",
|
|
"openclaw": "workspace:*"
|
|
},
|
|
"peerDependencies": {
|
|
"openclaw": ">=2026.7.2"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"openclaw": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"openclaw": {
|
|
"extensions": [
|
|
"./index.ts"
|
|
],
|
|
"setupEntry": "./setup-entry.ts",
|
|
"channel": {
|
|
"id": "nostr",
|
|
"configuredState": {
|
|
"env": {
|
|
"anyOf": [
|
|
"NOSTR_PRIVATE_KEY"
|
|
]
|
|
}
|
|
},
|
|
"label": "Nostr",
|
|
"selectionLabel": "Nostr (NIP-04 DMs)",
|
|
"docsPath": "/channels/nostr",
|
|
"docsLabel": "nostr",
|
|
"blurb": "Decentralized protocol; encrypted DMs via NIP-04.",
|
|
"order": 55,
|
|
"quickstartAllowFrom": true,
|
|
"setup": {
|
|
"fields": [
|
|
{ "key": "privateKey", "kind": "string", "sensitive": true, "cli": { "flags": "--private-key <key>", "description": "Nostr private key" } },
|
|
{ "key": "relayUrls", "kind": "string", "cli": { "flags": "--relay-urls <urls>", "description": "Nostr relay URLs" } },
|
|
{ "key": "useEnv", "kind": "boolean", "cli": { "flags": "--use-env", "description": "Use NOSTR_PRIVATE_KEY" } }
|
|
]
|
|
}
|
|
},
|
|
"install": {
|
|
"npmSpec": "@openclaw/nostr",
|
|
"defaultChoice": "npm",
|
|
"minHostVersion": ">=2026.4.10"
|
|
},
|
|
"compat": {
|
|
"pluginApi": ">=2026.7.2"
|
|
},
|
|
"build": {
|
|
"openclawVersion": "2026.7.2"
|
|
},
|
|
"release": {
|
|
"publishToClawHub": true,
|
|
"publishToNpm": true
|
|
}
|
|
}
|
|
}
|