Skip to content

chore(deps): move zod to 4.6.4 and raise the runtime zod peer floor to ^4.6.4 - #842

Merged
ScriptedAlchemy merged 2 commits into
mainfrom
chore/zod-4.6.4
Sep 25, 2026
Merged

ScriptedAlchemy merged 2 commits into
mainfrom
chore/zod-4.6.4

Conversation

@ScriptedAlchemy

@ScriptedAlchemy ScriptedAlchemy commented Sep 25, 2026 •

Copy link
Copy Markdown
Owner

Supersedes #816 (dependabot zod 4.5.4 -> 4.6.4), which failed the runtime's declared-floor test.

Zod 4 brands schema types by minor, so the whole workspace moves to one version and @agent-bundle/runtime raises its declared zod peer to ^4.6.4 (breaking for consumers below 4.6.4). The runtime dev pin moves to 4.6.4 so the floor stays tested (manifest-contract.test.ts); packed-zod-peer.test.ts still proves a consumer zod@4.6.5 shares one physical copy and that a nested 4.5.x copy reproduces the brand error.

Local gate (branch contains current origin/main 18a913e)

  • pnpm build: pass
  • pnpm typecheck: pass
  • pnpm lint: pass
  • pnpm test:unit: pass
  • pnpm test:packed --release: pass (17 files, 48 passed, 1 skipped; includes packed-zod-peer)
  • pnpm test:integration:run on the 6 changed integration test files: pass (35 tests)
  • pnpm docs:site:build: pass (language parity, 0 broken links)
  • pnpm examples:check: pass

Review

change-risk-reviewer: no merge risks. Optional note: dated "measured with zod 4.5.4" evidence strings in the capability JSONs are historical records, left unchanged.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-25T02:08:18.937835Z 56a6dc9 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@changeset-bot

changeset-bot Bot commented Sep 25, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 56a6dc9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes changesets to release 1 package
Name Type
create-agent-bundle Patch

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@changeset-bot

changeset-bot Bot commented Sep 25, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: aa7384c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
create-agent-bundle Patch
@agent-bundle/runtime Minor
agent-bundle Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 56a6dc956a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

"react": "^19.2.0",
"react-dom": "^19.2.0",
"zod": "^4.5.4"
"zod": "^4.6.4"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add the runtime to the release changeset

The only modified changeset still names create-agent-bundle, so changeset version will not bump or publish @agent-bundle/runtime with this new peer constraint; the documented ^4.6.4 floor would therefore be absent from the next runtime release. Restore the unrelated #808 changeset and add this PR's single changeset naming @agent-bundle/runtime as a pre-1.0 minor (and the other affected publishable packages as appropriate).

AGENTS.md reference: AGENTS.md:L116-L123

Useful? React with 👍 / 👎.

@pkg-pr-new

pkg-pr-new Bot commented Sep 25, 2026

Copy link
Copy Markdown
npm i https://pkg.pr.new/ScriptedAlchemy/agent-bundle@842
npm i https://pkg.pr.new/ScriptedAlchemy/agent-bundle/create-agent-bundle@842
npm i https://pkg.pr.new/ScriptedAlchemy/agent-bundle/rsc-markdown-stream@842
npm i https://pkg.pr.new/ScriptedAlchemy/agent-bundle/@agent-bundle/runtime@842

commit: aa7384c

@ScriptedAlchemy
ScriptedAlchemy merged commit 6e836aa into main Sep 25, 2026
6 checks passed
@github-actions github-actions Bot mentioned this pull request Sep 25, 2026
@ScriptedAlchemy
ScriptedAlchemy deleted the chore/zod-4.6.4 branch September 25, 2026 20:20
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