cclawd 1.0.6 → 1.0.8

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 (99) hide show
  1. package/dist/build-info.json +3 -3
  2. package/dist/plugin-sdk/active-listener-CN-tMEvN.js +35 -0
  3. package/dist/plugin-sdk/api-key-rotation-CimGYMBc.js +176 -0
  4. package/dist/plugin-sdk/audio-preflight-C-xXBoE2.js +51 -0
  5. package/dist/plugin-sdk/audio-transcription-runner-CTIHpebA.js +2173 -0
  6. package/dist/plugin-sdk/audit-membership-runtime-BFatB2LJ.js +58 -0
  7. package/dist/plugin-sdk/channel-activity-DO0FEzyj.js +95 -0
  8. package/dist/plugin-sdk/channel-web-Da-__nUF.js +2238 -0
  9. package/dist/plugin-sdk/commands-registry-6no2NNrY.js +1118 -0
  10. package/dist/plugin-sdk/compact.runtime-CCoclu5e.js +35 -0
  11. package/dist/plugin-sdk/compat.js +35 -35
  12. package/dist/plugin-sdk/config-B9ODwgpz.js +37426 -0
  13. package/dist/plugin-sdk/deliver-B1fFpKjV.js +1757 -0
  14. package/dist/plugin-sdk/deliver-runtime-DB-VRMe1.js +15 -0
  15. package/dist/plugin-sdk/deps-send-discord.runtime-DklqycYG.js +15 -0
  16. package/dist/plugin-sdk/deps-send-imessage.runtime-Chs8zeon.js +14 -0
  17. package/dist/plugin-sdk/deps-send-signal.runtime-clW9aSJP.js +13 -0
  18. package/dist/plugin-sdk/deps-send-slack.runtime-BUx0LYY1.js +13 -0
  19. package/dist/plugin-sdk/deps-send-telegram.runtime-LECSHgMG.js +16 -0
  20. package/dist/plugin-sdk/deps-send-whatsapp.runtime-D2d65fw0.js +40 -0
  21. package/dist/plugin-sdk/diagnostic-CxIvS-C2.js +315 -0
  22. package/dist/plugin-sdk/dispatch-BqlR4dPx.js +105863 -0
  23. package/dist/plugin-sdk/env-b9k1PHMI.js +34 -0
  24. package/dist/plugin-sdk/fetch-PoxzAANT.js +326 -0
  25. package/dist/plugin-sdk/fetch-guard-4UVSZ0uS.js +164 -0
  26. package/dist/plugin-sdk/image-Ch6M4tnJ.js +2420 -0
  27. package/dist/plugin-sdk/image-runtime-CSh2o5wY.js +8 -0
  28. package/dist/plugin-sdk/ir-CugsqGH8.js +1312 -0
  29. package/dist/plugin-sdk/local-roots-adnEg9zb.js +217 -0
  30. package/dist/plugin-sdk/logger-D6zRubj0.js +1164 -0
  31. package/dist/plugin-sdk/login-CYvkQ0At.js +54 -0
  32. package/dist/plugin-sdk/login-qr-ll4NtaT5.js +316 -0
  33. package/dist/plugin-sdk/manager-CHy8IclH.js +3959 -0
  34. package/dist/plugin-sdk/manager-runtime-C70EkEr7.js +11 -0
  35. package/dist/plugin-sdk/outbound-Wzs2iN7X.js +216 -0
  36. package/dist/plugin-sdk/outbound-attachment-khXJwucX.js +17 -0
  37. package/dist/plugin-sdk/paths-BtVqCdw4.js +3063 -0
  38. package/dist/plugin-sdk/pi-model-discovery-Dh4ziodY.js +131 -0
  39. package/dist/plugin-sdk/pi-model-discovery-runtime-b83Xe-HT.js +8 -0
  40. package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-C1z5CDBF.js +349 -0
  41. package/dist/plugin-sdk/proxy-fetch-CJEmoBxi.js +54 -0
  42. package/dist/plugin-sdk/pw-ai-Dj3Cvlzl.js +1990 -0
  43. package/dist/plugin-sdk/qmd-manager-egHUAseQ.js +1581 -0
  44. package/dist/plugin-sdk/resolve-outbound-target-BiICvIKs.js +38 -0
  45. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-DNApufzW.js +9 -0
  46. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-CBmtfIQ8.js +13 -0
  47. package/dist/plugin-sdk/send-CScblaI4.js +532 -0
  48. package/dist/plugin-sdk/send-CeHhnld6.js +407 -0
  49. package/dist/plugin-sdk/send-DP_c8JfR.js +3277 -0
  50. package/dist/plugin-sdk/send-Dc5fI6e8.js +495 -0
  51. package/dist/plugin-sdk/send-l-77_s1_.js +2507 -0
  52. package/dist/plugin-sdk/session-CkOKZaqa.js +166 -0
  53. package/dist/plugin-sdk/skill-commands-BohYCgkq.js +336 -0
  54. package/dist/plugin-sdk/slash-commands.runtime-DpLfVTM6.js +8 -0
  55. package/dist/plugin-sdk/slash-dispatch.runtime-CASMHwpm.js +35 -0
  56. package/dist/plugin-sdk/slash-skill-commands.runtime-D7rrJEci.js +9 -0
  57. package/dist/plugin-sdk/sqlite-CJE3X7Mv.js +1005 -0
  58. package/dist/plugin-sdk/subagent-registry-runtime-B1oo5bih.js +35 -0
  59. package/dist/plugin-sdk/tables-D5VgpTmm.js +53 -0
  60. package/dist/plugin-sdk/target-errors-C6zZ_OpA.js +191 -0
  61. package/dist/plugin-sdk/tokens-DUnJnpMS.js +50 -0
  62. package/dist/plugin-sdk/web-TfUM1nSi.js +39 -0
  63. package/dist/plugin-sdk/whatsapp-actions-DuWJ0j1r.js +71 -0
  64. package/extensions/cclawd-mfa-auth/README.md +118 -0
  65. package/extensions/cclawd-mfa-auth/index.ts +382 -0
  66. package/extensions/cclawd-mfa-auth/openclaw.plugin.json +34 -0
  67. package/extensions/cclawd-mfa-auth/package.json +27 -0
  68. package/extensions/cclawd-mfa-auth/src/auth-manager.ts +536 -0
  69. package/extensions/cclawd-mfa-auth/src/config.ts +82 -0
  70. package/extensions/cclawd-mfa-auth/src/dabby-client.ts +200 -0
  71. package/extensions/cclawd-mfa-auth/src/notification-service.ts +417 -0
  72. package/extensions/cclawd-mfa-auth/src/polling-manager.ts +232 -0
  73. package/extensions/cclawd-mfa-auth/src/providers/base.ts +25 -0
  74. package/extensions/cclawd-mfa-auth/src/providers/qr-code.ts +98 -0
  75. package/extensions/cclawd-mfa-auth/src/sensitive-detector.ts +159 -0
  76. package/extensions/cclawd-mfa-auth/src/session-resolver.ts +159 -0
  77. package/extensions/cclawd-mfa-auth/src/types.ts +156 -0
  78. package/extensions/mfa-auth/node_modules/.package-lock.json +21 -0
  79. package/extensions/mfa-auth/node_modules/ws/LICENSE +20 -0
  80. package/extensions/mfa-auth/node_modules/ws/README.md +548 -0
  81. package/extensions/mfa-auth/node_modules/ws/browser.js +8 -0
  82. package/extensions/mfa-auth/node_modules/ws/index.js +13 -0
  83. package/extensions/mfa-auth/node_modules/ws/lib/buffer-util.js +131 -0
  84. package/extensions/mfa-auth/node_modules/ws/lib/constants.js +19 -0
  85. package/extensions/mfa-auth/node_modules/ws/lib/event-target.js +292 -0
  86. package/extensions/mfa-auth/node_modules/ws/lib/extension.js +203 -0
  87. package/extensions/mfa-auth/node_modules/ws/lib/limiter.js +55 -0
  88. package/extensions/mfa-auth/node_modules/ws/lib/permessage-deflate.js +528 -0
  89. package/extensions/mfa-auth/node_modules/ws/lib/receiver.js +706 -0
  90. package/extensions/mfa-auth/node_modules/ws/lib/sender.js +602 -0
  91. package/extensions/mfa-auth/node_modules/ws/lib/stream.js +161 -0
  92. package/extensions/mfa-auth/node_modules/ws/lib/subprotocol.js +62 -0
  93. package/extensions/mfa-auth/node_modules/ws/lib/validation.js +152 -0
  94. package/extensions/mfa-auth/node_modules/ws/lib/websocket-server.js +554 -0
  95. package/extensions/mfa-auth/node_modules/ws/lib/websocket.js +1393 -0
  96. package/extensions/mfa-auth/node_modules/ws/package.json +69 -0
  97. package/extensions/mfa-auth/node_modules/ws/wrapper.mjs +8 -0
  98. package/extensions/mfa-auth/package-lock.json +23 -1
  99. package/package.json +453 -453
@@ -0,0 +1,69 @@
1
+ {
2
+ "name": "ws",
3
+ "version": "8.19.0",
4
+ "description": "Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js",
5
+ "keywords": [
6
+ "HyBi",
7
+ "Push",
8
+ "RFC-6455",
9
+ "WebSocket",
10
+ "WebSockets",
11
+ "real-time"
12
+ ],
13
+ "homepage": "https://github.com/websockets/ws",
14
+ "bugs": "https://github.com/websockets/ws/issues",
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/websockets/ws.git"
18
+ },
19
+ "author": "Einar Otto Stangvik <einaros@gmail.com> (http://2x.io)",
20
+ "license": "MIT",
21
+ "main": "index.js",
22
+ "exports": {
23
+ ".": {
24
+ "browser": "./browser.js",
25
+ "import": "./wrapper.mjs",
26
+ "require": "./index.js"
27
+ },
28
+ "./package.json": "./package.json"
29
+ },
30
+ "browser": "browser.js",
31
+ "engines": {
32
+ "node": ">=10.0.0"
33
+ },
34
+ "files": [
35
+ "browser.js",
36
+ "index.js",
37
+ "lib/*.js",
38
+ "wrapper.mjs"
39
+ ],
40
+ "scripts": {
41
+ "test": "nyc --reporter=lcov --reporter=text mocha --throw-deprecation test/*.test.js",
42
+ "integration": "mocha --throw-deprecation test/*.integration.js",
43
+ "lint": "eslint . && prettier --check --ignore-path .gitignore \"**/*.{json,md,yaml,yml}\""
44
+ },
45
+ "peerDependencies": {
46
+ "bufferutil": "^4.0.1",
47
+ "utf-8-validate": ">=5.0.2"
48
+ },
49
+ "peerDependenciesMeta": {
50
+ "bufferutil": {
51
+ "optional": true
52
+ },
53
+ "utf-8-validate": {
54
+ "optional": true
55
+ }
56
+ },
57
+ "devDependencies": {
58
+ "benchmark": "^2.1.4",
59
+ "bufferutil": "^4.0.1",
60
+ "eslint": "^9.0.0",
61
+ "eslint-config-prettier": "^10.0.1",
62
+ "eslint-plugin-prettier": "^5.0.0",
63
+ "globals": "^16.0.0",
64
+ "mocha": "^8.4.0",
65
+ "nyc": "^15.0.0",
66
+ "prettier": "^3.0.0",
67
+ "utf-8-validate": "^6.0.0"
68
+ }
69
+ }
@@ -0,0 +1,8 @@
1
+ import createWebSocketStream from './lib/stream.js';
2
+ import Receiver from './lib/receiver.js';
3
+ import Sender from './lib/sender.js';
4
+ import WebSocket from './lib/websocket.js';
5
+ import WebSocketServer from './lib/websocket-server.js';
6
+
7
+ export { createWebSocketStream, Receiver, Sender, WebSocket, WebSocketServer };
8
+ export default WebSocket;
@@ -10,7 +10,8 @@
10
10
  "dependencies": {
11
11
  "@larksuiteoapi/node-sdk": "^1.59.0",
12
12
  "qrcode-terminal": "^0.12.0",
13
- "tsx": "^4.21.0"
13
+ "tsx": "^4.21.0",
14
+ "ws": "^8.18.0"
14
15
  },
15
16
  "devDependencies": {
16
17
  "@types/node": "^20.0.0"
@@ -110,6 +111,27 @@
110
111
  "node_modules/tsx": {
111
112
  "resolved": "../../node_modules/.pnpm/tsx@4.21.0/node_modules/tsx",
112
113
  "link": true
114
+ },
115
+ "node_modules/ws": {
116
+ "version": "8.19.0",
117
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.19.0.tgz",
118
+ "integrity": "sha512-blAT2mjOEIi0ZzruJfIhb3nps74PRWTCz1IjglWEEpQl5XS/UNama6u2/rjFkDDouqr4L67ry+1aGIALViWjDg==",
119
+ "license": "MIT",
120
+ "engines": {
121
+ "node": ">=10.0.0"
122
+ },
123
+ "peerDependencies": {
124
+ "bufferutil": "^4.0.1",
125
+ "utf-8-validate": ">=5.0.2"
126
+ },
127
+ "peerDependenciesMeta": {
128
+ "bufferutil": {
129
+ "optional": true
130
+ },
131
+ "utf-8-validate": {
132
+ "optional": true
133
+ }
134
+ }
113
135
  }
114
136
  }
115
137
  }