@xgjktech/xg_cwork_im 1.17.10 → 1.17.12
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 +433 -433
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/src/deliver-text.test.js +22 -22
- package/dist/src/inbound-archive.d.ts +4 -0
- package/dist/src/inbound-archive.d.ts.map +1 -0
- package/dist/src/inbound-archive.js +105 -0
- package/dist/src/inbound-archive.js.map +1 -0
- package/dist/src/inbound-display.d.ts.map +1 -1
- package/dist/src/inbound-display.js +5 -0
- package/dist/src/inbound-display.js.map +1 -1
- package/dist/src/inbound-input-media.d.ts.map +1 -1
- package/dist/src/inbound-input-media.js +75 -23
- package/dist/src/inbound-input-media.js.map +1 -1
- package/dist/src/plan-store-access.test.js +9 -9
- package/dist/src/turn-deliver-buffer.test.js +25 -25
- package/openclaw.plugin.json +27 -27
- package/package.json +78 -76
package/package.json
CHANGED
|
@@ -1,76 +1,78 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@xgjktech/xg_cwork_im",
|
|
3
|
-
"version": "1.17.
|
|
4
|
-
"description": "XG CWork IM channel plugin for OpenClaw",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"bot",
|
|
7
|
-
"channel",
|
|
8
|
-
"openclaw",
|
|
9
|
-
"xg_cwork_im",
|
|
10
|
-
"im"
|
|
11
|
-
],
|
|
12
|
-
"license": "MIT",
|
|
13
|
-
"type": "module",
|
|
14
|
-
"main": "dist/index.js",
|
|
15
|
-
"types": "dist/index.d.ts",
|
|
16
|
-
"engines": {
|
|
17
|
-
"node": ">=22.19.0"
|
|
18
|
-
},
|
|
19
|
-
"files": [
|
|
20
|
-
".npmrc",
|
|
21
|
-
"dist/**/*",
|
|
22
|
-
"openclaw.plugin.json"
|
|
23
|
-
],
|
|
24
|
-
"scripts": {
|
|
25
|
-
"build": "tsc -p tsconfig.json",
|
|
26
|
-
"type-check": "tsc -p tsconfig.json --noEmit",
|
|
27
|
-
"lint": "tsc -p tsconfig.json --noEmit",
|
|
28
|
-
"test": "npm run build && node --test dist/src/inbound-terminal-state.test.js dist/src/user-facing-errors.test.js dist/src/deliver-text.test.js dist/src/agent-context-types.test.js dist/src/block-streaming-config.test.js dist/src/per-message-fallback-notice.test.js dist/src/thinking-ws-progress.test.js dist/src/resource-file.test.js dist/src/turn-deliver-buffer.test.js dist/src/run-usage.test.js dist/src/ws-run-event-unmapped.test.js dist/src/send-service.test.js dist/src/send-file-tool.test.js dist/src/plan-tool-result.test.js dist/src/plan-blocked-notice.test.js dist/src/plan-store-access.test.js dist/src/plan-tool-middleware.test.js dist/src/plan-event-subscription.test.js dist/src/plan-ws-registry.test.js dist/src/plan-stat-event.test.js",
|
|
29
|
-
"install:prod": "npm install --omit=dev",
|
|
30
|
-
"prepublishOnly": "npm run build"
|
|
31
|
-
},
|
|
32
|
-
"dependencies": {
|
|
33
|
-
"@sinclair/typebox": "^0.32.0",
|
|
34
|
-
"@xgjktech/xg-openclaw-shared": "^0.2.0",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@xgjktech/xg_cwork_im",
|
|
3
|
+
"version": "1.17.12",
|
|
4
|
+
"description": "XG CWork IM channel plugin for OpenClaw",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"bot",
|
|
7
|
+
"channel",
|
|
8
|
+
"openclaw",
|
|
9
|
+
"xg_cwork_im",
|
|
10
|
+
"im"
|
|
11
|
+
],
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"type": "module",
|
|
14
|
+
"main": "dist/index.js",
|
|
15
|
+
"types": "dist/index.d.ts",
|
|
16
|
+
"engines": {
|
|
17
|
+
"node": ">=22.19.0"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
".npmrc",
|
|
21
|
+
"dist/**/*",
|
|
22
|
+
"openclaw.plugin.json"
|
|
23
|
+
],
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build": "tsc -p tsconfig.json",
|
|
26
|
+
"type-check": "tsc -p tsconfig.json --noEmit",
|
|
27
|
+
"lint": "tsc -p tsconfig.json --noEmit",
|
|
28
|
+
"test": "npm run build && node --test dist/src/inbound-terminal-state.test.js dist/src/user-facing-errors.test.js dist/src/deliver-text.test.js dist/src/agent-context-types.test.js dist/src/block-streaming-config.test.js dist/src/per-message-fallback-notice.test.js dist/src/thinking-ws-progress.test.js dist/src/resource-file.test.js dist/src/turn-deliver-buffer.test.js dist/src/run-usage.test.js dist/src/ws-run-event-unmapped.test.js dist/src/send-service.test.js dist/src/send-file-tool.test.js dist/src/plan-tool-result.test.js dist/src/plan-blocked-notice.test.js dist/src/plan-store-access.test.js dist/src/plan-tool-middleware.test.js dist/src/plan-event-subscription.test.js dist/src/plan-ws-registry.test.js dist/src/plan-stat-event.test.js",
|
|
29
|
+
"install:prod": "npm install --omit=dev",
|
|
30
|
+
"prepublishOnly": "npm run build"
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@sinclair/typebox": "^0.32.0",
|
|
34
|
+
"@xgjktech/xg-openclaw-shared": "^0.2.0",
|
|
35
|
+
"adm-zip": "^0.6.0",
|
|
36
|
+
"axios": "^1.6.0",
|
|
37
|
+
"tar": "^7.5.22",
|
|
38
|
+
"ws": "^8.17.0",
|
|
39
|
+
"zod": "^3.22.0"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@types/node": "^22.19.0",
|
|
43
|
+
"@types/ws": "^8.5.10",
|
|
44
|
+
"openclaw": "^2026.6.10",
|
|
45
|
+
"typescript": "^5.3.0"
|
|
46
|
+
},
|
|
47
|
+
"peerDependencies": {
|
|
48
|
+
"openclaw": ">=2026.6.10"
|
|
49
|
+
},
|
|
50
|
+
"peerDependenciesMeta": {
|
|
51
|
+
"openclaw": {
|
|
52
|
+
"optional": true
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"openclaw": {
|
|
56
|
+
"extensions": [
|
|
57
|
+
"./dist/index.js"
|
|
58
|
+
],
|
|
59
|
+
"channels": [
|
|
60
|
+
"xg_cwork_im"
|
|
61
|
+
],
|
|
62
|
+
"installDependencies": false,
|
|
63
|
+
"channel": {
|
|
64
|
+
"id": "xg_cwork_im",
|
|
65
|
+
"label": "XG CWork IM",
|
|
66
|
+
"selectionLabel": "XG CWork IM (工作说说)",
|
|
67
|
+
"blurb": "工作说说 IM 机器人 Channel 插件,通过 WebSocket 长连接接收消息。",
|
|
68
|
+
"aliases": [
|
|
69
|
+
"xg_cwork_im",
|
|
70
|
+
"im"
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"install": {
|
|
74
|
+
"localPath": ".",
|
|
75
|
+
"defaultChoice": "local"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|