Adopt Zod 4.5 across AgentLayer - #72
Merged
K-Mistele merged 1 commit intoAug 30, 2026
Merged
Conversation
Docs Agent ReviewAgent finished with reason: error To apply these recommendations, comment: |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
bun.lock, including CI and release workflowsWhy
Zod 4.5 substantially reduces retained memory per schema. AgentLayer also passes Zod schemas across package boundaries, so resolving one exact version prevents incompatible
ZodTypeidentities. The application-levelzod/compileimports opt executables into lazy fast-path compilation without imposing process-wide behavior on published libraries.TanStack Router accepts Zod 4 schemas directly through Standard Schema. AgentLayer's editor does not use the Zod adapter, but its older Router plugin pulled Zod 3 into the lockfile; the upgraded plugin depends on Zod 4 and now deduplicates to 4.5.4.
Validation
bun install --frozen-lockfilebun check— 1,244 tests passed, 2 skippedbun run --cwd agents/codelayer buildbun run --cwd packages/yjs-fs buildbun run --cwd packages/yjs-fs-react buildbun run --cwd examples/yjs-fs-editor buildbun run agents/codelayer/src/cli.ts --helpbun run agents/docs-agent/src/workflow.ts --help