#12103: fix: add missing zod dependency to 7 extensions
channel: bluebubbles
channel: mattermost
channel: nextcloud-talk
channel: tlon
channel: zalo
channel: zalouser
channel: irc
size: S
trusted-contributor
experienced-contributor
## Summary
Fixes #12067
Seven extensions (`bluebubbles`, `irc`, `mattermost`, `nextcloud-talk`, `tlon`, `zalo`, `zalouser`) import `zod` in their source code but did not declare it in their `package.json` `dependencies`. This works during development due to monorepo hoisting but causes `MODULE_NOT_FOUND` errors when users install these extensions standalone via `npm install @openclaw/<name>`.
- Add `"zod": "^4.3.6"` to the `dependencies` of all 7 affected extensions, matching the version used by the extensions that already declare it correctly (`feishu`, `matrix`, `nostr`, `twitch`, `voice-call`).
- Add a regression test (`src/plugins/extension-deps.test.ts`) that recursively scans all extension `src/` directories and fails if any extension imports `zod` without listing it as a dependency.
## Test plan
- [x] New test fails before the fix (reports all 7 extensions)
- [x] New test passes after the fix
- [x] `pnpm build` passes
- [x] `pnpm check` passes (tsgo + oxlint + oxfmt)
Most Similar PRs
#16140: fix: convert installable extension deps from workspace:* to peerDep...
by battman21 · 2026-02-14
70.0%
#11454: fix(plugins): remove workspace:* from extension dependencies
by AnonO6 · 2026-02-07
69.1%
#20415: fix(extensions): use dist/ import paths for bundled extensions
by 88plug · 2026-02-18
64.5%
#20055: fix(plugins): strip workspace:* dev-deps before npm install
by openperf · 2026-02-18
63.8%
#13671: fix(memory-lancedb): ship @lancedb/lancedb for bundled extension
by CryptoJym · 2026-02-10
63.5%
#8526: fix(docker): copy extension package.json files before pnpm install
by robertcorreiro · 2026-02-04
63.4%
#10807: fix(config): coerce numeric meta.lastTouchedAt to ISO string
by mcaxtr · 2026-02-07
62.9%
#17579: fix(slack): prevent Zod default groupPolicy from breaking multi-acc...
by ZetiMente · 2026-02-15
62.3%
#19941: fix(nostr): move openclaw from devDependencies to peerDependencies
by AustinEral · 2026-02-18
62.0%
#10589: fix: chrome extension install fails in bundled dist layout
by joetomasone · 2026-02-06
61.8%