@workclaw/openclaw-workclaw 1.0.343 → 1.0.346

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 (40) hide show
  1. package/dist/{anthropic-C1jzp_Rc.js → anthropic-Sa15w5z4.js} +1 -1
  2. package/dist/api.js +1 -1
  3. package/dist/{azure-openai-responses-zym2wxMB.js → azure-openai-responses-CPtWbf1C.js} +2 -2
  4. package/dist/{channel-CWeiUgV5.js → channel-DAmPopBf.js} +886 -848
  5. package/dist/{channel-bootstrap.runtime-B0t3vnup-S_ZINco5.js → channel-bootstrap.runtime-B0t3vnup-BAOsCuTr.js} +1 -1
  6. package/dist/channel-entry-api.js +1 -1
  7. package/dist/channel-plugin-api.js +1 -1
  8. package/dist/{cleanup-i9QIMqva-DceifGSO.js → cleanup-i9QIMqva-6zIggooW.js} +1 -1
  9. package/dist/{config-QB0JLJHX.js → config-BYmtGm8e.js} +1 -1
  10. package/dist/{google-DqQHu2NY.js → google-BnRHrBN8.js} +2 -2
  11. package/dist/{google-shared-BeRWP6yE.js → google-shared-CAR6IShv.js} +1 -1
  12. package/dist/{google-vertex-Cs1hEe_j.js → google-vertex-Hiq4fZCi.js} +2 -2
  13. package/dist/{host-hook-cleanup-BNlJQu7G-NNZIzDgg.js → host-hook-cleanup-BNlJQu7G-BwHWtmzK.js} +1 -1
  14. package/dist/{index-mQv9vOMk.js → index-BPHxMrth.js} +1 -1
  15. package/dist/{index-DvlDhBhd.js → index-DUxxZDuE.js} +1 -1
  16. package/dist/{legacy-config-issues-Czu0_ffE-C-SKoHc6.js → legacy-config-issues-Czu0_ffE-YYGt7Dsf.js} +1 -1
  17. package/dist/{message-oTt1u1XX-NFsrpDss.js → message-oTt1u1XX-xhdlS1dt.js} +3 -3
  18. package/dist/message.config.runtime-BG74oiu7.js +4 -0
  19. package/dist/{message.gateway.runtime-BIIf6teh.js → message.gateway.runtime-DB5W21Jl.js} +1 -1
  20. package/dist/{mistral-B0v4IfAz.js → mistral-hhgCrfG_.js} +1 -1
  21. package/dist/{models-config.runtime-cY4XGOI0.js → models-config.runtime-BnpSlXPo.js} +1 -1
  22. package/dist/{openai-codex-responses-tC0hde6o.js → openai-codex-responses-CBorkFRy.js} +2 -2
  23. package/dist/{openai-completions-w3FtI3rd.js → openai-completions-Bd-A-Zxa.js} +1 -1
  24. package/dist/{openai-responses-rRjf4OAK.js → openai-responses-8Q6No8u_.js} +2 -2
  25. package/dist/{openai-responses-shared-ZlolmuqL.js → openai-responses-shared-C4up_jLa.js} +1 -1
  26. package/dist/{openrouter-CXWxTM8p.js → openrouter-CjDOFscf.js} +1 -1
  27. package/dist/{photon_rs-CGHeuAJ1.js → photon_rs-BsXu_h4Z.js} +1 -1
  28. package/dist/{plugins-C54ejDC8-qGQvFNWW.js → plugins-C54ejDC8-Cmv2tfRd.js} +2 -2
  29. package/dist/{provider-discovery.runtime-ZgcVwu5_.js → provider-discovery.runtime-D_JTH7-C.js} +1 -1
  30. package/dist/{session-archive.runtime-SvY1eJq4.js → session-archive.runtime-CDu25YlV.js} +1 -1
  31. package/dist/src/config-schema.d.ts +4 -0
  32. package/dist/src/config-schema.d.ts.map +1 -1
  33. package/dist/src/types/system.d.ts +1 -1
  34. package/dist/src/types/system.d.ts.map +1 -1
  35. package/dist/subsystem-W8wAQXn1-DEpdQ2rB.js +4 -0
  36. package/dist/{transcript.runtime-Dchg_w3u.js → transcript.runtime-BJj5V1X4.js} +1 -1
  37. package/openclaw.plugin.json +244 -236
  38. package/package.json +71 -71
  39. package/dist/message.config.runtime-DmvQNASl.js +0 -4
  40. package/dist/subsystem-W8wAQXn1-BIMucqMi.js +0 -4
@@ -1,236 +1,244 @@
1
- {
2
- "id": "openclaw-workclaw",
3
- "kind": "channel",
4
- "channels": ["openclaw-workclaw"],
5
- "skills": ["./skills"],
6
- "contracts": {
7
- "tools": [
8
- "openclaw-workclaw-cron-add-params",
9
- "openclaw-workclaw-cron-remove-params",
10
- "openclaw-workclaw-cron-update-params",
11
- "openclaw-workclaw-cron-enable-params",
12
- "openclaw-workclaw-cron-disable-params",
13
- "openclaw-workclaw-cron-add-sync",
14
- "openclaw-workclaw-cron-remove-sync",
15
- "openclaw-workclaw-cron-update-sync",
16
- "openclaw-workclaw-cron-enable-sync",
17
- "openclaw-workclaw-cron-disable-sync",
18
- "openclaw-workclaw-cron-notify-sync"
19
- ]
20
- },
21
- "name": "智小途",
22
- "description": "智小途企业通讯平台 OpenClaw 渠道插件",
23
- "version": "1.0.29",
24
- "activation": {
25
- "onStartup": true
26
- },
27
- "configSchema": {
28
- "type": "object",
29
- "additionalProperties": false,
30
- "properties": {
31
- "scene": {
32
- "type": "string",
33
- "enum": ["test", "production"],
34
- "description": "控制插件日志输出的场景"
35
- }
36
- }
37
- },
38
- "channelConfigs": {
39
- "openclaw-workclaw": {
40
- "label": "智小途",
41
- "description": "智小途企业通讯平台",
42
- "schema": {
43
- "type": "object",
44
- "additionalProperties": false,
45
- "required": ["appKey", "appSecret"],
46
- "properties": {
47
- "enabled": {
48
- "type": "boolean",
49
- "title": "是否启用"
50
- },
51
- "baseUrl": {
52
- "type": "string",
53
- "title": "接口地址"
54
- },
55
- "websocketUrl": {
56
- "type": "string",
57
- "title": "WebSocket 地址"
58
- },
59
- "appKey": {
60
- "type": "string",
61
- "description": "智小途应用 Key",
62
- "title": "应用 Key"
63
- },
64
- "appSecret": {
65
- "type": "string",
66
- "description": "智小途应用 Secret",
67
- "title": "应用 Secret"
68
- },
69
- "agentId": {
70
- "title": "默认智能体 ID",
71
- "anyOf": [
72
- {
73
- "type": "string"
74
- },
75
- {
76
- "type": "number"
77
- }
78
- ]
79
- },
80
- "userId": {
81
- "title": "默认用户 ID",
82
- "anyOf": [
83
- {
84
- "type": "string"
85
- },
86
- {
87
- "type": "number"
88
- }
89
- ]
90
- },
91
- "localIp": {
92
- "type": "string",
93
- "title": "本地 IP"
94
- },
95
- "requestTimeout": {
96
- "type": "integer",
97
- "minimum": 1,
98
- "title": "请求超时毫秒"
99
- },
100
- "allowInsecureTls": {
101
- "type": "boolean",
102
- "title": "允许不安全 TLS"
103
- },
104
- "allowRawJsonPayload": {
105
- "type": "boolean",
106
- "title": "允许原始 JSON 负载"
107
- },
108
- "uploadUrl": {
109
- "type": "string",
110
- "title": "上传地址"
111
- },
112
- "uploadFieldName": {
113
- "type": "string",
114
- "title": "上传字段名"
115
- },
116
- "uploadHeaders": {
117
- "type": "object",
118
- "additionalProperties": {
119
- "type": "string"
120
- },
121
- "title": "上传请求头"
122
- },
123
- "uploadFormFields": {
124
- "type": "object",
125
- "additionalProperties": {
126
- "anyOf": [
127
- {
128
- "type": "string"
129
- },
130
- {
131
- "type": "number"
132
- },
133
- {
134
- "type": "boolean"
135
- }
136
- ]
137
- },
138
- "title": "上传表单字段"
139
- },
140
- "uploadResponseUrlPath": {
141
- "type": "string",
142
- "title": "上传响应 URL 路径"
143
- },
144
- "dmPolicy": {
145
- "type": "string",
146
- "enum": ["open"],
147
- "title": "私聊策略"
148
- },
149
- "allowFrom": {
150
- "type": "array",
151
- "title": "允许发送者",
152
- "items": {
153
- "anyOf": [
154
- {
155
- "type": "string"
156
- },
157
- {
158
- "type": "number"
159
- }
160
- ]
161
- }
162
- },
163
- "mediaMaxMb": {
164
- "type": "number",
165
- "exclusiveMinimum": 0,
166
- "title": "媒体大小上限"
167
- },
168
- "accounts": {
169
- "type": "object",
170
- "title": "账户配置",
171
- "additionalProperties": {
172
- "type": "object",
173
- "additionalProperties": false,
174
- "properties": {
175
- "enabled": {
176
- "type": "boolean"
177
- },
178
- "name": {
179
- "type": "string"
180
- },
181
- "agentId": {
182
- "anyOf": [
183
- {
184
- "type": "string"
185
- },
186
- {
187
- "type": "number"
188
- }
189
- ]
190
- },
191
- "userId": {
192
- "anyOf": [
193
- {
194
- "type": "string"
195
- },
196
- {
197
- "type": "number"
198
- }
199
- ]
200
- },
201
- "openConversationId": {
202
- "type": "string"
203
- },
204
- "dmPolicy": {
205
- "type": "string",
206
- "enum": ["open"]
207
- },
208
- "allowFrom": {
209
- "type": "array",
210
- "items": {
211
- "anyOf": [
212
- {
213
- "type": "string"
214
- },
215
- {
216
- "type": "number"
217
- }
218
- ]
219
- }
220
- },
221
- "mediaMaxMb": {
222
- "type": "number",
223
- "exclusiveMinimum": 0
224
- },
225
- "allowInsecureTls": {
226
- "type": "boolean"
227
- }
228
- }
229
- }
230
- }
231
- }
232
- },
233
- "setupEntry": "./dist/setup-entry.js"
234
- }
235
- }
236
- }
1
+ {
2
+ "id": "openclaw-workclaw",
3
+ "kind": "channel",
4
+ "channels": ["openclaw-workclaw"],
5
+ "skills": ["./skills"],
6
+ "contracts": {
7
+ "tools": [
8
+ "openclaw-workclaw-cron-add-params",
9
+ "openclaw-workclaw-cron-remove-params",
10
+ "openclaw-workclaw-cron-update-params",
11
+ "openclaw-workclaw-cron-enable-params",
12
+ "openclaw-workclaw-cron-disable-params",
13
+ "openclaw-workclaw-cron-add-sync",
14
+ "openclaw-workclaw-cron-remove-sync",
15
+ "openclaw-workclaw-cron-update-sync",
16
+ "openclaw-workclaw-cron-enable-sync",
17
+ "openclaw-workclaw-cron-disable-sync",
18
+ "openclaw-workclaw-cron-notify-sync"
19
+ ]
20
+ },
21
+ "name": "智小途",
22
+ "description": "智小途企业通讯平台 OpenClaw 渠道插件",
23
+ "version": "1.0.29",
24
+ "activation": {
25
+ "onStartup": true
26
+ },
27
+ "configSchema": {
28
+ "type": "object",
29
+ "additionalProperties": false,
30
+ "properties": {
31
+ "scene": {
32
+ "type": "string",
33
+ "enum": ["test", "production"],
34
+ "description": "控制插件日志输出的场景"
35
+ }
36
+ }
37
+ },
38
+ "channelConfigs": {
39
+ "openclaw-workclaw": {
40
+ "label": "智小途",
41
+ "description": "智小途企业通讯平台",
42
+ "schema": {
43
+ "type": "object",
44
+ "additionalProperties": false,
45
+ "required": ["appKey", "appSecret"],
46
+ "properties": {
47
+ "enabled": {
48
+ "type": "boolean",
49
+ "title": "是否启用"
50
+ },
51
+ "baseUrl": {
52
+ "type": "string",
53
+ "title": "接口地址"
54
+ },
55
+ "websocketUrl": {
56
+ "type": "string",
57
+ "title": "WebSocket 地址"
58
+ },
59
+ "connectionMode": {
60
+ "type": "string",
61
+ "title": "连接模式"
62
+ },
63
+ "wsConnectionStrategy": {
64
+ "type": "string",
65
+ "title": "WebSocket 连接策略"
66
+ },
67
+ "appKey": {
68
+ "type": "string",
69
+ "description": "智小途应用 Key",
70
+ "title": "应用 Key"
71
+ },
72
+ "appSecret": {
73
+ "type": "string",
74
+ "description": "智小途应用 Secret",
75
+ "title": "应用 Secret"
76
+ },
77
+ "agentId": {
78
+ "title": "默认智能体 ID",
79
+ "anyOf": [
80
+ {
81
+ "type": "string"
82
+ },
83
+ {
84
+ "type": "number"
85
+ }
86
+ ]
87
+ },
88
+ "userId": {
89
+ "title": "默认用户 ID",
90
+ "anyOf": [
91
+ {
92
+ "type": "string"
93
+ },
94
+ {
95
+ "type": "number"
96
+ }
97
+ ]
98
+ },
99
+ "localIp": {
100
+ "type": "string",
101
+ "title": "本地 IP"
102
+ },
103
+ "requestTimeout": {
104
+ "type": "integer",
105
+ "minimum": 1,
106
+ "title": "请求超时毫秒"
107
+ },
108
+ "allowInsecureTls": {
109
+ "type": "boolean",
110
+ "title": "允许不安全 TLS"
111
+ },
112
+ "allowRawJsonPayload": {
113
+ "type": "boolean",
114
+ "title": "允许原始 JSON 负载"
115
+ },
116
+ "uploadUrl": {
117
+ "type": "string",
118
+ "title": "上传地址"
119
+ },
120
+ "uploadFieldName": {
121
+ "type": "string",
122
+ "title": "上传字段名"
123
+ },
124
+ "uploadHeaders": {
125
+ "type": "object",
126
+ "additionalProperties": {
127
+ "type": "string"
128
+ },
129
+ "title": "上传请求头"
130
+ },
131
+ "uploadFormFields": {
132
+ "type": "object",
133
+ "additionalProperties": {
134
+ "anyOf": [
135
+ {
136
+ "type": "string"
137
+ },
138
+ {
139
+ "type": "number"
140
+ },
141
+ {
142
+ "type": "boolean"
143
+ }
144
+ ]
145
+ },
146
+ "title": "上传表单字段"
147
+ },
148
+ "uploadResponseUrlPath": {
149
+ "type": "string",
150
+ "title": "上传响应 URL 路径"
151
+ },
152
+ "dmPolicy": {
153
+ "type": "string",
154
+ "enum": ["open"],
155
+ "title": "私聊策略"
156
+ },
157
+ "allowFrom": {
158
+ "type": "array",
159
+ "title": "允许发送者",
160
+ "items": {
161
+ "anyOf": [
162
+ {
163
+ "type": "string"
164
+ },
165
+ {
166
+ "type": "number"
167
+ }
168
+ ]
169
+ }
170
+ },
171
+ "mediaMaxMb": {
172
+ "type": "number",
173
+ "exclusiveMinimum": 0,
174
+ "title": "媒体大小上限"
175
+ },
176
+ "accounts": {
177
+ "type": "object",
178
+ "title": "账户配置",
179
+ "additionalProperties": {
180
+ "type": "object",
181
+ "additionalProperties": false,
182
+ "properties": {
183
+ "enabled": {
184
+ "type": "boolean"
185
+ },
186
+ "name": {
187
+ "type": "string"
188
+ },
189
+ "agentId": {
190
+ "anyOf": [
191
+ {
192
+ "type": "string"
193
+ },
194
+ {
195
+ "type": "number"
196
+ }
197
+ ]
198
+ },
199
+ "userId": {
200
+ "anyOf": [
201
+ {
202
+ "type": "string"
203
+ },
204
+ {
205
+ "type": "number"
206
+ }
207
+ ]
208
+ },
209
+ "openConversationId": {
210
+ "type": "string"
211
+ },
212
+ "dmPolicy": {
213
+ "type": "string",
214
+ "enum": ["open"]
215
+ },
216
+ "allowFrom": {
217
+ "type": "array",
218
+ "items": {
219
+ "anyOf": [
220
+ {
221
+ "type": "string"
222
+ },
223
+ {
224
+ "type": "number"
225
+ }
226
+ ]
227
+ }
228
+ },
229
+ "mediaMaxMb": {
230
+ "type": "number",
231
+ "exclusiveMinimum": 0
232
+ },
233
+ "allowInsecureTls": {
234
+ "type": "boolean"
235
+ }
236
+ }
237
+ }
238
+ }
239
+ }
240
+ },
241
+ "setupEntry": "./dist/setup-entry.js"
242
+ }
243
+ }
244
+ }
package/package.json CHANGED
@@ -1,71 +1,71 @@
1
- {
2
- "name": "@workclaw/openclaw-workclaw",
3
- "type": "module",
4
- "version": "1.0.343",
5
- "description": "智小途企业通讯平台 OpenClaw 渠道插件",
6
- "license": "MIT",
7
- "keywords": [
8
- "workclaw",
9
- "openclaw",
10
- "plugin",
11
- "channel",
12
- "智小途"
13
- ],
14
- "publishConfig": {
15
- "access": "public"
16
- },
17
- "exports": {
18
- ".": {
19
- "types": "./dist/index.d.ts",
20
- "import": "./dist/index.js"
21
- },
22
- "./setup": {
23
- "types": "./dist/setup-entry.d.ts",
24
- "import": "./dist/setup-entry.js"
25
- },
26
- "./tools-api": {
27
- "types": "./dist/tools-api.d.ts",
28
- "import": "./dist/tools-api.js"
29
- }
30
- },
31
- "main": "./dist/index.js",
32
- "types": "./dist/index.d.ts",
33
- "files": [
34
- "dist",
35
- "openclaw.plugin.json",
36
- "skills",
37
- "templates"
38
- ],
39
- "engines": {
40
- "node": ">=18.0.0"
41
- },
42
- "scripts": {
43
- "build": "npm run typecheck && npm run lint && vite build",
44
- "typecheck": "tsc --noEmit",
45
- "lint": "eslint --fix"
46
- },
47
- "dependencies": {
48
- "undici": "^7.26.0",
49
- "ws": "^8.21.0",
50
- "zod": "^4.4.3"
51
- },
52
- "openclaw": {
53
- "extensions": [
54
- "./dist/index.js"
55
- ],
56
- "setupEntry": "./dist/setup-entry.js",
57
- "compat": {
58
- "pluginApi": ">=2026.6.2",
59
- "minGatewayVersion": "2026.6.2"
60
- },
61
- "build": {
62
- "openclawVersion": "2026.6.2",
63
- "pluginSdkVersion": "2026.6.2"
64
- },
65
- "install": {
66
- "npmSpec": "@workclaw/openclaw-workclaw",
67
- "localPath": "extensions/openclaw-workclaw",
68
- "defaultChoice": "npm"
69
- }
70
- }
71
- }
1
+ {
2
+ "name": "@workclaw/openclaw-workclaw",
3
+ "type": "module",
4
+ "version": "1.0.346",
5
+ "description": "智小途企业通讯平台 OpenClaw 渠道插件",
6
+ "license": "MIT",
7
+ "keywords": [
8
+ "workclaw",
9
+ "openclaw",
10
+ "plugin",
11
+ "channel",
12
+ "智小途"
13
+ ],
14
+ "publishConfig": {
15
+ "access": "public"
16
+ },
17
+ "exports": {
18
+ ".": {
19
+ "types": "./dist/index.d.ts",
20
+ "import": "./dist/index.js"
21
+ },
22
+ "./setup": {
23
+ "types": "./dist/setup-entry.d.ts",
24
+ "import": "./dist/setup-entry.js"
25
+ },
26
+ "./tools-api": {
27
+ "types": "./dist/tools-api.d.ts",
28
+ "import": "./dist/tools-api.js"
29
+ }
30
+ },
31
+ "main": "./dist/index.js",
32
+ "types": "./dist/index.d.ts",
33
+ "files": [
34
+ "dist",
35
+ "openclaw.plugin.json",
36
+ "skills",
37
+ "templates"
38
+ ],
39
+ "engines": {
40
+ "node": ">=18.0.0"
41
+ },
42
+ "scripts": {
43
+ "build": "npm run typecheck && npm run lint && vite build",
44
+ "typecheck": "tsc --noEmit",
45
+ "lint": "eslint --fix"
46
+ },
47
+ "dependencies": {
48
+ "undici": "^7.26.0",
49
+ "ws": "^8.21.0",
50
+ "zod": "^4.4.3"
51
+ },
52
+ "openclaw": {
53
+ "extensions": [
54
+ "./dist/index.js"
55
+ ],
56
+ "setupEntry": "./dist/setup-entry.js",
57
+ "compat": {
58
+ "pluginApi": ">=2026.6.2",
59
+ "minGatewayVersion": "2026.6.2"
60
+ },
61
+ "build": {
62
+ "openclawVersion": "2026.6.2",
63
+ "pluginSdkVersion": "2026.6.2"
64
+ },
65
+ "install": {
66
+ "npmSpec": "@workclaw/openclaw-workclaw",
67
+ "localPath": "extensions/openclaw-workclaw",
68
+ "defaultChoice": "npm"
69
+ }
70
+ }
71
+ }
@@ -1,4 +0,0 @@
1
- import { i } from "./channel-CWeiUgV5.js";
2
- export {
3
- i as getRuntimeConfig
4
- };
@@ -1,4 +0,0 @@
1
- import { as as createSubsystemLogger } from "./channel-CWeiUgV5.js";
2
- export {
3
- createSubsystemLogger
4
- };