@elizaos/plugin-nostr 2.0.0-alpha.4 → 2.0.0-alpha.5

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.
Files changed (1) hide show
  1. package/package.json +35 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elizaos/plugin-nostr",
3
- "version": "2.0.0-alpha.4",
3
+ "version": "2.0.0-alpha.5",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -43,5 +43,39 @@
43
43
  "node"
44
44
  ],
45
45
  "runtime": "node"
46
+ },
47
+ "agentConfig": {
48
+ "pluginParameters": {
49
+ "NOSTR_PRIVATE_KEY": {
50
+ "type": "string",
51
+ "description": "Private key for Nostr",
52
+ "required": true,
53
+ "sensitive": true
54
+ },
55
+ "NOSTR_RELAYS": {
56
+ "type": "string",
57
+ "description": "Comma-separated list of relay URLs",
58
+ "required": false,
59
+ "sensitive": false
60
+ },
61
+ "NOSTR_DM_POLICY": {
62
+ "type": "string",
63
+ "description": "DM policy (e.g. allow, deny, allowlist)",
64
+ "required": false,
65
+ "sensitive": false
66
+ },
67
+ "NOSTR_ALLOW_FROM": {
68
+ "type": "string",
69
+ "description": "Comma-separated allowed user list",
70
+ "required": false,
71
+ "sensitive": false
72
+ },
73
+ "NOSTR_ENABLED": {
74
+ "type": "boolean",
75
+ "description": "Enable or disable this feature",
76
+ "required": false,
77
+ "sensitive": false
78
+ }
79
+ }
46
80
  }
47
81
  }