Skip to content

fix(plugins): pin browser plugin zod to exact 4.3.6 + refresh lockfile#5

Merged
shivammittal274 merged 1 commit intomainfrom
fix/browser-zod-exact
Apr 29, 2026
Merged

fix(plugins): pin browser plugin zod to exact 4.3.6 + refresh lockfile#5
shivammittal274 merged 1 commit intomainfrom
fix/browser-zod-exact

Conversation

@shivammittal274
Copy link
Copy Markdown

Summary

Image build for #4 failed with:

Error: failed to stage bundled runtime deps for browser:
Cause: runtime dependency zod must resolve to an exact installed version, got: ^3.25.76

Two issues with my earlier change:

  1. Range spec instead of exact pin — staging requires exact versions. Changed "zod": "^3.25.76""zod": "4.3.6".
  2. Lockfile out of sync — root project pins zod ^4.3.6 (resolves to 4.3.6), and PR fix(plugins): stage runtime deps for openrouter/openai/moonshot + add zod for browser #4 added new deps without updating pnpm-lock.yaml. Ran pnpm install to record:

Test plan

  • Re-trigger browseros-openclaw-image.yml against main after merge → build should now pass the runtime-deps staging closure check
  • Resulting image: ghcr.io/browseros-ai/openclaw:2026.4.28-browseros.4

🤖 Generated with Claude Code

The previous PR (#4) used `"zod": "^3.25.76"` for the browser plugin,
which the runtime-deps staging script rejected:

  Error: failed to stage bundled runtime deps for browser:
  Cause: runtime dependency zod must resolve to an exact installed
  version, got: ^3.25.76

The staging script requires runtime-deps to be pinned to the exact
version in the workspace lockfile. The root project pins
`"zod": "^4.3.6"` and the lockfile resolves to `[email protected]` — so this
change pins the browser plugin's zod to the same exact `4.3.6`.

Also refreshes pnpm-lock.yaml so the new browser-plugin → zod link
plus the new openrouter/moonshot → @mariozechner/pi-ai links from #4
are recorded in the workspace graph (PR #4 was merged with package.json
changes only; the lockfile entries for those new deps were missing,
which is what tripped the staging closure check).
@shivammittal274 shivammittal274 merged commit 9e5f9a7 into main Apr 29, 2026
8 of 11 checks passed
@shivammittal274 shivammittal274 deleted the fix/browser-zod-exact branch April 29, 2026 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant