Dominic Elm commited on
fix: update dependencies to fix type validation error (#33)
Browse files
packages/bolt/app/lib/.server/llm/switchable-stream.ts
CHANGED
|
@@ -49,6 +49,7 @@ export default class SwitchableStream extends TransformStream {
|
|
| 49 |
this._controller.enqueue(value);
|
| 50 |
}
|
| 51 |
} catch (error) {
|
|
|
|
| 52 |
this._controller.error(error);
|
| 53 |
}
|
| 54 |
}
|
|
|
|
| 49 |
this._controller.enqueue(value);
|
| 50 |
}
|
| 51 |
} catch (error) {
|
| 52 |
+
console.log(error);
|
| 53 |
this._controller.error(error);
|
| 54 |
}
|
| 55 |
}
|
packages/bolt/app/routes/api.chat.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
import { type ActionFunctionArgs } from '@remix-run/cloudflare';
|
| 2 |
-
import { StreamingTextResponse } from 'ai';
|
| 3 |
import { MAX_RESPONSE_SEGMENTS, MAX_TOKENS } from '~/lib/.server/llm/constants';
|
| 4 |
import { CONTINUE_PROMPT } from '~/lib/.server/llm/prompts';
|
| 5 |
import { streamText, type Messages, type StreamingOptions } from '~/lib/.server/llm/stream-text';
|
|
@@ -44,7 +43,12 @@ async function chatAction({ context, request }: ActionFunctionArgs) {
|
|
| 44 |
|
| 45 |
stream.switchSource(result.toAIStream());
|
| 46 |
|
| 47 |
-
return new
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
} catch (error) {
|
| 49 |
console.log(error);
|
| 50 |
|
|
|
|
| 1 |
import { type ActionFunctionArgs } from '@remix-run/cloudflare';
|
|
|
|
| 2 |
import { MAX_RESPONSE_SEGMENTS, MAX_TOKENS } from '~/lib/.server/llm/constants';
|
| 3 |
import { CONTINUE_PROMPT } from '~/lib/.server/llm/prompts';
|
| 4 |
import { streamText, type Messages, type StreamingOptions } from '~/lib/.server/llm/stream-text';
|
|
|
|
| 43 |
|
| 44 |
stream.switchSource(result.toAIStream());
|
| 45 |
|
| 46 |
+
return new Response(stream.readable, {
|
| 47 |
+
status: 200,
|
| 48 |
+
headers: {
|
| 49 |
+
contentType: 'text/plain; charset=utf-8',
|
| 50 |
+
},
|
| 51 |
+
});
|
| 52 |
} catch (error) {
|
| 53 |
console.log(error);
|
| 54 |
|
packages/bolt/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
| 16 |
"preview": "pnpm run build && pnpm run start"
|
| 17 |
},
|
| 18 |
"dependencies": {
|
| 19 |
-
"@ai-sdk/anthropic": "^0.0.
|
| 20 |
"@codemirror/autocomplete": "^6.17.0",
|
| 21 |
"@codemirror/commands": "^6.6.0",
|
| 22 |
"@codemirror/lang-cpp": "^6.0.2",
|
|
@@ -46,7 +46,7 @@
|
|
| 46 |
"@xterm/addon-fit": "^0.10.0",
|
| 47 |
"@xterm/addon-web-links": "^0.11.0",
|
| 48 |
"@xterm/xterm": "^5.5.0",
|
| 49 |
-
"ai": "^3.
|
| 50 |
"date-fns": "^3.6.0",
|
| 51 |
"diff": "^5.2.0",
|
| 52 |
"framer-motion": "^11.2.12",
|
|
|
|
| 16 |
"preview": "pnpm run build && pnpm run start"
|
| 17 |
},
|
| 18 |
"dependencies": {
|
| 19 |
+
"@ai-sdk/anthropic": "^0.0.39",
|
| 20 |
"@codemirror/autocomplete": "^6.17.0",
|
| 21 |
"@codemirror/commands": "^6.6.0",
|
| 22 |
"@codemirror/lang-cpp": "^6.0.2",
|
|
|
|
| 46 |
"@xterm/addon-fit": "^0.10.0",
|
| 47 |
"@xterm/addon-web-links": "^0.11.0",
|
| 48 |
"@xterm/xterm": "^5.5.0",
|
| 49 |
+
"ai": "^3.3.4",
|
| 50 |
"date-fns": "^3.6.0",
|
| 51 |
"diff": "^5.2.0",
|
| 52 |
"framer-motion": "^11.2.12",
|
pnpm-lock.yaml
CHANGED
|
@@ -36,8 +36,8 @@ importers:
|
|
| 36 |
packages/bolt:
|
| 37 |
dependencies:
|
| 38 |
'@ai-sdk/anthropic':
|
| 39 |
-
specifier: ^0.0.
|
| 40 |
-
version: 0.0.
|
| 41 |
'@codemirror/autocomplete':
|
| 42 |
specifier: ^6.17.0
|
| 43 |
version: 6.17.0(@codemirror/language@6.10.2)(@codemirror/state@6.4.1)(@codemirror/view@6.28.4)(@lezer/common@1.2.1)
|
|
@@ -126,8 +126,8 @@ importers:
|
|
| 126 |
specifier: ^5.5.0
|
| 127 |
version: 5.5.0
|
| 128 |
ai:
|
| 129 |
-
specifier: ^3.
|
| 130 |
-
version: 3.
|
| 131 |
date-fns:
|
| 132 |
specifier: ^3.6.0
|
| 133 |
version: 3.6.0
|
|
@@ -231,14 +231,14 @@ importers:
|
|
| 231 |
|
| 232 |
packages:
|
| 233 |
|
| 234 |
-
'@ai-sdk/anthropic@0.0.
|
| 235 |
-
resolution: {integrity: sha512-
|
| 236 |
engines: {node: '>=18'}
|
| 237 |
peerDependencies:
|
| 238 |
zod: ^3.0.0
|
| 239 |
|
| 240 |
-
'@ai-sdk/provider-utils@
|
| 241 |
-
resolution: {integrity: sha512-
|
| 242 |
engines: {node: '>=18'}
|
| 243 |
peerDependencies:
|
| 244 |
zod: ^3.0.0
|
|
@@ -246,25 +246,12 @@ packages:
|
|
| 246 |
zod:
|
| 247 |
optional: true
|
| 248 |
|
| 249 |
-
'@ai-sdk/provider
|
| 250 |
-
resolution: {integrity: sha512-
|
| 251 |
-
engines: {node: '>=18'}
|
| 252 |
-
peerDependencies:
|
| 253 |
-
zod: ^3.0.0
|
| 254 |
-
peerDependenciesMeta:
|
| 255 |
-
zod:
|
| 256 |
-
optional: true
|
| 257 |
-
|
| 258 |
-
'@ai-sdk/provider@0.0.10':
|
| 259 |
-
resolution: {integrity: sha512-NzkrtREQpHID1cTqY/C4CI30PVOaXWKYytDR2EcytmFgnP7Z6+CrGIA/YCnNhYAuUm6Nx+nGpRL/Hmyrv7NYzg==}
|
| 260 |
-
engines: {node: '>=18'}
|
| 261 |
-
|
| 262 |
-
'@ai-sdk/provider@0.0.12':
|
| 263 |
-
resolution: {integrity: sha512-oOwPQD8i2Ynpn22cur4sk26FW3mSy6t6/X/K1Ay2yGBKYiSpRyLfObhOrZEGsXDx+3euKy4nEZ193R36NM+tpQ==}
|
| 264 |
engines: {node: '>=18'}
|
| 265 |
|
| 266 |
-
'@ai-sdk/react@0.0.
|
| 267 |
-
resolution: {integrity: sha512-
|
| 268 |
engines: {node: '>=18'}
|
| 269 |
peerDependencies:
|
| 270 |
react: ^18 || ^19
|
|
@@ -275,8 +262,8 @@ packages:
|
|
| 275 |
zod:
|
| 276 |
optional: true
|
| 277 |
|
| 278 |
-
'@ai-sdk/solid@0.0.
|
| 279 |
-
resolution: {integrity: sha512-
|
| 280 |
engines: {node: '>=18'}
|
| 281 |
peerDependencies:
|
| 282 |
solid-js: ^1.7.7
|
|
@@ -284,8 +271,8 @@ packages:
|
|
| 284 |
solid-js:
|
| 285 |
optional: true
|
| 286 |
|
| 287 |
-
'@ai-sdk/svelte@0.0.
|
| 288 |
-
resolution: {integrity: sha512-
|
| 289 |
engines: {node: '>=18'}
|
| 290 |
peerDependencies:
|
| 291 |
svelte: ^3.0.0 || ^4.0.0
|
|
@@ -293,8 +280,8 @@ packages:
|
|
| 293 |
svelte:
|
| 294 |
optional: true
|
| 295 |
|
| 296 |
-
'@ai-sdk/ui-utils@0.0.
|
| 297 |
-
resolution: {integrity: sha512-
|
| 298 |
engines: {node: '>=18'}
|
| 299 |
peerDependencies:
|
| 300 |
zod: ^3.0.0
|
|
@@ -302,8 +289,8 @@ packages:
|
|
| 302 |
zod:
|
| 303 |
optional: true
|
| 304 |
|
| 305 |
-
'@ai-sdk/vue@0.0.
|
| 306 |
-
resolution: {integrity: sha512-
|
| 307 |
engines: {node: '>=18'}
|
| 308 |
peerDependencies:
|
| 309 |
vue: ^3.3.4
|
|
@@ -1814,12 +1801,13 @@ packages:
|
|
| 1814 |
resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==}
|
| 1815 |
engines: {node: '>=8'}
|
| 1816 |
|
| 1817 |
-
ai@3.
|
| 1818 |
-
resolution: {integrity: sha512-
|
| 1819 |
engines: {node: '>=18'}
|
| 1820 |
peerDependencies:
|
| 1821 |
openai: ^4.42.0
|
| 1822 |
react: ^18 || ^19
|
|
|
|
| 1823 |
svelte: ^3.0.0 || ^4.0.0
|
| 1824 |
zod: ^3.0.0
|
| 1825 |
peerDependenciesMeta:
|
|
@@ -1827,6 +1815,8 @@ packages:
|
|
| 1827 |
optional: true
|
| 1828 |
react:
|
| 1829 |
optional: true
|
|
|
|
|
|
|
| 1830 |
svelte:
|
| 1831 |
optional: true
|
| 1832 |
zod:
|
|
@@ -2096,6 +2086,9 @@ packages:
|
|
| 2096 |
resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==}
|
| 2097 |
engines: {node: '>=6'}
|
| 2098 |
|
|
|
|
|
|
|
|
|
|
| 2099 |
cliui@8.0.1:
|
| 2100 |
resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==}
|
| 2101 |
engines: {node: '>=12'}
|
|
@@ -4585,8 +4578,8 @@ packages:
|
|
| 4585 |
resolution: {integrity: sha512-d0FdzYIiAePqRJEb90WlJDkjUEx42xhivxN8muUBmfZnP+tzUgz12DJ2hRJi8sIHCME7jeK1PTMgKPSfTd8JrA==}
|
| 4586 |
engines: {node: '>=16'}
|
| 4587 |
|
| 4588 |
-
swr@2.2.
|
| 4589 |
-
resolution: {integrity: sha512-
|
| 4590 |
peerDependencies:
|
| 4591 |
react: ^16.11.0 || ^17.0.0 || ^18.0.0
|
| 4592 |
|
|
@@ -5126,74 +5119,63 @@ packages:
|
|
| 5126 |
|
| 5127 |
snapshots:
|
| 5128 |
|
| 5129 |
-
'@ai-sdk/anthropic@0.0.
|
| 5130 |
-
dependencies:
|
| 5131 |
-
'@ai-sdk/provider': 0.0.12
|
| 5132 |
-
'@ai-sdk/provider-utils': 1.0.2(zod@3.23.8)
|
| 5133 |
-
zod: 3.23.8
|
| 5134 |
-
|
| 5135 |
-
'@ai-sdk/provider-utils@0.0.14(zod@3.23.8)':
|
| 5136 |
dependencies:
|
| 5137 |
-
'@ai-sdk/provider': 0.0.
|
| 5138 |
-
|
| 5139 |
-
nanoid: 3.3.6
|
| 5140 |
-
secure-json-parse: 2.7.0
|
| 5141 |
-
optionalDependencies:
|
| 5142 |
zod: 3.23.8
|
| 5143 |
|
| 5144 |
-
'@ai-sdk/provider-utils@1.0.
|
| 5145 |
dependencies:
|
| 5146 |
-
'@ai-sdk/provider': 0.0.
|
| 5147 |
eventsource-parser: 1.1.2
|
| 5148 |
nanoid: 3.3.6
|
| 5149 |
secure-json-parse: 2.7.0
|
| 5150 |
optionalDependencies:
|
| 5151 |
zod: 3.23.8
|
| 5152 |
|
| 5153 |
-
'@ai-sdk/provider@0.0.
|
| 5154 |
dependencies:
|
| 5155 |
json-schema: 0.4.0
|
| 5156 |
|
| 5157 |
-
'@ai-sdk/
|
| 5158 |
dependencies:
|
| 5159 |
-
|
| 5160 |
-
|
| 5161 |
-
|
| 5162 |
-
dependencies:
|
| 5163 |
-
'@ai-sdk/provider-utils': 1.0.2(zod@3.23.8)
|
| 5164 |
-
'@ai-sdk/ui-utils': 0.0.14(zod@3.23.8)
|
| 5165 |
-
swr: 2.2.0(react@18.3.1)
|
| 5166 |
optionalDependencies:
|
| 5167 |
react: 18.3.1
|
| 5168 |
zod: 3.23.8
|
| 5169 |
|
| 5170 |
-
'@ai-sdk/solid@0.0.
|
| 5171 |
dependencies:
|
| 5172 |
-
'@ai-sdk/
|
|
|
|
| 5173 |
transitivePeerDependencies:
|
| 5174 |
- zod
|
| 5175 |
|
| 5176 |
-
'@ai-sdk/svelte@0.0.
|
| 5177 |
dependencies:
|
| 5178 |
-
'@ai-sdk/provider-utils': 1.0.
|
| 5179 |
-
'@ai-sdk/ui-utils': 0.0.
|
| 5180 |
sswr: 2.1.0(svelte@4.2.18)
|
| 5181 |
optionalDependencies:
|
| 5182 |
svelte: 4.2.18
|
| 5183 |
transitivePeerDependencies:
|
| 5184 |
- zod
|
| 5185 |
|
| 5186 |
-
'@ai-sdk/ui-utils@0.0.
|
| 5187 |
dependencies:
|
| 5188 |
-
'@ai-sdk/provider
|
|
|
|
| 5189 |
secure-json-parse: 2.7.0
|
| 5190 |
optionalDependencies:
|
| 5191 |
zod: 3.23.8
|
| 5192 |
|
| 5193 |
-
'@ai-sdk/vue@0.0.
|
| 5194 |
dependencies:
|
| 5195 |
-
'@ai-sdk/provider-utils':
|
| 5196 |
-
'@ai-sdk/ui-utils': 0.0.
|
| 5197 |
swrv: 1.0.4(vue@3.4.30(typescript@5.5.2))
|
| 5198 |
optionalDependencies:
|
| 5199 |
vue: 3.4.30(typescript@5.5.2)
|
|
@@ -6971,25 +6953,25 @@ snapshots:
|
|
| 6971 |
clean-stack: 2.2.0
|
| 6972 |
indent-string: 4.0.0
|
| 6973 |
|
| 6974 |
-
ai@3.
|
| 6975 |
dependencies:
|
| 6976 |
-
'@ai-sdk/provider': 0.0.
|
| 6977 |
-
'@ai-sdk/provider-utils': 1.0.
|
| 6978 |
-
'@ai-sdk/react': 0.0.
|
| 6979 |
-
'@ai-sdk/solid': 0.0.
|
| 6980 |
-
'@ai-sdk/svelte': 0.0.
|
| 6981 |
-
'@ai-sdk/ui-utils': 0.0.
|
| 6982 |
-
'@ai-sdk/vue': 0.0.
|
| 6983 |
'@opentelemetry/api': 1.9.0
|
| 6984 |
eventsource-parser: 1.1.2
|
| 6985 |
json-schema: 0.4.0
|
| 6986 |
jsondiffpatch: 0.6.0
|
| 6987 |
nanoid: 3.3.6
|
| 6988 |
secure-json-parse: 2.7.0
|
| 6989 |
-
sswr: 2.1.0(svelte@4.2.18)
|
| 6990 |
zod-to-json-schema: 3.22.5(zod@3.23.8)
|
| 6991 |
optionalDependencies:
|
| 6992 |
react: 18.3.1
|
|
|
|
| 6993 |
svelte: 4.2.18
|
| 6994 |
zod: 3.23.8
|
| 6995 |
transitivePeerDependencies:
|
|
@@ -7311,6 +7293,8 @@ snapshots:
|
|
| 7311 |
|
| 7312 |
cli-spinners@2.9.2: {}
|
| 7313 |
|
|
|
|
|
|
|
| 7314 |
cliui@8.0.1:
|
| 7315 |
dependencies:
|
| 7316 |
string-width: 4.2.3
|
|
@@ -10375,8 +10359,9 @@ snapshots:
|
|
| 10375 |
magic-string: 0.30.10
|
| 10376 |
periscopic: 3.1.0
|
| 10377 |
|
| 10378 |
-
swr@2.2.
|
| 10379 |
dependencies:
|
|
|
|
| 10380 |
react: 18.3.1
|
| 10381 |
use-sync-external-store: 1.2.2(react@18.3.1)
|
| 10382 |
|
|
|
|
| 36 |
packages/bolt:
|
| 37 |
dependencies:
|
| 38 |
'@ai-sdk/anthropic':
|
| 39 |
+
specifier: ^0.0.39
|
| 40 |
+
version: 0.0.39(zod@3.23.8)
|
| 41 |
'@codemirror/autocomplete':
|
| 42 |
specifier: ^6.17.0
|
| 43 |
version: 6.17.0(@codemirror/language@6.10.2)(@codemirror/state@6.4.1)(@codemirror/view@6.28.4)(@lezer/common@1.2.1)
|
|
|
|
| 126 |
specifier: ^5.5.0
|
| 127 |
version: 5.5.0
|
| 128 |
ai:
|
| 129 |
+
specifier: ^3.3.4
|
| 130 |
+
version: 3.3.4(react@18.3.1)(sswr@2.1.0(svelte@4.2.18))(svelte@4.2.18)(vue@3.4.30(typescript@5.5.2))(zod@3.23.8)
|
| 131 |
date-fns:
|
| 132 |
specifier: ^3.6.0
|
| 133 |
version: 3.6.0
|
|
|
|
| 231 |
|
| 232 |
packages:
|
| 233 |
|
| 234 |
+
'@ai-sdk/anthropic@0.0.39':
|
| 235 |
+
resolution: {integrity: sha512-Ouku41O9ebyRi0EUW7pB8+lk4sI74SfJKydzK7FjynhNmCSvi42+U4WPlEjP64NluXUzpkYLvBa6BAd36VY4/g==}
|
| 236 |
engines: {node: '>=18'}
|
| 237 |
peerDependencies:
|
| 238 |
zod: ^3.0.0
|
| 239 |
|
| 240 |
+
'@ai-sdk/provider-utils@1.0.9':
|
| 241 |
+
resolution: {integrity: sha512-yfdanjUiCJbtGoRGXrcrmXn0pTyDfRIeY6ozDG96D66f2wupZaZvAgKptUa3zDYXtUCQQvcNJ+tipBBfQD/UYA==}
|
| 242 |
engines: {node: '>=18'}
|
| 243 |
peerDependencies:
|
| 244 |
zod: ^3.0.0
|
|
|
|
| 246 |
zod:
|
| 247 |
optional: true
|
| 248 |
|
| 249 |
+
'@ai-sdk/provider@0.0.17':
|
| 250 |
+
resolution: {integrity: sha512-f9j+P5yYRkqKFHxvWae5FI0j6nqROPCoPnMkpc2hc2vC7vKjqzrxBJucD8rpSaUjqiBnY/QuRJ0QeV717Uz5tg==}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 251 |
engines: {node: '>=18'}
|
| 252 |
|
| 253 |
+
'@ai-sdk/react@0.0.40':
|
| 254 |
+
resolution: {integrity: sha512-irljzw5m9q2kz3g4Y59fbeHI7o29DFmPTPIKQNK+XrHcvYH1sDuj4rlOnQUQl6vpahnrU7fLO6FzVIYdwZv+0w==}
|
| 255 |
engines: {node: '>=18'}
|
| 256 |
peerDependencies:
|
| 257 |
react: ^18 || ^19
|
|
|
|
| 262 |
zod:
|
| 263 |
optional: true
|
| 264 |
|
| 265 |
+
'@ai-sdk/solid@0.0.31':
|
| 266 |
+
resolution: {integrity: sha512-VYsrTCuNqAe8DzgPCyCqJl6MNdItnjjGMioxi2Pimns/3qet1bOw2LA0yUe5tTAoSpYaCAjGZZB4x8WC762asA==}
|
| 267 |
engines: {node: '>=18'}
|
| 268 |
peerDependencies:
|
| 269 |
solid-js: ^1.7.7
|
|
|
|
| 271 |
solid-js:
|
| 272 |
optional: true
|
| 273 |
|
| 274 |
+
'@ai-sdk/svelte@0.0.33':
|
| 275 |
+
resolution: {integrity: sha512-/QksvqVEv9fcq39nJfu4QqqeXeFX19pqkGUlVXBNhMQ6QQXhYsUasfJodIWy1DBsKDDV6dROJM0fHku5v+hrdw==}
|
| 276 |
engines: {node: '>=18'}
|
| 277 |
peerDependencies:
|
| 278 |
svelte: ^3.0.0 || ^4.0.0
|
|
|
|
| 280 |
svelte:
|
| 281 |
optional: true
|
| 282 |
|
| 283 |
+
'@ai-sdk/ui-utils@0.0.28':
|
| 284 |
+
resolution: {integrity: sha512-yc+0EgC/Gz36ltoHsiBmuEv7iPjV85ihuj8W1vSqYe3+CblGYHG9h8MC5RdIl51GtrOtnH9aqnDjkX5Qy6Q9KQ==}
|
| 285 |
engines: {node: '>=18'}
|
| 286 |
peerDependencies:
|
| 287 |
zod: ^3.0.0
|
|
|
|
| 289 |
zod:
|
| 290 |
optional: true
|
| 291 |
|
| 292 |
+
'@ai-sdk/vue@0.0.32':
|
| 293 |
+
resolution: {integrity: sha512-wEiH6J6VbuGcliA44UkQJM/JuSP1IwuFiovzPQ/bS0Gb/nJKuDQ8K2ru1JvdU7pEQFqmpTm7z+2R0Sduz0eKpA==}
|
| 294 |
engines: {node: '>=18'}
|
| 295 |
peerDependencies:
|
| 296 |
vue: ^3.3.4
|
|
|
|
| 1801 |
resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==}
|
| 1802 |
engines: {node: '>=8'}
|
| 1803 |
|
| 1804 |
+
ai@3.3.4:
|
| 1805 |
+
resolution: {integrity: sha512-yb9ONWAnTq77J+O/fLtd+yvcTgasdN79k+U0IhBDJ6ssEc+HZeFldjqkSgr1jtKSc8rLZOu0GiVitwyAtwofNQ==}
|
| 1806 |
engines: {node: '>=18'}
|
| 1807 |
peerDependencies:
|
| 1808 |
openai: ^4.42.0
|
| 1809 |
react: ^18 || ^19
|
| 1810 |
+
sswr: ^2.1.0
|
| 1811 |
svelte: ^3.0.0 || ^4.0.0
|
| 1812 |
zod: ^3.0.0
|
| 1813 |
peerDependenciesMeta:
|
|
|
|
| 1815 |
optional: true
|
| 1816 |
react:
|
| 1817 |
optional: true
|
| 1818 |
+
sswr:
|
| 1819 |
+
optional: true
|
| 1820 |
svelte:
|
| 1821 |
optional: true
|
| 1822 |
zod:
|
|
|
|
| 2086 |
resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==}
|
| 2087 |
engines: {node: '>=6'}
|
| 2088 |
|
| 2089 |
+
client-only@0.0.1:
|
| 2090 |
+
resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==}
|
| 2091 |
+
|
| 2092 |
cliui@8.0.1:
|
| 2093 |
resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==}
|
| 2094 |
engines: {node: '>=12'}
|
|
|
|
| 4578 |
resolution: {integrity: sha512-d0FdzYIiAePqRJEb90WlJDkjUEx42xhivxN8muUBmfZnP+tzUgz12DJ2hRJi8sIHCME7jeK1PTMgKPSfTd8JrA==}
|
| 4579 |
engines: {node: '>=16'}
|
| 4580 |
|
| 4581 |
+
swr@2.2.5:
|
| 4582 |
+
resolution: {integrity: sha512-QtxqyclFeAsxEUeZIYmsaQ0UjimSq1RZ9Un7I68/0ClKK/U3LoyQunwkQfJZr2fc22DfIXLNDc2wFyTEikCUpg==}
|
| 4583 |
peerDependencies:
|
| 4584 |
react: ^16.11.0 || ^17.0.0 || ^18.0.0
|
| 4585 |
|
|
|
|
| 5119 |
|
| 5120 |
snapshots:
|
| 5121 |
|
| 5122 |
+
'@ai-sdk/anthropic@0.0.39(zod@3.23.8)':
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5123 |
dependencies:
|
| 5124 |
+
'@ai-sdk/provider': 0.0.17
|
| 5125 |
+
'@ai-sdk/provider-utils': 1.0.9(zod@3.23.8)
|
|
|
|
|
|
|
|
|
|
| 5126 |
zod: 3.23.8
|
| 5127 |
|
| 5128 |
+
'@ai-sdk/provider-utils@1.0.9(zod@3.23.8)':
|
| 5129 |
dependencies:
|
| 5130 |
+
'@ai-sdk/provider': 0.0.17
|
| 5131 |
eventsource-parser: 1.1.2
|
| 5132 |
nanoid: 3.3.6
|
| 5133 |
secure-json-parse: 2.7.0
|
| 5134 |
optionalDependencies:
|
| 5135 |
zod: 3.23.8
|
| 5136 |
|
| 5137 |
+
'@ai-sdk/provider@0.0.17':
|
| 5138 |
dependencies:
|
| 5139 |
json-schema: 0.4.0
|
| 5140 |
|
| 5141 |
+
'@ai-sdk/react@0.0.40(react@18.3.1)(zod@3.23.8)':
|
| 5142 |
dependencies:
|
| 5143 |
+
'@ai-sdk/provider-utils': 1.0.9(zod@3.23.8)
|
| 5144 |
+
'@ai-sdk/ui-utils': 0.0.28(zod@3.23.8)
|
| 5145 |
+
swr: 2.2.5(react@18.3.1)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5146 |
optionalDependencies:
|
| 5147 |
react: 18.3.1
|
| 5148 |
zod: 3.23.8
|
| 5149 |
|
| 5150 |
+
'@ai-sdk/solid@0.0.31(zod@3.23.8)':
|
| 5151 |
dependencies:
|
| 5152 |
+
'@ai-sdk/provider-utils': 1.0.9(zod@3.23.8)
|
| 5153 |
+
'@ai-sdk/ui-utils': 0.0.28(zod@3.23.8)
|
| 5154 |
transitivePeerDependencies:
|
| 5155 |
- zod
|
| 5156 |
|
| 5157 |
+
'@ai-sdk/svelte@0.0.33(svelte@4.2.18)(zod@3.23.8)':
|
| 5158 |
dependencies:
|
| 5159 |
+
'@ai-sdk/provider-utils': 1.0.9(zod@3.23.8)
|
| 5160 |
+
'@ai-sdk/ui-utils': 0.0.28(zod@3.23.8)
|
| 5161 |
sswr: 2.1.0(svelte@4.2.18)
|
| 5162 |
optionalDependencies:
|
| 5163 |
svelte: 4.2.18
|
| 5164 |
transitivePeerDependencies:
|
| 5165 |
- zod
|
| 5166 |
|
| 5167 |
+
'@ai-sdk/ui-utils@0.0.28(zod@3.23.8)':
|
| 5168 |
dependencies:
|
| 5169 |
+
'@ai-sdk/provider': 0.0.17
|
| 5170 |
+
'@ai-sdk/provider-utils': 1.0.9(zod@3.23.8)
|
| 5171 |
secure-json-parse: 2.7.0
|
| 5172 |
optionalDependencies:
|
| 5173 |
zod: 3.23.8
|
| 5174 |
|
| 5175 |
+
'@ai-sdk/vue@0.0.32(vue@3.4.30(typescript@5.5.2))(zod@3.23.8)':
|
| 5176 |
dependencies:
|
| 5177 |
+
'@ai-sdk/provider-utils': 1.0.9(zod@3.23.8)
|
| 5178 |
+
'@ai-sdk/ui-utils': 0.0.28(zod@3.23.8)
|
| 5179 |
swrv: 1.0.4(vue@3.4.30(typescript@5.5.2))
|
| 5180 |
optionalDependencies:
|
| 5181 |
vue: 3.4.30(typescript@5.5.2)
|
|
|
|
| 6953 |
clean-stack: 2.2.0
|
| 6954 |
indent-string: 4.0.0
|
| 6955 |
|
| 6956 |
+
ai@3.3.4(react@18.3.1)(sswr@2.1.0(svelte@4.2.18))(svelte@4.2.18)(vue@3.4.30(typescript@5.5.2))(zod@3.23.8):
|
| 6957 |
dependencies:
|
| 6958 |
+
'@ai-sdk/provider': 0.0.17
|
| 6959 |
+
'@ai-sdk/provider-utils': 1.0.9(zod@3.23.8)
|
| 6960 |
+
'@ai-sdk/react': 0.0.40(react@18.3.1)(zod@3.23.8)
|
| 6961 |
+
'@ai-sdk/solid': 0.0.31(zod@3.23.8)
|
| 6962 |
+
'@ai-sdk/svelte': 0.0.33(svelte@4.2.18)(zod@3.23.8)
|
| 6963 |
+
'@ai-sdk/ui-utils': 0.0.28(zod@3.23.8)
|
| 6964 |
+
'@ai-sdk/vue': 0.0.32(vue@3.4.30(typescript@5.5.2))(zod@3.23.8)
|
| 6965 |
'@opentelemetry/api': 1.9.0
|
| 6966 |
eventsource-parser: 1.1.2
|
| 6967 |
json-schema: 0.4.0
|
| 6968 |
jsondiffpatch: 0.6.0
|
| 6969 |
nanoid: 3.3.6
|
| 6970 |
secure-json-parse: 2.7.0
|
|
|
|
| 6971 |
zod-to-json-schema: 3.22.5(zod@3.23.8)
|
| 6972 |
optionalDependencies:
|
| 6973 |
react: 18.3.1
|
| 6974 |
+
sswr: 2.1.0(svelte@4.2.18)
|
| 6975 |
svelte: 4.2.18
|
| 6976 |
zod: 3.23.8
|
| 6977 |
transitivePeerDependencies:
|
|
|
|
| 7293 |
|
| 7294 |
cli-spinners@2.9.2: {}
|
| 7295 |
|
| 7296 |
+
client-only@0.0.1: {}
|
| 7297 |
+
|
| 7298 |
cliui@8.0.1:
|
| 7299 |
dependencies:
|
| 7300 |
string-width: 4.2.3
|
|
|
|
| 10359 |
magic-string: 0.30.10
|
| 10360 |
periscopic: 3.1.0
|
| 10361 |
|
| 10362 |
+
swr@2.2.5(react@18.3.1):
|
| 10363 |
dependencies:
|
| 10364 |
+
client-only: 0.0.1
|
| 10365 |
react: 18.3.1
|
| 10366 |
use-sync-external-store: 1.2.2(react@18.3.1)
|
| 10367 |
|