@openclaw/clickclack 2026.7.2-beta.7 → 2026.7.34
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 +0 -152
- package/dist/.setup/channel-DGqOQ-o2.mjs +1172 -0
- package/dist/api.js +1 -2
- package/dist/channel-plugin-api.js +1 -1
- package/dist/index.js +1 -3
- package/dist/runtime-api.js +3 -4
- package/node_modules/ws/lib/permessage-deflate.js +3 -1
- package/node_modules/ws/package.json +1 -1
- package/openclaw.plugin.json +21 -129
- package/package.json +6 -94
- package/dist/channel-CECIpaS0.js +0 -1852
- package/dist/doctor-contract-api.js +0 -48
- package/dist/runtime-api-CZ1rmHjv.js +0 -1029
- package/dist/secret-contract-BKkzzjBA.js +0 -35
- package/dist/secret-contract-api.js +0 -2
- package/dist/setup-claim-CP-QZ5bt.js +0 -136
- package/dist/setup-entry.js +0 -15
- package/dist/setup-plugin-api.js +0 -19
- package/dist/setup-surface-DAy8vDJK.js +0 -1131
package/dist/api.js
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as setClickClackRuntime, i as getClickClackRuntime, n as buildClickClackTarget, r as parseClickClackTarget, t as clickClackPlugin } from "./channel-CECIpaS0.js";
|
|
1
|
+
import { a as getClickClackRuntime, c as DEFAULT_ACCOUNT_ID, d as resolveClickClackAccount, f as resolveDefaultClickClackAccountId, i as createClickClackClient, l as listClickClackAccountIds, n as buildClickClackTarget, o as setClickClackRuntime, r as parseClickClackTarget, s as clickClackConfigSchema, t as clickClackPlugin, u as listEnabledClickClackAccounts } from "./.setup/channel-DGqOQ-o2.mjs";
|
|
3
2
|
export { DEFAULT_ACCOUNT_ID, buildClickClackTarget, clickClackConfigSchema, clickClackPlugin, createClickClackClient, getClickClackRuntime, listClickClackAccountIds, listEnabledClickClackAccounts, parseClickClackTarget, resolveClickClackAccount, resolveDefaultClickClackAccountId, setClickClackRuntime };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as clickClackPlugin } from "
|
|
1
|
+
import { t as clickClackPlugin } from "./.setup/channel-DGqOQ-o2.mjs";
|
|
2
2
|
export { clickClackPlugin };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { t as registerClickClackDiscussions } from "./runtime-api-CZ1rmHjv.js";
|
|
2
1
|
import { defineBundledChannelEntry } from "openclaw/plugin-sdk/channel-entry-contract";
|
|
3
2
|
//#region extensions/clickclack/index.ts
|
|
4
3
|
/**
|
|
@@ -16,8 +15,7 @@ var clickclack_default = defineBundledChannelEntry({
|
|
|
16
15
|
runtime: {
|
|
17
16
|
specifier: "./api.js",
|
|
18
17
|
exportName: "setClickClackRuntime"
|
|
19
|
-
}
|
|
20
|
-
registerFull: registerClickClackDiscussions
|
|
18
|
+
}
|
|
21
19
|
});
|
|
22
20
|
//#endregion
|
|
23
21
|
export { clickclack_default as default };
|
package/dist/runtime-api.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { d as createClickClackClient,
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
export { createClickClackClient, parseClickClackTarget, registerClickClackDiscussions, resolveClickClackAccount, setClickClackRuntime };
|
|
1
|
+
import { d as resolveClickClackAccount, i as createClickClackClient, o as setClickClackRuntime, r as parseClickClackTarget } from "./.setup/channel-DGqOQ-o2.mjs";
|
|
2
|
+
import "./api.js";
|
|
3
|
+
export { createClickClackClient, parseClickClackTarget, resolveClickClackAccount, setClickClackRuntime };
|
|
@@ -167,7 +167,9 @@ class PerMessageDeflate {
|
|
|
167
167
|
(typeof opts.serverMaxWindowBits === 'number' &&
|
|
168
168
|
opts.serverMaxWindowBits > params.server_max_window_bits))) ||
|
|
169
169
|
(typeof opts.clientMaxWindowBits === 'number' &&
|
|
170
|
-
|
|
170
|
+
(typeof params.client_max_window_bits === 'number'
|
|
171
|
+
? opts.clientMaxWindowBits > params.client_max_window_bits
|
|
172
|
+
: !params.client_max_window_bits))
|
|
171
173
|
) {
|
|
172
174
|
return false;
|
|
173
175
|
}
|
package/openclaw.plugin.json
CHANGED
|
@@ -6,6 +6,16 @@
|
|
|
6
6
|
"channels": [
|
|
7
7
|
"clickclack"
|
|
8
8
|
],
|
|
9
|
+
"channelEnvVars": {
|
|
10
|
+
"clickclack": [
|
|
11
|
+
"CLICKCLACK_BOT_TOKEN"
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
"configSchema": {
|
|
15
|
+
"type": "object",
|
|
16
|
+
"additionalProperties": false,
|
|
17
|
+
"properties": {}
|
|
18
|
+
},
|
|
9
19
|
"channelConfigs": {
|
|
10
20
|
"clickclack": {
|
|
11
21
|
"schema": {
|
|
@@ -22,10 +32,6 @@
|
|
|
22
32
|
"type": "string",
|
|
23
33
|
"format": "uri"
|
|
24
34
|
},
|
|
25
|
-
"apiBaseUrl": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"format": "uri"
|
|
28
|
-
},
|
|
29
35
|
"token": {
|
|
30
36
|
"anyOf": [
|
|
31
37
|
{
|
|
@@ -104,9 +110,6 @@
|
|
|
104
110
|
}
|
|
105
111
|
]
|
|
106
112
|
},
|
|
107
|
-
"tokenFile": {
|
|
108
|
-
"type": "string"
|
|
109
|
-
},
|
|
110
113
|
"workspace": {
|
|
111
114
|
"type": "string"
|
|
112
115
|
},
|
|
@@ -129,6 +132,11 @@
|
|
|
129
132
|
"systemPrompt": {
|
|
130
133
|
"type": "string"
|
|
131
134
|
},
|
|
135
|
+
"timeoutSeconds": {
|
|
136
|
+
"type": "integer",
|
|
137
|
+
"minimum": 1,
|
|
138
|
+
"maximum": 3600
|
|
139
|
+
},
|
|
132
140
|
"toolsAllow": {
|
|
133
141
|
"type": "array",
|
|
134
142
|
"items": {
|
|
@@ -152,58 +160,6 @@
|
|
|
152
160
|
"agentActivity": {
|
|
153
161
|
"type": "boolean"
|
|
154
162
|
},
|
|
155
|
-
"commandMenu": {
|
|
156
|
-
"type": "boolean"
|
|
157
|
-
},
|
|
158
|
-
"requireMention": {
|
|
159
|
-
"type": "boolean"
|
|
160
|
-
},
|
|
161
|
-
"mentionPatterns": {
|
|
162
|
-
"type": "array",
|
|
163
|
-
"items": {
|
|
164
|
-
"type": "string"
|
|
165
|
-
}
|
|
166
|
-
},
|
|
167
|
-
"groups": {
|
|
168
|
-
"type": "object",
|
|
169
|
-
"propertyNames": {
|
|
170
|
-
"type": "string"
|
|
171
|
-
},
|
|
172
|
-
"additionalProperties": {
|
|
173
|
-
"type": "object",
|
|
174
|
-
"properties": {
|
|
175
|
-
"requireMention": {
|
|
176
|
-
"type": "boolean"
|
|
177
|
-
},
|
|
178
|
-
"mentionPatterns": {
|
|
179
|
-
"type": "array",
|
|
180
|
-
"items": {
|
|
181
|
-
"type": "string"
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
},
|
|
185
|
-
"additionalProperties": false
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
"discussions": {
|
|
189
|
-
"type": "object",
|
|
190
|
-
"properties": {
|
|
191
|
-
"enabled": {
|
|
192
|
-
"type": "boolean"
|
|
193
|
-
},
|
|
194
|
-
"workspace": {
|
|
195
|
-
"type": "string"
|
|
196
|
-
},
|
|
197
|
-
"controlUrlBase": {
|
|
198
|
-
"type": "string",
|
|
199
|
-
"format": "uri"
|
|
200
|
-
},
|
|
201
|
-
"section": {
|
|
202
|
-
"type": "string"
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
"additionalProperties": false
|
|
206
|
-
},
|
|
207
163
|
"accounts": {
|
|
208
164
|
"type": "object",
|
|
209
165
|
"propertyNames": {
|
|
@@ -222,10 +178,6 @@
|
|
|
222
178
|
"type": "string",
|
|
223
179
|
"format": "uri"
|
|
224
180
|
},
|
|
225
|
-
"apiBaseUrl": {
|
|
226
|
-
"type": "string",
|
|
227
|
-
"format": "uri"
|
|
228
|
-
},
|
|
229
181
|
"token": {
|
|
230
182
|
"anyOf": [
|
|
231
183
|
{
|
|
@@ -304,9 +256,6 @@
|
|
|
304
256
|
}
|
|
305
257
|
]
|
|
306
258
|
},
|
|
307
|
-
"tokenFile": {
|
|
308
|
-
"type": "string"
|
|
309
|
-
},
|
|
310
259
|
"workspace": {
|
|
311
260
|
"type": "string"
|
|
312
261
|
},
|
|
@@ -329,6 +278,11 @@
|
|
|
329
278
|
"systemPrompt": {
|
|
330
279
|
"type": "string"
|
|
331
280
|
},
|
|
281
|
+
"timeoutSeconds": {
|
|
282
|
+
"type": "integer",
|
|
283
|
+
"minimum": 1,
|
|
284
|
+
"maximum": 3600
|
|
285
|
+
},
|
|
332
286
|
"toolsAllow": {
|
|
333
287
|
"type": "array",
|
|
334
288
|
"items": {
|
|
@@ -351,58 +305,6 @@
|
|
|
351
305
|
},
|
|
352
306
|
"agentActivity": {
|
|
353
307
|
"type": "boolean"
|
|
354
|
-
},
|
|
355
|
-
"commandMenu": {
|
|
356
|
-
"type": "boolean"
|
|
357
|
-
},
|
|
358
|
-
"requireMention": {
|
|
359
|
-
"type": "boolean"
|
|
360
|
-
},
|
|
361
|
-
"mentionPatterns": {
|
|
362
|
-
"type": "array",
|
|
363
|
-
"items": {
|
|
364
|
-
"type": "string"
|
|
365
|
-
}
|
|
366
|
-
},
|
|
367
|
-
"groups": {
|
|
368
|
-
"type": "object",
|
|
369
|
-
"propertyNames": {
|
|
370
|
-
"type": "string"
|
|
371
|
-
},
|
|
372
|
-
"additionalProperties": {
|
|
373
|
-
"type": "object",
|
|
374
|
-
"properties": {
|
|
375
|
-
"requireMention": {
|
|
376
|
-
"type": "boolean"
|
|
377
|
-
},
|
|
378
|
-
"mentionPatterns": {
|
|
379
|
-
"type": "array",
|
|
380
|
-
"items": {
|
|
381
|
-
"type": "string"
|
|
382
|
-
}
|
|
383
|
-
}
|
|
384
|
-
},
|
|
385
|
-
"additionalProperties": false
|
|
386
|
-
}
|
|
387
|
-
},
|
|
388
|
-
"discussions": {
|
|
389
|
-
"type": "object",
|
|
390
|
-
"properties": {
|
|
391
|
-
"enabled": {
|
|
392
|
-
"type": "boolean"
|
|
393
|
-
},
|
|
394
|
-
"workspace": {
|
|
395
|
-
"type": "string"
|
|
396
|
-
},
|
|
397
|
-
"controlUrlBase": {
|
|
398
|
-
"type": "string",
|
|
399
|
-
"format": "uri"
|
|
400
|
-
},
|
|
401
|
-
"section": {
|
|
402
|
-
"type": "string"
|
|
403
|
-
}
|
|
404
|
-
},
|
|
405
|
-
"additionalProperties": false
|
|
406
308
|
}
|
|
407
309
|
},
|
|
408
310
|
"additionalProperties": false
|
|
@@ -415,17 +317,7 @@
|
|
|
415
317
|
"additionalProperties": false
|
|
416
318
|
},
|
|
417
319
|
"label": "ClickClack",
|
|
418
|
-
"description": "
|
|
320
|
+
"description": "self-hosted chat via first-class ClickClack bot tokens."
|
|
419
321
|
}
|
|
420
|
-
},
|
|
421
|
-
"contracts": {
|
|
422
|
-
"tools": [
|
|
423
|
-
"discussion"
|
|
424
|
-
]
|
|
425
|
-
},
|
|
426
|
-
"configSchema": {
|
|
427
|
-
"type": "object",
|
|
428
|
-
"additionalProperties": false,
|
|
429
|
-
"properties": {}
|
|
430
322
|
}
|
|
431
323
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/clickclack",
|
|
3
|
-
"version": "2026.7.
|
|
3
|
+
"version": "2026.7.34",
|
|
4
4
|
"description": "OpenClaw ClickClack channel plugin",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
"./runtime-api.js": "./dist/runtime-api.js"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"ws": "8.21.
|
|
12
|
+
"ws": "8.21.3",
|
|
13
13
|
"zod": "4.4.3"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"openclaw": ">=2026.7.
|
|
16
|
+
"openclaw": ">=2026.7.34"
|
|
17
17
|
},
|
|
18
18
|
"peerDependenciesMeta": {
|
|
19
19
|
"openclaw": {
|
|
@@ -24,16 +24,8 @@
|
|
|
24
24
|
"extensions": [
|
|
25
25
|
"./index.ts"
|
|
26
26
|
],
|
|
27
|
-
"setupEntry": "./dist/setup-entry.js",
|
|
28
27
|
"channel": {
|
|
29
28
|
"id": "clickclack",
|
|
30
|
-
"configuredState": {
|
|
31
|
-
"env": {
|
|
32
|
-
"anyOf": [
|
|
33
|
-
"CLICKCLACK_BOT_TOKEN"
|
|
34
|
-
]
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
29
|
"label": "ClickClack",
|
|
38
30
|
"selectionLabel": "ClickClack",
|
|
39
31
|
"detailLabel": "ClickClack Bot",
|
|
@@ -47,85 +39,6 @@
|
|
|
47
39
|
"commands": {
|
|
48
40
|
"nativeCommandsAutoEnabled": false,
|
|
49
41
|
"nativeSkillsAutoEnabled": false
|
|
50
|
-
},
|
|
51
|
-
"setup": {
|
|
52
|
-
"fields": [
|
|
53
|
-
{
|
|
54
|
-
"key": "code",
|
|
55
|
-
"kind": "string",
|
|
56
|
-
"sensitive": true,
|
|
57
|
-
"cli": {
|
|
58
|
-
"flags": "--code <code>",
|
|
59
|
-
"description": "ClickClack one-time setup code or setup URL"
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"key": "token",
|
|
64
|
-
"kind": "string",
|
|
65
|
-
"sensitive": true,
|
|
66
|
-
"cli": {
|
|
67
|
-
"flags": "--token <token>",
|
|
68
|
-
"description": "ClickClack bot token"
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"key": "tokenFile",
|
|
73
|
-
"kind": "string",
|
|
74
|
-
"sensitive": true,
|
|
75
|
-
"cli": {
|
|
76
|
-
"flags": "--token-file <path>",
|
|
77
|
-
"description": "ClickClack bot token file"
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"key": "baseUrl",
|
|
82
|
-
"kind": "string",
|
|
83
|
-
"cli": {
|
|
84
|
-
"flags": "--base-url <url>",
|
|
85
|
-
"description": "ClickClack API base URL"
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"key": "workspace",
|
|
90
|
-
"kind": "string",
|
|
91
|
-
"cli": {
|
|
92
|
-
"flags": "--workspace <workspace>",
|
|
93
|
-
"description": "ClickClack workspace id, slug, or name"
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
"key": "defaultTo",
|
|
98
|
-
"kind": "string",
|
|
99
|
-
"cli": {
|
|
100
|
-
"flags": "--default-to <target>",
|
|
101
|
-
"description": "Default ClickClack target"
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"key": "allowFrom",
|
|
106
|
-
"kind": "string-list",
|
|
107
|
-
"cli": {
|
|
108
|
-
"flags": "--allow-from <ids>",
|
|
109
|
-
"description": "Allowed ClickClack senders"
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
"key": "agentActivity",
|
|
114
|
-
"kind": "boolean",
|
|
115
|
-
"cli": {
|
|
116
|
-
"flags": "--agent-activity",
|
|
117
|
-
"description": "Enable ClickClack agent activity"
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"key": "useEnv",
|
|
122
|
-
"kind": "boolean",
|
|
123
|
-
"cli": {
|
|
124
|
-
"flags": "--use-env",
|
|
125
|
-
"description": "Use CLICKCLACK_BOT_TOKEN"
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
]
|
|
129
42
|
}
|
|
130
43
|
},
|
|
131
44
|
"install": {
|
|
@@ -136,10 +49,10 @@
|
|
|
136
49
|
"allowInvalidConfigRecovery": true
|
|
137
50
|
},
|
|
138
51
|
"compat": {
|
|
139
|
-
"pluginApi": ">=2026.7.
|
|
52
|
+
"pluginApi": ">=2026.7.34"
|
|
140
53
|
},
|
|
141
54
|
"build": {
|
|
142
|
-
"openclawVersion": "2026.7.
|
|
55
|
+
"openclawVersion": "2026.7.34",
|
|
143
56
|
"bundledDist": false
|
|
144
57
|
},
|
|
145
58
|
"release": {
|
|
@@ -148,8 +61,7 @@
|
|
|
148
61
|
},
|
|
149
62
|
"runtimeExtensions": [
|
|
150
63
|
"./dist/index.js"
|
|
151
|
-
]
|
|
152
|
-
"runtimeSetupEntry": "./dist/setup-entry.js"
|
|
64
|
+
]
|
|
153
65
|
},
|
|
154
66
|
"repository": {
|
|
155
67
|
"type": "git",
|