refactor: update dependencies and fix TypeScript instantiation depth issues

Updates ModelContextProtocol SDK and multiple dependent libraries to latest versions. Refactors TypeScript schemas to avoid instantiation depth issues by widening Zod types and using explicit type parameters.
This commit is contained in:
weishu
2025-12-25 22:56:08 +08:00
parent 38e8fe8d02
commit 3765cc539b
7 changed files with 79 additions and 74 deletions
+11 -11
View File
@@ -10,18 +10,18 @@
"preview": "vite preview"
},
"dependencies": {
"@assistant-ui/react": "^0.11.51",
"@assistant-ui/react-markdown": "^0.11.8",
"@radix-ui/react-dialog": "^1.1.2",
"@radix-ui/react-slot": "^1.2.0",
"@assistant-ui/react": "^0.11.53",
"@assistant-ui/react-markdown": "^0.11.9",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-slot": "^1.2.4",
"@xterm/addon-fit": "^0.10.0",
"@xterm/addon-web-links": "^0.11.0",
"@xterm/xterm": "^5.5.0",
"@shikijs/langs": "^3.20.0",
"@shikijs/themes": "^3.20.0",
"@tanstack/react-query": "^5.71.10",
"@tanstack/react-query-devtools": "^5.71.10",
"@tanstack/react-router": "^1.114.3",
"@tanstack/react-query": "^5.90.12",
"@tanstack/react-query-devtools": "^5.91.1",
"@tanstack/react-router": "^1.143.6",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"diff": "^7.0.0",
@@ -30,7 +30,7 @@
"react-dom": "^19.2.3",
"remark-gfm": "^4.0.1",
"shiki": "^3.20.0",
"socket.io-client": "^4.8.1",
"socket.io-client": "^4.8.3",
"tailwind-merge": "^2.5.5",
"workbox-window": "^7.4.0"
},
@@ -38,10 +38,10 @@
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^4.3.4",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"autoprefixer": "^10.4.23",
"postcss": "^8.5.6",
"tailwindcss": "^3.4.15",
"typescript": "^5.7.2",
"typescript": "^5.9.3",
"vite": "^5.4.11"
}
}