Files
openclaw/extensions/nostr/package.json
T
2026-08-07 18:44:12 -07:00

94 lines
2.1 KiB
JSON

{
"name": "@openclaw/nostr",
"version": "2026.8.1",
"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.8.1"
},
"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.8.1"
},
"build": {
"openclawVersion": "2026.8.1"
},
"release": {
"publishToClawHub": true,
"publishToNpm": true
}
}
}