mirror of
https://github.com/ArthurDanjou/artapi.git
synced 2026-01-14 17:44:22 +01:00
chore: update dependencies and improve type safety in mcp routes
- Updated @modelcontextprotocol/sdk to version 1.22.0 and @nuxt/content to 3.8.2. - Upgraded zod to version 4.1.12 for better type inference. - Updated wrangler to version 4.48.0. - Refactored mcp.ts to use zod for input schema validation with explicit types for language arguments.
This commit is contained in:
@@ -12,23 +12,22 @@
|
||||
"lint": "eslint ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@modelcontextprotocol/sdk": "^1.21.1",
|
||||
"@nuxt/content": "3.8.0",
|
||||
"@modelcontextprotocol/sdk": "1.22.0",
|
||||
"@nuxt/content": "3.8.2",
|
||||
"@nuxt/eslint": "1.10.0",
|
||||
"@nuxthub/core": "^0.9.0",
|
||||
"ai": "^6.0.0-beta.99",
|
||||
"better-sqlite3": "^12.4.1",
|
||||
"nuxt": "4.2.1",
|
||||
"vue": "3.5.24",
|
||||
"vue-router": "4.6.3",
|
||||
"zod": "3"
|
||||
"zod": "^4.1.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nuxt/eslint-config": "1.10.0",
|
||||
"eslint": "9.39.1",
|
||||
"typescript": "5.9.3",
|
||||
"vue-tsc": "3.1.3",
|
||||
"wrangler": "4.47.0"
|
||||
"wrangler": "4.48.0"
|
||||
},
|
||||
"packageManager": "pnpm@10.12.1",
|
||||
"pnpm": {
|
||||
|
||||
Reference in New Issue
Block a user