@upstash/context7-tools-ai-sdk 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -70,8 +70,8 @@ declare function resolveLibraryId(config?: Context7ToolsConfig): ai.Tool<{
70
70
  * ```
71
71
  */
72
72
  declare function queryDocs(config?: Context7ToolsConfig): ai.Tool<{
73
- query: string;
74
73
  libraryId: string;
74
+ query: string;
75
75
  }, string>;
76
76
 
77
77
  /**
package/dist/index.d.ts CHANGED
@@ -70,8 +70,8 @@ declare function resolveLibraryId(config?: Context7ToolsConfig): ai.Tool<{
70
70
  * ```
71
71
  */
72
72
  declare function queryDocs(config?: Context7ToolsConfig): ai.Tool<{
73
- query: string;
74
73
  libraryId: string;
74
+ query: string;
75
75
  }, string>;
76
76
 
77
77
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@upstash/context7-tools-ai-sdk",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "Context7 tools for Vercel AI SDK",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -24,11 +24,11 @@
24
24
  "peerDependencies": {
25
25
  "@upstash/context7-sdk": ">=0.3.0",
26
26
  "ai": ">=6.0.0",
27
- "zod": ">=3.24.0"
27
+ "zod": ">=4.0.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "ai": "^6.0.5",
31
- "zod": "^3.24.0",
31
+ "zod": "^4.3.4",
32
32
  "@ai-sdk/amazon-bedrock": "^4.0.9",
33
33
  "@types/node": "^25.0.3",
34
34
  "dotenv": "^17.2.3",