Pin zod-to-json-schema to 3.24.5#285
Conversation
edca8d6 to
492a7ea
Compare
0daee62 to
17dea55
Compare
17dea55 to
977dc99
Compare
|
The reason package-lock.json is excluded by npm is that npm is mostly used for libraries that need to mix and match their dependencies with other libraries. Therefore, you don't want exact dependencies locked but ranges instead. For cli tools you want fixed dependencies though. The cleanest solution would be to add shrinkwrap.json at some point in time. This is identical to a |
|
Would love to see this merged quickly. |
|
It also look like |
|
Huh, weird. Mind providing recreation steps or reporting an issue @nicbell? Author of the failing package here btw, and while I'm looking to limit my role in maintaining it I certainly don't want to leave it in a broken state :) |
|
Aha. ZTJS 3.25 has a less strict peer dependency version definition, allowing for zod 4 to be used. Under normal circumstances it should throw a type error if the end user hasn't used the "zod/v3" import path, but I noticed you're not defining a maximum version of zod as a peer dependency. The lessened restriction, along with the end user likely having "skipLibCheck" set to true in their tsconfig, caused your package to pull in zod 4 as a dependency without using the "zod/v3" import path, so what was eventually sent to zodToJsonSchema was an actual v4 schema. This would indeed produce an empty result. My recommended course of action is to add Zod 3.25 either as a direct dependency or as a peer dependency in your own package.json, and then release the pin of zod-to-json-schema. This should alleviate the compilers apparent confusion. If you do want to stick with 3.24, set a matching peer dependency for Zod as well. I'll look into the issue on my end in the coming week as well to see if I can't at the very least provide a warning that some versioning fuckery appears to be afoot. GLHF :) |
# 1.0.0 (2025-12-24) ### Bug Fixes * add `expanded` to `start` and `end` for GitLabDiscussionNoteSchema ([5024a2a](5024a2a)) * add `expanded` to `start` and `end` for GitLabDiscussionNoteSchema ([d99c483](d99c483)) * add package-lock.json to .gitignore ([067586c](067586c)) * add package-lock.json to .gitignore ([e7e49f0](e7e49f0)) * avoid error caused by line_range: null in discussion ([d50b7fd](d50b7fd)) * avoid error caused by line_range: null in discussion ([ac2cee2](ac2cee2)) * change default HOST from 0.0.0.0 to 127.0.0.1 ([zereight#289](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/289)) ([4225366](4225366)) * **ci:** add Node.js 22 setup for semantic-release ([#13](#13)) ([941a64b](941a64b)) * Correct formatting of GITLAB_API_URL environment variable in README ([06598d7](06598d7)) * Correct formatting of GITLAB_API_URL environment variable in README ([83f395d](83f395d)) * create_or_update_file now properly updates existing files ([#2](#2)) ([6f97958](6f97958)) * fix README ([f4b265b](f4b265b)) * fix README ([7323405](7323405)) * GitHub Actions workflow syntax errors ([6d6110c](6d6110c)) * GitHub Actions workflow syntax errors ([55d9a5e](55d9a5e)) * improve error handling for GitLab API rate limit exceeded ([11685d7](11685d7)) * improve error handling for GitLab API rate limit exceeded ([1a30d2c](1a30d2c)) * **list_issues:** add hint for scope all ([478df19](478df19)) * **list_issues:** add hint for scope all ([aa3b2ab](aa3b2ab)) * **list_issues:** make project_id optional ([b242522](b242522)) * **list_issues:** make project_id optional ([7cd4731](7cd4731)) * merge_requests_template can be null ([zereight#79](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/79)) ([cd8f0e5](cd8f0e5)) * merge_requests_template can be null ([zereight#79](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/79)) ([73fdd8f](73fdd8f)) * pin zod-to-json-schema to 3.24.5 to prevent breakage from v3.25.0 ([zereight#285](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/285)) ([1dfb212](1dfb212)) * remove duplicate entry for get_branch_diffs in tools list ([6bc1379](6bc1379)) * remove duplicate entry for get_branch_diffs in tools list ([8398109](8398109)) * rename to source branch ([7b8cbc0](7b8cbc0)) * rename to source branch ([5baa2d1](5baa2d1)) * **schemas:** make avatar_url nullable in GitLabUserSchema ([ab571d2](ab571d2)) * **schemas:** make avatar_url nullable in GitLabUserSchema ([3f630ca](3f630ca)) * **schemas:** make illustration nullable in GitLabPipelineSchema ([40e39d7](40e39d7)) * **schemas:** make illustration nullable in GitLabPipelineSchema ([87efa04](87efa04)) * Update Docker image repository name in workflow ([b97b264](b97b264)) * Update Docker image repository name in workflow ([29ac699](29ac699)) * Update README title and remove duplicate star history chart ([92a3e95](92a3e95)) * Update README title and remove duplicate star history chart ([126fa8c](126fa8c)) ### Features * add 405 response for GET /mcp endpoint when STREAMABLE_HTTP is enabled. https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#listening-for-messages-from-the-server ([zereight#295](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/295)) ([6a03064](6a03064)) * add branch comparison functionality and update related schemas ([c834ebc](c834ebc)) * add branch comparison functionality and update related schemas ([af81bd4](af81bd4)) * add configuration files and scripts for project setup ✨ ([5b35bc1](5b35bc1)) * add configuration files and scripts for project setup ✨ ([4aac7f5](4aac7f5)) * add cookie-based authentication support for enterprise GitLab ([zereight#101](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/101)) ([402f068](402f068)), closes [zereight#100](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/100) [tou#cookie](https://github.com/tou/issues/cookie) [tou#cookie](https://github.com/tou/issues/cookie) [tou#cookie](https://github.com/tou/issues/cookie) * add cookie-based authentication support for enterprise GitLab ([zereight#101](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/101)) ([17b8574](17b8574)), closes [zereight#100](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/100) [tou#cookie](https://github.com/tou/issues/cookie) [tou#cookie](https://github.com/tou/issues/cookie) [tou#cookie](https://github.com/tou/issues/cookie) * Add create_merge_request_thread tool for diff notes ([026dd58](026dd58)) * Add create_merge_request_thread tool for diff notes ([23b0348](23b0348)) * Add createDraftNote api support, useful for bulk code review ([5f08153](5f08153)) * Add createDraftNote api support, useful for bulk code review ([73f0c48](73f0c48)) * add docker image and push to dockerhub ([6f78969](6f78969)) * add docker image and push to dockerhub ([4fd7124](4fd7124)) * add GitLab search tools (global, project, group) ([#6](#6)) ([3e2e279](3e2e279)) * add GitLab tool modules with 52 tools and comprehensive tests ([#1](#1)) ([14bc851](14bc851)) * add GITLAB_LOCK_PROJECT environment variable ([c899a7d](c899a7d)) * add GITLAB_LOCK_PROJECT environment variable ([a102e94](a102e94)) * add HTTP transport security features ([#9](#9)) ([0eed0d6](0eed0d6)) * add issue discussions support ([4c57c37](4c57c37)) * add issue discussions support ([3d06892](3d06892)) * add MCP protocol logging for agent observability ([#10](#10)) ([85c4c50](85c4c50)) * add milestone management commands to README ([5762b32](5762b32)) * add milestone management commands to README ([bd75140](bd75140)) * add my_issues and list_project_members tools ([a519a56](a519a56)) * add my_issues and list_project_members tools ([f33f330](f33f330)) * Add NPM publish workflow for automated package publishing ([zereight#208](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/208)) ([7e985af](7e985af)) * Add NPM publish workflow for automated package publishing ([zereight#208](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/208)) ([5a4d416](5a4d416)) * add OAuth2 configuration examples and update documentation for Docker deployments ([1f6f2f8](1f6f2f8)) * add OAuth2 support and update documentation ([52661c4](52661c4)) * add pagination support for CI job logs to prevent context window flooding ([2905f30](2905f30)) * add pagination support for CI job logs to prevent context window flooding ([f05d8bf](f05d8bf)) * add read-only mode support via GITLAB_READ_ONLY_MODE environment variable ([7be17b7](7be17b7)) * add read-only mode support via GITLAB_READ_ONLY_MODE environment variable ([916a65a](916a65a)) * add support for creating and updating issue notes ([dc6cc59](dc6cc59)) * add support for creating and updating issue notes ([96d5e49](96d5e49)) * add support for ignoring files in branch diff results using regex patterns ([75fd5e8](75fd5e8)) * add support for ignoring files in branch diff results using regex patterns ([946c49a](946c49a)) * add tools for milestones ([fd1c8b9](fd1c8b9)) * add tools for milestones ([bb0da0a](bb0da0a)) * add user retrieval functions and schemas for GitLab API integration ([005b46a](005b46a)) * add user retrieval functions and schemas for GitLab API integration ([440921a](440921a)) * bump version to 1.0.61 🎉 ([ed032ba](ed032ba)) * bump version to 1.0.61 🎉 ([9a2bc5e](9a2bc5e)) * Decode project_id for GitLab API calls ([08ab135](08ab135)) * Decode project_id for GitLab API calls ([95ad321](95ad321)) * enhance CreateMergeRequest options with assignee, reviewer, and label support ([bf369a4](bf369a4)) * enhance CreateMergeRequest options with assignee, reviewer, and label support ([e692ddc](e692ddc)) * get merge request default description template on project retrieval ([808c34d](808c34d)) * get merge request default description template on project retrieval ([886faf5](886faf5)) * Gitlab list repository tree tool ([bccd5f2](bccd5f2)) * Gitlab list repository tree tool ([58f51a4](58f51a4)) * **gitlab:** GitLab Merge Request Notes and Discussions: Full CRUD + Thread Resolution ([zereight#260](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/260)) ([067cdb6](067cdb6)) * Implement add_merge_request_thread_note function for adding notes to existing MR threads ([3f2b355](3f2b355)) * Implement add_merge_request_thread_note function for adding notes to existing MR threads ([5f9aecd](5f9aecd)) * implement gitlab releases endpoint ([zereight#259](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/259)) ([9b5c118](9b5c118)) * implement list_merge_requests functionality ([cc84777](cc84777)) * implement list_merge_requests functionality ([6acecd2](6acecd2)) * Implement proxy configuration for HTTP/HTTPS/SOCKS ([7c2578f](7c2578f)) * Implement proxy configuration for HTTP/HTTPS/SOCKS ([94b206f](94b206f)) * **pipeline:** Add list_pipeline_trigger_jobs tools ([56a53b3](56a53b3)) * **pipeline:** Add list_pipeline_trigger_jobs tools ([0006e67](0006e67)) * **release:** 1.0.44 adds pipeline jobs tool ([ea06c21](ea06c21)) * **release:** 1.0.44 adds pipeline jobs tool ([4e4eb46](4e4eb46)) * rename ignored_files_regex to excluded_file_patterns and update descriptions for clarity ([fef3606](fef3606)) * rename ignored_files_regex to excluded_file_patterns and update descriptions for clarity ([159da36](159da36)) * replace GITLAB_LOCK_PROJECT with GITLAB_ALLOWED_PROJECT_IDS ([009ad97](009ad97)) * replace GITLAB_LOCK_PROJECT with GITLAB_ALLOWED_PROJECT_IDS ([6a77b04](6a77b04)) * support resolving merge request notes ([bde83c0](bde83c0)) * support resolving merge request notes ([4c349a3](4c349a3)) * support search by branch for get_merge_request ([20f6275](20f6275)) * support search by branch for get_merge_request ([eaadf24](eaadf24)) * trigger workflow after fix ([435c8f1](435c8f1)) * trigger workflow after fix ([40e2a5d](40e2a5d)) * trigger workflow after jq fix ([5c67d68](5c67d68)) * trigger workflow after jq fix ([116d1f4](116d1f4)) * trigger workflow run ([7acdff9](7acdff9)) * trigger workflow run ([c047571](c047571)) * trigger workflow with GITLAB_PERSONAL_ACCESS_TOKEN ([e967bb5](e967bb5)) * trigger workflow with GITLAB_PERSONAL_ACCESS_TOKEN ([ebec8b1](ebec8b1))
# [0.1.0](v0.0.0...v0.1.0) (2025-12-24) ### Bug Fixes * add `expanded` to `start` and `end` for GitLabDiscussionNoteSchema ([5024a2a](5024a2a)) * add `expanded` to `start` and `end` for GitLabDiscussionNoteSchema ([d99c483](d99c483)) * add package-lock.json to .gitignore ([067586c](067586c)) * add package-lock.json to .gitignore ([e7e49f0](e7e49f0)) * avoid error caused by line_range: null in discussion ([d50b7fd](d50b7fd)) * avoid error caused by line_range: null in discussion ([ac2cee2](ac2cee2)) * change default HOST from 0.0.0.0 to 127.0.0.1 ([zereight#289](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/289)) ([4225366](4225366)) * **ci:** add Node.js 22 setup for semantic-release ([#13](#13)) ([941a64b](941a64b)) * Correct formatting of GITLAB_API_URL environment variable in README ([06598d7](06598d7)) * Correct formatting of GITLAB_API_URL environment variable in README ([83f395d](83f395d)) * create_or_update_file now properly updates existing files ([#2](#2)) ([6f97958](6f97958)) * fix README ([f4b265b](f4b265b)) * fix README ([7323405](7323405)) * GitHub Actions workflow syntax errors ([6d6110c](6d6110c)) * GitHub Actions workflow syntax errors ([55d9a5e](55d9a5e)) * improve error handling for GitLab API rate limit exceeded ([11685d7](11685d7)) * improve error handling for GitLab API rate limit exceeded ([1a30d2c](1a30d2c)) * **list_issues:** add hint for scope all ([478df19](478df19)) * **list_issues:** add hint for scope all ([aa3b2ab](aa3b2ab)) * **list_issues:** make project_id optional ([b242522](b242522)) * **list_issues:** make project_id optional ([7cd4731](7cd4731)) * merge_requests_template can be null ([zereight#79](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/79)) ([cd8f0e5](cd8f0e5)) * merge_requests_template can be null ([zereight#79](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/79)) ([73fdd8f](73fdd8f)) * pin zod-to-json-schema to 3.24.5 to prevent breakage from v3.25.0 ([zereight#285](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/285)) ([1dfb212](1dfb212)) * remove duplicate entry for get_branch_diffs in tools list ([6bc1379](6bc1379)) * remove duplicate entry for get_branch_diffs in tools list ([8398109](8398109)) * rename to source branch ([7b8cbc0](7b8cbc0)) * rename to source branch ([5baa2d1](5baa2d1)) * **schemas:** make avatar_url nullable in GitLabUserSchema ([ab571d2](ab571d2)) * **schemas:** make avatar_url nullable in GitLabUserSchema ([3f630ca](3f630ca)) * **schemas:** make illustration nullable in GitLabPipelineSchema ([40e39d7](40e39d7)) * **schemas:** make illustration nullable in GitLabPipelineSchema ([87efa04](87efa04)) * Update Docker image repository name in workflow ([b97b264](b97b264)) * Update Docker image repository name in workflow ([29ac699](29ac699)) * Update README title and remove duplicate star history chart ([92a3e95](92a3e95)) * Update README title and remove duplicate star history chart ([126fa8c](126fa8c)) ### Features * add 405 response for GET /mcp endpoint when STREAMABLE_HTTP is enabled. https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#listening-for-messages-from-the-server ([zereight#295](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/295)) ([6a03064](6a03064)) * add branch comparison functionality and update related schemas ([c834ebc](c834ebc)) * add branch comparison functionality and update related schemas ([af81bd4](af81bd4)) * add configuration files and scripts for project setup ✨ ([5b35bc1](5b35bc1)) * add configuration files and scripts for project setup ✨ ([4aac7f5](4aac7f5)) * add cookie-based authentication support for enterprise GitLab ([zereight#101](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/101)) ([402f068](402f068)), closes [zereight#100](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/100) [tou#cookie](https://github.com/tou/issues/cookie) [tou#cookie](https://github.com/tou/issues/cookie) [tou#cookie](https://github.com/tou/issues/cookie) * add cookie-based authentication support for enterprise GitLab ([zereight#101](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/101)) ([17b8574](17b8574)), closes [zereight#100](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/100) [tou#cookie](https://github.com/tou/issues/cookie) [tou#cookie](https://github.com/tou/issues/cookie) [tou#cookie](https://github.com/tou/issues/cookie) * Add create_merge_request_thread tool for diff notes ([026dd58](026dd58)) * Add create_merge_request_thread tool for diff notes ([23b0348](23b0348)) * Add createDraftNote api support, useful for bulk code review ([5f08153](5f08153)) * Add createDraftNote api support, useful for bulk code review ([73f0c48](73f0c48)) * add docker image and push to dockerhub ([6f78969](6f78969)) * add docker image and push to dockerhub ([4fd7124](4fd7124)) * add GitLab search tools (global, project, group) ([#6](#6)) ([3e2e279](3e2e279)) * add GitLab tool modules with 52 tools and comprehensive tests ([#1](#1)) ([14bc851](14bc851)) * add GITLAB_LOCK_PROJECT environment variable ([c899a7d](c899a7d)) * add GITLAB_LOCK_PROJECT environment variable ([a102e94](a102e94)) * add HTTP transport security features ([#9](#9)) ([0eed0d6](0eed0d6)) * add issue discussions support ([4c57c37](4c57c37)) * add issue discussions support ([3d06892](3d06892)) * add MCP protocol logging for agent observability ([#10](#10)) ([85c4c50](85c4c50)) * add milestone management commands to README ([5762b32](5762b32)) * add milestone management commands to README ([bd75140](bd75140)) * add my_issues and list_project_members tools ([a519a56](a519a56)) * add my_issues and list_project_members tools ([f33f330](f33f330)) * Add NPM publish workflow for automated package publishing ([zereight#208](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/208)) ([7e985af](7e985af)) * Add NPM publish workflow for automated package publishing ([zereight#208](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/208)) ([5a4d416](5a4d416)) * add OAuth2 configuration examples and update documentation for Docker deployments ([1f6f2f8](1f6f2f8)) * add OAuth2 support and update documentation ([52661c4](52661c4)) * add pagination support for CI job logs to prevent context window flooding ([2905f30](2905f30)) * add pagination support for CI job logs to prevent context window flooding ([f05d8bf](f05d8bf)) * add read-only mode support via GITLAB_READ_ONLY_MODE environment variable ([7be17b7](7be17b7)) * add read-only mode support via GITLAB_READ_ONLY_MODE environment variable ([916a65a](916a65a)) * add support for creating and updating issue notes ([dc6cc59](dc6cc59)) * add support for creating and updating issue notes ([96d5e49](96d5e49)) * add support for ignoring files in branch diff results using regex patterns ([75fd5e8](75fd5e8)) * add support for ignoring files in branch diff results using regex patterns ([946c49a](946c49a)) * add tools for milestones ([fd1c8b9](fd1c8b9)) * add tools for milestones ([bb0da0a](bb0da0a)) * add user retrieval functions and schemas for GitLab API integration ([005b46a](005b46a)) * add user retrieval functions and schemas for GitLab API integration ([440921a](440921a)) * bump version to 1.0.61 🎉 ([ed032ba](ed032ba)) * bump version to 1.0.61 🎉 ([9a2bc5e](9a2bc5e)) * Decode project_id for GitLab API calls ([08ab135](08ab135)) * Decode project_id for GitLab API calls ([95ad321](95ad321)) * enhance CreateMergeRequest options with assignee, reviewer, and label support ([bf369a4](bf369a4)) * enhance CreateMergeRequest options with assignee, reviewer, and label support ([e692ddc](e692ddc)) * get merge request default description template on project retrieval ([808c34d](808c34d)) * get merge request default description template on project retrieval ([886faf5](886faf5)) * Gitlab list repository tree tool ([bccd5f2](bccd5f2)) * Gitlab list repository tree tool ([58f51a4](58f51a4)) * **gitlab:** GitLab Merge Request Notes and Discussions: Full CRUD + Thread Resolution ([zereight#260](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/260)) ([067cdb6](067cdb6)) * Implement add_merge_request_thread_note function for adding notes to existing MR threads ([3f2b355](3f2b355)) * Implement add_merge_request_thread_note function for adding notes to existing MR threads ([5f9aecd](5f9aecd)) * implement gitlab releases endpoint ([zereight#259](https://github.com/detailobsessed/efficient-gitlab-mcp/issues/259)) ([9b5c118](9b5c118)) * implement list_merge_requests functionality ([cc84777](cc84777)) * implement list_merge_requests functionality ([6acecd2](6acecd2)) * Implement proxy configuration for HTTP/HTTPS/SOCKS ([7c2578f](7c2578f)) * Implement proxy configuration for HTTP/HTTPS/SOCKS ([94b206f](94b206f)) * **pipeline:** Add list_pipeline_trigger_jobs tools ([56a53b3](56a53b3)) * **pipeline:** Add list_pipeline_trigger_jobs tools ([0006e67](0006e67)) * **release:** 1.0.44 adds pipeline jobs tool ([ea06c21](ea06c21)) * **release:** 1.0.44 adds pipeline jobs tool ([4e4eb46](4e4eb46)) * rename ignored_files_regex to excluded_file_patterns and update descriptions for clarity ([fef3606](fef3606)) * rename ignored_files_regex to excluded_file_patterns and update descriptions for clarity ([159da36](159da36)) * replace GITLAB_LOCK_PROJECT with GITLAB_ALLOWED_PROJECT_IDS ([009ad97](009ad97)) * replace GITLAB_LOCK_PROJECT with GITLAB_ALLOWED_PROJECT_IDS ([6a77b04](6a77b04)) * support resolving merge request notes ([bde83c0](bde83c0)) * support resolving merge request notes ([4c349a3](4c349a3)) * support search by branch for get_merge_request ([20f6275](20f6275)) * support search by branch for get_merge_request ([eaadf24](eaadf24)) * trigger workflow after fix ([435c8f1](435c8f1)) * trigger workflow after fix ([40e2a5d](40e2a5d)) * trigger workflow after jq fix ([5c67d68](5c67d68)) * trigger workflow after jq fix ([116d1f4](116d1f4)) * trigger workflow run ([7acdff9](7acdff9)) * trigger workflow run ([c047571](c047571)) * trigger workflow with GITLAB_PERSONAL_ACCESS_TOKEN ([e967bb5](e967bb5)) * trigger workflow with GITLAB_PERSONAL_ACCESS_TOKEN ([ebec8b1](ebec8b1))
Summary
zod-to-json-schemato exactly3.24.5by removing the caret range (^) to prevent end users from getting the broken v3.25.0Problem
package.jsondeclaredzod-to-json-schemawith a caret range (^3.23.5). When version 3.25.0 was released yesterday, the converter stopped emittingtype: "object"for multiple tool schemas. MCP Inspector (and any strict MCP SDK client) now rejectslist_toolswith dozens ofinvalid_literal expected "object"errors.Why this went unnoticed in development:
The repo's
package-lock.jsonlocked the version to3.24.5, so developers runningnpm installin the repo always got the working version. However,package-lock.jsonis not published to npm by default—it's automatically excluded from the published package tarball.What happens to end users since v3.25.0 was released yesterday:
When users install via
npm install @zereight/mcp-gitlabornpx @zereight/mcp-gitlab:package.jsonranges^3.23.5allows any version>=3.23.5 <4.0.03.25.0This means anyone doing a fresh install of the package since yesterday is receiving an incompatible version of
zod-to-json-schemathat breaks tool schema generation.Fix
Change
"zod-to-json-schema": "^3.23.5"to"zod-to-json-schema": "3.24.5"(exact pin, no caret). This ensures the known-working version frompackage-lock.jsonis always installed for end users.