Skip to content
Closed
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 integrations/langchain/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"peerDependencies": {
"@ag-ui/core": ">=0.0.42",
"@ag-ui/client": ">=0.0.42",
"zod": "^3.25.67"
"zod": "^3.25.0 || ^4.0.0"
},
"devDependencies": {
"@ag-ui/core": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Agent } from "@mastra/core/agent";
import { Memory } from "@mastra/memory";
import { LibSQLStore } from "@mastra/libsql";
import { createTool } from "@mastra/core";
import z from "zod";
import z from "zod/v3";

export const toolBasedGenerativeUIAgent = new Agent({
name: "Haiku Agent",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createTool } from "@mastra/core/tools";
import { z } from "zod";
import { z } from "zod/v3";

interface GeocodingResponse {
results: {
Expand Down
2 changes: 1 addition & 1 deletion integrations/mastra/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"@ag-ui/client": ">=0.0.40",
"@copilotkit/runtime": "^1.10.5",
"@mastra/core": ">=0.20.1",
"zod": "^3.25.67"
"zod": "^3.25.0 || ^4.0.0"
},
"devDependencies": {
"@ag-ui/core": "workspace:*",
Expand Down
9 changes: 5 additions & 4 deletions integrations/vercel-ai-sdk/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"peerDependencies": {
"@ag-ui/core": ">=0.0.37",
"@ag-ui/client": ">=0.0.40",
"rxjs": "7.8.1"
"rxjs": "7.8.1",
"zod": "^3.25.0 || ^4.0.0"
},
"devDependencies": {
"@ag-ui/core": "workspace:*",
Expand All @@ -31,10 +32,10 @@
"jest": "^29.7.0",
"ts-jest": "^29.1.2",
"tsup": "^8.0.2",
"typescript": "^5.3.3"
"typescript": "^5.3.3",
"zod": "^3.25.0"
},
"dependencies": {
"ai": "^4.3.16",
"zod": "^3.22.4"
"ai": "^4.3.16"
}
}
6 changes: 3 additions & 3 deletions middlewares/a2a-middleware/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
},
"dependencies": {
"@a2a-js/sdk": "^0.2.2",
"ai": "^4.3.16",
"zod": "^3.22.4"
"ai": "^4.3.16"
},
"peerDependencies": {
"@ag-ui/client": ">=0.0.40",
"rxjs": "7.8.1"
"rxjs": "7.8.1",
"zod": "^3.25.0 || ^4.0.0"
},
"devDependencies": {
"@ag-ui/client": "workspace:*",
Expand Down
69 changes: 34 additions & 35 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions sdks/typescript/packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,18 @@
"fast-json-patch": "^3.1.1",
"rxjs": "7.8.1",
"untruncate-json": "^0.0.1",
"uuid": "^11.1.0",
"zod": "^3.22.4"
"uuid": "^11.1.0"
},
"peerDependencies": {
"zod": "^3.25.0 || ^4.0.0"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/node": "^20.11.19",
"jest": "^29.7.0",
"ts-jest": "^29.1.2",
"tsup": "^8.0.2",
"typescript": "^5.3.3"
"typescript": "^5.3.3",
"zod": "^3.25.0"
}
}
9 changes: 6 additions & 3 deletions sdks/typescript/packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,17 @@
"unlink:global": "pnpm unlink --global"
},
"dependencies": {
"rxjs": "7.8.1",
"zod": "^3.22.4"
"rxjs": "7.8.1"
},
"peerDependencies": {
"zod": "^3.25.0 || ^4.0.0"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"jest": "^29.7.0",
"ts-jest": "^29.1.2",
"tsup": "^8.0.2",
"typescript": "^5.8.2"
"typescript": "^5.8.2",
"zod": "^3.25.0"
}
}
2 changes: 1 addition & 1 deletion sdks/typescript/packages/core/src/events.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { z } from "zod";
import { z } from "zod/v3";
import { MessageSchema, StateSchema, RunAgentInputSchema } from "./types";

// Text messages can have any role except "tool"
Expand Down
Loading