Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"ignore": "^7.0.5",
"node-forge": "^1.3.2",
"pretty-bytes": "^5.6.0",
"zod": "^3.25.67",
"zod": "^3.25.67 || ^4.0.0",
"zod-to-json-schema": "^3.24.6"
},
"resolutions": {
Expand Down
2 changes: 1 addition & 1 deletion src/node/sign.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import forge from "node-forge";
import { tmpdir } from "os";
import { join } from "path";
import { promisify } from "util";
import type { z } from "zod";
import type { z } from "zod/v3";

import type { McpbSignatureInfoSchema } from "../shared/common.js";

Expand Down
2 changes: 1 addition & 1 deletion src/schemas/0.1.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as z from "zod";
import * as z from "zod/v3";

export const MANIFEST_VERSION = "0.1";

Expand Down
2 changes: 1 addition & 1 deletion src/schemas/0.2.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as z from "zod";
import * as z from "zod/v3";

export const MANIFEST_VERSION = "0.2";

Expand Down
2 changes: 1 addition & 1 deletion src/schemas/0.3.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// WIP: This schema is under development and not yet finalized
import * as z from "zod";
import * as z from "zod/v3";

export const MANIFEST_VERSION = "0.3";

Expand Down
2 changes: 1 addition & 1 deletion src/schemas/0.4.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// v0.4: Adds UV runtime support for Python extensions
import * as z from "zod";
import * as z from "zod/v3";

export const MANIFEST_VERSION = "0.4";

Expand Down
2 changes: 1 addition & 1 deletion src/schemas/any.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as z from "zod";
import * as z from "zod/v3";

import * as v0_1 from "./0.1.js";
import * as v0_2 from "./0.2.js";
Expand Down
2 changes: 1 addition & 1 deletion src/schemas_loose/0.1.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as z from "zod";
import * as z from "zod/v3";

export const MANIFEST_VERSION = "0.1";

Expand Down
2 changes: 1 addition & 1 deletion src/schemas_loose/0.2.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as z from "zod";
import * as z from "zod/v3";

export const MANIFEST_VERSION = "0.2";

Expand Down
2 changes: 1 addition & 1 deletion src/schemas_loose/0.3.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as z from "zod";
import * as z from "zod/v3";

export const MANIFEST_VERSION = "0.3";

Expand Down
2 changes: 1 addition & 1 deletion src/schemas_loose/0.4.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// v0.4: Adds UV runtime support for Python extensions
import * as z from "zod";
import * as z from "zod/v3";

export const MANIFEST_VERSION = "0.4";

Expand Down
2 changes: 1 addition & 1 deletion src/shared/common.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { z } from "zod";
import { z } from "zod/v3";

export const McpbUserConfigValuesSchema = z.record(
z.string(),
Expand Down
2 changes: 1 addition & 1 deletion src/shared/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { z } from "zod";
import type { z } from "zod/v3";

import type { Logger, McpbManifestAny } from "../types.js";
import type { McpbUserConfigValuesSchema } from "./common.js";
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type * as z from "zod";
import type * as z from "zod/v3";

import type { McpbManifestSchema as McpbManifestSchemaAny } from "./schemas/any.js";

Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ __metadata:
pretty-bytes: "npm:^5.6.0"
ts-jest: "npm:^29.3.2"
typescript: "npm:^5.6.3"
zod: "npm:^3.25.67"
zod: "npm:^3.25.67 || ^4.0.0"
zod-to-json-schema: "npm:^3.24.6"
bin:
mcpb: dist/cli/cli.js
Expand Down Expand Up @@ -6397,9 +6397,9 @@ __metadata:
languageName: node
linkType: hard

"zod@npm:^3.25.67":
version: 3.25.67
resolution: "zod@npm:3.25.67"
checksum: 10c0/80a0cab3033272c4ab9312198081f0c4ea88e9673c059aa36dc32024906363729db54bdb78f3dc9d5529bd1601f74974d5a56c0a23e40c6f04a9270c9ff22336
"zod@npm:^3.25.67 || ^4.0.0":
version: 4.6.7
resolution: "zod@npm:4.6.7"
checksum: 10c0/4ce2eb14034317b7254e347ca37b5ad591cf8333147030cf05b9b5d31692d45073f7f2747aa50cf8c6b29012194d2b22978cecc89969cf34a0d18e89d0ee7d7b
languageName: node
linkType: hard