Commit 67402d8
fix: use Zod v4 types consistently across all tool files
Updated tool-types.ts to import from "zod/v4" instead of "zod" to
ensure type compatibility between tool definitions and execution.
Added type assertion for toJSONSchema params to handle overload
resolution with exactOptionalPropertyTypes.
This resolves all TypeScript compilation errors while maintaining
full type safety with proper Zod v4 types throughout.
All tests pass (21 passed, 2 skipped).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 33645ac commit 67402d8
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments