Skip to content

Commit edf6b49

Browse files
committed
fix: harden bundled plugin dependency release checks
1 parent 0de5db8 commit edf6b49

17 files changed

Lines changed: 468 additions & 352 deletions

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Docs: https://docs.openclaw.ai
1616
- Agents/failover: classify Z.ai vendor code `1311` as billing and `1113` as auth, including long wrapped `1311` payloads, so these errors stop falling through to generic failover handling. (#49552) Thanks @1bcMax.
1717
- npm packaging: mirror bundled Slack, Telegram, Discord, and Feishu channel runtime deps at the root and harden published-install verification so fresh installs fail fast on manifest drift instead of missing-module crashes. (#63065) Thanks @scoootscooob.
1818
- Agents/timeouts: make the LLM idle timeout inherit `agents.defaults.timeoutSeconds` when configured, disable the unconfigured idle watchdog for cron runs, and point idle-timeout errors at `agents.defaults.llm.idleTimeoutSeconds`. Thanks @drvoss.
19+
- npm packaging: derive required root runtime mirrors from bundled plugin manifests and built root chunks, then install packed release tarballs without the repo `node_modules` so release checks catch missing plugin deps before publish.
1920

2021
## 2026.4.8
2122

‎extensions/amazon-bedrock/package.json‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
},
1717
"extensions": [
1818
"./index.ts"
19-
],
20-
"releaseChecks": {
21-
"rootDependencyMirrorAllowlist": [
22-
"@aws-sdk/client-bedrock"
23-
]
24-
}
19+
]
2520
}
2621
}

‎extensions/discord/package.json‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,6 @@
6060
"bundle": {
6161
"stageRuntimeDependencies": true
6262
},
63-
"releaseChecks": {
64-
"rootDependencyMirrorAllowlist": [
65-
"@buape/carbon",
66-
"@discordjs/opus",
67-
"https-proxy-agent",
68-
"opusscript"
69-
]
70-
},
7163
"release": {
7264
"publishToClawHub": true,
7365
"publishToNpm": true

‎extensions/feishu/package.json‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,6 @@
5151
"bundle": {
5252
"stageRuntimeDependencies": true
5353
},
54-
"releaseChecks": {
55-
"rootDependencyMirrorAllowlist": [
56-
"@larksuiteoapi/node-sdk"
57-
]
58-
},
5954
"release": {
6055
"publishToClawHub": true,
6156
"publishToNpm": true

‎extensions/matrix/package.json‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,6 @@
4747
"defaultChoice": "npm",
4848
"minHostVersion": ">=2026.4.9",
4949
"allowInvalidConfigRecovery": true
50-
},
51-
"releaseChecks": {
52-
"rootDependencyMirrorAllowlist": [
53-
"@matrix-org/matrix-sdk-crypto-wasm",
54-
"@matrix-org/matrix-sdk-crypto-nodejs",
55-
"matrix-js-sdk"
56-
]
5750
}
5851
}
5952
}

‎extensions/slack/package.json‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,6 @@
3434
},
3535
"bundle": {
3636
"stageRuntimeDependencies": true
37-
},
38-
"releaseChecks": {
39-
"rootDependencyMirrorAllowlist": [
40-
"@slack/bolt",
41-
"@slack/web-api",
42-
"https-proxy-agent"
43-
]
4437
}
4538
}
4639
}

‎extensions/telegram/package.json‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,6 @@
3939
},
4040
"bundle": {
4141
"stageRuntimeDependencies": true
42-
},
43-
"releaseChecks": {
44-
"rootDependencyMirrorAllowlist": [
45-
"@grammyjs/runner",
46-
"@grammyjs/transformer-throttler",
47-
"grammy"
48-
]
4942
}
5043
}
5144
}

‎package.json‎

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1311,11 +1311,14 @@
13111311
"@aws-sdk/client-bedrock": "3.1024.0",
13121312
"@aws-sdk/client-bedrock-runtime": "3.1024.0",
13131313
"@aws-sdk/credential-provider-node": "3.972.29",
1314+
"@aws/bedrock-token-generator": "^1.1.0",
13141315
"@buape/carbon": "0.14.0",
13151316
"@clack/prompts": "^1.2.0",
1317+
"@google/genai": "^1.48.0",
13161318
"@grammyjs/runner": "^2.0.3",
13171319
"@grammyjs/transformer-throttler": "^1.2.1",
13181320
"@homebridge/ciao": "^1.3.6",
1321+
"@lancedb/lancedb": "^0.27.2",
13191322
"@larksuiteoapi/node-sdk": "^1.60.0",
13201323
"@line/bot-sdk": "^11.0.0",
13211324
"@lydell/node-pty": "1.2.0-beta.10",
@@ -1339,29 +1342,34 @@
13391342
"express": "^5.2.1",
13401343
"file-type": "22.0.0",
13411344
"gaxios": "7.1.4",
1345+
"google-auth-library": "^10.6.2",
13421346
"grammy": "^1.42.0",
13431347
"hono": "4.12.10",
13441348
"https-proxy-agent": "^9.0.0",
13451349
"ipaddr.js": "^2.3.0",
1350+
"jimp": "^1.6.0",
13461351
"jiti": "^2.6.1",
13471352
"json5": "^2.2.3",
13481353
"jszip": "^3.10.1",
13491354
"linkedom": "^0.18.12",
13501355
"long": "^5.3.2",
1351-
"markdown-it": "^14.1.1",
1356+
"markdown-it": "14.1.1",
13521357
"matrix-js-sdk": "41.3.0-rc.0",
1358+
"mpg123-decoder": "^1.0.3",
13531359
"node-edge-tts": "^1.2.10",
1360+
"openai": "^6.33.0",
13541361
"opusscript": "^0.1.1",
13551362
"osc-progress": "^0.3.0",
13561363
"pdfjs-dist": "^5.6.205",
13571364
"playwright-core": "1.59.1",
13581365
"proxy-agent": "^8.0.0",
13591366
"qrcode-terminal": "^0.12.0",
13601367
"sharp": "^0.34.5",
1368+
"silk-wasm": "^3.7.1",
13611369
"sqlite-vec": "0.1.9",
13621370
"tar": "7.5.13",
13631371
"tslog": "^4.10.2",
1364-
"undici": "^8.0.2",
1372+
"undici": "8.0.2",
13651373
"uuid": "^13.0.0",
13661374
"ws": "^8.20.0",
13671375
"yaml": "^2.8.3",

‎pnpm-lock.yaml‎

Lines changed: 26 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)