Skip to content

fix(agent): use zod/v4 imports in agent-server#1550

Merged
tatoalo merged 1 commit intomainfrom
fix/zod-v4-imports
Apr 8, 2026
Merged

fix(agent): use zod/v4 imports in agent-server#1550
tatoalo merged 1 commit intomainfrom
fix/zod-v4-imports

Conversation

@tatoalo
Copy link
Copy Markdown
Contributor

@tatoalo tatoalo commented Apr 8, 2026

Summary

  • The Zod 4 upgrade (deps: Upgrade to Zod 4 #1461) converted schemas.ts and bin.ts to v4 APIs (z.url(), error shorthand) but kept the "zod" import, which resolves to the v3 compat layer which resulted breaking typechecks.
  • Fix: "zod""zod/v4" in both files.

@tatoalo tatoalo requested review from a team April 8, 2026 10:26
@tatoalo tatoalo enabled auto-merge (squash) April 8, 2026 10:29
@tatoalo tatoalo merged commit d85c7e0 into main Apr 8, 2026
15 checks passed
@tatoalo tatoalo deleted the fix/zod-v4-imports branch April 8, 2026 10:34
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.

3 participants