@vama/openclaw 2026.5.5-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.
@@ -0,0 +1,2 @@
1
+ import { n as setVamaRuntime } from "./runtime-w-1oL50p.js";
2
+ export { setVamaRuntime };
@@ -0,0 +1,11 @@
1
+ //#region extensions/vama/src/runtime.ts
2
+ let runtime = null;
3
+ function setVamaRuntime(next) {
4
+ runtime = next;
5
+ }
6
+ function getVamaRuntime() {
7
+ if (!runtime) throw new Error("Vama runtime not initialized");
8
+ return runtime;
9
+ }
10
+ //#endregion
11
+ export { setVamaRuntime as n, getVamaRuntime as t };
@@ -0,0 +1,148 @@
1
+ {
2
+ "id": "vama",
3
+ "channels": ["vama"],
4
+ "configSchema": {
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "properties": {}
8
+ },
9
+ "channelConfigs": {
10
+ "vama": {
11
+ "label": "Vama",
12
+ "description": "Vama chat integration via BotHub.",
13
+ "schema": {
14
+ "type": "object",
15
+ "properties": {
16
+ "enabled": {
17
+ "type": "boolean",
18
+ "description": "Enable the Vama channel."
19
+ },
20
+ "name": {
21
+ "type": "string",
22
+ "description": "Optional display label for this Vama account."
23
+ },
24
+ "botToken": {
25
+ "type": "string",
26
+ "description": "BotHub agent token from Vama \u2192 Settings \u2192 Connect an agent."
27
+ },
28
+ "webhookSecret": {
29
+ "type": "string",
30
+ "description": "BotHub webhook signing secret used to verify inbound events."
31
+ },
32
+ "webhookSecretFile": {
33
+ "type": "string",
34
+ "description": "Path to a file containing the webhook secret. Takes precedence over webhookSecret and is re-read per request so the secret can be hot-swapped without restarting the gateway."
35
+ },
36
+ "bothubUrl": {
37
+ "type": "string",
38
+ "description": "BotHub base URL. Leave blank to use the default."
39
+ },
40
+ "webhookPath": {
41
+ "type": "string",
42
+ "description": "HTTP path the gateway serves for inbound BotHub webhook events."
43
+ },
44
+ "webhookPort": {
45
+ "type": "integer",
46
+ "minimum": 1,
47
+ "maximum": 65535,
48
+ "description": "Local port the gateway listens on for BotHub webhook events."
49
+ },
50
+ "webhookHost": {
51
+ "type": "string",
52
+ "description": "Interface/host the webhook listener binds to."
53
+ },
54
+ "dmPolicy": {
55
+ "type": "string",
56
+ "enum": ["open", "pairing", "allowlist"],
57
+ "description": "Who may DM this agent: open (anyone), pairing, or allowlist."
58
+ },
59
+ "allowFrom": {
60
+ "type": "array",
61
+ "items": {
62
+ "type": ["string", "number"]
63
+ },
64
+ "description": "Vama user IDs allowed to DM when dmPolicy is allowlist."
65
+ },
66
+ "textChunkLimit": {
67
+ "type": "integer",
68
+ "minimum": 1,
69
+ "description": "Maximum characters per outbound message chunk."
70
+ },
71
+ "accounts": {
72
+ "type": "object",
73
+ "description": "Additional Vama bot accounts keyed by account ID.",
74
+ "additionalProperties": {
75
+ "type": "object",
76
+ "properties": {
77
+ "enabled": { "type": "boolean" },
78
+ "name": { "type": "string" },
79
+ "botToken": { "type": "string" },
80
+ "webhookSecret": { "type": "string" },
81
+ "webhookSecretFile": { "type": "string" },
82
+ "bothubUrl": { "type": "string" },
83
+ "webhookPath": { "type": "string" },
84
+ "webhookPort": { "type": "integer", "minimum": 1, "maximum": 65535 },
85
+ "webhookHost": { "type": "string" }
86
+ }
87
+ }
88
+ }
89
+ }
90
+ },
91
+ "uiHints": {
92
+ "enabled": {
93
+ "label": "Enabled"
94
+ },
95
+ "name": {
96
+ "label": "Display name"
97
+ },
98
+ "botToken": {
99
+ "label": "Agent token",
100
+ "help": "Paste the agent token from Vama \u2192 Settings \u2192 Connect an agent.",
101
+ "sensitive": true,
102
+ "placeholder": "Paste your Vama agent token"
103
+ },
104
+ "webhookSecret": {
105
+ "label": "Webhook secret",
106
+ "help": "BotHub webhook signing secret used to verify inbound events.",
107
+ "sensitive": true
108
+ },
109
+ "webhookSecretFile": {
110
+ "label": "Webhook secret file",
111
+ "help": "Path to a file containing the webhook secret (hot-swap). Takes precedence over the inline secret.",
112
+ "advanced": true
113
+ },
114
+ "bothubUrl": {
115
+ "label": "BotHub URL",
116
+ "help": "Leave blank to use the default Vama BotHub endpoint."
117
+ },
118
+ "webhookPath": {
119
+ "label": "Webhook path",
120
+ "advanced": true
121
+ },
122
+ "webhookPort": {
123
+ "label": "Webhook port",
124
+ "help": "Local port the gateway listens on for BotHub webhook events."
125
+ },
126
+ "webhookHost": {
127
+ "label": "Webhook host",
128
+ "advanced": true
129
+ },
130
+ "dmPolicy": {
131
+ "label": "DM policy"
132
+ },
133
+ "allowFrom": {
134
+ "label": "Allowed users",
135
+ "help": "Vama user IDs allowed to DM when DM policy is allowlist."
136
+ },
137
+ "textChunkLimit": {
138
+ "label": "Text chunk limit",
139
+ "advanced": true
140
+ },
141
+ "accounts": {
142
+ "label": "Additional accounts",
143
+ "advanced": true
144
+ }
145
+ }
146
+ }
147
+ }
148
+ }
package/package.json ADDED
@@ -0,0 +1,58 @@
1
+ {
2
+ "name": "@vama/openclaw",
3
+ "version": "2026.5.5-1",
4
+ "description": "OpenClaw Vama channel plugin via BotHub",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/VamaSingapore/openclaw"
8
+ },
9
+ "type": "module",
10
+ "dependencies": {
11
+ "undici": "8.2.0"
12
+ },
13
+ "peerDependencies": {
14
+ "openclaw": ">=2026.5.12"
15
+ },
16
+ "peerDependenciesMeta": {
17
+ "openclaw": {
18
+ "optional": true
19
+ }
20
+ },
21
+ "openclaw": {
22
+ "extensions": [
23
+ "./index.ts"
24
+ ],
25
+ "channel": {
26
+ "id": "vama",
27
+ "label": "Vama",
28
+ "selectionLabel": "Vama",
29
+ "docsPath": "/channels/vama",
30
+ "blurb": "Vama chat integration via BotHub.",
31
+ "order": 80
32
+ },
33
+ "install": {
34
+ "localPath": "extensions/vama",
35
+ "npmSpec": "@vama/openclaw",
36
+ "clawhubSpec": "clawhub:@vama/openclaw",
37
+ "defaultChoice": "npm",
38
+ "minHostVersion": ">=2026.5.12"
39
+ },
40
+ "compat": {
41
+ "pluginApi": ">=2026.5.12"
42
+ },
43
+ "build": {
44
+ "openclawVersion": "2026.5.5"
45
+ },
46
+ "release": {
47
+ "publishToNpm": true,
48
+ "publishToClawHub": true
49
+ },
50
+ "runtimeExtensions": [
51
+ "./dist/index.js"
52
+ ]
53
+ },
54
+ "files": [
55
+ "dist/**",
56
+ "openclaw.plugin.json"
57
+ ]
58
+ }