cclawd 1.0.1 → 1.0.3

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 (66) hide show
  1. package/dist/build-info.json +3 -3
  2. package/dist/plugin-sdk/compat.js +35 -35
  3. package/extensions/mfa-auth/index.ts +17 -7
  4. package/extensions/mfa-auth/src/notification-service.ts +7 -3
  5. package/package.json +458 -458
  6. package/dist/plugin-sdk/active-listener-CN-tMEvN.js +0 -35
  7. package/dist/plugin-sdk/api-key-rotation-CimGYMBc.js +0 -176
  8. package/dist/plugin-sdk/audio-preflight-C-xXBoE2.js +0 -51
  9. package/dist/plugin-sdk/audio-transcription-runner-CTIHpebA.js +0 -2173
  10. package/dist/plugin-sdk/audit-membership-runtime-BFatB2LJ.js +0 -58
  11. package/dist/plugin-sdk/channel-activity-DO0FEzyj.js +0 -95
  12. package/dist/plugin-sdk/channel-web-Da-__nUF.js +0 -2238
  13. package/dist/plugin-sdk/commands-registry-6no2NNrY.js +0 -1118
  14. package/dist/plugin-sdk/compact.runtime-CCoclu5e.js +0 -35
  15. package/dist/plugin-sdk/config-B9ODwgpz.js +0 -37426
  16. package/dist/plugin-sdk/deliver-B1fFpKjV.js +0 -1757
  17. package/dist/plugin-sdk/deliver-runtime-DB-VRMe1.js +0 -15
  18. package/dist/plugin-sdk/deps-send-discord.runtime-DklqycYG.js +0 -15
  19. package/dist/plugin-sdk/deps-send-imessage.runtime-Chs8zeon.js +0 -14
  20. package/dist/plugin-sdk/deps-send-signal.runtime-clW9aSJP.js +0 -13
  21. package/dist/plugin-sdk/deps-send-slack.runtime-BUx0LYY1.js +0 -13
  22. package/dist/plugin-sdk/deps-send-telegram.runtime-LECSHgMG.js +0 -16
  23. package/dist/plugin-sdk/deps-send-whatsapp.runtime-D2d65fw0.js +0 -40
  24. package/dist/plugin-sdk/diagnostic-CxIvS-C2.js +0 -315
  25. package/dist/plugin-sdk/dispatch-BqlR4dPx.js +0 -105863
  26. package/dist/plugin-sdk/env-b9k1PHMI.js +0 -34
  27. package/dist/plugin-sdk/fetch-PoxzAANT.js +0 -326
  28. package/dist/plugin-sdk/fetch-guard-4UVSZ0uS.js +0 -164
  29. package/dist/plugin-sdk/image-Ch6M4tnJ.js +0 -2420
  30. package/dist/plugin-sdk/image-runtime-CSh2o5wY.js +0 -8
  31. package/dist/plugin-sdk/ir-CugsqGH8.js +0 -1312
  32. package/dist/plugin-sdk/local-roots-adnEg9zb.js +0 -217
  33. package/dist/plugin-sdk/logger-D6zRubj0.js +0 -1164
  34. package/dist/plugin-sdk/login-CYvkQ0At.js +0 -54
  35. package/dist/plugin-sdk/login-qr-ll4NtaT5.js +0 -316
  36. package/dist/plugin-sdk/manager-CHy8IclH.js +0 -3959
  37. package/dist/plugin-sdk/manager-runtime-C70EkEr7.js +0 -11
  38. package/dist/plugin-sdk/outbound-Wzs2iN7X.js +0 -216
  39. package/dist/plugin-sdk/outbound-attachment-khXJwucX.js +0 -17
  40. package/dist/plugin-sdk/paths-BtVqCdw4.js +0 -3063
  41. package/dist/plugin-sdk/pi-model-discovery-Dh4ziodY.js +0 -131
  42. package/dist/plugin-sdk/pi-model-discovery-runtime-b83Xe-HT.js +0 -8
  43. package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-C1z5CDBF.js +0 -349
  44. package/dist/plugin-sdk/proxy-fetch-CJEmoBxi.js +0 -54
  45. package/dist/plugin-sdk/pw-ai-Dj3Cvlzl.js +0 -1990
  46. package/dist/plugin-sdk/qmd-manager-egHUAseQ.js +0 -1581
  47. package/dist/plugin-sdk/resolve-outbound-target-BiICvIKs.js +0 -38
  48. package/dist/plugin-sdk/runtime-whatsapp-login.runtime-DNApufzW.js +0 -9
  49. package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-CBmtfIQ8.js +0 -13
  50. package/dist/plugin-sdk/send-CScblaI4.js +0 -532
  51. package/dist/plugin-sdk/send-CeHhnld6.js +0 -407
  52. package/dist/plugin-sdk/send-DP_c8JfR.js +0 -3277
  53. package/dist/plugin-sdk/send-Dc5fI6e8.js +0 -495
  54. package/dist/plugin-sdk/send-l-77_s1_.js +0 -2507
  55. package/dist/plugin-sdk/session-CkOKZaqa.js +0 -166
  56. package/dist/plugin-sdk/skill-commands-BohYCgkq.js +0 -336
  57. package/dist/plugin-sdk/slash-commands.runtime-DpLfVTM6.js +0 -8
  58. package/dist/plugin-sdk/slash-dispatch.runtime-CASMHwpm.js +0 -35
  59. package/dist/plugin-sdk/slash-skill-commands.runtime-D7rrJEci.js +0 -9
  60. package/dist/plugin-sdk/sqlite-CJE3X7Mv.js +0 -1005
  61. package/dist/plugin-sdk/subagent-registry-runtime-B1oo5bih.js +0 -35
  62. package/dist/plugin-sdk/tables-D5VgpTmm.js +0 -53
  63. package/dist/plugin-sdk/target-errors-C6zZ_OpA.js +0 -191
  64. package/dist/plugin-sdk/tokens-DUnJnpMS.js +0 -50
  65. package/dist/plugin-sdk/web-TfUM1nSi.js +0 -39
  66. package/dist/plugin-sdk/whatsapp-actions-DuWJ0j1r.js +0 -71
package/package.json CHANGED
@@ -1,458 +1,458 @@
1
- {
2
- "name": "cclawd",
3
- "version": "1.0.1",
4
- "description": "Multi-channel AI gateway with extensible messaging integrations",
5
- "keywords": [],
6
- "homepage": "https://github.com/openclaw/openclaw#readme",
7
- "bugs": {
8
- "url": "https://github.com/openclaw/openclaw/issues"
9
- },
10
- "license": "MIT",
11
- "author": "",
12
- "repository": {
13
- "type": "git",
14
- "url": "git+https://github.com/openclaw/openclaw.git"
15
- },
16
- "bin": {
17
- "openclaw": "openclaw.mjs"
18
- },
19
- "directories": {
20
- "doc": "docs",
21
- "test": "test"
22
- },
23
- "files": [
24
- "CHANGELOG.md",
25
- "LICENSE",
26
- "openclaw.mjs",
27
- "README-header.png",
28
- "README.md",
29
- "assets/",
30
- "dist/",
31
- "docs/",
32
- "extensions/",
33
- "skills/"
34
- ],
35
- "type": "module",
36
- "main": "dist/index.js",
37
- "exports": {
38
- ".": "./dist/index.js",
39
- "./plugin-sdk": {
40
- "types": "./dist/plugin-sdk/index.d.ts",
41
- "default": "./dist/plugin-sdk/index.js"
42
- },
43
- "./plugin-sdk/core": {
44
- "types": "./dist/plugin-sdk/core.d.ts",
45
- "default": "./dist/plugin-sdk/core.js"
46
- },
47
- "./plugin-sdk/compat": {
48
- "types": "./dist/plugin-sdk/compat.d.ts",
49
- "default": "./dist/plugin-sdk/compat.js"
50
- },
51
- "./plugin-sdk/telegram": {
52
- "types": "./dist/plugin-sdk/telegram.d.ts",
53
- "default": "./dist/plugin-sdk/telegram.js"
54
- },
55
- "./plugin-sdk/discord": {
56
- "types": "./dist/plugin-sdk/discord.d.ts",
57
- "default": "./dist/plugin-sdk/discord.js"
58
- },
59
- "./plugin-sdk/slack": {
60
- "types": "./dist/plugin-sdk/slack.d.ts",
61
- "default": "./dist/plugin-sdk/slack.js"
62
- },
63
- "./plugin-sdk/signal": {
64
- "types": "./dist/plugin-sdk/signal.d.ts",
65
- "default": "./dist/plugin-sdk/signal.js"
66
- },
67
- "./plugin-sdk/imessage": {
68
- "types": "./dist/plugin-sdk/imessage.d.ts",
69
- "default": "./dist/plugin-sdk/imessage.js"
70
- },
71
- "./plugin-sdk/whatsapp": {
72
- "types": "./dist/plugin-sdk/whatsapp.d.ts",
73
- "default": "./dist/plugin-sdk/whatsapp.js"
74
- },
75
- "./plugin-sdk/line": {
76
- "types": "./dist/plugin-sdk/line.d.ts",
77
- "default": "./dist/plugin-sdk/line.js"
78
- },
79
- "./plugin-sdk/msteams": {
80
- "types": "./dist/plugin-sdk/msteams.d.ts",
81
- "default": "./dist/plugin-sdk/msteams.js"
82
- },
83
- "./plugin-sdk/acpx": {
84
- "types": "./dist/plugin-sdk/acpx.d.ts",
85
- "default": "./dist/plugin-sdk/acpx.js"
86
- },
87
- "./plugin-sdk/bluebubbles": {
88
- "types": "./dist/plugin-sdk/bluebubbles.d.ts",
89
- "default": "./dist/plugin-sdk/bluebubbles.js"
90
- },
91
- "./plugin-sdk/copilot-proxy": {
92
- "types": "./dist/plugin-sdk/copilot-proxy.d.ts",
93
- "default": "./dist/plugin-sdk/copilot-proxy.js"
94
- },
95
- "./plugin-sdk/device-pair": {
96
- "types": "./dist/plugin-sdk/device-pair.d.ts",
97
- "default": "./dist/plugin-sdk/device-pair.js"
98
- },
99
- "./plugin-sdk/diagnostics-otel": {
100
- "types": "./dist/plugin-sdk/diagnostics-otel.d.ts",
101
- "default": "./dist/plugin-sdk/diagnostics-otel.js"
102
- },
103
- "./plugin-sdk/diffs": {
104
- "types": "./dist/plugin-sdk/diffs.d.ts",
105
- "default": "./dist/plugin-sdk/diffs.js"
106
- },
107
- "./plugin-sdk/feishu": {
108
- "types": "./dist/plugin-sdk/feishu.d.ts",
109
- "default": "./dist/plugin-sdk/feishu.js"
110
- },
111
- "./plugin-sdk/google-gemini-cli-auth": {
112
- "types": "./dist/plugin-sdk/google-gemini-cli-auth.d.ts",
113
- "default": "./dist/plugin-sdk/google-gemini-cli-auth.js"
114
- },
115
- "./plugin-sdk/googlechat": {
116
- "types": "./dist/plugin-sdk/googlechat.d.ts",
117
- "default": "./dist/plugin-sdk/googlechat.js"
118
- },
119
- "./plugin-sdk/irc": {
120
- "types": "./dist/plugin-sdk/irc.d.ts",
121
- "default": "./dist/plugin-sdk/irc.js"
122
- },
123
- "./plugin-sdk/llm-task": {
124
- "types": "./dist/plugin-sdk/llm-task.d.ts",
125
- "default": "./dist/plugin-sdk/llm-task.js"
126
- },
127
- "./plugin-sdk/lobster": {
128
- "types": "./dist/plugin-sdk/lobster.d.ts",
129
- "default": "./dist/plugin-sdk/lobster.js"
130
- },
131
- "./plugin-sdk/matrix": {
132
- "types": "./dist/plugin-sdk/matrix.d.ts",
133
- "default": "./dist/plugin-sdk/matrix.js"
134
- },
135
- "./plugin-sdk/mattermost": {
136
- "types": "./dist/plugin-sdk/mattermost.d.ts",
137
- "default": "./dist/plugin-sdk/mattermost.js"
138
- },
139
- "./plugin-sdk/memory-core": {
140
- "types": "./dist/plugin-sdk/memory-core.d.ts",
141
- "default": "./dist/plugin-sdk/memory-core.js"
142
- },
143
- "./plugin-sdk/memory-lancedb": {
144
- "types": "./dist/plugin-sdk/memory-lancedb.d.ts",
145
- "default": "./dist/plugin-sdk/memory-lancedb.js"
146
- },
147
- "./plugin-sdk/minimax-portal-auth": {
148
- "types": "./dist/plugin-sdk/minimax-portal-auth.d.ts",
149
- "default": "./dist/plugin-sdk/minimax-portal-auth.js"
150
- },
151
- "./plugin-sdk/nextcloud-talk": {
152
- "types": "./dist/plugin-sdk/nextcloud-talk.d.ts",
153
- "default": "./dist/plugin-sdk/nextcloud-talk.js"
154
- },
155
- "./plugin-sdk/nostr": {
156
- "types": "./dist/plugin-sdk/nostr.d.ts",
157
- "default": "./dist/plugin-sdk/nostr.js"
158
- },
159
- "./plugin-sdk/open-prose": {
160
- "types": "./dist/plugin-sdk/open-prose.d.ts",
161
- "default": "./dist/plugin-sdk/open-prose.js"
162
- },
163
- "./plugin-sdk/phone-control": {
164
- "types": "./dist/plugin-sdk/phone-control.d.ts",
165
- "default": "./dist/plugin-sdk/phone-control.js"
166
- },
167
- "./plugin-sdk/qwen-portal-auth": {
168
- "types": "./dist/plugin-sdk/qwen-portal-auth.d.ts",
169
- "default": "./dist/plugin-sdk/qwen-portal-auth.js"
170
- },
171
- "./plugin-sdk/synology-chat": {
172
- "types": "./dist/plugin-sdk/synology-chat.d.ts",
173
- "default": "./dist/plugin-sdk/synology-chat.js"
174
- },
175
- "./plugin-sdk/talk-voice": {
176
- "types": "./dist/plugin-sdk/talk-voice.d.ts",
177
- "default": "./dist/plugin-sdk/talk-voice.js"
178
- },
179
- "./plugin-sdk/test-utils": {
180
- "types": "./dist/plugin-sdk/test-utils.d.ts",
181
- "default": "./dist/plugin-sdk/test-utils.js"
182
- },
183
- "./plugin-sdk/thread-ownership": {
184
- "types": "./dist/plugin-sdk/thread-ownership.d.ts",
185
- "default": "./dist/plugin-sdk/thread-ownership.js"
186
- },
187
- "./plugin-sdk/tlon": {
188
- "types": "./dist/plugin-sdk/tlon.d.ts",
189
- "default": "./dist/plugin-sdk/tlon.js"
190
- },
191
- "./plugin-sdk/twitch": {
192
- "types": "./dist/plugin-sdk/twitch.d.ts",
193
- "default": "./dist/plugin-sdk/twitch.js"
194
- },
195
- "./plugin-sdk/voice-call": {
196
- "types": "./dist/plugin-sdk/voice-call.d.ts",
197
- "default": "./dist/plugin-sdk/voice-call.js"
198
- },
199
- "./plugin-sdk/zalo": {
200
- "types": "./dist/plugin-sdk/zalo.d.ts",
201
- "default": "./dist/plugin-sdk/zalo.js"
202
- },
203
- "./plugin-sdk/zalouser": {
204
- "types": "./dist/plugin-sdk/zalouser.d.ts",
205
- "default": "./dist/plugin-sdk/zalouser.js"
206
- },
207
- "./plugin-sdk/account-id": {
208
- "types": "./dist/plugin-sdk/account-id.d.ts",
209
- "default": "./dist/plugin-sdk/account-id.js"
210
- },
211
- "./plugin-sdk/keyed-async-queue": {
212
- "types": "./dist/plugin-sdk/keyed-async-queue.d.ts",
213
- "default": "./dist/plugin-sdk/keyed-async-queue.js"
214
- },
215
- "./cli-entry": "./openclaw.mjs"
216
- },
217
- "scripts": {
218
- "android:assemble": "cd apps/android && ./gradlew :app:assembleDebug",
219
- "android:format": "cd apps/android && ./gradlew :app:ktlintFormat :benchmark:ktlintFormat",
220
- "android:install": "cd apps/android && ./gradlew :app:installDebug",
221
- "android:lint": "cd apps/android && ./gradlew :app:ktlintCheck :benchmark:ktlintCheck",
222
- "android:lint:android": "cd apps/android && ./gradlew :app:lintDebug",
223
- "android:run": "cd apps/android && ./gradlew :app:installDebug && adb shell am start -n ai.openclaw.app/.MainActivity",
224
- "android:test": "cd apps/android && ./gradlew :app:testDebugUnitTest",
225
- "android:test:integration": "OPENCLAW_LIVE_TEST=1 OPENCLAW_LIVE_ANDROID_NODE=1 vitest run --config vitest.live.config.ts src/gateway/android-node.capabilities.live.test.ts",
226
- "build": "pnpm canvas:a2ui:bundle && node scripts/tsdown-build.mjs && node scripts/copy-plugin-sdk-root-alias.mjs && pnpm build:plugin-sdk:dts && node --import tsx scripts/write-plugin-sdk-entry-dts.ts && node --import tsx scripts/canvas-a2ui-copy.ts && node --import tsx scripts/copy-hook-metadata.ts && node --import tsx scripts/copy-export-html-templates.ts && node --import tsx scripts/write-build-info.ts && node --import tsx scripts/write-cli-startup-metadata.ts && node --import tsx scripts/write-cli-compat.ts",
227
- "build:docker": "node scripts/tsdown-build.mjs && node scripts/copy-plugin-sdk-root-alias.mjs && pnpm build:plugin-sdk:dts && node --import tsx scripts/write-plugin-sdk-entry-dts.ts && node --import tsx scripts/canvas-a2ui-copy.ts && node --import tsx scripts/copy-hook-metadata.ts && node --import tsx scripts/copy-export-html-templates.ts && node --import tsx scripts/write-build-info.ts && node --import tsx scripts/write-cli-startup-metadata.ts && node --import tsx scripts/write-cli-compat.ts",
228
- "build:no-a2ui": "node scripts/tsdown-build.mjs && node scripts/copy-plugin-sdk-root-alias.mjs && pnpm build:plugin-sdk:dts && node --import tsx scripts/write-plugin-sdk-entry-dts.ts && node --import tsx scripts/copy-hook-metadata.ts && node --import tsx scripts/copy-export-html-templates.ts && node --import tsx scripts/write-build-info.ts && node --import tsx scripts/write-cli-startup-metadata.ts && node --import tsx scripts/write-cli-compat.ts",
229
- "build:plugin-sdk:dts": "tsc -p tsconfig.plugin-sdk.dts.json",
230
- "build:strict-smoke": "pnpm canvas:a2ui:bundle && node scripts/tsdown-build.mjs && node scripts/copy-plugin-sdk-root-alias.mjs && pnpm build:plugin-sdk:dts",
231
- "canvas:a2ui:bundle": "bash scripts/bundle-a2ui.sh",
232
- "check": "pnpm check:host-env-policy:swift && pnpm format:check && pnpm tsgo && pnpm lint && pnpm lint:tmp:no-random-messaging && pnpm lint:tmp:channel-agnostic-boundaries && pnpm lint:tmp:no-raw-channel-fetch && pnpm lint:agent:ingress-owner && pnpm lint:plugins:no-register-http-handler && pnpm lint:plugins:no-monolithic-plugin-sdk-entry-imports && pnpm lint:webhook:no-low-level-body-read && pnpm lint:auth:no-pairing-store-group && pnpm lint:auth:pairing-account-scope",
233
- "check:docs": "pnpm format:docs:check && pnpm lint:docs && pnpm docs:check-links",
234
- "check:host-env-policy:swift": "node scripts/generate-host-env-security-policy-swift.mjs --check",
235
- "check:loc": "node --import tsx scripts/check-ts-max-loc.ts --max 500",
236
- "deadcode:ci": "pnpm deadcode:report:ci:knip",
237
- "deadcode:knip": "pnpm dlx knip --config knip.config.ts --isolate-workspaces --production --no-progress --reporter compact --files --dependencies",
238
- "deadcode:report": "pnpm deadcode:knip; pnpm deadcode:ts-prune; pnpm deadcode:ts-unused",
239
- "deadcode:report:ci:knip": "mkdir -p .artifacts/deadcode && pnpm deadcode:knip > .artifacts/deadcode/knip.txt 2>&1 || true",
240
- "deadcode:report:ci:ts-prune": "mkdir -p .artifacts/deadcode && pnpm deadcode:ts-prune > .artifacts/deadcode/ts-prune.txt 2>&1 || true",
241
- "deadcode:report:ci:ts-unused": "mkdir -p .artifacts/deadcode && pnpm deadcode:ts-unused > .artifacts/deadcode/ts-unused-exports.txt 2>&1 || true",
242
- "deadcode:ts-prune": "pnpm dlx ts-prune src extensions scripts",
243
- "deadcode:ts-unused": "pnpm dlx ts-unused-exports tsconfig.json --ignoreTestFiles --exitWithCount",
244
- "dev": "node scripts/run-node.mjs",
245
- "docs:bin": "node scripts/build-docs-list.mjs",
246
- "docs:check-links": "node scripts/docs-link-audit.mjs",
247
- "docs:dev": "cd docs && mint dev",
248
- "docs:list": "node scripts/docs-list.js",
249
- "docs:spellcheck": "bash scripts/docs-spellcheck.sh",
250
- "docs:spellcheck:fix": "bash scripts/docs-spellcheck.sh --write",
251
- "dup:check": "jscpd src extensions test scripts --format typescript,javascript --pattern \"**/*.{ts,tsx,js,mjs,cjs}\" --gitignore --noSymlinks --ignore \"**/node_modules/**,**/dist/**,**/.git/**,**/coverage/**,**/build/**,**/.build/**,**/.artifacts/**\" --min-lines 12 --min-tokens 80 --reporters console",
252
- "dup:check:json": "jscpd src extensions test scripts --format typescript,javascript --pattern \"**/*.{ts,tsx,js,mjs,cjs}\" --gitignore --noSymlinks --ignore \"**/node_modules/**,**/dist/**,**/.git/**,**/coverage/**,**/build/**,**/.build/**,**/.artifacts/**\" --min-lines 12 --min-tokens 80 --reporters json --output .artifacts/jscpd",
253
- "format": "oxfmt --write",
254
- "format:all": "pnpm format && pnpm format:swift",
255
- "format:check": "oxfmt --check",
256
- "format:diff": "oxfmt --write && git --no-pager diff",
257
- "format:docs": "git ls-files 'docs/**/*.md' 'docs/**/*.mdx' 'README.md' | xargs oxfmt --write",
258
- "format:docs:check": "git ls-files 'docs/**/*.md' 'docs/**/*.mdx' 'README.md' | xargs oxfmt --check",
259
- "format:fix": "oxfmt --write",
260
- "format:swift": "swiftformat --lint --config .swiftformat apps/macos/Sources apps/ios/Sources apps/shared/OpenClawKit/Sources",
261
- "gateway:dev": "OPENCLAW_SKIP_CHANNELS=1 CLAWDBOT_SKIP_CHANNELS=1 node scripts/run-node.mjs --dev gateway",
262
- "gateway:dev:reset": "OPENCLAW_SKIP_CHANNELS=1 CLAWDBOT_SKIP_CHANNELS=1 node scripts/run-node.mjs --dev gateway --reset",
263
- "gateway:watch": "node scripts/watch-node.mjs gateway --force",
264
- "gen:host-env-policy:swift": "node scripts/generate-host-env-security-policy-swift.mjs --write",
265
- "ghsa:patch": "node scripts/ghsa-patch.mjs",
266
- "ios:build": "bash -lc './scripts/ios-configure-signing.sh && cd apps/ios && xcodegen generate && xcodebuild -project OpenClaw.xcodeproj -scheme OpenClaw -destination \"${IOS_DEST:-platform=iOS Simulator,name=iPhone 17}\" -configuration Debug build'",
267
- "ios:gen": "bash -lc './scripts/ios-configure-signing.sh && cd apps/ios && xcodegen generate'",
268
- "ios:open": "bash -lc './scripts/ios-configure-signing.sh && cd apps/ios && xcodegen generate && open OpenClaw.xcodeproj'",
269
- "ios:run": "bash -lc './scripts/ios-configure-signing.sh && cd apps/ios && xcodegen generate && xcodebuild -project OpenClaw.xcodeproj -scheme OpenClaw -destination \"${IOS_DEST:-platform=iOS Simulator,name=iPhone 17}\" -configuration Debug build && xcrun simctl boot \"${IOS_SIM:-iPhone 17}\" || true && xcrun simctl launch booted ai.openclaw.ios'",
270
- "lint": "oxlint --type-aware",
271
- "lint:agent:ingress-owner": "node scripts/check-ingress-agent-owner-context.mjs",
272
- "lint:all": "pnpm lint && pnpm lint:swift",
273
- "lint:auth:no-pairing-store-group": "node scripts/check-no-pairing-store-group-auth.mjs",
274
- "lint:auth:pairing-account-scope": "node scripts/check-pairing-account-scope.mjs",
275
- "lint:docs": "pnpm dlx markdownlint-cli2",
276
- "lint:docs:fix": "pnpm dlx markdownlint-cli2 --fix",
277
- "lint:fix": "oxlint --type-aware --fix && pnpm format",
278
- "lint:plugins:no-monolithic-plugin-sdk-entry-imports": "node --import tsx scripts/check-no-monolithic-plugin-sdk-entry-imports.ts",
279
- "lint:plugins:no-register-http-handler": "node scripts/check-no-register-http-handler.mjs",
280
- "lint:swift": "swiftlint lint --config .swiftlint.yml && (cd apps/ios && swiftlint lint --config .swiftlint.yml)",
281
- "lint:tmp:channel-agnostic-boundaries": "node scripts/check-channel-agnostic-boundaries.mjs",
282
- "lint:tmp:no-random-messaging": "node scripts/check-no-random-messaging-tmp.mjs",
283
- "lint:tmp:no-raw-channel-fetch": "node scripts/check-no-raw-channel-fetch.mjs",
284
- "lint:ui:no-raw-window-open": "node scripts/check-no-raw-window-open.mjs",
285
- "lint:webhook:no-low-level-body-read": "node scripts/check-webhook-auth-body-order.mjs",
286
- "mac:open": "open dist/OpenClaw.app",
287
- "mac:package": "bash scripts/package-mac-app.sh",
288
- "mac:restart": "bash scripts/restart-mac.sh",
289
- "moltbot:rpc": "node scripts/run-node.mjs agent --mode rpc --json",
290
- "openclaw": "node scripts/run-node.mjs",
291
- "openclaw:rpc": "node scripts/run-node.mjs agent --mode rpc --json",
292
- "plugins:sync": "node --import tsx scripts/sync-plugin-versions.ts",
293
- "prepack": "pnpm build:no-a2ui && pnpm ui:build",
294
- "prepare": "command -v git >/dev/null 2>&1 && git rev-parse --is-inside-work-tree >/dev/null 2>&1 && git config core.hooksPath git-hooks || exit 0",
295
- "protocol:check": "pnpm protocol:gen && pnpm protocol:gen:swift && git diff --exit-code -- dist/protocol.schema.json apps/macos/Sources/OpenClawProtocol/GatewayModels.swift",
296
- "protocol:gen": "node --import tsx scripts/protocol-gen.ts",
297
- "protocol:gen:swift": "node --import tsx scripts/protocol-gen-swift.ts",
298
- "release:check": "node --import tsx scripts/release-check.ts",
299
- "start": "node scripts/run-node.mjs",
300
- "test": "node scripts/test-parallel.mjs",
301
- "test:all": "pnpm lint && pnpm build && pnpm test && pnpm test:e2e && pnpm test:live && pnpm test:docker:all",
302
- "test:channels": "vitest run --config vitest.channels.config.ts",
303
- "test:coverage": "vitest run --config vitest.unit.config.ts --coverage",
304
- "test:docker:all": "pnpm test:docker:live-models && pnpm test:docker:live-gateway && pnpm test:docker:onboard && pnpm test:docker:gateway-network && pnpm test:docker:qr && pnpm test:docker:doctor-switch && pnpm test:docker:plugins && pnpm test:docker:cleanup",
305
- "test:docker:cleanup": "bash scripts/test-cleanup-docker.sh",
306
- "test:docker:doctor-switch": "bash scripts/e2e/doctor-install-switch-docker.sh",
307
- "test:docker:gateway-network": "bash scripts/e2e/gateway-network-docker.sh",
308
- "test:docker:live-gateway": "bash scripts/test-live-gateway-models-docker.sh",
309
- "test:docker:live-models": "bash scripts/test-live-models-docker.sh",
310
- "test:docker:onboard": "bash scripts/e2e/onboard-docker.sh",
311
- "test:docker:plugins": "bash scripts/e2e/plugins-docker.sh",
312
- "test:docker:qr": "bash scripts/e2e/qr-import-docker.sh",
313
- "test:e2e": "vitest run --config vitest.e2e.config.ts",
314
- "test:extensions": "vitest run --config vitest.extensions.config.ts",
315
- "test:fast": "vitest run --config vitest.unit.config.ts",
316
- "test:force": "node --import tsx scripts/test-force.ts",
317
- "test:gateway": "vitest run --config vitest.gateway.config.ts --pool=forks",
318
- "test:install:e2e": "bash scripts/test-install-sh-e2e-docker.sh",
319
- "test:install:e2e:anthropic": "OPENCLAW_E2E_MODELS=anthropic CLAWDBOT_E2E_MODELS=anthropic bash scripts/test-install-sh-e2e-docker.sh",
320
- "test:install:e2e:openai": "OPENCLAW_E2E_MODELS=openai CLAWDBOT_E2E_MODELS=openai bash scripts/test-install-sh-e2e-docker.sh",
321
- "test:install:smoke": "bash scripts/test-install-sh-docker.sh",
322
- "test:live": "OPENCLAW_LIVE_TEST=1 CLAWDBOT_LIVE_TEST=1 vitest run --config vitest.live.config.ts",
323
- "test:macmini": "OPENCLAW_TEST_VM_FORKS=0 OPENCLAW_TEST_PROFILE=serial node scripts/test-parallel.mjs",
324
- "test:perf:budget": "node scripts/test-perf-budget.mjs",
325
- "test:perf:hotspots": "node scripts/test-hotspots.mjs",
326
- "test:sectriage": "pnpm exec vitest run --config vitest.gateway.config.ts && vitest run --config vitest.unit.config.ts --exclude src/daemon/launchd.integration.test.ts --exclude src/process/exec.test.ts",
327
- "test:ui": "pnpm lint:ui:no-raw-window-open && pnpm --dir ui test",
328
- "test:voicecall:closedloop": "vitest run extensions/voice-call/src/manager.test.ts extensions/voice-call/src/media-stream.test.ts src/plugins/voice-call.plugin.test.ts --maxWorkers=1",
329
- "test:watch": "vitest",
330
- "tui": "node scripts/run-node.mjs tui",
331
- "tui:dev": "OPENCLAW_PROFILE=dev CLAWDBOT_PROFILE=dev node scripts/run-node.mjs --dev tui",
332
- "ui:build": "node scripts/ui.js build",
333
- "ui:dev": "node scripts/ui.js dev",
334
- "ui:install": "node scripts/ui.js install"
335
- },
336
- "dependencies": {
337
- "@agentclientprotocol/sdk": "0.15.0",
338
- "@aws-sdk/client-bedrock": "^3.1004.0",
339
- "@buape/carbon": "0.0.0-beta-20260216184201",
340
- "@clack/prompts": "^1.1.0",
341
- "@discordjs/voice": "^0.19.0",
342
- "@grammyjs/runner": "^2.0.3",
343
- "@grammyjs/transformer-throttler": "^1.2.1",
344
- "@homebridge/ciao": "^1.3.5",
345
- "@larksuiteoapi/node-sdk": "^1.59.0",
346
- "@line/bot-sdk": "^10.6.0",
347
- "@lydell/node-pty": "1.2.0-beta.3",
348
- "@mariozechner/pi-agent-core": "0.57.1",
349
- "@mariozechner/pi-ai": "0.57.1",
350
- "@mariozechner/pi-coding-agent": "0.57.1",
351
- "@mariozechner/pi-tui": "0.57.1",
352
- "@mozilla/readability": "^0.6.0",
353
- "@sinclair/typebox": "0.34.48",
354
- "@slack/bolt": "^4.6.0",
355
- "@slack/web-api": "^7.14.1",
356
- "@whiskeysockets/baileys": "7.0.0-rc.9",
357
- "ajv": "^8.18.0",
358
- "chalk": "^5.6.2",
359
- "chokidar": "^5.0.0",
360
- "cli-highlight": "^2.1.11",
361
- "commander": "^14.0.3",
362
- "croner": "^10.0.1",
363
- "discord-api-types": "^0.38.41",
364
- "dotenv": "^17.3.1",
365
- "express": "^5.2.1",
366
- "file-type": "^21.3.0",
367
- "grammy": "^1.41.1",
368
- "https-proxy-agent": "^7.0.6",
369
- "ipaddr.js": "^2.3.0",
370
- "jiti": "^2.6.1",
371
- "json5": "^2.2.3",
372
- "jszip": "^3.10.1",
373
- "linkedom": "^0.18.12",
374
- "long": "^5.3.2",
375
- "markdown-it": "^14.1.1",
376
- "node-edge-tts": "^1.2.10",
377
- "opusscript": "^0.1.1",
378
- "osc-progress": "^0.3.0",
379
- "pdfjs-dist": "^5.5.207",
380
- "playwright-core": "1.58.2",
381
- "qrcode-terminal": "^0.12.0",
382
- "sharp": "^0.34.5",
383
- "sqlite-vec": "0.1.7-alpha.2",
384
- "tar": "7.5.11",
385
- "tslog": "^4.10.2",
386
- "undici": "^7.22.0",
387
- "ws": "^8.19.0",
388
- "yaml": "^2.8.2",
389
- "zod": "^4.3.6"
390
- },
391
- "devDependencies": {
392
- "@grammyjs/types": "^3.25.0",
393
- "@lit-labs/signals": "^0.2.0",
394
- "@lit/context": "^1.1.6",
395
- "@types/express": "^5.0.6",
396
- "@types/markdown-it": "^14.1.2",
397
- "@types/node": "^25.3.5",
398
- "@types/qrcode-terminal": "^0.12.2",
399
- "@types/ws": "^8.18.1",
400
- "@typescript/native-preview": "7.0.0-dev.20260308.1",
401
- "@vitest/coverage-v8": "^4.0.18",
402
- "jscpd": "4.0.8",
403
- "lit": "^3.3.2",
404
- "oxfmt": "0.36.0",
405
- "oxlint": "^1.51.0",
406
- "oxlint-tsgolint": "^0.16.0",
407
- "signal-utils": "0.21.1",
408
- "tsdown": "0.21.0",
409
- "tsx": "^4.21.0",
410
- "typescript": "^5.9.3",
411
- "vitest": "^4.0.18"
412
- },
413
- "peerDependencies": {
414
- "@napi-rs/canvas": "^0.1.89",
415
- "node-llama-cpp": "3.16.2"
416
- },
417
- "engines": {
418
- "node": ">=22.12.0"
419
- },
420
- "packageManager": "pnpm@10.23.0",
421
- "pnpm": {
422
- "minimumReleaseAge": 2880,
423
- "overrides": {
424
- "hono": "4.12.5",
425
- "@hono/node-server": "1.19.10",
426
- "fast-xml-parser": "5.3.8",
427
- "request": "npm:@cypress/request@3.0.10",
428
- "request-promise": "npm:@cypress/request-promise@5.0.0",
429
- "form-data": "2.5.4",
430
- "minimatch": "10.2.4",
431
- "qs": "6.14.2",
432
- "node-domexception": "npm:@nolyfill/domexception@^1.0.28",
433
- "@sinclair/typebox": "0.34.48",
434
- "tar": "7.5.10",
435
- "tough-cookie": "4.1.3"
436
- },
437
- "onlyBuiltDependencies": [
438
- "@lydell/node-pty",
439
- "@matrix-org/matrix-sdk-crypto-nodejs",
440
- "@napi-rs/canvas",
441
- "@tloncorp/api",
442
- "@whiskeysockets/baileys",
443
- "authenticate-pam",
444
- "esbuild",
445
- "koffi",
446
- "node-llama-cpp",
447
- "protobufjs",
448
- "sharp"
449
- ],
450
- "packageExtensions": {
451
- "@mariozechner/pi-coding-agent": {
452
- "dependencies": {
453
- "strip-ansi": "^7.2.0"
454
- }
455
- }
456
- }
457
- }
458
- }
1
+ {
2
+ "name": "cclawd",
3
+ "version": "1.0.3",
4
+ "description": "Multi-channel AI gateway with extensible messaging integrations",
5
+ "keywords": [],
6
+ "homepage": "https://github.com/openclaw/openclaw#readme",
7
+ "bugs": {
8
+ "url": "https://github.com/openclaw/openclaw/issues"
9
+ },
10
+ "license": "MIT",
11
+ "author": "",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/openclaw/openclaw.git"
15
+ },
16
+ "bin": {
17
+ "openclaw": "openclaw.mjs"
18
+ },
19
+ "directories": {
20
+ "doc": "docs",
21
+ "test": "test"
22
+ },
23
+ "files": [
24
+ "CHANGELOG.md",
25
+ "LICENSE",
26
+ "openclaw.mjs",
27
+ "README-header.png",
28
+ "README.md",
29
+ "assets/",
30
+ "dist/",
31
+ "docs/",
32
+ "extensions/",
33
+ "skills/"
34
+ ],
35
+ "type": "module",
36
+ "main": "dist/index.js",
37
+ "exports": {
38
+ ".": "./dist/index.js",
39
+ "./plugin-sdk": {
40
+ "types": "./dist/plugin-sdk/index.d.ts",
41
+ "default": "./dist/plugin-sdk/index.js"
42
+ },
43
+ "./plugin-sdk/core": {
44
+ "types": "./dist/plugin-sdk/core.d.ts",
45
+ "default": "./dist/plugin-sdk/core.js"
46
+ },
47
+ "./plugin-sdk/compat": {
48
+ "types": "./dist/plugin-sdk/compat.d.ts",
49
+ "default": "./dist/plugin-sdk/compat.js"
50
+ },
51
+ "./plugin-sdk/telegram": {
52
+ "types": "./dist/plugin-sdk/telegram.d.ts",
53
+ "default": "./dist/plugin-sdk/telegram.js"
54
+ },
55
+ "./plugin-sdk/discord": {
56
+ "types": "./dist/plugin-sdk/discord.d.ts",
57
+ "default": "./dist/plugin-sdk/discord.js"
58
+ },
59
+ "./plugin-sdk/slack": {
60
+ "types": "./dist/plugin-sdk/slack.d.ts",
61
+ "default": "./dist/plugin-sdk/slack.js"
62
+ },
63
+ "./plugin-sdk/signal": {
64
+ "types": "./dist/plugin-sdk/signal.d.ts",
65
+ "default": "./dist/plugin-sdk/signal.js"
66
+ },
67
+ "./plugin-sdk/imessage": {
68
+ "types": "./dist/plugin-sdk/imessage.d.ts",
69
+ "default": "./dist/plugin-sdk/imessage.js"
70
+ },
71
+ "./plugin-sdk/whatsapp": {
72
+ "types": "./dist/plugin-sdk/whatsapp.d.ts",
73
+ "default": "./dist/plugin-sdk/whatsapp.js"
74
+ },
75
+ "./plugin-sdk/line": {
76
+ "types": "./dist/plugin-sdk/line.d.ts",
77
+ "default": "./dist/plugin-sdk/line.js"
78
+ },
79
+ "./plugin-sdk/msteams": {
80
+ "types": "./dist/plugin-sdk/msteams.d.ts",
81
+ "default": "./dist/plugin-sdk/msteams.js"
82
+ },
83
+ "./plugin-sdk/acpx": {
84
+ "types": "./dist/plugin-sdk/acpx.d.ts",
85
+ "default": "./dist/plugin-sdk/acpx.js"
86
+ },
87
+ "./plugin-sdk/bluebubbles": {
88
+ "types": "./dist/plugin-sdk/bluebubbles.d.ts",
89
+ "default": "./dist/plugin-sdk/bluebubbles.js"
90
+ },
91
+ "./plugin-sdk/copilot-proxy": {
92
+ "types": "./dist/plugin-sdk/copilot-proxy.d.ts",
93
+ "default": "./dist/plugin-sdk/copilot-proxy.js"
94
+ },
95
+ "./plugin-sdk/device-pair": {
96
+ "types": "./dist/plugin-sdk/device-pair.d.ts",
97
+ "default": "./dist/plugin-sdk/device-pair.js"
98
+ },
99
+ "./plugin-sdk/diagnostics-otel": {
100
+ "types": "./dist/plugin-sdk/diagnostics-otel.d.ts",
101
+ "default": "./dist/plugin-sdk/diagnostics-otel.js"
102
+ },
103
+ "./plugin-sdk/diffs": {
104
+ "types": "./dist/plugin-sdk/diffs.d.ts",
105
+ "default": "./dist/plugin-sdk/diffs.js"
106
+ },
107
+ "./plugin-sdk/feishu": {
108
+ "types": "./dist/plugin-sdk/feishu.d.ts",
109
+ "default": "./dist/plugin-sdk/feishu.js"
110
+ },
111
+ "./plugin-sdk/google-gemini-cli-auth": {
112
+ "types": "./dist/plugin-sdk/google-gemini-cli-auth.d.ts",
113
+ "default": "./dist/plugin-sdk/google-gemini-cli-auth.js"
114
+ },
115
+ "./plugin-sdk/googlechat": {
116
+ "types": "./dist/plugin-sdk/googlechat.d.ts",
117
+ "default": "./dist/plugin-sdk/googlechat.js"
118
+ },
119
+ "./plugin-sdk/irc": {
120
+ "types": "./dist/plugin-sdk/irc.d.ts",
121
+ "default": "./dist/plugin-sdk/irc.js"
122
+ },
123
+ "./plugin-sdk/llm-task": {
124
+ "types": "./dist/plugin-sdk/llm-task.d.ts",
125
+ "default": "./dist/plugin-sdk/llm-task.js"
126
+ },
127
+ "./plugin-sdk/lobster": {
128
+ "types": "./dist/plugin-sdk/lobster.d.ts",
129
+ "default": "./dist/plugin-sdk/lobster.js"
130
+ },
131
+ "./plugin-sdk/matrix": {
132
+ "types": "./dist/plugin-sdk/matrix.d.ts",
133
+ "default": "./dist/plugin-sdk/matrix.js"
134
+ },
135
+ "./plugin-sdk/mattermost": {
136
+ "types": "./dist/plugin-sdk/mattermost.d.ts",
137
+ "default": "./dist/plugin-sdk/mattermost.js"
138
+ },
139
+ "./plugin-sdk/memory-core": {
140
+ "types": "./dist/plugin-sdk/memory-core.d.ts",
141
+ "default": "./dist/plugin-sdk/memory-core.js"
142
+ },
143
+ "./plugin-sdk/memory-lancedb": {
144
+ "types": "./dist/plugin-sdk/memory-lancedb.d.ts",
145
+ "default": "./dist/plugin-sdk/memory-lancedb.js"
146
+ },
147
+ "./plugin-sdk/minimax-portal-auth": {
148
+ "types": "./dist/plugin-sdk/minimax-portal-auth.d.ts",
149
+ "default": "./dist/plugin-sdk/minimax-portal-auth.js"
150
+ },
151
+ "./plugin-sdk/nextcloud-talk": {
152
+ "types": "./dist/plugin-sdk/nextcloud-talk.d.ts",
153
+ "default": "./dist/plugin-sdk/nextcloud-talk.js"
154
+ },
155
+ "./plugin-sdk/nostr": {
156
+ "types": "./dist/plugin-sdk/nostr.d.ts",
157
+ "default": "./dist/plugin-sdk/nostr.js"
158
+ },
159
+ "./plugin-sdk/open-prose": {
160
+ "types": "./dist/plugin-sdk/open-prose.d.ts",
161
+ "default": "./dist/plugin-sdk/open-prose.js"
162
+ },
163
+ "./plugin-sdk/phone-control": {
164
+ "types": "./dist/plugin-sdk/phone-control.d.ts",
165
+ "default": "./dist/plugin-sdk/phone-control.js"
166
+ },
167
+ "./plugin-sdk/qwen-portal-auth": {
168
+ "types": "./dist/plugin-sdk/qwen-portal-auth.d.ts",
169
+ "default": "./dist/plugin-sdk/qwen-portal-auth.js"
170
+ },
171
+ "./plugin-sdk/synology-chat": {
172
+ "types": "./dist/plugin-sdk/synology-chat.d.ts",
173
+ "default": "./dist/plugin-sdk/synology-chat.js"
174
+ },
175
+ "./plugin-sdk/talk-voice": {
176
+ "types": "./dist/plugin-sdk/talk-voice.d.ts",
177
+ "default": "./dist/plugin-sdk/talk-voice.js"
178
+ },
179
+ "./plugin-sdk/test-utils": {
180
+ "types": "./dist/plugin-sdk/test-utils.d.ts",
181
+ "default": "./dist/plugin-sdk/test-utils.js"
182
+ },
183
+ "./plugin-sdk/thread-ownership": {
184
+ "types": "./dist/plugin-sdk/thread-ownership.d.ts",
185
+ "default": "./dist/plugin-sdk/thread-ownership.js"
186
+ },
187
+ "./plugin-sdk/tlon": {
188
+ "types": "./dist/plugin-sdk/tlon.d.ts",
189
+ "default": "./dist/plugin-sdk/tlon.js"
190
+ },
191
+ "./plugin-sdk/twitch": {
192
+ "types": "./dist/plugin-sdk/twitch.d.ts",
193
+ "default": "./dist/plugin-sdk/twitch.js"
194
+ },
195
+ "./plugin-sdk/voice-call": {
196
+ "types": "./dist/plugin-sdk/voice-call.d.ts",
197
+ "default": "./dist/plugin-sdk/voice-call.js"
198
+ },
199
+ "./plugin-sdk/zalo": {
200
+ "types": "./dist/plugin-sdk/zalo.d.ts",
201
+ "default": "./dist/plugin-sdk/zalo.js"
202
+ },
203
+ "./plugin-sdk/zalouser": {
204
+ "types": "./dist/plugin-sdk/zalouser.d.ts",
205
+ "default": "./dist/plugin-sdk/zalouser.js"
206
+ },
207
+ "./plugin-sdk/account-id": {
208
+ "types": "./dist/plugin-sdk/account-id.d.ts",
209
+ "default": "./dist/plugin-sdk/account-id.js"
210
+ },
211
+ "./plugin-sdk/keyed-async-queue": {
212
+ "types": "./dist/plugin-sdk/keyed-async-queue.d.ts",
213
+ "default": "./dist/plugin-sdk/keyed-async-queue.js"
214
+ },
215
+ "./cli-entry": "./openclaw.mjs"
216
+ },
217
+ "scripts": {
218
+ "android:assemble": "cd apps/android && ./gradlew :app:assembleDebug",
219
+ "android:format": "cd apps/android && ./gradlew :app:ktlintFormat :benchmark:ktlintFormat",
220
+ "android:install": "cd apps/android && ./gradlew :app:installDebug",
221
+ "android:lint": "cd apps/android && ./gradlew :app:ktlintCheck :benchmark:ktlintCheck",
222
+ "android:lint:android": "cd apps/android && ./gradlew :app:lintDebug",
223
+ "android:run": "cd apps/android && ./gradlew :app:installDebug && adb shell am start -n ai.openclaw.app/.MainActivity",
224
+ "android:test": "cd apps/android && ./gradlew :app:testDebugUnitTest",
225
+ "android:test:integration": "OPENCLAW_LIVE_TEST=1 OPENCLAW_LIVE_ANDROID_NODE=1 vitest run --config vitest.live.config.ts src/gateway/android-node.capabilities.live.test.ts",
226
+ "build": "pnpm canvas:a2ui:bundle && node scripts/tsdown-build.mjs && node scripts/copy-plugin-sdk-root-alias.mjs && pnpm build:plugin-sdk:dts && node --import tsx scripts/write-plugin-sdk-entry-dts.ts && node --import tsx scripts/canvas-a2ui-copy.ts && node --import tsx scripts/copy-hook-metadata.ts && node --import tsx scripts/copy-export-html-templates.ts && node --import tsx scripts/write-build-info.ts && node --import tsx scripts/write-cli-startup-metadata.ts && node --import tsx scripts/write-cli-compat.ts",
227
+ "build:docker": "node scripts/tsdown-build.mjs && node scripts/copy-plugin-sdk-root-alias.mjs && pnpm build:plugin-sdk:dts && node --import tsx scripts/write-plugin-sdk-entry-dts.ts && node --import tsx scripts/canvas-a2ui-copy.ts && node --import tsx scripts/copy-hook-metadata.ts && node --import tsx scripts/copy-export-html-templates.ts && node --import tsx scripts/write-build-info.ts && node --import tsx scripts/write-cli-startup-metadata.ts && node --import tsx scripts/write-cli-compat.ts",
228
+ "build:no-a2ui": "node scripts/tsdown-build.mjs && node scripts/copy-plugin-sdk-root-alias.mjs && pnpm build:plugin-sdk:dts && node --import tsx scripts/write-plugin-sdk-entry-dts.ts && node --import tsx scripts/copy-hook-metadata.ts && node --import tsx scripts/copy-export-html-templates.ts && node --import tsx scripts/write-build-info.ts && node --import tsx scripts/write-cli-startup-metadata.ts && node --import tsx scripts/write-cli-compat.ts",
229
+ "build:plugin-sdk:dts": "tsc -p tsconfig.plugin-sdk.dts.json",
230
+ "build:strict-smoke": "pnpm canvas:a2ui:bundle && node scripts/tsdown-build.mjs && node scripts/copy-plugin-sdk-root-alias.mjs && pnpm build:plugin-sdk:dts",
231
+ "canvas:a2ui:bundle": "bash scripts/bundle-a2ui.sh",
232
+ "check": "pnpm check:host-env-policy:swift && pnpm format:check && pnpm tsgo && pnpm lint && pnpm lint:tmp:no-random-messaging && pnpm lint:tmp:channel-agnostic-boundaries && pnpm lint:tmp:no-raw-channel-fetch && pnpm lint:agent:ingress-owner && pnpm lint:plugins:no-register-http-handler && pnpm lint:plugins:no-monolithic-plugin-sdk-entry-imports && pnpm lint:webhook:no-low-level-body-read && pnpm lint:auth:no-pairing-store-group && pnpm lint:auth:pairing-account-scope",
233
+ "check:docs": "pnpm format:docs:check && pnpm lint:docs && pnpm docs:check-links",
234
+ "check:host-env-policy:swift": "node scripts/generate-host-env-security-policy-swift.mjs --check",
235
+ "check:loc": "node --import tsx scripts/check-ts-max-loc.ts --max 500",
236
+ "deadcode:ci": "pnpm deadcode:report:ci:knip",
237
+ "deadcode:knip": "pnpm dlx knip --config knip.config.ts --isolate-workspaces --production --no-progress --reporter compact --files --dependencies",
238
+ "deadcode:report": "pnpm deadcode:knip; pnpm deadcode:ts-prune; pnpm deadcode:ts-unused",
239
+ "deadcode:report:ci:knip": "mkdir -p .artifacts/deadcode && pnpm deadcode:knip > .artifacts/deadcode/knip.txt 2>&1 || true",
240
+ "deadcode:report:ci:ts-prune": "mkdir -p .artifacts/deadcode && pnpm deadcode:ts-prune > .artifacts/deadcode/ts-prune.txt 2>&1 || true",
241
+ "deadcode:report:ci:ts-unused": "mkdir -p .artifacts/deadcode && pnpm deadcode:ts-unused > .artifacts/deadcode/ts-unused-exports.txt 2>&1 || true",
242
+ "deadcode:ts-prune": "pnpm dlx ts-prune src extensions scripts",
243
+ "deadcode:ts-unused": "pnpm dlx ts-unused-exports tsconfig.json --ignoreTestFiles --exitWithCount",
244
+ "dev": "node scripts/run-node.mjs",
245
+ "docs:bin": "node scripts/build-docs-list.mjs",
246
+ "docs:check-links": "node scripts/docs-link-audit.mjs",
247
+ "docs:dev": "cd docs && mint dev",
248
+ "docs:list": "node scripts/docs-list.js",
249
+ "docs:spellcheck": "bash scripts/docs-spellcheck.sh",
250
+ "docs:spellcheck:fix": "bash scripts/docs-spellcheck.sh --write",
251
+ "dup:check": "jscpd src extensions test scripts --format typescript,javascript --pattern \"**/*.{ts,tsx,js,mjs,cjs}\" --gitignore --noSymlinks --ignore \"**/node_modules/**,**/dist/**,**/.git/**,**/coverage/**,**/build/**,**/.build/**,**/.artifacts/**\" --min-lines 12 --min-tokens 80 --reporters console",
252
+ "dup:check:json": "jscpd src extensions test scripts --format typescript,javascript --pattern \"**/*.{ts,tsx,js,mjs,cjs}\" --gitignore --noSymlinks --ignore \"**/node_modules/**,**/dist/**,**/.git/**,**/coverage/**,**/build/**,**/.build/**,**/.artifacts/**\" --min-lines 12 --min-tokens 80 --reporters json --output .artifacts/jscpd",
253
+ "format": "oxfmt --write",
254
+ "format:all": "pnpm format && pnpm format:swift",
255
+ "format:check": "oxfmt --check",
256
+ "format:diff": "oxfmt --write && git --no-pager diff",
257
+ "format:docs": "git ls-files 'docs/**/*.md' 'docs/**/*.mdx' 'README.md' | xargs oxfmt --write",
258
+ "format:docs:check": "git ls-files 'docs/**/*.md' 'docs/**/*.mdx' 'README.md' | xargs oxfmt --check",
259
+ "format:fix": "oxfmt --write",
260
+ "format:swift": "swiftformat --lint --config .swiftformat apps/macos/Sources apps/ios/Sources apps/shared/OpenClawKit/Sources",
261
+ "gateway:dev": "OPENCLAW_SKIP_CHANNELS=1 CLAWDBOT_SKIP_CHANNELS=1 node scripts/run-node.mjs --dev gateway",
262
+ "gateway:dev:reset": "OPENCLAW_SKIP_CHANNELS=1 CLAWDBOT_SKIP_CHANNELS=1 node scripts/run-node.mjs --dev gateway --reset",
263
+ "gateway:watch": "node scripts/watch-node.mjs gateway --force",
264
+ "gen:host-env-policy:swift": "node scripts/generate-host-env-security-policy-swift.mjs --write",
265
+ "ghsa:patch": "node scripts/ghsa-patch.mjs",
266
+ "ios:build": "bash -lc './scripts/ios-configure-signing.sh && cd apps/ios && xcodegen generate && xcodebuild -project OpenClaw.xcodeproj -scheme OpenClaw -destination \"${IOS_DEST:-platform=iOS Simulator,name=iPhone 17}\" -configuration Debug build'",
267
+ "ios:gen": "bash -lc './scripts/ios-configure-signing.sh && cd apps/ios && xcodegen generate'",
268
+ "ios:open": "bash -lc './scripts/ios-configure-signing.sh && cd apps/ios && xcodegen generate && open OpenClaw.xcodeproj'",
269
+ "ios:run": "bash -lc './scripts/ios-configure-signing.sh && cd apps/ios && xcodegen generate && xcodebuild -project OpenClaw.xcodeproj -scheme OpenClaw -destination \"${IOS_DEST:-platform=iOS Simulator,name=iPhone 17}\" -configuration Debug build && xcrun simctl boot \"${IOS_SIM:-iPhone 17}\" || true && xcrun simctl launch booted ai.openclaw.ios'",
270
+ "lint": "oxlint --type-aware",
271
+ "lint:agent:ingress-owner": "node scripts/check-ingress-agent-owner-context.mjs",
272
+ "lint:all": "pnpm lint && pnpm lint:swift",
273
+ "lint:auth:no-pairing-store-group": "node scripts/check-no-pairing-store-group-auth.mjs",
274
+ "lint:auth:pairing-account-scope": "node scripts/check-pairing-account-scope.mjs",
275
+ "lint:docs": "pnpm dlx markdownlint-cli2",
276
+ "lint:docs:fix": "pnpm dlx markdownlint-cli2 --fix",
277
+ "lint:fix": "oxlint --type-aware --fix && pnpm format",
278
+ "lint:plugins:no-monolithic-plugin-sdk-entry-imports": "node --import tsx scripts/check-no-monolithic-plugin-sdk-entry-imports.ts",
279
+ "lint:plugins:no-register-http-handler": "node scripts/check-no-register-http-handler.mjs",
280
+ "lint:swift": "swiftlint lint --config .swiftlint.yml && (cd apps/ios && swiftlint lint --config .swiftlint.yml)",
281
+ "lint:tmp:channel-agnostic-boundaries": "node scripts/check-channel-agnostic-boundaries.mjs",
282
+ "lint:tmp:no-random-messaging": "node scripts/check-no-random-messaging-tmp.mjs",
283
+ "lint:tmp:no-raw-channel-fetch": "node scripts/check-no-raw-channel-fetch.mjs",
284
+ "lint:ui:no-raw-window-open": "node scripts/check-no-raw-window-open.mjs",
285
+ "lint:webhook:no-low-level-body-read": "node scripts/check-webhook-auth-body-order.mjs",
286
+ "mac:open": "open dist/OpenClaw.app",
287
+ "mac:package": "bash scripts/package-mac-app.sh",
288
+ "mac:restart": "bash scripts/restart-mac.sh",
289
+ "moltbot:rpc": "node scripts/run-node.mjs agent --mode rpc --json",
290
+ "openclaw": "node scripts/run-node.mjs",
291
+ "openclaw:rpc": "node scripts/run-node.mjs agent --mode rpc --json",
292
+ "plugins:sync": "node --import tsx scripts/sync-plugin-versions.ts",
293
+ "prepack": "pnpm build:no-a2ui && pnpm ui:build",
294
+ "prepare": "command -v git >/dev/null 2>&1 && git rev-parse --is-inside-work-tree >/dev/null 2>&1 && git config core.hooksPath git-hooks || exit 0",
295
+ "protocol:check": "pnpm protocol:gen && pnpm protocol:gen:swift && git diff --exit-code -- dist/protocol.schema.json apps/macos/Sources/OpenClawProtocol/GatewayModels.swift",
296
+ "protocol:gen": "node --import tsx scripts/protocol-gen.ts",
297
+ "protocol:gen:swift": "node --import tsx scripts/protocol-gen-swift.ts",
298
+ "release:check": "node --import tsx scripts/release-check.ts",
299
+ "start": "node scripts/run-node.mjs",
300
+ "test": "node scripts/test-parallel.mjs",
301
+ "test:all": "pnpm lint && pnpm build && pnpm test && pnpm test:e2e && pnpm test:live && pnpm test:docker:all",
302
+ "test:channels": "vitest run --config vitest.channels.config.ts",
303
+ "test:coverage": "vitest run --config vitest.unit.config.ts --coverage",
304
+ "test:docker:all": "pnpm test:docker:live-models && pnpm test:docker:live-gateway && pnpm test:docker:onboard && pnpm test:docker:gateway-network && pnpm test:docker:qr && pnpm test:docker:doctor-switch && pnpm test:docker:plugins && pnpm test:docker:cleanup",
305
+ "test:docker:cleanup": "bash scripts/test-cleanup-docker.sh",
306
+ "test:docker:doctor-switch": "bash scripts/e2e/doctor-install-switch-docker.sh",
307
+ "test:docker:gateway-network": "bash scripts/e2e/gateway-network-docker.sh",
308
+ "test:docker:live-gateway": "bash scripts/test-live-gateway-models-docker.sh",
309
+ "test:docker:live-models": "bash scripts/test-live-models-docker.sh",
310
+ "test:docker:onboard": "bash scripts/e2e/onboard-docker.sh",
311
+ "test:docker:plugins": "bash scripts/e2e/plugins-docker.sh",
312
+ "test:docker:qr": "bash scripts/e2e/qr-import-docker.sh",
313
+ "test:e2e": "vitest run --config vitest.e2e.config.ts",
314
+ "test:extensions": "vitest run --config vitest.extensions.config.ts",
315
+ "test:fast": "vitest run --config vitest.unit.config.ts",
316
+ "test:force": "node --import tsx scripts/test-force.ts",
317
+ "test:gateway": "vitest run --config vitest.gateway.config.ts --pool=forks",
318
+ "test:install:e2e": "bash scripts/test-install-sh-e2e-docker.sh",
319
+ "test:install:e2e:anthropic": "OPENCLAW_E2E_MODELS=anthropic CLAWDBOT_E2E_MODELS=anthropic bash scripts/test-install-sh-e2e-docker.sh",
320
+ "test:install:e2e:openai": "OPENCLAW_E2E_MODELS=openai CLAWDBOT_E2E_MODELS=openai bash scripts/test-install-sh-e2e-docker.sh",
321
+ "test:install:smoke": "bash scripts/test-install-sh-docker.sh",
322
+ "test:live": "OPENCLAW_LIVE_TEST=1 CLAWDBOT_LIVE_TEST=1 vitest run --config vitest.live.config.ts",
323
+ "test:macmini": "OPENCLAW_TEST_VM_FORKS=0 OPENCLAW_TEST_PROFILE=serial node scripts/test-parallel.mjs",
324
+ "test:perf:budget": "node scripts/test-perf-budget.mjs",
325
+ "test:perf:hotspots": "node scripts/test-hotspots.mjs",
326
+ "test:sectriage": "pnpm exec vitest run --config vitest.gateway.config.ts && vitest run --config vitest.unit.config.ts --exclude src/daemon/launchd.integration.test.ts --exclude src/process/exec.test.ts",
327
+ "test:ui": "pnpm lint:ui:no-raw-window-open && pnpm --dir ui test",
328
+ "test:voicecall:closedloop": "vitest run extensions/voice-call/src/manager.test.ts extensions/voice-call/src/media-stream.test.ts src/plugins/voice-call.plugin.test.ts --maxWorkers=1",
329
+ "test:watch": "vitest",
330
+ "tui": "node scripts/run-node.mjs tui",
331
+ "tui:dev": "OPENCLAW_PROFILE=dev CLAWDBOT_PROFILE=dev node scripts/run-node.mjs --dev tui",
332
+ "ui:build": "node scripts/ui.js build",
333
+ "ui:dev": "node scripts/ui.js dev",
334
+ "ui:install": "node scripts/ui.js install"
335
+ },
336
+ "dependencies": {
337
+ "@agentclientprotocol/sdk": "0.15.0",
338
+ "@aws-sdk/client-bedrock": "^3.1004.0",
339
+ "@buape/carbon": "0.0.0-beta-20260216184201",
340
+ "@clack/prompts": "^1.1.0",
341
+ "@discordjs/voice": "^0.19.0",
342
+ "@grammyjs/runner": "^2.0.3",
343
+ "@grammyjs/transformer-throttler": "^1.2.1",
344
+ "@homebridge/ciao": "^1.3.5",
345
+ "@larksuiteoapi/node-sdk": "^1.59.0",
346
+ "@line/bot-sdk": "^10.6.0",
347
+ "@lydell/node-pty": "1.2.0-beta.3",
348
+ "@mariozechner/pi-agent-core": "0.57.1",
349
+ "@mariozechner/pi-ai": "0.57.1",
350
+ "@mariozechner/pi-coding-agent": "0.57.1",
351
+ "@mariozechner/pi-tui": "0.57.1",
352
+ "@mozilla/readability": "^0.6.0",
353
+ "@sinclair/typebox": "0.34.48",
354
+ "@slack/bolt": "^4.6.0",
355
+ "@slack/web-api": "^7.14.1",
356
+ "@whiskeysockets/baileys": "7.0.0-rc.9",
357
+ "ajv": "^8.18.0",
358
+ "chalk": "^5.6.2",
359
+ "chokidar": "^5.0.0",
360
+ "cli-highlight": "^2.1.11",
361
+ "commander": "^14.0.3",
362
+ "croner": "^10.0.1",
363
+ "discord-api-types": "^0.38.41",
364
+ "dotenv": "^17.3.1",
365
+ "express": "^5.2.1",
366
+ "file-type": "^21.3.0",
367
+ "grammy": "^1.41.1",
368
+ "https-proxy-agent": "^7.0.6",
369
+ "ipaddr.js": "^2.3.0",
370
+ "jiti": "^2.6.1",
371
+ "json5": "^2.2.3",
372
+ "jszip": "^3.10.1",
373
+ "linkedom": "^0.18.12",
374
+ "long": "^5.3.2",
375
+ "markdown-it": "^14.1.1",
376
+ "node-edge-tts": "^1.2.10",
377
+ "opusscript": "^0.1.1",
378
+ "osc-progress": "^0.3.0",
379
+ "pdfjs-dist": "^5.5.207",
380
+ "playwright-core": "1.58.2",
381
+ "qrcode-terminal": "^0.12.0",
382
+ "sharp": "^0.34.5",
383
+ "sqlite-vec": "0.1.7-alpha.2",
384
+ "tar": "7.5.11",
385
+ "tslog": "^4.10.2",
386
+ "undici": "^7.22.0",
387
+ "ws": "^8.19.0",
388
+ "yaml": "^2.8.2",
389
+ "zod": "^4.3.6"
390
+ },
391
+ "devDependencies": {
392
+ "@grammyjs/types": "^3.25.0",
393
+ "@lit-labs/signals": "^0.2.0",
394
+ "@lit/context": "^1.1.6",
395
+ "@types/express": "^5.0.6",
396
+ "@types/markdown-it": "^14.1.2",
397
+ "@types/node": "^25.3.5",
398
+ "@types/qrcode-terminal": "^0.12.2",
399
+ "@types/ws": "^8.18.1",
400
+ "@typescript/native-preview": "7.0.0-dev.20260308.1",
401
+ "@vitest/coverage-v8": "^4.0.18",
402
+ "jscpd": "4.0.8",
403
+ "lit": "^3.3.2",
404
+ "oxfmt": "0.36.0",
405
+ "oxlint": "^1.51.0",
406
+ "oxlint-tsgolint": "^0.16.0",
407
+ "signal-utils": "0.21.1",
408
+ "tsdown": "0.21.0",
409
+ "tsx": "^4.21.0",
410
+ "typescript": "^5.9.3",
411
+ "vitest": "^4.0.18"
412
+ },
413
+ "peerDependencies": {
414
+ "@napi-rs/canvas": "^0.1.89",
415
+ "node-llama-cpp": "3.16.2"
416
+ },
417
+ "engines": {
418
+ "node": ">=22.12.0"
419
+ },
420
+ "packageManager": "pnpm@10.23.0",
421
+ "pnpm": {
422
+ "minimumReleaseAge": 2880,
423
+ "overrides": {
424
+ "hono": "4.12.5",
425
+ "@hono/node-server": "1.19.10",
426
+ "fast-xml-parser": "5.3.8",
427
+ "request": "npm:@cypress/request@3.0.10",
428
+ "request-promise": "npm:@cypress/request-promise@5.0.0",
429
+ "form-data": "2.5.4",
430
+ "minimatch": "10.2.4",
431
+ "qs": "6.14.2",
432
+ "node-domexception": "npm:@nolyfill/domexception@^1.0.28",
433
+ "@sinclair/typebox": "0.34.48",
434
+ "tar": "7.5.10",
435
+ "tough-cookie": "4.1.3"
436
+ },
437
+ "onlyBuiltDependencies": [
438
+ "@lydell/node-pty",
439
+ "@matrix-org/matrix-sdk-crypto-nodejs",
440
+ "@napi-rs/canvas",
441
+ "@tloncorp/api",
442
+ "@whiskeysockets/baileys",
443
+ "authenticate-pam",
444
+ "esbuild",
445
+ "koffi",
446
+ "node-llama-cpp",
447
+ "protobufjs",
448
+ "sharp"
449
+ ],
450
+ "packageExtensions": {
451
+ "@mariozechner/pi-coding-agent": {
452
+ "dependencies": {
453
+ "strip-ansi": "^7.2.0"
454
+ }
455
+ }
456
+ }
457
+ }
458
+ }