From 61c28f52f793726c275aeba6502c642b47688345 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 11 Nov 2026 14:16:41 +0000 Subject: [PATCH 1/2] build(deps): bump zod from 4.4.3 to 4.6.6 Bumps [zod](https://github.com/colinhacks/zod) from 4.4.3 to 4.6.6. - [Release notes](https://github.com/colinhacks/zod/releases) - [Commits](https://github.com/colinhacks/zod/compare/v4.4.3...v4.6.6) --- updated-dependencies: - dependency-name: zod dependency-version: 4.6.6 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- examples/mcp/package.json | 2 +- examples/pi-ai/package.json | 2 +- examples/rlm/package.json | 2 +- examples/tanstack-ai/package.json | 2 +- examples/think-compare-runtimes/package.json | 2 +- examples/think/package.json | 2 +- examples/tutorial/package.json | 2 +- package-lock.json | 91 ++++++++++++++++++-- packages/computer/package.json | 4 +- 9 files changed, 91 insertions(+), 18 deletions(-) diff --git a/examples/mcp/package.json b/examples/mcp/package.json index ea7fd0331..b1ce8b696 100644 --- a/examples/mcp/package.json +++ b/examples/mcp/package.json @@ -19,7 +19,7 @@ "@platformatic/vfs": "^0.4.0", "ai": "^7.0.0", "just-bash": "^3.6.0", - "zod": "^4.4.3" + "zod": "^4.6.6" }, "devDependencies": { "@cloudflare/vitest-pool-workers": "^0.22.0", diff --git a/examples/pi-ai/package.json b/examples/pi-ai/package.json index 533998a7f..4b2f104a1 100644 --- a/examples/pi-ai/package.json +++ b/examples/pi-ai/package.json @@ -15,7 +15,7 @@ "@cloudflare/computer": "*", "@earendil-works/pi-ai": "^0.99.2", "just-bash": "^3.6.0", - "zod": "^4.4.3" + "zod": "^4.6.6" }, "devDependencies": { "@cloudflare/dofs": "*", diff --git a/examples/rlm/package.json b/examples/rlm/package.json index 5729489d7..fd94a4682 100644 --- a/examples/rlm/package.json +++ b/examples/rlm/package.json @@ -22,7 +22,7 @@ "react": "^19.2.7", "react-dom": "^19.2.7", "workers-ai-provider": "^4.0.0", - "zod": "^4.4.3" + "zod": "^4.6.6" }, "devDependencies": { "@cloudflare/vite-plugin": "^1.68.0", diff --git a/examples/tanstack-ai/package.json b/examples/tanstack-ai/package.json index 35ea3292e..7d233277b 100644 --- a/examples/tanstack-ai/package.json +++ b/examples/tanstack-ai/package.json @@ -16,7 +16,7 @@ "@tanstack/ai": "^0.63.0", "@tanstack/ai-cloudflare": "^0.2.1", "just-bash": "^3.6.0", - "zod": "^4.4.3" + "zod": "^4.6.6" }, "devDependencies": { "@cloudflare/dofs": "*", diff --git a/examples/think-compare-runtimes/package.json b/examples/think-compare-runtimes/package.json index 509f2aef4..e3ba903dd 100644 --- a/examples/think-compare-runtimes/package.json +++ b/examples/think-compare-runtimes/package.json @@ -38,7 +38,7 @@ "remark-gfm": "^4.0.1", "shiki": "^4.2.0", "workers-ai-provider": "^4.0.0", - "zod": "^4.4.3" + "zod": "^4.6.6" }, "devDependencies": { "@cloudflare/vite-plugin": "^1.68.0", diff --git a/examples/think/package.json b/examples/think/package.json index d9cf4c7c0..c11591635 100644 --- a/examples/think/package.json +++ b/examples/think/package.json @@ -28,7 +28,7 @@ "isomorphic-git": "^1.38.3", "just-bash": "^3.6.0", "workers-ai-provider": "^4.0.0", - "zod": "^4.4.3" + "zod": "^4.6.6" }, "devDependencies": { "typescript": "^6.0.3", diff --git a/examples/tutorial/package.json b/examples/tutorial/package.json index 78b08b93b..58fa77b28 100644 --- a/examples/tutorial/package.json +++ b/examples/tutorial/package.json @@ -15,7 +15,7 @@ "@cloudflare/think": "^0.21.0", "agents": "^0.29.0", "ai": "^7.0.0", - "zod": "^4.4.3" + "zod": "^4.6.6" }, "devDependencies": { "typescript": "^6.0.3", diff --git a/package-lock.json b/package-lock.json index 63af92295..ebb601f3d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -298,7 +298,7 @@ "@platformatic/vfs": "^0.4.0", "ai": "^7.0.0", "just-bash": "^3.6.0", - "zod": "^4.4.3" + "zod": "^4.6.6" }, "devDependencies": { "@cloudflare/vitest-pool-workers": "^0.22.0", @@ -307,6 +307,15 @@ "wrangler": "^4.148.0" } }, + "examples/mcp/node_modules/zod": { + "version": "4.6.7", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", + "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, "examples/pi-ai": { "name": "@example/computer-pi-ai", "version": "0.0.0", @@ -314,7 +323,7 @@ "@cloudflare/computer": "*", "@earendil-works/pi-ai": "^0.99.2", "just-bash": "^3.6.0", - "zod": "^4.4.3" + "zod": "^4.6.6" }, "devDependencies": { "@cloudflare/dofs": "*", @@ -322,6 +331,15 @@ "wrangler": "^4.148.0" } }, + "examples/pi-ai/node_modules/zod": { + "version": "4.6.7", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", + "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, "examples/remote-exec": { "name": "@example/computer-remote-exec", "version": "0.0.0", @@ -348,7 +366,7 @@ "react": "^19.2.7", "react-dom": "^19.2.7", "workers-ai-provider": "^4.0.0", - "zod": "^4.4.3" + "zod": "^4.6.6" }, "devDependencies": { "@cloudflare/vite-plugin": "^1.68.0", @@ -530,6 +548,15 @@ "packages/*" ] }, + "examples/rlm/node_modules/zod": { + "version": "4.6.7", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", + "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, "examples/tanstack-ai": { "name": "@example/computer-tanstack-ai", "version": "0.0.0", @@ -538,7 +565,7 @@ "@tanstack/ai": "^0.63.0", "@tanstack/ai-cloudflare": "^0.2.1", "just-bash": "^3.6.0", - "zod": "^4.4.3" + "zod": "^4.6.6" }, "devDependencies": { "@cloudflare/dofs": "*", @@ -546,6 +573,15 @@ "wrangler": "^4.148.0" } }, + "examples/tanstack-ai/node_modules/zod": { + "version": "4.6.7", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", + "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, "examples/think": { "name": "@cloudflare/example-think", "version": "0.0.0", @@ -563,7 +599,7 @@ "isomorphic-git": "^1.38.3", "just-bash": "^3.6.0", "workers-ai-provider": "^4.0.0", - "zod": "^4.4.3" + "zod": "^4.6.6" }, "bin": { "think-chat": "cli/chat.mjs" @@ -599,7 +635,7 @@ "remark-gfm": "^4.0.1", "shiki": "^4.2.0", "workers-ai-provider": "^4.0.0", - "zod": "^4.4.3" + "zod": "^4.6.6" }, "devDependencies": { "@cloudflare/vite-plugin": "^1.68.0", @@ -829,6 +865,15 @@ "packages/*" ] }, + "examples/think-compare-runtimes/node_modules/zod": { + "version": "4.6.7", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", + "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, "examples/think/node_modules/@cloudflare/think": { "version": "0.21.0", "resolved": "https://registry.npmjs.org/@cloudflare/think/-/think-0.21.0.tgz", @@ -1005,6 +1050,15 @@ "packages/*" ] }, + "examples/think/node_modules/zod": { + "version": "4.6.7", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", + "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, "examples/tutorial": { "name": "@example/computer-tutorial", "version": "0.0.0", @@ -1013,7 +1067,7 @@ "@cloudflare/think": "^0.21.0", "agents": "^0.29.0", "ai": "^7.0.0", - "zod": "^4.4.3" + "zod": "^4.6.6" }, "devDependencies": { "typescript": "^6.0.3", @@ -1199,6 +1253,15 @@ "packages/*" ] }, + "examples/tutorial/node_modules/zod": { + "version": "4.6.7", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", + "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, "examples/vite-bundle": { "name": "@example/computer-vite-bundle", "version": "0.0.0", @@ -20700,7 +20763,7 @@ "vite": "^8.3.4", "vitest": "^4.1.12", "wrangler": "^4.148.0", - "zod": "^4.4.3" + "zod": "^4.6.6" }, "peerDependencies": { "@cloudflare/workers-types": "^4.20260616.1 || ^5.20260921.1", @@ -20708,7 +20771,7 @@ "ai": "^6.0.196 || ^7.0.0", "just-bash": "^3.6.0", "vite": "^6.0.0 || ^7.0.0 || ^8.0.0", - "zod": "^4.4.3" + "zod": "^4.6.6" }, "peerDependenciesMeta": { "@cloudflare/workers-types": { @@ -20751,6 +20814,16 @@ "node": ">= 4" } }, + "packages/computer/node_modules/zod": { + "version": "4.6.7", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", + "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, "packages/computerd": { "name": "@cloudflare/computerd", "version": "0.11.0", diff --git a/packages/computer/package.json b/packages/computer/package.json index 6d9db2df5..87b29c3af 100644 --- a/packages/computer/package.json +++ b/packages/computer/package.json @@ -182,7 +182,7 @@ "ai": "^6.0.196 || ^7.0.0", "just-bash": "^3.6.0", "vite": "^6.0.0 || ^7.0.0 || ^8.0.0", - "zod": "^4.4.3" + "zod": "^4.6.6" }, "peerDependenciesMeta": { "@cloudflare/workers-types": { @@ -229,6 +229,6 @@ "vite": "^8.3.4", "vitest": "^4.1.12", "wrangler": "^4.148.0", - "zod": "^4.4.3" + "zod": "^4.6.6" } } From 3617d4adf5b8890afd5c482f2656ab0316f291db Mon Sep 17 00:00:00 2001 From: aron <263346377+aron-cf@users.noreply.github.com> Date: Wed, 11 Nov 2026 18:05:04 +0000 Subject: [PATCH 2/2] build: Share one zod across the workspace @cloudflare/vitest-pool-workers pins zod to exactly 4.4.3, so with the workspaces asking for ^4.6.6, npm kept 4.4.3 at the root and gave each workspace its own 4.6.6. @cloudflare/codemode and the MCP SDK resolve zod from the root, so they read schemas built with the other copy: the MCP example's tools/list failed with "Cannot read properties of undefined (reading 'push')". The root now asks for ^4.6.6 itself, so 4.6.6 is the one copy every workspace and its dependencies share, and vitest-pool-workers keeps its own 4.4.3. --- package-lock.json | 92 ++++++++--------------------------------------- package.json | 3 +- 2 files changed, 17 insertions(+), 78 deletions(-) diff --git a/package-lock.json b/package-lock.json index ebb601f3d..d4dac4198 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,7 +25,8 @@ "pkg-pr-new": "^0.0.75", "postject": "^1.0.0-alpha.6", "sherif": "^1.11.1", - "typescript": "^6.0.3" + "typescript": "^6.0.3", + "zod": "^4.6.6" } }, "examples/artifacts": { @@ -307,15 +308,6 @@ "wrangler": "^4.148.0" } }, - "examples/mcp/node_modules/zod": { - "version": "4.6.7", - "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", - "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } - }, "examples/pi-ai": { "name": "@example/computer-pi-ai", "version": "0.0.0", @@ -331,15 +323,6 @@ "wrangler": "^4.148.0" } }, - "examples/pi-ai/node_modules/zod": { - "version": "4.6.7", - "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", - "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } - }, "examples/remote-exec": { "name": "@example/computer-remote-exec", "version": "0.0.0", @@ -548,15 +531,6 @@ "packages/*" ] }, - "examples/rlm/node_modules/zod": { - "version": "4.6.7", - "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", - "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } - }, "examples/tanstack-ai": { "name": "@example/computer-tanstack-ai", "version": "0.0.0", @@ -573,15 +547,6 @@ "wrangler": "^4.148.0" } }, - "examples/tanstack-ai/node_modules/zod": { - "version": "4.6.7", - "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", - "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } - }, "examples/think": { "name": "@cloudflare/example-think", "version": "0.0.0", @@ -865,15 +830,6 @@ "packages/*" ] }, - "examples/think-compare-runtimes/node_modules/zod": { - "version": "4.6.7", - "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", - "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } - }, "examples/think/node_modules/@cloudflare/think": { "version": "0.21.0", "resolved": "https://registry.npmjs.org/@cloudflare/think/-/think-0.21.0.tgz", @@ -1050,15 +1006,6 @@ "packages/*" ] }, - "examples/think/node_modules/zod": { - "version": "4.6.7", - "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", - "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } - }, "examples/tutorial": { "name": "@example/computer-tutorial", "version": "0.0.0", @@ -1253,15 +1200,6 @@ "packages/*" ] }, - "examples/tutorial/node_modules/zod": { - "version": "4.6.7", - "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", - "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } - }, "examples/vite-bundle": { "name": "@example/computer-vite-bundle", "version": "0.0.0", @@ -3514,6 +3452,16 @@ } } }, + "node_modules/@cloudflare/vitest-pool-workers/node_modules/zod": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz", + "integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/colinhacks" + } + }, "node_modules/@cloudflare/workerd-darwin-64": { "version": "1.20261103.1", "resolved": "https://registry.npmjs.org/@cloudflare/workerd-darwin-64/-/workerd-darwin-64-1.20261103.1.tgz", @@ -20704,9 +20652,9 @@ } }, "node_modules/zod": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz", - "integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==", + "version": "4.6.6", + "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.6.tgz", + "integrity": "sha512-4UmzQUF5fxvfcYHlbjBmejU+w+hbDnWFx4aS8kBx7nPBHcO2SqPbpAG8snbdg+Xse4pRefR98hgjFgIMCI/UhA==", "license": "MIT", "funding": { "url": "https://github.com/sponsors/colinhacks" @@ -20814,16 +20762,6 @@ "node": ">= 4" } }, - "packages/computer/node_modules/zod": { - "version": "4.6.7", - "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.7.tgz", - "integrity": "sha512-g8W2D2kU6a8untc053fX1uVBKzM7yqAxW/3zwk83+6RyF2+SKOuV+c0wBDhUwzV1PaGapmZH+rmcUzPf+3CGwg==", - "dev": true, - "license": "MIT", - "funding": { - "url": "https://github.com/sponsors/colinhacks" - } - }, "packages/computerd": { "name": "@cloudflare/computerd", "version": "0.11.0", diff --git a/package.json b/package.json index b3371b366..72597e330 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "pkg-pr-new": "^0.0.75", "postject": "^1.0.0-alpha.6", "sherif": "^1.11.1", - "typescript": "^6.0.3" + "typescript": "^6.0.3", + "zod": "^4.6.6" } }