Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: upgrade svelte for ai sdk (#3600)

Max Deichmann8aa1e0e1b85c
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 0ecf18089b..7fb1350e0a 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -9,7 +9,7 @@
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
-name: "CodeQL Advanced"
+name: "CodeQL"
on:
push:
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 891e236e72..9daa3e7f9a 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -511,8 +511,8 @@ importers:
specifier: ^4.21.25
ai:
- specifier: ^3.0.23
+ specifier: ^3.4.9
bcryptjs:
specifier: ^2.4.3
version: 2.4.3
@@ -961,8 +961,8 @@ packages:
resolution: {integrity: sha512-Ff9+ksdQQB3rMncgqDK78uLznstjyfIf2Arnh22pW8kBpLs6rpKDwgnZT46hin5Hl1WzazzK64DOrhSwYpS7bQ==}
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-DpD58qFYHoPffBcODPL5od/zAsFSLymwEdtP/QqNX8qE3oQcRG9GYHbj1fZTH5b9i7COwlnJ4wYzYSkXVyd3bA==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-ngg/RGpnA00eNOWEtXHenpX1MsM2QshQh4QJFjUfwcqHpM5kTfG7je7Rc3HcEDP+OkRVv2GF+X4fC1Vfcnl8Ow==}
engines: {node: '>=18'}
peerDependencies:
zod: ^3.0.0
@@ -970,10 +970,58 @@ packages:
zod:
optional: true
- '@ai-sdk/[email protected]':
- resolution: {integrity: sha512-Gbl9Ei8NPtM85gB/o8cY7s7CLGxK/U6QVheVaI3viFn7o6IpTfy1Ja389e2FXVMNJ4WHK2qYWSp5fAFDuKulTA==}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-XMsNGJdGO+L0cxhhegtqZ8+T6nn4EoShS819OvCgI2kLbYTIvk0GWFGD0AXJmxkxs3DrpsJxKAFukFR7bvTkgQ==}
engines: {node: '>=18'}
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-1asDpxgmeHWL0/EZPCLENxfOHT+0jce0z/zasRhascodm2S6f6/KZn5doLG9jdmarcb+GjMjFmmwyOVXz3W1xg==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ react: ^18 || ^19
+ zod: ^3.0.0
+ peerDependenciesMeta:
+ react:
+ optional: true
+ zod:
+ optional: true
+
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-KnfWTt640cS1hM2fFIba8KHSPLpOIWXtEm28pNCHTvqasVKlh2y/zMQANTwE18pF2nuXL9P9F5/dKWaPsaEzQw==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ solid-js: ^1.7.7
+ peerDependenciesMeta:
+ solid-js:
+ optional: true
+
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-aIZJaIds+KpCt19yUDCRDWebzF/17GCY7gN9KkcA2QM6IKRO5UmMcqEYja0ZmwFQPm1kBZkF2njhr8VXis2mAw==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ svelte: ^3.0.0 || ^4.0.0
+ peerDependenciesMeta:
+ svelte:
+ optional: true
+
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-ZG/wneyJG+6w5Nm/hy1AKMuRgjPQToAxBsTk61c9sVPUTaxo+NNjM2MhXQMtmsja2N5evs8NmHie+ExEgpL3cA==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ zod: ^3.0.0
+ peerDependenciesMeta:
+ zod:
+ optional: true
+
+ '@ai-sdk/[email protected]':
+ resolution: {integrity: sha512-Ltu6gbuii8Qlp3gg7zdwdnHdS4M8nqKDij2VVO1223VOtIFwORFJzKqpfx44U11FW8z2TPVBYN+FjkyVIcN2hg==}
+ engines: {node: '>=18'}
+ peerDependencies:
+ vue: ^3.3.4
+ peerDependenciesMeta:
+ vue:
+ optional: true
+
resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==}
engines: {node: '>=10'}
@@ -2142,9 +2190,6 @@ packages:
'@jridgewell/[email protected]':
resolution: {integrity: sha512-1ZJTZebgqllO79ue2bm3rIGud/bOe0pP5BjSRCRxxYkEZS8STV7zN84UBbiYu7jy+eCKSnVIUgoWWE/tt+shMQ==}
- '@jridgewell/[email protected]':
- resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==}
-
'@jridgewell/[email protected]':
resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==}
@@ -5213,24 +5258,24 @@ packages:
resolution: {integrity: sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==}
engines: {node: '>=8'}
- resolution: {integrity: sha512-VL8Fx9euEtffzIu0BpLDZkACB+oU6zj4vHXSsSoT5VfwAzE009FJedOMPK1M4u60RpYw/DgwlD7OLN7XQfvSHw==}
+ resolution: {integrity: sha512-wmVzpIHNGjCEjIJ/3945a/DIkz+gwObjC767ZRgO8AmtIZMO5KqvqNr7n2KF+gQrCPCMC8fM1ICQFXSvBZnBlA==}
engines: {node: '>=18'}
peerDependencies:
- react: ^18.2.0
- solid-js: ^1.7.7
+ openai: ^4.42.0
+ react: ^18 || ^19
+ sswr: ^2.1.0
svelte: ^3.0.0 || ^4.0.0
- vue: ^3.3.4
zod: ^3.0.0
peerDependenciesMeta:
+ openai:
+ optional: true
react:
optional: true
- solid-js:
+ sswr:
optional: true
svelte:
optional: true
- vue:
- optional: true
zod:
optional: true
@@ -10186,13 +10231,6 @@ packages:
resolution: {integrity: sha512-cpkxDPvO/AuKBugVv6xKFd1C9VC0XZMu4VtF56IlHoux8HgyW44uqNSWbozMnVcpIzHIhS3vVXPAVZYM26jpWw==}
- resolution: {integrity: sha512-A6d68aJmRP471aWqKKPE2tpgOiR5fH4qXQNfKIec+Vap+MGQm3tvXlT8n0I8UgJSlNAsSAUuw2VTviH2h3Vv5g==}
- engines: {node: '>=10'}
- peerDependencies:
- solid-js: ^1.2
- swr-store: ^0.10
-
resolution: {integrity: sha512-uG511ggnnsw6gcn/X+YKkWPo5ep9il9wYi3QJxHsYe7yTZ4+cOd1wuodOUmOpFuXL+/RE3R04LczdNCDygTDgQ==}
peerDependencies:
@@ -10263,10 +10301,10 @@ packages:
resolution: {integrity: sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==}
- resolution: {integrity: sha512-mV0kkeBHcjcb0M5NqKtKVg/uTIYNlIIniyDfSGrSfxpEdM9C365jK0z55pl9K0xAkNTJi2OAOVFQpgMPUk+V0w==}
+ resolution: {integrity: sha512-Cqc355SYlTAaUt8iDPaC/4DPPXK925PePLMxyBKuWd5kKc5mwsG3nT9+Mq2tyguL5s7b4Jg+IRMpTRsNTAfpSQ==}
peerDependencies:
- svelte: ^4.0.0
+ svelte: ^4.0.0 || ^5.0.0-next.0
resolution: {integrity: sha512-KGzahc7puUKkzyMt+IqAep+TVNbKP+k2Lmwhub39m1AsTSkaDutx56aDCo+HLDzf/D26BIHTJWNiTG1KAJiQCg==}
@@ -10453,16 +10491,12 @@ packages:
resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-d0FdzYIiAePqRJEb90WlJDkjUEx42xhivxN8muUBmfZnP+tzUgz12DJ2hRJi8sIHCME7jeK1PTMgKPSfTd8JrA==}
+ resolution: {integrity: sha512-IY1rnGr6izd10B0A8LqsBfmlT5OILVuZ7XsI0vdGPEvuonFV7NYEUK4dAkm9Zg2q0Um92kYjTpS1CAP3Nh/KWw==}
engines: {node: '>=16'}
- resolution: {integrity: sha512-xPjB1hARSiRaNNlUQvWSVrG5SirCjk2TmaUyzzvk69SZQan9hCJqw/5rG9iL7xElHU784GxRPISClq4488/XVw==}
- engines: {node: '>=10'}
-
- resolution: {integrity: sha512-AjqHOv2lAhkuUdIiBu9xbuettzAzWXmCEcLONNKJRba87WAefz8Ca9d6ds/SzrPc235n1IxWYdhJ2zF3MNUaoQ==}
+ resolution: {integrity: sha512-QtxqyclFeAsxEUeZIYmsaQ0UjimSq1RZ9Un7I68/0ClKK/U3LoyQunwkQfJZr2fc22DfIXLNDc2wFyTEikCUpg==}
peerDependencies:
react: ^16.11.0 || ^17.0.0 || ^18.0.0
@@ -11310,11 +11344,6 @@ packages:
resolution: {integrity: sha512-9qv4rlDiopXg4E69k+vMHjNN63YFMe9sZMrdlvKnCjlCRWeCBswPPMPUfx+ipsAWq1LXHe70RcbaHdJJpS6hyQ==}
engines: {node: '>= 10'}
- resolution: {integrity: sha512-+akaPo6a0zpVCCseDed504KBJUQpEW5QZw7RMneNmKw+fGaML1Z9tUNLnHHAC8x6dzVRO1eB2oEMyZRnuBZg7Q==}
- peerDependencies:
- zod: ^3.22.4
-
resolution: {integrity: sha512-uSt90Gzc/tUfyNqxnjlfBs8W6WSGpNBv0rVsNxP/BVSMHMKGdthPYff4xtCHYloJGM0CFxFsb3NbC0eqPhfImw==}
peerDependencies:
@@ -11332,19 +11361,67 @@ snapshots:
'@adobe/[email protected]': {}
dependencies:
- '@ai-sdk/provider': 0.0.0
+ '@ai-sdk/provider': 0.0.24
eventsource-parser: 1.1.2
nanoid: 3.3.6
secure-json-parse: 2.7.0
optionalDependencies:
zod: 3.23.8
- '@ai-sdk/[email protected]':
+ '@ai-sdk/[email protected]':
dependencies:
json-schema: 0.4.0
+ dependencies:
+ '@ai-sdk/provider-utils': 1.0.20([email protected])
+ '@ai-sdk/ui-utils': 0.0.46([email protected])
+ swr: 2.2.5([email protected])
+ optionalDependencies:
+ react: 18.2.0
+ zod: 3.23.8
+
+ dependencies:
+ '@ai-sdk/provider-utils': 1.0.20([email protected])
+ '@ai-sdk/ui-utils': 0.0.46([email protected])
+ optionalDependencies:
+ solid-js: 1.8.18
+ transitivePeerDependencies:
+ - zod
+
+ dependencies:
+ '@ai-sdk/provider-utils': 1.0.20([email protected])
+ '@ai-sdk/ui-utils': 0.0.46([email protected])
+ sswr: 2.1.0([email protected])
+ optionalDependencies:
+ svelte: 4.2.19
+ transitivePeerDependencies:
+ - zod
+
+ dependencies:
+ '@ai-sdk/provider': 0.0.24
+ '@ai-sdk/provider-utils': 1.0.20([email protected])
+ json-schema: 0.4.0
+ secure-json-parse: 2.7.0
+ zod-to-json-schema: 3.23.2([email protected])
+ optionalDependencies:
+ zod: 3.23.8
+
+ dependencies:
+ '@ai-sdk/provider-utils': 1.0.20([email protected])
+ '@ai-sdk/ui-utils': 0.0.46([email protected])
+ optionalDependencies:
+ vue: 3.4.27([email protected])
+ transitivePeerDependencies:
+ - zod
+
'@alloc/[email protected]': {}
'@ampproject/[email protected]':
@@ -13052,8 +13129,6 @@ snapshots:
'@jridgewell/gen-mapping': 0.3.5
'@jridgewell/trace-mapping': 0.3.25
- '@jridgewell/[email protected]': {}
-
'@jridgewell/[email protected]': {}
'@jridgewell/[email protected]':
@@ -13064,7 +13139,7 @@ snapshots:
'@jridgewell/[email protected]':
dependencies:
'@jridgewell/resolve-uri': 3.1.2
- '@jridgewell/sourcemap-codec': 1.4.15
+ '@jridgewell/sourcemap-codec': 1.5.0
'@js-sdsl/[email protected]': {}
@@ -16006,7 +16081,7 @@ snapshots:
dependencies:
- '@types/estree': 1.0.5
+ '@types/estree': 1.0.6
'@types/[email protected]': {}
@@ -16548,7 +16623,7 @@ snapshots:
'@typescript-eslint/eslint-plugin': 7.3.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
'@typescript-eslint/parser': 7.12.0([email protected])([email protected])
eslint-config-prettier: 9.1.0([email protected])
+ eslint-import-resolver-alias: 1.1.2([email protected](@typescript-eslint/[email protected]([email protected])([email protected]))([email protected]))
eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])
eslint-plugin-eslint-comments: 3.2.0([email protected])
@@ -16781,9 +16856,9 @@ snapshots:
dependencies:
acorn: 8.12.1
dependencies:
- acorn: 8.11.3
+ acorn: 8.12.1
@@ -16812,27 +16887,31 @@ snapshots:
clean-stack: 2.2.0
indent-string: 4.0.0
dependencies:
- '@ai-sdk/provider': 0.0.0
- '@ai-sdk/provider-utils': 0.0.1([email protected])
+ '@ai-sdk/provider': 0.0.24
+ '@ai-sdk/provider-utils': 1.0.20([email protected])
+ '@ai-sdk/react': 0.0.62([email protected])([email protected])
+ '@ai-sdk/solid': 0.0.49([email protected])([email protected])
+ '@ai-sdk/svelte': 0.0.51([email protected])([email protected])
+ '@ai-sdk/ui-utils': 0.0.46([email protected])
+ '@opentelemetry/api': 1.9.0
eventsource-parser: 1.1.2
json-schema: 0.4.0
jsondiffpatch: 0.6.0
nanoid: 3.3.6
secure-json-parse: 2.7.0
- solid-swr-store: 0.10.7([email protected])([email protected])
- sswr: 2.0.0([email protected])
- swr: 2.2.0([email protected])
- swr-store: 0.10.6
- zod-to-json-schema: 3.22.5([email protected])
+ zod-to-json-schema: 3.23.2([email protected])
optionalDependencies:
+ openai: 4.62.1([email protected])
react: 18.2.0
- solid-js: 1.8.18
- svelte: 4.2.18
- vue: 3.4.27([email protected])
+ sswr: 2.1.0([email protected])
+ svelte: 4.2.19
zod: 3.23.8
+ transitivePeerDependencies:
+ - solid-js
+ - vue
dependencies:
@@ -18447,7 +18526,7 @@ snapshots:
eslint: 8.57.0
eslint-plugin-turbo: 1.13.4([email protected])
dependencies:
@@ -18569,7 +18648,7 @@ snapshots:
dependencies:
'@babel/runtime': 7.24.7
- aria-query: 5.3.0
+ aria-query: 5.3.2
array-includes: 3.1.7
array.prototype.flatmap: 1.3.2
ast-types-flow: 0.0.8
@@ -18760,8 +18839,8 @@ snapshots:
dependencies:
- acorn: 8.11.3
- acorn-jsx: 5.3.2([email protected])
+ acorn: 8.12.1
+ acorn-jsx: 5.3.2([email protected])
eslint-visitor-keys: 3.4.3
@@ -19343,7 +19422,7 @@ snapshots:
dependencies:
- '@types/estree': 1.0.5
+ '@types/estree': 1.0.6
'@types/hast': 3.0.4
'@types/unist': 3.0.2
comma-separated-tokens: 2.0.3
@@ -22774,8 +22853,10 @@ snapshots:
dependencies:
seroval: 1.1.1
+ optional: true
+ optional: true
dependencies:
@@ -22879,11 +22960,7 @@ snapshots:
csstype: 3.1.3
seroval: 1.1.1
seroval-plugins: 1.1.1([email protected])
-
- dependencies:
- solid-js: 1.8.18
- swr-store: 0.10.6
+ optional: true
dependencies:
@@ -22951,9 +23028,9 @@ snapshots:
dependencies:
- svelte: 4.2.18
+ svelte: 4.2.19
swrev: 4.0.0
@@ -23144,7 +23221,7 @@ snapshots:
dependencies:
'@ampproject/remapping': 2.3.0
'@jridgewell/sourcemap-codec': 1.5.0
@@ -23161,12 +23238,9 @@ snapshots:
magic-string: 0.30.11
periscopic: 3.1.0
- dependencies:
- dequal: 2.0.3
-
dependencies:
+ client-only: 0.0.1
react: 18.2.0
use-sync-external-store: 1.2.0([email protected])
@@ -24173,10 +24247,6 @@ snapshots:
compress-commons: 4.1.2
readable-stream: 3.6.2
- dependencies:
- zod: 3.23.8
-
dependencies:
zod: 3.23.8
diff --git a/web/package.json b/web/package.json
index 5814aec999..3327b1770a 100644
--- a/web/package.json
+++ b/web/package.json
@@ -96,7 +96,7 @@
"@uiw/codemirror-theme-github": "^4.23.0",
"@uiw/codemirror-theme-tokyo-night": "^4.22.2",
"@uiw/react-codemirror": "^4.21.25",
- "ai": "^3.0.23",
+ "ai": "^3.4.9",
"bcryptjs": "^2.4.3",
"bullmq": "^5.12.10",
"class-variance-authority": "^0.7.0",