I followed the official integration docs at https://docs.brightdata.com/integrations/openclaw and ran:
openclaw plugins install @brightdata/brightdata-plugin
Expected behavior: Plugin installs successfully.
Actual behavior: Installation fails with two errors:
Plugin manifest id "brightdata" differs from npm package name "@brightdata/brightdata-plugin"; using manifest id as the config key. Downloading @brightdata/brightdata-plugin… Extracting /tmp/openclaw-hook-pack-eaPbtt/brightdata-brightdata-plugin-1.0.3.tgz… package install requires compiled runtime output for TypeScript entry ./index.ts: expected ./dist/index.js, ./dist/index.mjs, ./dist/index.cjs, ./index.js, ./index.mjs, ./index.cjs Also not a valid hook pack: Error: package.json missing openclaw.hooks
Root cause (from inspecting the published tarball):
package.json has "main": "index.ts" — the npm package contains raw TypeScript source with no compiled dist/ output.
package.json contains "openclaw": { "extensions": ["./index.ts"] } but no openclaw.hooks field, which the OpenClaw installer requires for hook pack validation.
Environment:
OpenClaw version: 2026.5.4
OS: OpenCloudOS (Tencent Cloud VM)
I followed the official integration docs at https://docs.brightdata.com/integrations/openclaw and ran:
openclaw plugins install @brightdata/brightdata-pluginExpected behavior: Plugin installs successfully.
Actual behavior: Installation fails with two errors:
Plugin manifest id "brightdata" differs from npm package name "@brightdata/brightdata-plugin"; using manifest id as the config key. Downloading @brightdata/brightdata-plugin… Extracting /tmp/openclaw-hook-pack-eaPbtt/brightdata-brightdata-plugin-1.0.3.tgz… package install requires compiled runtime output for TypeScript entry ./index.ts: expected ./dist/index.js, ./dist/index.mjs, ./dist/index.cjs, ./index.js, ./index.mjs, ./index.cjs Also not a valid hook pack: Error: package.json missing openclaw.hooksRoot cause (from inspecting the published tarball):
package.json has "main": "index.ts" — the npm package contains raw TypeScript source with no compiled dist/ output.
package.json contains "openclaw": { "extensions": ["./index.ts"] } but no openclaw.hooks field, which the OpenClaw installer requires for hook pack validation.
Environment:
OpenClaw version: 2026.5.4
OS: OpenCloudOS (Tencent Cloud VM)