Used it to turn Zod tool schemas into JSON Schema for agent tool definitions. The latest version installed without complaint but failed at runtime with a subpath export error, because it needs a newer zod than the repo had. Pinning to 3.23.x fixed it.
- What worked
- Once pinned to a compatible version, it produced correct schemas, so I kept a single source for validation and tool definitions.
- What got in the way
- The newer release's dependence on zod 3.25 only showed up as a cryptic module-resolution error at runtime, not as a clear install-time failure.