@xgjktech/xg_cwork_im 1.17.31 → 1.17.33

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 (47) hide show
  1. package/README.md +484 -484
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +19 -0
  4. package/dist/index.js.map +1 -1
  5. package/dist/src/action-run-event.d.ts +14 -2
  6. package/dist/src/action-run-event.d.ts.map +1 -1
  7. package/dist/src/action-run-event.js +33 -10
  8. package/dist/src/action-run-event.js.map +1 -1
  9. package/dist/src/action-run-event.test.js +39 -7
  10. package/dist/src/action-run-event.test.js.map +1 -1
  11. package/dist/src/build-project-prompt.test.js +18 -18
  12. package/dist/src/deliver-text.test.js +22 -22
  13. package/dist/src/gateway-session-queue.d.ts +6 -2
  14. package/dist/src/gateway-session-queue.d.ts.map +1 -1
  15. package/dist/src/gateway-session-queue.js +21 -78
  16. package/dist/src/gateway-session-queue.js.map +1 -1
  17. package/dist/src/modified-file-push-tracker.d.ts +24 -0
  18. package/dist/src/modified-file-push-tracker.d.ts.map +1 -0
  19. package/dist/src/modified-file-push-tracker.js +125 -0
  20. package/dist/src/modified-file-push-tracker.js.map +1 -0
  21. package/dist/src/plan-store-access.test.js +9 -9
  22. package/dist/src/progress-display.d.ts +77 -0
  23. package/dist/src/progress-display.d.ts.map +1 -0
  24. package/dist/src/progress-display.js +420 -0
  25. package/dist/src/progress-display.js.map +1 -0
  26. package/dist/src/send-file-event.d.ts +26 -0
  27. package/dist/src/send-file-event.d.ts.map +1 -0
  28. package/dist/src/send-file-event.js +33 -0
  29. package/dist/src/send-file-event.js.map +1 -0
  30. package/dist/src/send-file-event.test.d.ts +2 -0
  31. package/dist/src/send-file-event.test.d.ts.map +1 -0
  32. package/dist/src/send-file-event.test.js +86 -0
  33. package/dist/src/send-file-event.test.js.map +1 -0
  34. package/dist/src/send-file-tool.d.ts.map +1 -1
  35. package/dist/src/send-file-tool.js +9 -0
  36. package/dist/src/send-file-tool.js.map +1 -1
  37. package/dist/src/subagent-delivery-phase.d.ts +10 -0
  38. package/dist/src/subagent-delivery-phase.d.ts.map +1 -0
  39. package/dist/src/subagent-delivery-phase.js +4 -0
  40. package/dist/src/subagent-delivery-phase.js.map +1 -0
  41. package/dist/src/subagent-delivery-phase.test.d.ts +2 -0
  42. package/dist/src/subagent-delivery-phase.test.d.ts.map +1 -0
  43. package/dist/src/subagent-delivery-phase.test.js +12 -0
  44. package/dist/src/subagent-delivery-phase.test.js.map +1 -0
  45. package/dist/src/turn-deliver-buffer.test.js +25 -25
  46. package/openclaw.plugin.json +27 -27
  47. package/package.json +78 -78
package/package.json CHANGED
@@ -1,78 +1,78 @@
1
- {
2
- "name": "@xgjktech/xg_cwork_im",
3
- "version": "1.17.31",
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/account-reconciler.test.js 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/build-project-prompt.test.js dist/src/nas-volumes.test.js dist/src/block-streaming-config.test.js dist/src/channel-disabled-account.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/item-event-guard.test.js dist/src/inbound-model.test.js dist/src/auto-model-router.test.js dist/src/channel-config.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 dist/src/active-round-registry.test.js dist/src/interrupt-round.test.js dist/src/subagent-monitor.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.2",
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
- }
1
+ {
2
+ "name": "@xgjktech/xg_cwork_im",
3
+ "version": "1.17.33",
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/account-reconciler.test.js 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/build-project-prompt.test.js dist/src/nas-volumes.test.js dist/src/block-streaming-config.test.js dist/src/channel-disabled-account.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/item-event-guard.test.js dist/src/inbound-model.test.js dist/src/auto-model-router.test.js dist/src/channel-config.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 dist/src/active-round-registry.test.js dist/src/interrupt-round.test.js dist/src/subagent-monitor.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.2",
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
+ }