fix missing deps (#1005)

This commit is contained in:
paisley
2026-05-11 19:29:17 +08:00
committed by GitHub
parent abce8a8b96
commit 5c1ed5e6ee
2 changed files with 14 additions and 0 deletions

View File

@@ -17,6 +17,18 @@ export const EXTRA_BUNDLED_PACKAGES = [
'mpg123-decoder',
'silk-wasm',
// The built-in acpx extension already ships its direct "acpx" package under
// dist/extensions/acpx/node_modules, but its runtime path reaches
// "acpx/runtime", whose reachable bare runtime dependency is
// @agentclientprotocol/sdk. Package it explicitly to keep packaged builds
// self-contained even when the extension dep graph is flattened.
'@agentclientprotocol/sdk',
// OpenClaw's built-in browser extension resolves playwright-core at runtime.
// Package it explicitly because it is not always present in openclaw's own
// transitive dependency graph from the app bundle context.
'playwright-core',
// Electron main process QR login flows resolve these files from the
// bundled OpenClaw runtime context in packaged builds.
'qrcode-terminal',

View File

@@ -18,6 +18,8 @@ describe('openclaw bundle config', () => {
'@tencent-connect/qqbot-connector',
'mpg123-decoder',
'silk-wasm',
'@agentclientprotocol/sdk',
'playwright-core',
'qrcode-terminal',
]));
});