@ozaiya/openclaw-channel 0.10.21 → 0.10.22
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/openclaw.plugin.json +323 -20
- package/package.json +1 -1
package/openclaw.plugin.json
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "ozaiya",
|
|
3
|
-
"channels": [
|
|
3
|
+
"channels": [
|
|
4
|
+
"ozaiya"
|
|
5
|
+
],
|
|
4
6
|
"configSchema": {
|
|
7
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
5
8
|
"type": "object",
|
|
6
9
|
"additionalProperties": false,
|
|
7
10
|
"properties": {
|
|
@@ -23,6 +26,50 @@
|
|
|
23
26
|
"webhookPath": {
|
|
24
27
|
"type": "string"
|
|
25
28
|
},
|
|
29
|
+
"webhookBase": {
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"botWebhookBases": {
|
|
33
|
+
"type": "object",
|
|
34
|
+
"additionalProperties": {
|
|
35
|
+
"type": "string"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"userToken": {
|
|
39
|
+
"type": "string"
|
|
40
|
+
},
|
|
41
|
+
"provisionSecret": {
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
"gatewayName": {
|
|
45
|
+
"type": "string"
|
|
46
|
+
},
|
|
47
|
+
"dmPolicy": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"enum": [
|
|
50
|
+
"allow",
|
|
51
|
+
"deny",
|
|
52
|
+
"allowlist"
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"imageGeneration": {
|
|
56
|
+
"type": "object",
|
|
57
|
+
"additionalProperties": false,
|
|
58
|
+
"properties": {
|
|
59
|
+
"apiBaseUrl": {
|
|
60
|
+
"type": "string"
|
|
61
|
+
},
|
|
62
|
+
"apiKey": {
|
|
63
|
+
"type": "string"
|
|
64
|
+
},
|
|
65
|
+
"model": {
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
68
|
+
"defaultSize": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
},
|
|
26
73
|
"accounts": {
|
|
27
74
|
"type": "object",
|
|
28
75
|
"additionalProperties": {
|
|
@@ -44,14 +91,88 @@
|
|
|
44
91
|
"webhookPath": {
|
|
45
92
|
"type": "string"
|
|
46
93
|
},
|
|
47
|
-
"
|
|
48
|
-
"
|
|
94
|
+
"model": {
|
|
95
|
+
"type": "string"
|
|
49
96
|
}
|
|
50
97
|
}
|
|
51
98
|
}
|
|
52
99
|
},
|
|
53
100
|
"stt": {
|
|
54
101
|
"$ref": "#/$defs/stt"
|
|
102
|
+
},
|
|
103
|
+
"yuanbao": {
|
|
104
|
+
"type": "object",
|
|
105
|
+
"additionalProperties": false,
|
|
106
|
+
"properties": {
|
|
107
|
+
"cookieFile": {
|
|
108
|
+
"type": "string"
|
|
109
|
+
},
|
|
110
|
+
"cookies": {
|
|
111
|
+
"type": "string"
|
|
112
|
+
},
|
|
113
|
+
"agentId": {
|
|
114
|
+
"type": "string"
|
|
115
|
+
},
|
|
116
|
+
"chatModelId": {
|
|
117
|
+
"type": "string"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"doubao": {
|
|
122
|
+
"type": "object",
|
|
123
|
+
"additionalProperties": false,
|
|
124
|
+
"properties": {
|
|
125
|
+
"apiBaseUrl": {
|
|
126
|
+
"type": "string"
|
|
127
|
+
},
|
|
128
|
+
"apiKey": {
|
|
129
|
+
"type": "string"
|
|
130
|
+
},
|
|
131
|
+
"model": {
|
|
132
|
+
"type": "string"
|
|
133
|
+
},
|
|
134
|
+
"timeoutMs": {
|
|
135
|
+
"type": "integer",
|
|
136
|
+
"minimum": 10000
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
"xueqiu": {
|
|
141
|
+
"type": "object",
|
|
142
|
+
"additionalProperties": false,
|
|
143
|
+
"properties": {
|
|
144
|
+
"cookies": {
|
|
145
|
+
"type": "string"
|
|
146
|
+
},
|
|
147
|
+
"cookieFile": {
|
|
148
|
+
"type": "string"
|
|
149
|
+
},
|
|
150
|
+
"maxComments": {
|
|
151
|
+
"type": "integer",
|
|
152
|
+
"minimum": 1
|
|
153
|
+
},
|
|
154
|
+
"timeoutMs": {
|
|
155
|
+
"type": "integer",
|
|
156
|
+
"minimum": 5000
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
"socialMedia": {
|
|
161
|
+
"type": "object",
|
|
162
|
+
"additionalProperties": false,
|
|
163
|
+
"properties": {
|
|
164
|
+
"apiBaseUrl": {
|
|
165
|
+
"type": "string"
|
|
166
|
+
},
|
|
167
|
+
"maxComments": {
|
|
168
|
+
"type": "integer",
|
|
169
|
+
"minimum": 0
|
|
170
|
+
},
|
|
171
|
+
"timeoutMs": {
|
|
172
|
+
"type": "integer",
|
|
173
|
+
"minimum": 5000
|
|
174
|
+
}
|
|
175
|
+
}
|
|
55
176
|
}
|
|
56
177
|
},
|
|
57
178
|
"$defs": {
|
|
@@ -61,7 +182,13 @@
|
|
|
61
182
|
"properties": {
|
|
62
183
|
"mode": {
|
|
63
184
|
"type": "string",
|
|
64
|
-
"enum": [
|
|
185
|
+
"enum": [
|
|
186
|
+
"disabled",
|
|
187
|
+
"enabled"
|
|
188
|
+
]
|
|
189
|
+
},
|
|
190
|
+
"url": {
|
|
191
|
+
"type": "string"
|
|
65
192
|
},
|
|
66
193
|
"timeoutMs": {
|
|
67
194
|
"type": "integer",
|
|
@@ -70,31 +197,207 @@
|
|
|
70
197
|
"maxDurationSeconds": {
|
|
71
198
|
"type": "integer",
|
|
72
199
|
"minimum": 1
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
"channelConfigs": {
|
|
206
|
+
"ozaiya": {
|
|
207
|
+
"schema": {
|
|
208
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
209
|
+
"type": "object",
|
|
210
|
+
"additionalProperties": false,
|
|
211
|
+
"properties": {
|
|
212
|
+
"enabled": {
|
|
213
|
+
"type": "boolean"
|
|
214
|
+
},
|
|
215
|
+
"botToken": {
|
|
216
|
+
"type": "string"
|
|
217
|
+
},
|
|
218
|
+
"botPrivateKey": {
|
|
219
|
+
"type": "string"
|
|
220
|
+
},
|
|
221
|
+
"webhookSecret": {
|
|
222
|
+
"type": "string"
|
|
223
|
+
},
|
|
224
|
+
"apiBaseUrl": {
|
|
225
|
+
"type": "string"
|
|
226
|
+
},
|
|
227
|
+
"webhookPath": {
|
|
228
|
+
"type": "string"
|
|
229
|
+
},
|
|
230
|
+
"webhookBase": {
|
|
231
|
+
"type": "string"
|
|
232
|
+
},
|
|
233
|
+
"botWebhookBases": {
|
|
234
|
+
"type": "object",
|
|
235
|
+
"additionalProperties": {
|
|
236
|
+
"type": "string"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"userToken": {
|
|
240
|
+
"type": "string"
|
|
241
|
+
},
|
|
242
|
+
"provisionSecret": {
|
|
243
|
+
"type": "string"
|
|
244
|
+
},
|
|
245
|
+
"gatewayName": {
|
|
246
|
+
"type": "string"
|
|
247
|
+
},
|
|
248
|
+
"dmPolicy": {
|
|
249
|
+
"type": "string",
|
|
250
|
+
"enum": [
|
|
251
|
+
"allow",
|
|
252
|
+
"deny",
|
|
253
|
+
"allowlist"
|
|
254
|
+
]
|
|
255
|
+
},
|
|
256
|
+
"imageGeneration": {
|
|
257
|
+
"type": "object",
|
|
258
|
+
"additionalProperties": false,
|
|
259
|
+
"properties": {
|
|
260
|
+
"apiBaseUrl": {
|
|
261
|
+
"type": "string"
|
|
262
|
+
},
|
|
263
|
+
"apiKey": {
|
|
264
|
+
"type": "string"
|
|
265
|
+
},
|
|
266
|
+
"model": {
|
|
267
|
+
"type": "string"
|
|
268
|
+
},
|
|
269
|
+
"defaultSize": {
|
|
270
|
+
"type": "string"
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
"accounts": {
|
|
275
|
+
"type": "object",
|
|
276
|
+
"additionalProperties": {
|
|
277
|
+
"type": "object",
|
|
278
|
+
"additionalProperties": false,
|
|
279
|
+
"properties": {
|
|
280
|
+
"enabled": {
|
|
281
|
+
"type": "boolean"
|
|
282
|
+
},
|
|
283
|
+
"botToken": {
|
|
284
|
+
"type": "string"
|
|
285
|
+
},
|
|
286
|
+
"botPrivateKey": {
|
|
287
|
+
"type": "string"
|
|
288
|
+
},
|
|
289
|
+
"webhookSecret": {
|
|
290
|
+
"type": "string"
|
|
291
|
+
},
|
|
292
|
+
"webhookPath": {
|
|
293
|
+
"type": "string"
|
|
294
|
+
},
|
|
295
|
+
"model": {
|
|
296
|
+
"type": "string"
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
}
|
|
73
300
|
},
|
|
74
|
-
"
|
|
301
|
+
"stt": {
|
|
302
|
+
"$ref": "#/$defs/stt"
|
|
303
|
+
},
|
|
304
|
+
"yuanbao": {
|
|
305
|
+
"type": "object",
|
|
306
|
+
"additionalProperties": false,
|
|
307
|
+
"properties": {
|
|
308
|
+
"cookieFile": {
|
|
309
|
+
"type": "string"
|
|
310
|
+
},
|
|
311
|
+
"cookies": {
|
|
312
|
+
"type": "string"
|
|
313
|
+
},
|
|
314
|
+
"agentId": {
|
|
315
|
+
"type": "string"
|
|
316
|
+
},
|
|
317
|
+
"chatModelId": {
|
|
318
|
+
"type": "string"
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
"doubao": {
|
|
323
|
+
"type": "object",
|
|
324
|
+
"additionalProperties": false,
|
|
325
|
+
"properties": {
|
|
326
|
+
"apiBaseUrl": {
|
|
327
|
+
"type": "string"
|
|
328
|
+
},
|
|
329
|
+
"apiKey": {
|
|
330
|
+
"type": "string"
|
|
331
|
+
},
|
|
332
|
+
"model": {
|
|
333
|
+
"type": "string"
|
|
334
|
+
},
|
|
335
|
+
"timeoutMs": {
|
|
336
|
+
"type": "integer",
|
|
337
|
+
"minimum": 10000
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
"xueqiu": {
|
|
75
342
|
"type": "object",
|
|
76
343
|
"additionalProperties": false,
|
|
77
344
|
"properties": {
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"
|
|
82
|
-
|
|
345
|
+
"cookies": {
|
|
346
|
+
"type": "string"
|
|
347
|
+
},
|
|
348
|
+
"cookieFile": {
|
|
349
|
+
"type": "string"
|
|
350
|
+
},
|
|
351
|
+
"maxComments": {
|
|
352
|
+
"type": "integer",
|
|
353
|
+
"minimum": 1
|
|
354
|
+
},
|
|
355
|
+
"timeoutMs": {
|
|
356
|
+
"type": "integer",
|
|
357
|
+
"minimum": 5000
|
|
358
|
+
}
|
|
83
359
|
}
|
|
84
360
|
},
|
|
85
|
-
"
|
|
361
|
+
"socialMedia": {
|
|
86
362
|
"type": "object",
|
|
87
363
|
"additionalProperties": false,
|
|
88
364
|
"properties": {
|
|
89
|
-
"
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
"
|
|
365
|
+
"apiBaseUrl": {
|
|
366
|
+
"type": "string"
|
|
367
|
+
},
|
|
368
|
+
"maxComments": {
|
|
369
|
+
"type": "integer",
|
|
370
|
+
"minimum": 0
|
|
371
|
+
},
|
|
372
|
+
"timeoutMs": {
|
|
373
|
+
"type": "integer",
|
|
374
|
+
"minimum": 5000
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
"$defs": {
|
|
380
|
+
"stt": {
|
|
381
|
+
"type": "object",
|
|
382
|
+
"additionalProperties": false,
|
|
383
|
+
"properties": {
|
|
384
|
+
"mode": {
|
|
385
|
+
"type": "string",
|
|
386
|
+
"enum": [
|
|
387
|
+
"disabled",
|
|
388
|
+
"enabled"
|
|
389
|
+
]
|
|
390
|
+
},
|
|
391
|
+
"url": {
|
|
392
|
+
"type": "string"
|
|
393
|
+
},
|
|
394
|
+
"timeoutMs": {
|
|
395
|
+
"type": "integer",
|
|
396
|
+
"minimum": 1
|
|
397
|
+
},
|
|
398
|
+
"maxDurationSeconds": {
|
|
399
|
+
"type": "integer",
|
|
400
|
+
"minimum": 1
|
|
98
401
|
}
|
|
99
402
|
}
|
|
100
403
|
}
|