@upstash/context7-tools-ai-sdk 0.2.2 → 0.2.3
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/agent.cjs +3 -1
- package/dist/agent.js +1 -1
- package/dist/{chunk-E5QL22FX.js → chunk-Y4UMQRG2.js} +3 -1
- package/dist/index.cjs +3 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/agent.cjs
CHANGED
|
@@ -99,7 +99,9 @@ function resolveLibraryId(config = {}) {
|
|
|
99
99
|
query: import_zod.z.string().describe(
|
|
100
100
|
"The user's original question or task. This is used to rank library results by relevance to what the user is trying to accomplish. IMPORTANT: Do not include any sensitive or confidential information such as API keys, passwords, credentials, or personal data in your query."
|
|
101
101
|
),
|
|
102
|
-
libraryName: import_zod.z.string().describe(
|
|
102
|
+
libraryName: import_zod.z.string().describe(
|
|
103
|
+
"Library name to search for and retrieve a Context7-compatible library ID. Use the official library name with proper punctuation \u2014 e.g., 'Next.js' instead of 'nextjs', 'Customer.io' instead of 'customerio', 'Three.js' instead of 'threejs'."
|
|
104
|
+
)
|
|
103
105
|
}),
|
|
104
106
|
execute: async ({ query, libraryName }) => {
|
|
105
107
|
try {
|
package/dist/agent.js
CHANGED
|
@@ -81,7 +81,9 @@ function resolveLibraryId(config = {}) {
|
|
|
81
81
|
query: z.string().describe(
|
|
82
82
|
"The user's original question or task. This is used to rank library results by relevance to what the user is trying to accomplish. IMPORTANT: Do not include any sensitive or confidential information such as API keys, passwords, credentials, or personal data in your query."
|
|
83
83
|
),
|
|
84
|
-
libraryName: z.string().describe(
|
|
84
|
+
libraryName: z.string().describe(
|
|
85
|
+
"Library name to search for and retrieve a Context7-compatible library ID. Use the official library name with proper punctuation \u2014 e.g., 'Next.js' instead of 'nextjs', 'Customer.io' instead of 'customerio', 'Three.js' instead of 'threejs'."
|
|
86
|
+
)
|
|
85
87
|
}),
|
|
86
88
|
execute: async ({ query, libraryName }) => {
|
|
87
89
|
try {
|
package/dist/index.cjs
CHANGED
|
@@ -113,7 +113,9 @@ function resolveLibraryId(config = {}) {
|
|
|
113
113
|
query: import_zod.z.string().describe(
|
|
114
114
|
"The user's original question or task. This is used to rank library results by relevance to what the user is trying to accomplish. IMPORTANT: Do not include any sensitive or confidential information such as API keys, passwords, credentials, or personal data in your query."
|
|
115
115
|
),
|
|
116
|
-
libraryName: import_zod.z.string().describe(
|
|
116
|
+
libraryName: import_zod.z.string().describe(
|
|
117
|
+
"Library name to search for and retrieve a Context7-compatible library ID. Use the official library name with proper punctuation \u2014 e.g., 'Next.js' instead of 'nextjs', 'Customer.io' instead of 'customerio', 'Three.js' instead of 'threejs'."
|
|
118
|
+
)
|
|
117
119
|
}),
|
|
118
120
|
execute: async ({ query, libraryName }) => {
|
|
119
121
|
try {
|
package/dist/index.js
CHANGED