@vibedeckx/win32-x64 0.1.12 → 0.1.16
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/ui/404/index.html +1 -1
- package/dist/ui/404.html +1 -1
- package/dist/ui/__next.__PAGE__.txt +1 -1
- package/dist/ui/__next._full.txt +1 -1
- package/dist/ui/__next._head.txt +1 -1
- package/dist/ui/__next._index.txt +1 -1
- package/dist/ui/__next._tree.txt +1 -1
- package/dist/ui/_not-found/__next._full.txt +1 -1
- package/dist/ui/_not-found/__next._head.txt +1 -1
- package/dist/ui/_not-found/__next._index.txt +1 -1
- package/dist/ui/_not-found/__next._not-found/__PAGE__.txt +1 -1
- package/dist/ui/_not-found/__next._not-found.txt +1 -1
- package/dist/ui/_not-found/__next._tree.txt +1 -1
- package/dist/ui/_not-found/index.html +1 -1
- package/dist/ui/_not-found/index.txt +1 -1
- package/dist/ui/index.html +1 -1
- package/dist/ui/index.txt +1 -1
- package/node_modules/better-sqlite3/build/Release/better_sqlite3.node +0 -0
- package/node_modules/better-sqlite3/package.json +2 -13
- package/node_modules/node-pty/package.json +3 -15
- package/package.json +1 -7
- package/node_modules/@ai-sdk/deepseek/CHANGELOG.md +0 -1602
- package/node_modules/@ai-sdk/deepseek/LICENSE +0 -13
- package/node_modules/@ai-sdk/deepseek/README.md +0 -43
- package/node_modules/@ai-sdk/deepseek/docs/30-deepseek.mdx +0 -183
- package/node_modules/@ai-sdk/gateway/CHANGELOG.md +0 -1768
- package/node_modules/@ai-sdk/gateway/LICENSE +0 -13
- package/node_modules/@ai-sdk/gateway/README.md +0 -44
- package/node_modules/@ai-sdk/gateway/docs/00-ai-gateway.mdx +0 -937
- package/node_modules/@ai-sdk/provider/CHANGELOG.md +0 -979
- package/node_modules/@ai-sdk/provider/LICENSE +0 -13
- package/node_modules/@ai-sdk/provider/README.md +0 -1
- package/node_modules/@ai-sdk/provider-utils/CHANGELOG.md +0 -1580
- package/node_modules/@ai-sdk/provider-utils/README.md +0 -1
- package/node_modules/@ai-sdk/provider-utils/dist/test/index.d.mts +0 -17
- package/node_modules/@ai-sdk/provider-utils/dist/test/index.d.ts +0 -17
- package/node_modules/@ai-sdk/provider-utils/dist/test/index.js +0 -110
- package/node_modules/@ai-sdk/provider-utils/dist/test/index.js.map +0 -1
- package/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs +0 -77
- package/node_modules/@ai-sdk/provider-utils/dist/test/index.mjs.map +0 -1
- package/node_modules/@ai-sdk/provider-utils/src/test/convert-array-to-async-iterable.ts +0 -9
- package/node_modules/@ai-sdk/provider-utils/src/test/convert-array-to-readable-stream.ts +0 -15
- package/node_modules/@ai-sdk/provider-utils/src/test/convert-async-iterable-to-array.ts +0 -9
- package/node_modules/@ai-sdk/provider-utils/src/test/convert-readable-stream-to-array.ts +0 -14
- package/node_modules/@ai-sdk/provider-utils/src/test/convert-response-stream-to-array.ts +0 -9
- package/node_modules/@ai-sdk/provider-utils/src/test/index.ts +0 -7
- package/node_modules/@ai-sdk/provider-utils/src/test/is-node-version.ts +0 -4
- package/node_modules/@ai-sdk/provider-utils/src/test/mock-id.ts +0 -8
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/LICENSE +0 -16
- package/node_modules/@ai-sdk/provider-utils/src/to-json-schema/zod3-to-json-schema/README.md +0 -24
- package/node_modules/@ai-sdk/provider-utils/test.d.ts +0 -1
- package/node_modules/@clerk/backend/LICENSE +0 -21
- package/node_modules/@clerk/backend/README.md +0 -76
- package/node_modules/@clerk/backend/dist/tokens/__tests__/getAuth.test-d.d.ts +0 -2
- package/node_modules/@clerk/backend/dist/tokens/__tests__/getAuth.test-d.d.ts.map +0 -1
- package/node_modules/@clerk/backend/dist/tokens/__tests__/request.test-d.d.ts +0 -2
- package/node_modules/@clerk/backend/dist/tokens/__tests__/request.test-d.d.ts.map +0 -1
- package/node_modules/@clerk/fastify/LICENSE +0 -21
- package/node_modules/@clerk/fastify/README.md +0 -67
- package/node_modules/@clerk/shared/LICENSE +0 -21
- package/node_modules/@clerk/shared/README.md +0 -3
- package/node_modules/@fastify/accept-negotiator/LICENSE +0 -22
- package/node_modules/@fastify/accept-negotiator/README.md +0 -52
- package/node_modules/@fastify/accept-negotiator/types/index.d.ts +0 -17
- package/node_modules/@fastify/ajv-compiler/LICENSE +0 -23
- package/node_modules/@fastify/ajv-compiler/README.md +0 -237
- package/node_modules/@fastify/ajv-compiler/benchmark/small-object.mjs +0 -37
- package/node_modules/@fastify/ajv-compiler/test/duplicated-id-compile.test.js +0 -55
- package/node_modules/@fastify/ajv-compiler/test/index.test.js +0 -307
- package/node_modules/@fastify/ajv-compiler/test/plugins.test.js +0 -246
- package/node_modules/@fastify/ajv-compiler/test/serialization.test.js +0 -279
- package/node_modules/@fastify/ajv-compiler/test/standalone.test.js +0 -203
- package/node_modules/@fastify/ajv-compiler/types/index.d.ts +0 -87
- package/node_modules/@fastify/error/LICENSE +0 -21
- package/node_modules/@fastify/error/README.md +0 -140
- package/node_modules/@fastify/error/benchmarks/create.js +0 -9
- package/node_modules/@fastify/error/benchmarks/instantiate.js +0 -18
- package/node_modules/@fastify/error/benchmarks/no-stack.js +0 -13
- package/node_modules/@fastify/error/benchmarks/toString.js +0 -11
- package/node_modules/@fastify/error/test/index.test.js +0 -232
- package/node_modules/@fastify/error/test/instanceof.test.js +0 -263
- package/node_modules/@fastify/error/types/index.d.ts +0 -49
- package/node_modules/@fastify/fast-json-stringify-compiler/LICENSE +0 -21
- package/node_modules/@fastify/fast-json-stringify-compiler/README.md +0 -128
- package/node_modules/@fastify/fast-json-stringify-compiler/test/duplicate-schema.test.js +0 -26
- package/node_modules/@fastify/fast-json-stringify-compiler/test/plugin.test.js +0 -78
- package/node_modules/@fastify/fast-json-stringify-compiler/test/standalone.test.js +0 -230
- package/node_modules/@fastify/fast-json-stringify-compiler/types/index.d.ts +0 -41
- package/node_modules/@fastify/forwarded/LICENSE +0 -24
- package/node_modules/@fastify/forwarded/README.md +0 -43
- package/node_modules/@fastify/forwarded/types/index.d.ts +0 -14
- package/node_modules/@fastify/merge-json-schemas/LICENSE +0 -21
- package/node_modules/@fastify/merge-json-schemas/README.md +0 -119
- package/node_modules/@fastify/merge-json-schemas/test/additional-items.test.js +0 -164
- package/node_modules/@fastify/merge-json-schemas/test/additional-properties.test.js +0 -129
- package/node_modules/@fastify/merge-json-schemas/test/all-of.test.js +0 -43
- package/node_modules/@fastify/merge-json-schemas/test/any-of.test.js +0 -81
- package/node_modules/@fastify/merge-json-schemas/test/const.test.js +0 -58
- package/node_modules/@fastify/merge-json-schemas/test/contains.test.js +0 -55
- package/node_modules/@fastify/merge-json-schemas/test/custom-resolvers.test.js +0 -50
- package/node_modules/@fastify/merge-json-schemas/test/default-resolver.test.js +0 -111
- package/node_modules/@fastify/merge-json-schemas/test/default.test.js +0 -50
- package/node_modules/@fastify/merge-json-schemas/test/definitions.test.js +0 -46
- package/node_modules/@fastify/merge-json-schemas/test/defs.test.js +0 -46
- package/node_modules/@fastify/merge-json-schemas/test/dependencies.test.js +0 -75
- package/node_modules/@fastify/merge-json-schemas/test/dependent-required.test.js +0 -75
- package/node_modules/@fastify/merge-json-schemas/test/dependent-schemas.test.js +0 -76
- package/node_modules/@fastify/merge-json-schemas/test/enum.test.js +0 -44
- package/node_modules/@fastify/merge-json-schemas/test/exclusive-maximum.test.js +0 -30
- package/node_modules/@fastify/merge-json-schemas/test/exclusive-minimum.test.js +0 -30
- package/node_modules/@fastify/merge-json-schemas/test/format.test.js +0 -36
- package/node_modules/@fastify/merge-json-schemas/test/id.test.js +0 -22
- package/node_modules/@fastify/merge-json-schemas/test/if-then-else.test.js +0 -550
- package/node_modules/@fastify/merge-json-schemas/test/items.test.js +0 -152
- package/node_modules/@fastify/merge-json-schemas/test/max-items.test.js +0 -30
- package/node_modules/@fastify/merge-json-schemas/test/max-length.test.js +0 -30
- package/node_modules/@fastify/merge-json-schemas/test/max-properties.test.js +0 -30
- package/node_modules/@fastify/merge-json-schemas/test/maximum.test.js +0 -30
- package/node_modules/@fastify/merge-json-schemas/test/merge-schema.test.js +0 -29
- package/node_modules/@fastify/merge-json-schemas/test/min-items.test.js +0 -30
- package/node_modules/@fastify/merge-json-schemas/test/min-length.test.js +0 -30
- package/node_modules/@fastify/merge-json-schemas/test/min-properties.test.js +0 -30
- package/node_modules/@fastify/merge-json-schemas/test/minimum.test.js +0 -30
- package/node_modules/@fastify/merge-json-schemas/test/multiple-of.test.js +0 -36
- package/node_modules/@fastify/merge-json-schemas/test/not.test.js +0 -29
- package/node_modules/@fastify/merge-json-schemas/test/nullable.test.js +0 -30
- package/node_modules/@fastify/merge-json-schemas/test/one-of.test.js +0 -144
- package/node_modules/@fastify/merge-json-schemas/test/properties.test.js +0 -312
- package/node_modules/@fastify/merge-json-schemas/test/property-names.test.js +0 -49
- package/node_modules/@fastify/merge-json-schemas/test/required.test.js +0 -30
- package/node_modules/@fastify/merge-json-schemas/test/type.test.js +0 -52
- package/node_modules/@fastify/merge-json-schemas/test/unique-items.test.js +0 -38
- package/node_modules/@fastify/merge-json-schemas/test/utils.js +0 -9
- package/node_modules/@fastify/merge-json-schemas/types/index.d.ts +0 -61
- package/node_modules/@fastify/proxy-addr/LICENSE +0 -24
- package/node_modules/@fastify/proxy-addr/README.md +0 -141
- package/node_modules/@fastify/proxy-addr/benchmark/compiling.js +0 -50
- package/node_modules/@fastify/proxy-addr/benchmark/index.js +0 -30
- package/node_modules/@fastify/proxy-addr/benchmark/kind.js +0 -57
- package/node_modules/@fastify/proxy-addr/benchmark/matching.js +0 -78
- package/node_modules/@fastify/proxy-addr/test/all.test.js +0 -55
- package/node_modules/@fastify/proxy-addr/test/base.test.js +0 -365
- package/node_modules/@fastify/proxy-addr/test/compile.test.js +0 -58
- package/node_modules/@fastify/proxy-addr/types/index.d.ts +0 -18
- package/node_modules/@fastify/send/HISTORY.md +0 -521
- package/node_modules/@fastify/send/LICENSE +0 -23
- package/node_modules/@fastify/send/README.md +0 -310
- package/node_modules/@fastify/send/benchmarks/collapseLeadingSlashes.js +0 -13
- package/node_modules/@fastify/send/benchmarks/containsDotFile.js +0 -15
- package/node_modules/@fastify/send/benchmarks/isUtf8MimeType.js +0 -23
- package/node_modules/@fastify/send/benchmarks/normalizeList.js +0 -14
- package/node_modules/@fastify/send/benchmarks/parseBytesRange.js +0 -15
- package/node_modules/@fastify/send/examples/index.html +0 -1
- package/node_modules/@fastify/send/examples/simple.js +0 -15
- package/node_modules/@fastify/send/test/collapseLeadingSlashes.test.js +0 -22
- package/node_modules/@fastify/send/test/containsDotFile.test.js +0 -18
- package/node_modules/@fastify/send/test/fixtures/do..ts.txt +0 -1
- package/node_modules/@fastify/send/test/fixtures/empty.txt +0 -0
- package/node_modules/@fastify/send/test/fixtures/images/node-js.png +0 -0
- package/node_modules/@fastify/send/test/fixtures/name.d/name.txt +0 -1
- package/node_modules/@fastify/send/test/fixtures/name.dir/name.txt +0 -1
- package/node_modules/@fastify/send/test/fixtures/name.html +0 -1
- package/node_modules/@fastify/send/test/fixtures/name.txt +0 -1
- package/node_modules/@fastify/send/test/fixtures/no_ext +0 -1
- package/node_modules/@fastify/send/test/fixtures/nums.txt +0 -1
- package/node_modules/@fastify/send/test/fixtures/pets/index.html +0 -3
- package/node_modules/@fastify/send/test/fixtures/snow /342/230/203/index.html +0 -0
- package/node_modules/@fastify/send/test/fixtures/some thing.txt +0 -1
- package/node_modules/@fastify/send/test/fixtures/thing.html.html +0 -1
- package/node_modules/@fastify/send/test/fixtures/tobi.html +0 -1
- package/node_modules/@fastify/send/test/isUtf8MimeType.test.js +0 -22
- package/node_modules/@fastify/send/test/mime.test.js +0 -56
- package/node_modules/@fastify/send/test/normalizeList.test.js +0 -28
- package/node_modules/@fastify/send/test/parseBytesRange.test.js +0 -103
- package/node_modules/@fastify/send/test/send.1.test.js +0 -646
- package/node_modules/@fastify/send/test/send.2.test.js +0 -977
- package/node_modules/@fastify/send/test/send.3.test.js +0 -133
- package/node_modules/@fastify/send/test/utils.js +0 -36
- package/node_modules/@fastify/send/types/index.d.ts +0 -167
- package/node_modules/@fastify/static/LICENSE +0 -23
- package/node_modules/@fastify/static/README.md +0 -538
- package/node_modules/@fastify/static/example/public/images/sample.jpg +0 -0
- package/node_modules/@fastify/static/example/public/index.css +0 -9
- package/node_modules/@fastify/static/example/public/index.html +0 -11
- package/node_modules/@fastify/static/example/public/index.js +0 -8
- package/node_modules/@fastify/static/example/public2/test.css +0 -4
- package/node_modules/@fastify/static/example/public2/test.html +0 -8
- package/node_modules/@fastify/static/example/server-compress.js +0 -15
- package/node_modules/@fastify/static/example/server-dir-list.js +0 -38
- package/node_modules/@fastify/static/example/server-hidden-file.js +0 -15
- package/node_modules/@fastify/static/example/server.js +0 -13
- package/node_modules/@fastify/static/test/content-type/binary +0 -0
- package/node_modules/@fastify/static/test/content-type/binary.br +0 -1
- package/node_modules/@fastify/static/test/content-type/index.css +0 -0
- package/node_modules/@fastify/static/test/content-type/index.css.br +0 -1
- package/node_modules/@fastify/static/test/content-type/index.html +0 -5
- package/node_modules/@fastify/static/test/content-type/index.html.br +0 -0
- package/node_modules/@fastify/static/test/content-type/sample.jpg +0 -0
- package/node_modules/@fastify/static/test/content-type/test.txt +0 -0
- package/node_modules/@fastify/static/test/content-type/test.txt.br +0 -1
- package/node_modules/@fastify/static/test/content-type.test.js +0 -144
- package/node_modules/@fastify/static/test/dir-list.test.js +0 -738
- package/node_modules/@fastify/static/test/static/100%.txt +0 -1
- package/node_modules/@fastify/static/test/static/a .md +0 -1
- package/node_modules/@fastify/static/test/static/deep/path/for/test/index.html +0 -5
- package/node_modules/@fastify/static/test/static/deep/path/for/test/purpose/foo.html +0 -5
- package/node_modules/@fastify/static/test/static/foo.html +0 -3
- package/node_modules/@fastify/static/test/static/foobar.html +0 -3
- package/node_modules/@fastify/static/test/static/index.css +0 -0
- package/node_modules/@fastify/static/test/static/index.html +0 -5
- package/node_modules/@fastify/static/test/static/shallow/sample.jpg +0 -0
- package/node_modules/@fastify/static/test/static-dotfiles/dir/index.html +0 -0
- package/node_modules/@fastify/static/test/static-dotfiles/test.txt +0 -0
- package/node_modules/@fastify/static/test/static-encode/[...]/a .md +0 -1
- package/node_modules/@fastify/static/test/static-filtered/bar.private +0 -1
- package/node_modules/@fastify/static/test/static-filtered/deep/path/to/baz.html +0 -3
- package/node_modules/@fastify/static/test/static-filtered/deep/path/to/baz.private +0 -1
- package/node_modules/@fastify/static/test/static-filtered/index.html +0 -3
- package/node_modules/@fastify/static/test/static-pre-compressed/all-three.html +0 -5
- package/node_modules/@fastify/static/test/static-pre-compressed/all-three.html.br +0 -0
- package/node_modules/@fastify/static/test/static-pre-compressed/all-three.html.gz +0 -0
- package/node_modules/@fastify/static/test/static-pre-compressed/baz.json +0 -3
- package/node_modules/@fastify/static/test/static-pre-compressed/dir/index.html +0 -5
- package/node_modules/@fastify/static/test/static-pre-compressed/dir/index.html.br +0 -0
- package/node_modules/@fastify/static/test/static-pre-compressed/dir-gz/index.html +0 -5
- package/node_modules/@fastify/static/test/static-pre-compressed/dir-gz/index.html.gz +0 -0
- package/node_modules/@fastify/static/test/static-pre-compressed/gzip-only.html +0 -3
- package/node_modules/@fastify/static/test/static-pre-compressed/gzip-only.html.gz +0 -0
- package/node_modules/@fastify/static/test/static-pre-compressed/index.html +0 -5
- package/node_modules/@fastify/static/test/static-pre-compressed/index.html.br +0 -0
- package/node_modules/@fastify/static/test/static-pre-compressed/sample.jpg +0 -0
- package/node_modules/@fastify/static/test/static-pre-compressed/sample.jpg.br +0 -0
- package/node_modules/@fastify/static/test/static-pre-compressed/uncompressed.html +0 -3
- package/node_modules/@fastify/static/test/static-symbolic-link/origin/subdir/subdir/index.html +0 -3
- package/node_modules/@fastify/static/test/static.test.js +0 -3793
- package/node_modules/@fastify/static/test/static2/bar.html +0 -3
- package/node_modules/@fastify/static/test/static2/index.html +0 -3
- package/node_modules/@fastify/static/types/index.d.ts +0 -140
- package/node_modules/@fastify/websocket/LICENSE +0 -23
- package/node_modules/@fastify/websocket/README.md +0 -393
- package/node_modules/@fastify/websocket/test/base.test.js +0 -663
- package/node_modules/@fastify/websocket/test/hooks.test.js +0 -414
- package/node_modules/@fastify/websocket/test/inject.test.js +0 -174
- package/node_modules/@fastify/websocket/test/router.test.js +0 -799
- package/node_modules/@fastify/websocket/types/index.d.ts +0 -116
- package/node_modules/@isaacs/cliui/LICENSE.md +0 -63
- package/node_modules/@isaacs/cliui/README.md +0 -151
- package/node_modules/@lukeed/ms/index.d.ts +0 -2
- package/node_modules/@lukeed/ms/license +0 -9
- package/node_modules/@lukeed/ms/readme.md +0 -133
- package/node_modules/@openrouter/ai-sdk-provider/LICENSE +0 -201
- package/node_modules/@openrouter/ai-sdk-provider/README.md +0 -156
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/CHANGELOG.md +0 -235
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/LICENSE +0 -13
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider/README.md +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/CHANGELOG.md +0 -469
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/LICENSE +0 -13
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/README.md +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/chunk-D6YTI3O5.mjs +0 -45
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/chunk-D6YTI3O5.mjs.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/graphql-6JDEV3ML.mjs +0 -12082
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/graphql-6JDEV3ML.mjs.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/index.d.mts +0 -162
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/index.d.ts +0 -162
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/index.js +0 -19133
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/index.js.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/index.mjs +0 -19079
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/@ai-sdk/provider-utils/test/dist/index.mjs.map +0 -1
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/LICENSE.md +0 -17
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/README.md +0 -126
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/benchmarks/ignore.js +0 -35
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/benchmarks/no__proto__.js +0 -40
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/benchmarks/package.json +0 -15
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/benchmarks/remove.js +0 -39
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/benchmarks/throw.js +0 -49
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/benchmarks/valid.js +0 -49
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/test/index.test.js +0 -505
- package/node_modules/@openrouter/ai-sdk-provider/node_modules/secure-json-parse/types/index.d.ts +0 -57
- package/node_modules/@opentelemetry/api/LICENSE +0 -201
- package/node_modules/@opentelemetry/api/README.md +0 -116
- package/node_modules/@opentelemetry/api/build/esm/api/context.d.ts +0 -41
- package/node_modules/@opentelemetry/api/build/esm/api/context.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/api/diag.d.ts +0 -30
- package/node_modules/@opentelemetry/api/build/esm/api/diag.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/api/metrics.d.ts +0 -28
- package/node_modules/@opentelemetry/api/build/esm/api/metrics.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/api/propagation.d.ts +0 -49
- package/node_modules/@opentelemetry/api/build/esm/api/propagation.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/api/trace.d.ts +0 -40
- package/node_modules/@opentelemetry/api/build/esm/api/trace.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/baggage/context-helpers.d.ts +0 -29
- package/node_modules/@opentelemetry/api/build/esm/baggage/context-helpers.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/baggage/internal/baggage-impl.d.ts +0 -12
- package/node_modules/@opentelemetry/api/build/esm/baggage/internal/baggage-impl.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/baggage/internal/symbol.d.ts +0 -5
- package/node_modules/@opentelemetry/api/build/esm/baggage/internal/symbol.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/baggage/types.d.ts +0 -60
- package/node_modules/@opentelemetry/api/build/esm/baggage/types.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/baggage/utils.d.ts +0 -15
- package/node_modules/@opentelemetry/api/build/esm/baggage/utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/common/Attributes.d.ts +0 -15
- package/node_modules/@opentelemetry/api/build/esm/common/Attributes.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/common/Exception.d.ts +0 -26
- package/node_modules/@opentelemetry/api/build/esm/common/Exception.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/common/Time.d.ts +0 -20
- package/node_modules/@opentelemetry/api/build/esm/common/Time.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/context/NoopContextManager.d.ts +0 -9
- package/node_modules/@opentelemetry/api/build/esm/context/NoopContextManager.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/context/context.d.ts +0 -6
- package/node_modules/@opentelemetry/api/build/esm/context/context.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/context/types.d.ts +0 -52
- package/node_modules/@opentelemetry/api/build/esm/context/types.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/context-api.d.ts +0 -4
- package/node_modules/@opentelemetry/api/build/esm/context-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/diag/ComponentLogger.d.ts +0 -20
- package/node_modules/@opentelemetry/api/build/esm/diag/ComponentLogger.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/diag/consoleLogger.d.ts +0 -38
- package/node_modules/@opentelemetry/api/build/esm/diag/consoleLogger.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/diag/internal/logLevelLogger.d.ts +0 -3
- package/node_modules/@opentelemetry/api/build/esm/diag/internal/logLevelLogger.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/diag/internal/noopLogger.d.ts +0 -8
- package/node_modules/@opentelemetry/api/build/esm/diag/internal/noopLogger.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/diag/types.d.ts +0 -100
- package/node_modules/@opentelemetry/api/build/esm/diag/types.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/diag-api.d.ts +0 -9
- package/node_modules/@opentelemetry/api/build/esm/diag-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/experimental/index.d.ts +0 -3
- package/node_modules/@opentelemetry/api/build/esm/experimental/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/experimental/trace/SugaredOptions.d.ts +0 -13
- package/node_modules/@opentelemetry/api/build/esm/experimental/trace/SugaredOptions.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/experimental/trace/SugaredTracer.d.ts +0 -64
- package/node_modules/@opentelemetry/api/build/esm/experimental/trace/SugaredTracer.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/index.d.ts +0 -54
- package/node_modules/@opentelemetry/api/build/esm/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/internal/global-utils.d.ts +0 -18
- package/node_modules/@opentelemetry/api/build/esm/internal/global-utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/internal/semver.d.ts +0 -34
- package/node_modules/@opentelemetry/api/build/esm/internal/semver.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/metrics/Meter.d.ts +0 -110
- package/node_modules/@opentelemetry/api/build/esm/metrics/Meter.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/metrics/MeterProvider.d.ts +0 -17
- package/node_modules/@opentelemetry/api/build/esm/metrics/MeterProvider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/metrics/Metric.d.ts +0 -115
- package/node_modules/@opentelemetry/api/build/esm/metrics/Metric.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/metrics/NoopMeter.d.ts +0 -82
- package/node_modules/@opentelemetry/api/build/esm/metrics/NoopMeter.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/metrics/NoopMeterProvider.d.ts +0 -11
- package/node_modules/@opentelemetry/api/build/esm/metrics/NoopMeterProvider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/metrics/ObservableResult.d.ts +0 -31
- package/node_modules/@opentelemetry/api/build/esm/metrics/ObservableResult.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/metrics-api.d.ts +0 -4
- package/node_modules/@opentelemetry/api/build/esm/metrics-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/platform/browser/globalThis.d.ts +0 -10
- package/node_modules/@opentelemetry/api/build/esm/platform/browser/globalThis.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/platform/browser/index.d.ts +0 -2
- package/node_modules/@opentelemetry/api/build/esm/platform/browser/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/platform/index.d.ts +0 -2
- package/node_modules/@opentelemetry/api/build/esm/platform/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/platform/node/globalThis.d.ts +0 -3
- package/node_modules/@opentelemetry/api/build/esm/platform/node/globalThis.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/platform/node/index.d.ts +0 -2
- package/node_modules/@opentelemetry/api/build/esm/platform/node/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/propagation/NoopTextMapPropagator.d.ts +0 -13
- package/node_modules/@opentelemetry/api/build/esm/propagation/NoopTextMapPropagator.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/propagation/TextMapPropagator.d.ts +0 -84
- package/node_modules/@opentelemetry/api/build/esm/propagation/TextMapPropagator.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/propagation-api.d.ts +0 -4
- package/node_modules/@opentelemetry/api/build/esm/propagation-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/NonRecordingSpan.d.ts +0 -28
- package/node_modules/@opentelemetry/api/build/esm/trace/NonRecordingSpan.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/NoopTracer.d.ts +0 -14
- package/node_modules/@opentelemetry/api/build/esm/trace/NoopTracer.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/NoopTracerProvider.d.ts +0 -13
- package/node_modules/@opentelemetry/api/build/esm/trace/NoopTracerProvider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracer.d.ts +0 -27
- package/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracer.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracerProvider.d.ts +0 -25
- package/node_modules/@opentelemetry/api/build/esm/trace/ProxyTracerProvider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/Sampler.d.ts +0 -31
- package/node_modules/@opentelemetry/api/build/esm/trace/Sampler.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/SamplingResult.d.ts +0 -49
- package/node_modules/@opentelemetry/api/build/esm/trace/SamplingResult.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/SpanOptions.d.ts +0 -23
- package/node_modules/@opentelemetry/api/build/esm/trace/SpanOptions.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/attributes.d.ts +0 -10
- package/node_modules/@opentelemetry/api/build/esm/trace/attributes.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/context-utils.d.ts +0 -41
- package/node_modules/@opentelemetry/api/build/esm/trace/context-utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-impl.d.ts +0 -22
- package/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-impl.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-validators.d.ts +0 -15
- package/node_modules/@opentelemetry/api/build/esm/trace/internal/tracestate-validators.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/internal/utils.d.ts +0 -3
- package/node_modules/@opentelemetry/api/build/esm/trace/internal/utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/invalid-span-constants.d.ts +0 -5
- package/node_modules/@opentelemetry/api/build/esm/trace/invalid-span-constants.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/link.d.ts +0 -26
- package/node_modules/@opentelemetry/api/build/esm/trace/link.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/span.d.ts +0 -120
- package/node_modules/@opentelemetry/api/build/esm/trace/span.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/span_context.d.ts +0 -53
- package/node_modules/@opentelemetry/api/build/esm/trace/span_context.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/span_kind.d.ts +0 -27
- package/node_modules/@opentelemetry/api/build/esm/trace/span_kind.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/spancontext-utils.d.ts +0 -17
- package/node_modules/@opentelemetry/api/build/esm/trace/spancontext-utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/status.d.ts +0 -25
- package/node_modules/@opentelemetry/api/build/esm/trace/status.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/trace_flags.d.ts +0 -7
- package/node_modules/@opentelemetry/api/build/esm/trace/trace_flags.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/trace_state.d.ts +0 -38
- package/node_modules/@opentelemetry/api/build/esm/trace/trace_state.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/tracer.d.ts +0 -71
- package/node_modules/@opentelemetry/api/build/esm/trace/tracer.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/tracer_options.d.ts +0 -10
- package/node_modules/@opentelemetry/api/build/esm/trace/tracer_options.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace/tracer_provider.d.ts +0 -21
- package/node_modules/@opentelemetry/api/build/esm/trace/tracer_provider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/trace-api.d.ts +0 -4
- package/node_modules/@opentelemetry/api/build/esm/trace-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esm/version.d.ts +0 -2
- package/node_modules/@opentelemetry/api/build/esm/version.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/api/context.d.ts +0 -41
- package/node_modules/@opentelemetry/api/build/esnext/api/context.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/api/diag.d.ts +0 -30
- package/node_modules/@opentelemetry/api/build/esnext/api/diag.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/api/metrics.d.ts +0 -28
- package/node_modules/@opentelemetry/api/build/esnext/api/metrics.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/api/propagation.d.ts +0 -49
- package/node_modules/@opentelemetry/api/build/esnext/api/propagation.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/api/trace.d.ts +0 -40
- package/node_modules/@opentelemetry/api/build/esnext/api/trace.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/baggage/context-helpers.d.ts +0 -29
- package/node_modules/@opentelemetry/api/build/esnext/baggage/context-helpers.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/baggage/internal/baggage-impl.d.ts +0 -12
- package/node_modules/@opentelemetry/api/build/esnext/baggage/internal/baggage-impl.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/baggage/internal/symbol.d.ts +0 -5
- package/node_modules/@opentelemetry/api/build/esnext/baggage/internal/symbol.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/baggage/types.d.ts +0 -60
- package/node_modules/@opentelemetry/api/build/esnext/baggage/types.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/baggage/utils.d.ts +0 -15
- package/node_modules/@opentelemetry/api/build/esnext/baggage/utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/common/Attributes.d.ts +0 -15
- package/node_modules/@opentelemetry/api/build/esnext/common/Attributes.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/common/Exception.d.ts +0 -26
- package/node_modules/@opentelemetry/api/build/esnext/common/Exception.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/common/Time.d.ts +0 -20
- package/node_modules/@opentelemetry/api/build/esnext/common/Time.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/context/NoopContextManager.d.ts +0 -9
- package/node_modules/@opentelemetry/api/build/esnext/context/NoopContextManager.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/context/context.d.ts +0 -6
- package/node_modules/@opentelemetry/api/build/esnext/context/context.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/context/types.d.ts +0 -52
- package/node_modules/@opentelemetry/api/build/esnext/context/types.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/context-api.d.ts +0 -4
- package/node_modules/@opentelemetry/api/build/esnext/context-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/diag/ComponentLogger.d.ts +0 -20
- package/node_modules/@opentelemetry/api/build/esnext/diag/ComponentLogger.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/diag/consoleLogger.d.ts +0 -38
- package/node_modules/@opentelemetry/api/build/esnext/diag/consoleLogger.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/diag/internal/logLevelLogger.d.ts +0 -3
- package/node_modules/@opentelemetry/api/build/esnext/diag/internal/logLevelLogger.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/diag/internal/noopLogger.d.ts +0 -8
- package/node_modules/@opentelemetry/api/build/esnext/diag/internal/noopLogger.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/diag/types.d.ts +0 -100
- package/node_modules/@opentelemetry/api/build/esnext/diag/types.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/diag-api.d.ts +0 -9
- package/node_modules/@opentelemetry/api/build/esnext/diag-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/experimental/index.d.ts +0 -3
- package/node_modules/@opentelemetry/api/build/esnext/experimental/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/experimental/trace/SugaredOptions.d.ts +0 -13
- package/node_modules/@opentelemetry/api/build/esnext/experimental/trace/SugaredOptions.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/experimental/trace/SugaredTracer.d.ts +0 -64
- package/node_modules/@opentelemetry/api/build/esnext/experimental/trace/SugaredTracer.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/index.d.ts +0 -54
- package/node_modules/@opentelemetry/api/build/esnext/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/internal/global-utils.d.ts +0 -18
- package/node_modules/@opentelemetry/api/build/esnext/internal/global-utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/internal/semver.d.ts +0 -34
- package/node_modules/@opentelemetry/api/build/esnext/internal/semver.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/metrics/Meter.d.ts +0 -110
- package/node_modules/@opentelemetry/api/build/esnext/metrics/Meter.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/metrics/MeterProvider.d.ts +0 -17
- package/node_modules/@opentelemetry/api/build/esnext/metrics/MeterProvider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/metrics/Metric.d.ts +0 -115
- package/node_modules/@opentelemetry/api/build/esnext/metrics/Metric.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/metrics/NoopMeter.d.ts +0 -82
- package/node_modules/@opentelemetry/api/build/esnext/metrics/NoopMeter.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/metrics/NoopMeterProvider.d.ts +0 -11
- package/node_modules/@opentelemetry/api/build/esnext/metrics/NoopMeterProvider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/metrics/ObservableResult.d.ts +0 -31
- package/node_modules/@opentelemetry/api/build/esnext/metrics/ObservableResult.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/metrics-api.d.ts +0 -4
- package/node_modules/@opentelemetry/api/build/esnext/metrics-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/platform/browser/globalThis.d.ts +0 -10
- package/node_modules/@opentelemetry/api/build/esnext/platform/browser/globalThis.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/platform/browser/index.d.ts +0 -2
- package/node_modules/@opentelemetry/api/build/esnext/platform/browser/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/platform/index.d.ts +0 -2
- package/node_modules/@opentelemetry/api/build/esnext/platform/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/platform/node/globalThis.d.ts +0 -3
- package/node_modules/@opentelemetry/api/build/esnext/platform/node/globalThis.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/platform/node/index.d.ts +0 -2
- package/node_modules/@opentelemetry/api/build/esnext/platform/node/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/propagation/NoopTextMapPropagator.d.ts +0 -13
- package/node_modules/@opentelemetry/api/build/esnext/propagation/NoopTextMapPropagator.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/propagation/TextMapPropagator.d.ts +0 -84
- package/node_modules/@opentelemetry/api/build/esnext/propagation/TextMapPropagator.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/propagation-api.d.ts +0 -4
- package/node_modules/@opentelemetry/api/build/esnext/propagation-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/NonRecordingSpan.d.ts +0 -28
- package/node_modules/@opentelemetry/api/build/esnext/trace/NonRecordingSpan.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/NoopTracer.d.ts +0 -14
- package/node_modules/@opentelemetry/api/build/esnext/trace/NoopTracer.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/NoopTracerProvider.d.ts +0 -13
- package/node_modules/@opentelemetry/api/build/esnext/trace/NoopTracerProvider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/ProxyTracer.d.ts +0 -27
- package/node_modules/@opentelemetry/api/build/esnext/trace/ProxyTracer.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/ProxyTracerProvider.d.ts +0 -25
- package/node_modules/@opentelemetry/api/build/esnext/trace/ProxyTracerProvider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/Sampler.d.ts +0 -31
- package/node_modules/@opentelemetry/api/build/esnext/trace/Sampler.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/SamplingResult.d.ts +0 -49
- package/node_modules/@opentelemetry/api/build/esnext/trace/SamplingResult.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/SpanOptions.d.ts +0 -23
- package/node_modules/@opentelemetry/api/build/esnext/trace/SpanOptions.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/attributes.d.ts +0 -10
- package/node_modules/@opentelemetry/api/build/esnext/trace/attributes.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/context-utils.d.ts +0 -41
- package/node_modules/@opentelemetry/api/build/esnext/trace/context-utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/internal/tracestate-impl.d.ts +0 -22
- package/node_modules/@opentelemetry/api/build/esnext/trace/internal/tracestate-impl.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/internal/tracestate-validators.d.ts +0 -15
- package/node_modules/@opentelemetry/api/build/esnext/trace/internal/tracestate-validators.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/internal/utils.d.ts +0 -3
- package/node_modules/@opentelemetry/api/build/esnext/trace/internal/utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/invalid-span-constants.d.ts +0 -5
- package/node_modules/@opentelemetry/api/build/esnext/trace/invalid-span-constants.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/link.d.ts +0 -26
- package/node_modules/@opentelemetry/api/build/esnext/trace/link.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/span.d.ts +0 -120
- package/node_modules/@opentelemetry/api/build/esnext/trace/span.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/span_context.d.ts +0 -53
- package/node_modules/@opentelemetry/api/build/esnext/trace/span_context.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/span_kind.d.ts +0 -27
- package/node_modules/@opentelemetry/api/build/esnext/trace/span_kind.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/spancontext-utils.d.ts +0 -17
- package/node_modules/@opentelemetry/api/build/esnext/trace/spancontext-utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/status.d.ts +0 -25
- package/node_modules/@opentelemetry/api/build/esnext/trace/status.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/trace_flags.d.ts +0 -7
- package/node_modules/@opentelemetry/api/build/esnext/trace/trace_flags.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/trace_state.d.ts +0 -38
- package/node_modules/@opentelemetry/api/build/esnext/trace/trace_state.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/tracer.d.ts +0 -71
- package/node_modules/@opentelemetry/api/build/esnext/trace/tracer.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/tracer_options.d.ts +0 -10
- package/node_modules/@opentelemetry/api/build/esnext/trace/tracer_options.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace/tracer_provider.d.ts +0 -21
- package/node_modules/@opentelemetry/api/build/esnext/trace/tracer_provider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/trace-api.d.ts +0 -4
- package/node_modules/@opentelemetry/api/build/esnext/trace-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/esnext/version.d.ts +0 -2
- package/node_modules/@opentelemetry/api/build/esnext/version.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/api/context.d.ts +0 -41
- package/node_modules/@opentelemetry/api/build/src/api/context.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/api/diag.d.ts +0 -30
- package/node_modules/@opentelemetry/api/build/src/api/diag.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/api/metrics.d.ts +0 -28
- package/node_modules/@opentelemetry/api/build/src/api/metrics.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/api/propagation.d.ts +0 -49
- package/node_modules/@opentelemetry/api/build/src/api/propagation.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/api/trace.d.ts +0 -40
- package/node_modules/@opentelemetry/api/build/src/api/trace.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/baggage/context-helpers.d.ts +0 -29
- package/node_modules/@opentelemetry/api/build/src/baggage/context-helpers.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/baggage/internal/baggage-impl.d.ts +0 -12
- package/node_modules/@opentelemetry/api/build/src/baggage/internal/baggage-impl.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/baggage/internal/symbol.d.ts +0 -5
- package/node_modules/@opentelemetry/api/build/src/baggage/internal/symbol.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/baggage/types.d.ts +0 -60
- package/node_modules/@opentelemetry/api/build/src/baggage/types.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/baggage/utils.d.ts +0 -15
- package/node_modules/@opentelemetry/api/build/src/baggage/utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/common/Attributes.d.ts +0 -15
- package/node_modules/@opentelemetry/api/build/src/common/Attributes.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/common/Exception.d.ts +0 -26
- package/node_modules/@opentelemetry/api/build/src/common/Exception.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/common/Time.d.ts +0 -20
- package/node_modules/@opentelemetry/api/build/src/common/Time.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/context/NoopContextManager.d.ts +0 -9
- package/node_modules/@opentelemetry/api/build/src/context/NoopContextManager.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/context/context.d.ts +0 -6
- package/node_modules/@opentelemetry/api/build/src/context/context.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/context/types.d.ts +0 -52
- package/node_modules/@opentelemetry/api/build/src/context/types.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/context-api.d.ts +0 -4
- package/node_modules/@opentelemetry/api/build/src/context-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/diag/ComponentLogger.d.ts +0 -20
- package/node_modules/@opentelemetry/api/build/src/diag/ComponentLogger.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/diag/consoleLogger.d.ts +0 -38
- package/node_modules/@opentelemetry/api/build/src/diag/consoleLogger.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/diag/internal/logLevelLogger.d.ts +0 -3
- package/node_modules/@opentelemetry/api/build/src/diag/internal/logLevelLogger.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/diag/internal/noopLogger.d.ts +0 -8
- package/node_modules/@opentelemetry/api/build/src/diag/internal/noopLogger.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/diag/types.d.ts +0 -100
- package/node_modules/@opentelemetry/api/build/src/diag/types.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/diag-api.d.ts +0 -9
- package/node_modules/@opentelemetry/api/build/src/diag-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/experimental/index.d.ts +0 -3
- package/node_modules/@opentelemetry/api/build/src/experimental/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/experimental/trace/SugaredOptions.d.ts +0 -13
- package/node_modules/@opentelemetry/api/build/src/experimental/trace/SugaredOptions.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/experimental/trace/SugaredTracer.d.ts +0 -64
- package/node_modules/@opentelemetry/api/build/src/experimental/trace/SugaredTracer.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/index.d.ts +0 -54
- package/node_modules/@opentelemetry/api/build/src/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/internal/global-utils.d.ts +0 -18
- package/node_modules/@opentelemetry/api/build/src/internal/global-utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/internal/semver.d.ts +0 -34
- package/node_modules/@opentelemetry/api/build/src/internal/semver.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/metrics/Meter.d.ts +0 -110
- package/node_modules/@opentelemetry/api/build/src/metrics/Meter.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/metrics/MeterProvider.d.ts +0 -17
- package/node_modules/@opentelemetry/api/build/src/metrics/MeterProvider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/metrics/Metric.d.ts +0 -115
- package/node_modules/@opentelemetry/api/build/src/metrics/Metric.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/metrics/NoopMeter.d.ts +0 -82
- package/node_modules/@opentelemetry/api/build/src/metrics/NoopMeter.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/metrics/NoopMeterProvider.d.ts +0 -11
- package/node_modules/@opentelemetry/api/build/src/metrics/NoopMeterProvider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/metrics/ObservableResult.d.ts +0 -31
- package/node_modules/@opentelemetry/api/build/src/metrics/ObservableResult.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/metrics-api.d.ts +0 -4
- package/node_modules/@opentelemetry/api/build/src/metrics-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/platform/browser/globalThis.d.ts +0 -10
- package/node_modules/@opentelemetry/api/build/src/platform/browser/globalThis.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/platform/browser/index.d.ts +0 -2
- package/node_modules/@opentelemetry/api/build/src/platform/browser/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/platform/index.d.ts +0 -2
- package/node_modules/@opentelemetry/api/build/src/platform/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/platform/node/globalThis.d.ts +0 -3
- package/node_modules/@opentelemetry/api/build/src/platform/node/globalThis.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/platform/node/index.d.ts +0 -2
- package/node_modules/@opentelemetry/api/build/src/platform/node/index.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/propagation/NoopTextMapPropagator.d.ts +0 -13
- package/node_modules/@opentelemetry/api/build/src/propagation/NoopTextMapPropagator.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/propagation/TextMapPropagator.d.ts +0 -84
- package/node_modules/@opentelemetry/api/build/src/propagation/TextMapPropagator.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/propagation-api.d.ts +0 -4
- package/node_modules/@opentelemetry/api/build/src/propagation-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/NonRecordingSpan.d.ts +0 -28
- package/node_modules/@opentelemetry/api/build/src/trace/NonRecordingSpan.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/NoopTracer.d.ts +0 -14
- package/node_modules/@opentelemetry/api/build/src/trace/NoopTracer.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/NoopTracerProvider.d.ts +0 -13
- package/node_modules/@opentelemetry/api/build/src/trace/NoopTracerProvider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/ProxyTracer.d.ts +0 -27
- package/node_modules/@opentelemetry/api/build/src/trace/ProxyTracer.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/ProxyTracerProvider.d.ts +0 -25
- package/node_modules/@opentelemetry/api/build/src/trace/ProxyTracerProvider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/Sampler.d.ts +0 -31
- package/node_modules/@opentelemetry/api/build/src/trace/Sampler.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/SamplingResult.d.ts +0 -49
- package/node_modules/@opentelemetry/api/build/src/trace/SamplingResult.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/SpanOptions.d.ts +0 -23
- package/node_modules/@opentelemetry/api/build/src/trace/SpanOptions.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/attributes.d.ts +0 -10
- package/node_modules/@opentelemetry/api/build/src/trace/attributes.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/context-utils.d.ts +0 -41
- package/node_modules/@opentelemetry/api/build/src/trace/context-utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-impl.d.ts +0 -22
- package/node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-impl.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-validators.d.ts +0 -15
- package/node_modules/@opentelemetry/api/build/src/trace/internal/tracestate-validators.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/internal/utils.d.ts +0 -3
- package/node_modules/@opentelemetry/api/build/src/trace/internal/utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/invalid-span-constants.d.ts +0 -5
- package/node_modules/@opentelemetry/api/build/src/trace/invalid-span-constants.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/link.d.ts +0 -26
- package/node_modules/@opentelemetry/api/build/src/trace/link.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/span.d.ts +0 -120
- package/node_modules/@opentelemetry/api/build/src/trace/span.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/span_context.d.ts +0 -53
- package/node_modules/@opentelemetry/api/build/src/trace/span_context.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/span_kind.d.ts +0 -27
- package/node_modules/@opentelemetry/api/build/src/trace/span_kind.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/spancontext-utils.d.ts +0 -17
- package/node_modules/@opentelemetry/api/build/src/trace/spancontext-utils.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/status.d.ts +0 -25
- package/node_modules/@opentelemetry/api/build/src/trace/status.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/trace_flags.d.ts +0 -7
- package/node_modules/@opentelemetry/api/build/src/trace/trace_flags.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/trace_state.d.ts +0 -38
- package/node_modules/@opentelemetry/api/build/src/trace/trace_state.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/tracer.d.ts +0 -71
- package/node_modules/@opentelemetry/api/build/src/trace/tracer.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/tracer_options.d.ts +0 -10
- package/node_modules/@opentelemetry/api/build/src/trace/tracer_options.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace/tracer_provider.d.ts +0 -21
- package/node_modules/@opentelemetry/api/build/src/trace/tracer_provider.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/trace-api.d.ts +0 -4
- package/node_modules/@opentelemetry/api/build/src/trace-api.js.map +0 -1
- package/node_modules/@opentelemetry/api/build/src/version.d.ts +0 -2
- package/node_modules/@opentelemetry/api/build/src/version.js.map +0 -1
- package/node_modules/@pinojs/redact/LICENSE +0 -21
- package/node_modules/@pinojs/redact/README.md +0 -350
- package/node_modules/@pinojs/redact/benchmarks/basic.js +0 -184
- package/node_modules/@pinojs/redact/index.d.ts +0 -52
- package/node_modules/@pinojs/redact/test/actual-redact-comparison.test.js +0 -211
- package/node_modules/@pinojs/redact/test/index.test.js +0 -824
- package/node_modules/@pinojs/redact/test/integration.test.js +0 -390
- package/node_modules/@pinojs/redact/test/multiple-wildcards.test.js +0 -227
- package/node_modules/@pinojs/redact/test/prototype-pollution.test.js +0 -223
- package/node_modules/@pinojs/redact/test/selective-clone.test.js +0 -115
- package/node_modules/@stablelib/base64/LICENSE +0 -21
- package/node_modules/@stablelib/base64/lib/base64.bench.d.ts +0 -1
- package/node_modules/@stablelib/base64/lib/base64.bench.js.map +0 -1
- package/node_modules/@stablelib/base64/lib/base64.d.ts +0 -34
- package/node_modules/@stablelib/base64/lib/base64.js.map +0 -1
- package/node_modules/@stablelib/base64/lib/base64.test.d.ts +0 -1
- package/node_modules/@stablelib/base64/lib/base64.test.js.map +0 -1
- package/node_modules/@standard-schema/spec/LICENSE +0 -21
- package/node_modules/@standard-schema/spec/README.md +0 -198
- package/node_modules/@stricli/core/README.md +0 -9
- package/node_modules/@tanstack/query-core/LICENSE +0 -21
- package/node_modules/@tanstack/query-core/build/legacy/chunk-PXG64RU4.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/focusManager.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/focusManager.d.cts +0 -17
- package/node_modules/@tanstack/query-core/build/legacy/focusManager.d.ts +0 -17
- package/node_modules/@tanstack/query-core/build/legacy/focusManager.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/hydration-BD1pRmcy.d.cts +0 -1384
- package/node_modules/@tanstack/query-core/build/legacy/hydration-C-jfQLut.d.ts +0 -1384
- package/node_modules/@tanstack/query-core/build/legacy/hydration.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/hydration.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/hydration.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/hydration.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/index.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/index.d.cts +0 -10
- package/node_modules/@tanstack/query-core/build/legacy/index.d.ts +0 -10
- package/node_modules/@tanstack/query-core/build/legacy/index.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryBehavior.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryBehavior.d.cts +0 -15
- package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryBehavior.d.ts +0 -15
- package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryBehavior.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryObserver.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryObserver.d.cts +0 -20
- package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryObserver.d.ts +0 -20
- package/node_modules/@tanstack/query-core/build/legacy/infiniteQueryObserver.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/mutation.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/mutation.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/mutation.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/mutation.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/mutationCache.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/mutationCache.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/mutationCache.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/mutationCache.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/mutationObserver.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/mutationObserver.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/mutationObserver.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/mutationObserver.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/notifyManager.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/notifyManager.d.cts +0 -46
- package/node_modules/@tanstack/query-core/build/legacy/notifyManager.d.ts +0 -46
- package/node_modules/@tanstack/query-core/build/legacy/notifyManager.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/onlineManager.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/onlineManager.d.cts +0 -16
- package/node_modules/@tanstack/query-core/build/legacy/onlineManager.d.ts +0 -16
- package/node_modules/@tanstack/query-core/build/legacy/onlineManager.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/queriesObserver.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/queriesObserver.d.cts +0 -27
- package/node_modules/@tanstack/query-core/build/legacy/queriesObserver.d.ts +0 -27
- package/node_modules/@tanstack/query-core/build/legacy/queriesObserver.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/query.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/query.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/query.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/query.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/queryCache.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/queryCache.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/queryCache.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/queryCache.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/queryClient.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/queryClient.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/queryClient.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/queryClient.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/queryObserver.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/queryObserver.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/queryObserver.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/queryObserver.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/removable.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/removable.d.cts +0 -11
- package/node_modules/@tanstack/query-core/build/legacy/removable.d.ts +0 -11
- package/node_modules/@tanstack/query-core/build/legacy/removable.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/retryer.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/retryer.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/retryer.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/retryer.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/streamedQuery.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/streamedQuery.d.cts +0 -34
- package/node_modules/@tanstack/query-core/build/legacy/streamedQuery.d.ts +0 -34
- package/node_modules/@tanstack/query-core/build/legacy/streamedQuery.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/subscribable.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/subscribable.d.cts +0 -10
- package/node_modules/@tanstack/query-core/build/legacy/subscribable.d.ts +0 -10
- package/node_modules/@tanstack/query-core/build/legacy/subscribable.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/thenable.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/thenable.d.cts +0 -47
- package/node_modules/@tanstack/query-core/build/legacy/thenable.d.ts +0 -47
- package/node_modules/@tanstack/query-core/build/legacy/thenable.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/timeoutManager.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/timeoutManager.d.cts +0 -58
- package/node_modules/@tanstack/query-core/build/legacy/timeoutManager.d.ts +0 -58
- package/node_modules/@tanstack/query-core/build/legacy/timeoutManager.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/types.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/types.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/types.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/types.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/utils.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/legacy/utils.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/utils.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/legacy/utils.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/focusManager.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/focusManager.d.cts +0 -17
- package/node_modules/@tanstack/query-core/build/modern/focusManager.d.ts +0 -17
- package/node_modules/@tanstack/query-core/build/modern/focusManager.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/hydration-BD1pRmcy.d.cts +0 -1384
- package/node_modules/@tanstack/query-core/build/modern/hydration-C-jfQLut.d.ts +0 -1384
- package/node_modules/@tanstack/query-core/build/modern/hydration.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/hydration.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/hydration.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/hydration.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/index.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/index.d.cts +0 -10
- package/node_modules/@tanstack/query-core/build/modern/index.d.ts +0 -10
- package/node_modules/@tanstack/query-core/build/modern/index.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.d.cts +0 -15
- package/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.d.ts +0 -15
- package/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.d.cts +0 -20
- package/node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.d.ts +0 -20
- package/node_modules/@tanstack/query-core/build/modern/infiniteQueryObserver.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/mutation.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/mutation.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/mutation.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/mutation.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/mutationCache.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/mutationCache.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/mutationCache.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/mutationCache.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/mutationObserver.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/mutationObserver.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/mutationObserver.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/mutationObserver.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/notifyManager.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/notifyManager.d.cts +0 -46
- package/node_modules/@tanstack/query-core/build/modern/notifyManager.d.ts +0 -46
- package/node_modules/@tanstack/query-core/build/modern/notifyManager.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/onlineManager.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/onlineManager.d.cts +0 -16
- package/node_modules/@tanstack/query-core/build/modern/onlineManager.d.ts +0 -16
- package/node_modules/@tanstack/query-core/build/modern/onlineManager.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/queriesObserver.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/queriesObserver.d.cts +0 -27
- package/node_modules/@tanstack/query-core/build/modern/queriesObserver.d.ts +0 -27
- package/node_modules/@tanstack/query-core/build/modern/queriesObserver.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/query.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/query.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/query.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/query.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/queryCache.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/queryCache.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/queryCache.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/queryCache.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/queryClient.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/queryClient.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/queryClient.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/queryClient.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/queryObserver.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/queryObserver.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/queryObserver.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/queryObserver.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/removable.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/removable.d.cts +0 -11
- package/node_modules/@tanstack/query-core/build/modern/removable.d.ts +0 -11
- package/node_modules/@tanstack/query-core/build/modern/removable.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/retryer.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/retryer.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/retryer.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/retryer.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/streamedQuery.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/streamedQuery.d.cts +0 -34
- package/node_modules/@tanstack/query-core/build/modern/streamedQuery.d.ts +0 -34
- package/node_modules/@tanstack/query-core/build/modern/streamedQuery.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/subscribable.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/subscribable.d.cts +0 -10
- package/node_modules/@tanstack/query-core/build/modern/subscribable.d.ts +0 -10
- package/node_modules/@tanstack/query-core/build/modern/subscribable.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/thenable.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/thenable.d.cts +0 -47
- package/node_modules/@tanstack/query-core/build/modern/thenable.d.ts +0 -47
- package/node_modules/@tanstack/query-core/build/modern/thenable.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/timeoutManager.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/timeoutManager.d.cts +0 -58
- package/node_modules/@tanstack/query-core/build/modern/timeoutManager.d.ts +0 -58
- package/node_modules/@tanstack/query-core/build/modern/timeoutManager.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/types.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/types.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/types.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/types.js.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/utils.cjs.map +0 -1
- package/node_modules/@tanstack/query-core/build/modern/utils.d.cts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/utils.d.ts +0 -3
- package/node_modules/@tanstack/query-core/build/modern/utils.js.map +0 -1
- package/node_modules/@vercel/oidc/CHANGELOG.md +0 -83
- package/node_modules/@vercel/oidc/LICENSE +0 -202
- package/node_modules/@vercel/oidc/README.md +0 -3
- package/node_modules/@vercel/oidc/docs/README.md +0 -104
- package/node_modules/abstract-logging/Readme.md +0 -47
- package/node_modules/agent-base/LICENSE +0 -22
- package/node_modules/agent-base/README.md +0 -69
- package/node_modules/ai/CHANGELOG.md +0 -7568
- package/node_modules/ai/LICENSE +0 -13
- package/node_modules/ai/README.md +0 -238
- package/node_modules/ai/dist/test/index.d.mts +0 -133
- package/node_modules/ai/dist/test/index.d.ts +0 -133
- package/node_modules/ai/dist/test/index.js +0 -275
- package/node_modules/ai/dist/test/index.js.map +0 -1
- package/node_modules/ai/dist/test/index.mjs +0 -245
- package/node_modules/ai/dist/test/index.mjs.map +0 -1
- package/node_modules/ai/docs/00-introduction/index.mdx +0 -76
- package/node_modules/ai/docs/02-foundations/01-overview.mdx +0 -43
- package/node_modules/ai/docs/02-foundations/02-providers-and-models.mdx +0 -160
- package/node_modules/ai/docs/02-foundations/03-prompts.mdx +0 -616
- package/node_modules/ai/docs/02-foundations/04-tools.mdx +0 -251
- package/node_modules/ai/docs/02-foundations/05-streaming.mdx +0 -62
- package/node_modules/ai/docs/02-foundations/06-provider-options.mdx +0 -337
- package/node_modules/ai/docs/02-foundations/index.mdx +0 -49
- package/node_modules/ai/docs/02-getting-started/00-choosing-a-provider.mdx +0 -110
- package/node_modules/ai/docs/02-getting-started/01-navigating-the-library.mdx +0 -85
- package/node_modules/ai/docs/02-getting-started/02-nextjs-app-router.mdx +0 -559
- package/node_modules/ai/docs/02-getting-started/03-nextjs-pages-router.mdx +0 -542
- package/node_modules/ai/docs/02-getting-started/04-svelte.mdx +0 -627
- package/node_modules/ai/docs/02-getting-started/05-nuxt.mdx +0 -566
- package/node_modules/ai/docs/02-getting-started/06-nodejs.mdx +0 -512
- package/node_modules/ai/docs/02-getting-started/07-expo.mdx +0 -766
- package/node_modules/ai/docs/02-getting-started/08-tanstack-start.mdx +0 -583
- package/node_modules/ai/docs/02-getting-started/09-coding-agents.mdx +0 -179
- package/node_modules/ai/docs/02-getting-started/index.mdx +0 -44
- package/node_modules/ai/docs/03-agents/01-overview.mdx +0 -94
- package/node_modules/ai/docs/03-agents/02-building-agents.mdx +0 -406
- package/node_modules/ai/docs/03-agents/03-workflows.mdx +0 -386
- package/node_modules/ai/docs/03-agents/04-loop-control.mdx +0 -427
- package/node_modules/ai/docs/03-agents/05-configuring-call-options.mdx +0 -286
- package/node_modules/ai/docs/03-agents/06-memory.mdx +0 -221
- package/node_modules/ai/docs/03-agents/06-subagents.mdx +0 -362
- package/node_modules/ai/docs/03-agents/index.mdx +0 -46
- package/node_modules/ai/docs/03-ai-sdk-core/01-overview.mdx +0 -31
- package/node_modules/ai/docs/03-ai-sdk-core/05-generating-text.mdx +0 -707
- package/node_modules/ai/docs/03-ai-sdk-core/10-generating-structured-data.mdx +0 -498
- package/node_modules/ai/docs/03-ai-sdk-core/15-tools-and-tool-calling.mdx +0 -1156
- package/node_modules/ai/docs/03-ai-sdk-core/16-mcp-tools.mdx +0 -383
- package/node_modules/ai/docs/03-ai-sdk-core/20-prompt-engineering.mdx +0 -146
- package/node_modules/ai/docs/03-ai-sdk-core/25-settings.mdx +0 -198
- package/node_modules/ai/docs/03-ai-sdk-core/30-embeddings.mdx +0 -246
- package/node_modules/ai/docs/03-ai-sdk-core/31-reranking.mdx +0 -218
- package/node_modules/ai/docs/03-ai-sdk-core/35-image-generation.mdx +0 -341
- package/node_modules/ai/docs/03-ai-sdk-core/36-transcription.mdx +0 -227
- package/node_modules/ai/docs/03-ai-sdk-core/37-speech.mdx +0 -169
- package/node_modules/ai/docs/03-ai-sdk-core/38-video-generation.mdx +0 -366
- package/node_modules/ai/docs/03-ai-sdk-core/40-middleware.mdx +0 -485
- package/node_modules/ai/docs/03-ai-sdk-core/45-provider-management.mdx +0 -349
- package/node_modules/ai/docs/03-ai-sdk-core/50-error-handling.mdx +0 -149
- package/node_modules/ai/docs/03-ai-sdk-core/55-testing.mdx +0 -219
- package/node_modules/ai/docs/03-ai-sdk-core/60-telemetry.mdx +0 -391
- package/node_modules/ai/docs/03-ai-sdk-core/65-devtools.mdx +0 -107
- package/node_modules/ai/docs/03-ai-sdk-core/65-event-listeners.mdx +0 -915
- package/node_modules/ai/docs/03-ai-sdk-core/index.mdx +0 -93
- package/node_modules/ai/docs/04-ai-sdk-ui/01-overview.mdx +0 -44
- package/node_modules/ai/docs/04-ai-sdk-ui/02-chatbot.mdx +0 -1313
- package/node_modules/ai/docs/04-ai-sdk-ui/03-chatbot-message-persistence.mdx +0 -535
- package/node_modules/ai/docs/04-ai-sdk-ui/03-chatbot-resume-streams.mdx +0 -263
- package/node_modules/ai/docs/04-ai-sdk-ui/03-chatbot-tool-usage.mdx +0 -682
- package/node_modules/ai/docs/04-ai-sdk-ui/04-generative-user-interfaces.mdx +0 -389
- package/node_modules/ai/docs/04-ai-sdk-ui/05-completion.mdx +0 -181
- package/node_modules/ai/docs/04-ai-sdk-ui/08-object-generation.mdx +0 -344
- package/node_modules/ai/docs/04-ai-sdk-ui/20-streaming-data.mdx +0 -397
- package/node_modules/ai/docs/04-ai-sdk-ui/21-error-handling.mdx +0 -190
- package/node_modules/ai/docs/04-ai-sdk-ui/21-transport.mdx +0 -174
- package/node_modules/ai/docs/04-ai-sdk-ui/24-reading-ui-message-streams.mdx +0 -104
- package/node_modules/ai/docs/04-ai-sdk-ui/25-message-metadata.mdx +0 -152
- package/node_modules/ai/docs/04-ai-sdk-ui/50-stream-protocol.mdx +0 -477
- package/node_modules/ai/docs/04-ai-sdk-ui/index.mdx +0 -64
- package/node_modules/ai/docs/05-ai-sdk-rsc/01-overview.mdx +0 -45
- package/node_modules/ai/docs/05-ai-sdk-rsc/02-streaming-react-components.mdx +0 -209
- package/node_modules/ai/docs/05-ai-sdk-rsc/03-generative-ui-state.mdx +0 -279
- package/node_modules/ai/docs/05-ai-sdk-rsc/03-saving-and-restoring-states.mdx +0 -105
- package/node_modules/ai/docs/05-ai-sdk-rsc/04-multistep-interfaces.mdx +0 -282
- package/node_modules/ai/docs/05-ai-sdk-rsc/05-streaming-values.mdx +0 -157
- package/node_modules/ai/docs/05-ai-sdk-rsc/06-loading-state.mdx +0 -273
- package/node_modules/ai/docs/05-ai-sdk-rsc/08-error-handling.mdx +0 -94
- package/node_modules/ai/docs/05-ai-sdk-rsc/09-authentication.mdx +0 -42
- package/node_modules/ai/docs/05-ai-sdk-rsc/10-migrating-to-ui.mdx +0 -722
- package/node_modules/ai/docs/05-ai-sdk-rsc/index.mdx +0 -63
- package/node_modules/ai/docs/06-advanced/01-prompt-engineering.mdx +0 -96
- package/node_modules/ai/docs/06-advanced/02-stopping-streams.mdx +0 -184
- package/node_modules/ai/docs/06-advanced/03-backpressure.mdx +0 -173
- package/node_modules/ai/docs/06-advanced/04-caching.mdx +0 -169
- package/node_modules/ai/docs/06-advanced/05-multiple-streamables.mdx +0 -68
- package/node_modules/ai/docs/06-advanced/06-rate-limiting.mdx +0 -60
- package/node_modules/ai/docs/06-advanced/07-rendering-ui-with-language-models.mdx +0 -225
- package/node_modules/ai/docs/06-advanced/08-model-as-router.mdx +0 -120
- package/node_modules/ai/docs/06-advanced/09-multistep-interfaces.mdx +0 -115
- package/node_modules/ai/docs/06-advanced/09-sequential-generations.mdx +0 -55
- package/node_modules/ai/docs/06-advanced/10-vercel-deployment-guide.mdx +0 -117
- package/node_modules/ai/docs/06-advanced/index.mdx +0 -11
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/01-generate-text.mdx +0 -2715
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/02-stream-text.mdx +0 -3656
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/05-embed.mdx +0 -197
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/06-embed-many.mdx +0 -191
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/06-rerank.mdx +0 -309
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/10-generate-image.mdx +0 -252
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/11-transcribe.mdx +0 -152
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/12-generate-speech.mdx +0 -221
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/13-generate-video.mdx +0 -265
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/15-agent.mdx +0 -210
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/16-tool-loop-agent.mdx +0 -498
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/17-create-agent-ui-stream.mdx +0 -154
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/18-create-agent-ui-stream-response.mdx +0 -173
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/18-pipe-agent-ui-stream-to-response.mdx +0 -150
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/20-tool.mdx +0 -209
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/22-dynamic-tool.mdx +0 -223
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/23-create-mcp-client.mdx +0 -423
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/24-mcp-stdio-transport.mdx +0 -68
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/25-json-schema.mdx +0 -94
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/26-zod-schema.mdx +0 -109
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/27-valibot-schema.mdx +0 -58
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/28-output.mdx +0 -342
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/30-model-message.mdx +0 -415
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/31-ui-message.mdx +0 -246
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/32-validate-ui-messages.mdx +0 -101
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/33-safe-validate-ui-messages.mdx +0 -113
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/40-provider-registry.mdx +0 -198
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/42-custom-provider.mdx +0 -157
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/50-cosine-similarity.mdx +0 -52
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/60-wrap-language-model.mdx +0 -59
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/61-wrap-image-model.mdx +0 -64
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/65-language-model-v2-middleware.mdx +0 -74
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/66-extract-reasoning-middleware.mdx +0 -68
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/67-simulate-streaming-middleware.mdx +0 -71
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/68-default-settings-middleware.mdx +0 -80
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/69-add-tool-input-examples-middleware.mdx +0 -155
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/70-extract-json-middleware.mdx +0 -147
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/70-step-count-is.mdx +0 -84
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/71-has-tool-call.mdx +0 -120
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/72-loop-finished.mdx +0 -83
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/75-simulate-readable-stream.mdx +0 -94
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/80-smooth-stream.mdx +0 -145
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/90-generate-id.mdx +0 -30
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/91-create-id-generator.mdx +0 -89
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/92-default-generated-file.mdx +0 -68
- package/node_modules/ai/docs/07-reference/01-ai-sdk-core/index.mdx +0 -178
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/01-use-chat.mdx +0 -493
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/02-use-completion.mdx +0 -185
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/03-use-object.mdx +0 -196
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/31-convert-to-model-messages.mdx +0 -231
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/32-prune-messages.mdx +0 -108
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/40-create-ui-message-stream.mdx +0 -162
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/41-create-ui-message-stream-response.mdx +0 -119
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/42-pipe-ui-message-stream-to-response.mdx +0 -77
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/43-read-ui-message-stream.mdx +0 -57
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/46-infer-ui-tools.mdx +0 -99
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/47-infer-ui-tool.mdx +0 -75
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/50-direct-chat-transport.mdx +0 -333
- package/node_modules/ai/docs/07-reference/02-ai-sdk-ui/index.mdx +0 -89
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/01-stream-ui.mdx +0 -767
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/02-create-ai.mdx +0 -90
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/03-create-streamable-ui.mdx +0 -91
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/04-create-streamable-value.mdx +0 -78
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/05-read-streamable-value.mdx +0 -79
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/06-get-ai-state.mdx +0 -50
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/07-get-mutable-ai-state.mdx +0 -70
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/08-use-ai-state.mdx +0 -26
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/09-use-actions.mdx +0 -42
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/10-use-ui-state.mdx +0 -35
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/11-use-streamable-value.mdx +0 -46
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/20-render.mdx +0 -266
- package/node_modules/ai/docs/07-reference/03-ai-sdk-rsc/index.mdx +0 -67
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-api-call-error.mdx +0 -31
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-download-error.mdx +0 -28
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-empty-response-body-error.mdx +0 -24
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-argument-error.mdx +0 -26
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-data-content-error.mdx +0 -26
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-message-role-error.mdx +0 -25
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-prompt-error.mdx +0 -47
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-response-data-error.mdx +0 -25
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-tool-approval-error.mdx +0 -24
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-invalid-tool-input-error.mdx +0 -27
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-json-parse-error.mdx +0 -25
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-load-api-key-error.mdx +0 -24
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-load-setting-error.mdx +0 -24
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-message-conversion-error.mdx +0 -25
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-content-generated-error.mdx +0 -24
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-image-generated-error.mdx +0 -36
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-object-generated-error.mdx +0 -43
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-output-generated-error.mdx +0 -25
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-speech-generated-error.mdx +0 -24
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-such-model-error.mdx +0 -26
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-such-provider-error.mdx +0 -28
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-such-tool-error.mdx +0 -26
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-transcript-generated-error.mdx +0 -24
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-no-video-generated-error.mdx +0 -39
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-retry-error.mdx +0 -27
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-too-many-embedding-values-for-call-error.mdx +0 -27
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-tool-call-not-found-for-approval-error.mdx +0 -25
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-tool-call-repair-error.mdx +0 -28
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-type-validation-error.mdx +0 -25
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-ui-message-stream-error.mdx +0 -67
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/ai-unsupported-functionality-error.mdx +0 -25
- package/node_modules/ai/docs/07-reference/05-ai-sdk-errors/index.mdx +0 -39
- package/node_modules/ai/docs/07-reference/index.mdx +0 -28
- package/node_modules/ai/docs/08-migration-guides/00-versioning.mdx +0 -46
- package/node_modules/ai/docs/08-migration-guides/24-migration-guide-6-0.mdx +0 -823
- package/node_modules/ai/docs/08-migration-guides/25-migration-guide-5-0-data.mdx +0 -882
- package/node_modules/ai/docs/08-migration-guides/26-migration-guide-5-0.mdx +0 -3427
- package/node_modules/ai/docs/08-migration-guides/27-migration-guide-4-2.mdx +0 -99
- package/node_modules/ai/docs/08-migration-guides/28-migration-guide-4-1.mdx +0 -14
- package/node_modules/ai/docs/08-migration-guides/29-migration-guide-4-0.mdx +0 -1157
- package/node_modules/ai/docs/08-migration-guides/36-migration-guide-3-4.mdx +0 -14
- package/node_modules/ai/docs/08-migration-guides/37-migration-guide-3-3.mdx +0 -64
- package/node_modules/ai/docs/08-migration-guides/38-migration-guide-3-2.mdx +0 -46
- package/node_modules/ai/docs/08-migration-guides/39-migration-guide-3-1.mdx +0 -168
- package/node_modules/ai/docs/08-migration-guides/index.mdx +0 -22
- package/node_modules/ai/docs/09-troubleshooting/01-azure-stream-slow.mdx +0 -33
- package/node_modules/ai/docs/09-troubleshooting/03-server-actions-in-client-components.mdx +0 -40
- package/node_modules/ai/docs/09-troubleshooting/04-strange-stream-output.mdx +0 -36
- package/node_modules/ai/docs/09-troubleshooting/05-streamable-ui-errors.mdx +0 -16
- package/node_modules/ai/docs/09-troubleshooting/05-tool-invocation-missing-result.mdx +0 -106
- package/node_modules/ai/docs/09-troubleshooting/06-streaming-not-working-when-deployed.mdx +0 -31
- package/node_modules/ai/docs/09-troubleshooting/06-streaming-not-working-when-proxied.mdx +0 -31
- package/node_modules/ai/docs/09-troubleshooting/06-timeout-on-vercel.mdx +0 -60
- package/node_modules/ai/docs/09-troubleshooting/07-unclosed-streams.mdx +0 -34
- package/node_modules/ai/docs/09-troubleshooting/08-use-chat-failed-to-parse-stream.mdx +0 -26
- package/node_modules/ai/docs/09-troubleshooting/09-client-stream-error.mdx +0 -25
- package/node_modules/ai/docs/09-troubleshooting/10-use-chat-tools-no-response.mdx +0 -32
- package/node_modules/ai/docs/09-troubleshooting/11-use-chat-custom-request-options.mdx +0 -149
- package/node_modules/ai/docs/09-troubleshooting/12-typescript-performance-zod.mdx +0 -46
- package/node_modules/ai/docs/09-troubleshooting/12-use-chat-an-error-occurred.mdx +0 -59
- package/node_modules/ai/docs/09-troubleshooting/13-repeated-assistant-messages.mdx +0 -73
- package/node_modules/ai/docs/09-troubleshooting/14-stream-abort-handling.mdx +0 -73
- package/node_modules/ai/docs/09-troubleshooting/14-tool-calling-with-structured-outputs.mdx +0 -48
- package/node_modules/ai/docs/09-troubleshooting/15-abort-breaks-resumable-streams.mdx +0 -55
- package/node_modules/ai/docs/09-troubleshooting/15-stream-text-not-working.mdx +0 -33
- package/node_modules/ai/docs/09-troubleshooting/16-streaming-status-delay.mdx +0 -63
- package/node_modules/ai/docs/09-troubleshooting/17-use-chat-stale-body-data.mdx +0 -141
- package/node_modules/ai/docs/09-troubleshooting/18-ontoolcall-type-narrowing.mdx +0 -66
- package/node_modules/ai/docs/09-troubleshooting/19-unsupported-model-version.mdx +0 -50
- package/node_modules/ai/docs/09-troubleshooting/20-no-object-generated-content-filter.mdx +0 -76
- package/node_modules/ai/docs/09-troubleshooting/21-missing-tool-results-error.mdx +0 -82
- package/node_modules/ai/docs/09-troubleshooting/30-model-is-not-assignable-to-type.mdx +0 -21
- package/node_modules/ai/docs/09-troubleshooting/40-typescript-cannot-find-namespace-jsx.mdx +0 -24
- package/node_modules/ai/docs/09-troubleshooting/50-react-maximum-update-depth-exceeded.mdx +0 -39
- package/node_modules/ai/docs/09-troubleshooting/60-jest-cannot-find-module-ai-rsc.mdx +0 -22
- package/node_modules/ai/docs/09-troubleshooting/70-high-memory-usage-with-images.mdx +0 -108
- package/node_modules/ai/docs/09-troubleshooting/index.mdx +0 -11
- package/node_modules/ai/internal.d.ts +0 -1
- package/node_modules/ai/src/test/mock-embedding-model-v2.ts +0 -35
- package/node_modules/ai/src/test/mock-embedding-model-v3.ts +0 -48
- package/node_modules/ai/src/test/mock-image-model-v2.ts +0 -28
- package/node_modules/ai/src/test/mock-image-model-v3.ts +0 -28
- package/node_modules/ai/src/test/mock-language-model-v2.ts +0 -72
- package/node_modules/ai/src/test/mock-language-model-v3.ts +0 -77
- package/node_modules/ai/src/test/mock-provider-v2.ts +0 -68
- package/node_modules/ai/src/test/mock-provider-v3.ts +0 -80
- package/node_modules/ai/src/test/mock-reranking-model-v3.ts +0 -25
- package/node_modules/ai/src/test/mock-server-response.ts +0 -69
- package/node_modules/ai/src/test/mock-speech-model-v2.ts +0 -24
- package/node_modules/ai/src/test/mock-speech-model-v3.ts +0 -24
- package/node_modules/ai/src/test/mock-tracer.ts +0 -156
- package/node_modules/ai/src/test/mock-transcription-model-v2.ts +0 -24
- package/node_modules/ai/src/test/mock-transcription-model-v3.ts +0 -24
- package/node_modules/ai/src/test/mock-values.ts +0 -4
- package/node_modules/ai/src/test/mock-video-model-v3.ts +0 -28
- package/node_modules/ai/src/test/not-implemented.ts +0 -3
- package/node_modules/ai/test.d.ts +0 -1
- package/node_modules/ajv/LICENSE +0 -22
- package/node_modules/ajv/README.md +0 -207
- package/node_modules/ajv-formats/LICENSE +0 -21
- package/node_modules/ajv-formats/README.md +0 -125
- package/node_modules/atomic-sleep/LICENSE +0 -22
- package/node_modules/atomic-sleep/readme.md +0 -58
- package/node_modules/avvio/LICENSE +0 -24
- package/node_modules/avvio/README.md +0 -700
- package/node_modules/avvio/examples/example.js +0 -72
- package/node_modules/avvio/index.d.ts +0 -95
- package/node_modules/avvio/test/after-and-ready.test.js +0 -903
- package/node_modules/avvio/test/after-pass-through.test.js +0 -33
- package/node_modules/avvio/test/after-self-promise.test.js +0 -20
- package/node_modules/avvio/test/after-throw.test.js +0 -26
- package/node_modules/avvio/test/after-use-after.test.js +0 -87
- package/node_modules/avvio/test/async-await.test.js +0 -323
- package/node_modules/avvio/test/await-after.test.js +0 -448
- package/node_modules/avvio/test/await-self.test.js +0 -31
- package/node_modules/avvio/test/await-use.test.js +0 -295
- package/node_modules/avvio/test/basic.test.js +0 -459
- package/node_modules/avvio/test/callbacks.test.js +0 -116
- package/node_modules/avvio/test/catch-override-exception.test.js +0 -27
- package/node_modules/avvio/test/chainable.test.js +0 -70
- package/node_modules/avvio/test/close.test.js +0 -562
- package/node_modules/avvio/test/errors.test.js +0 -26
- package/node_modules/avvio/test/esm.mjs +0 -12
- package/node_modules/avvio/test/esm.test.js +0 -8
- package/node_modules/avvio/test/events-listeners.test.js +0 -23
- package/node_modules/avvio/test/expose.test.js +0 -76
- package/node_modules/avvio/test/fixtures/dummy.txt +0 -1
- package/node_modules/avvio/test/fixtures/esm.mjs +0 -3
- package/node_modules/avvio/test/fixtures/plugin-no-next.js +0 -5
- package/node_modules/avvio/test/gh-issues/bug-205.test.js +0 -17
- package/node_modules/avvio/test/lib/create-promise.test.js +0 -56
- package/node_modules/avvio/test/lib/execute-with-thenable.test.js +0 -86
- package/node_modules/avvio/test/lib/get-plugin-name.test.js +0 -67
- package/node_modules/avvio/test/lib/is-bundled-or-typescript-plugin.test.js +0 -20
- package/node_modules/avvio/test/lib/is-promise-like.test.js +0 -20
- package/node_modules/avvio/test/lib/thenify.test.js +0 -140
- package/node_modules/avvio/test/lib/time-tree.test.js +0 -391
- package/node_modules/avvio/test/lib/validate-plugin.test.js +0 -19
- package/node_modules/avvio/test/load-plugin.test.js +0 -132
- package/node_modules/avvio/test/no-done.test.js +0 -19
- package/node_modules/avvio/test/on-ready-timeout-await.test.js +0 -33
- package/node_modules/avvio/test/override.test.js +0 -385
- package/node_modules/avvio/test/plugin-loaded-so-far.test.js +0 -81
- package/node_modules/avvio/test/plugin-name.test.js +0 -58
- package/node_modules/avvio/test/plugin-timeout-await.test.js +0 -33
- package/node_modules/avvio/test/plugin-timeout.test.js +0 -227
- package/node_modules/avvio/test/pretty-print.test.js +0 -76
- package/node_modules/avvio/test/reentrant.test.js +0 -126
- package/node_modules/avvio/test/symbol-async-dispose.test.js +0 -28
- package/node_modules/avvio/test/to-json.test.js +0 -130
- package/node_modules/avvio/test/twice-done.test.js +0 -23
- package/node_modules/avvio/test/types/index.ts +0 -412
- package/node_modules/avvio/test/types/tsconfig.json +0 -9
- package/node_modules/balanced-match/LICENSE.md +0 -23
- package/node_modules/balanced-match/README.md +0 -57
- package/node_modules/base64-js/LICENSE +0 -21
- package/node_modules/base64-js/README.md +0 -34
- package/node_modules/base64-js/index.d.ts +0 -3
- package/node_modules/better-sqlite3/LICENSE +0 -21
- package/node_modules/better-sqlite3/README.md +0 -99
- package/node_modules/better-sqlite3/binding.gyp +0 -38
- package/node_modules/better-sqlite3/deps/common.gypi +0 -68
- package/node_modules/better-sqlite3/deps/copy.js +0 -31
- package/node_modules/better-sqlite3/deps/defines.gypi +0 -41
- package/node_modules/better-sqlite3/deps/download.sh +0 -122
- package/node_modules/better-sqlite3/deps/patches/1208.patch +0 -15
- package/node_modules/better-sqlite3/deps/sqlite3/sqlite3.c +0 -261480
- package/node_modules/better-sqlite3/deps/sqlite3/sqlite3.h +0 -13715
- package/node_modules/better-sqlite3/deps/sqlite3/sqlite3ext.h +0 -719
- package/node_modules/better-sqlite3/deps/sqlite3.gyp +0 -80
- package/node_modules/better-sqlite3/deps/test_extension.c +0 -21
- package/node_modules/better-sqlite3/src/better_sqlite3.cpp +0 -2186
- package/node_modules/better-sqlite3/src/better_sqlite3.hpp +0 -1036
- package/node_modules/bindings/LICENSE.md +0 -22
- package/node_modules/bindings/README.md +0 -98
- package/node_modules/bl/LICENSE.md +0 -13
- package/node_modules/bl/README.md +0 -247
- package/node_modules/bl/test/convert.js +0 -21
- package/node_modules/bl/test/indexOf.js +0 -492
- package/node_modules/bl/test/isBufferList.js +0 -32
- package/node_modules/bl/test/test.js +0 -869
- package/node_modules/brace-expansion/LICENSE +0 -23
- package/node_modules/brace-expansion/README.md +0 -94
- package/node_modules/buffer/AUTHORS.md +0 -70
- package/node_modules/buffer/LICENSE +0 -21
- package/node_modules/buffer/README.md +0 -410
- package/node_modules/buffer/index.d.ts +0 -186
- package/node_modules/bundle-name/license +0 -9
- package/node_modules/bundle-name/readme.md +0 -23
- package/node_modules/chownr/LICENSE +0 -15
- package/node_modules/chownr/README.md +0 -3
- package/node_modules/content-disposition/HISTORY.md +0 -60
- package/node_modules/content-disposition/LICENSE +0 -22
- package/node_modules/content-disposition/README.md +0 -142
- package/node_modules/cookie/LICENSE +0 -24
- package/node_modules/cookie/README.md +0 -295
- package/node_modules/cookies/HISTORY.md +0 -137
- package/node_modules/cookies/LICENSE +0 -23
- package/node_modules/cookies/README.md +0 -147
- package/node_modules/cross-spawn/LICENSE +0 -21
- package/node_modules/cross-spawn/README.md +0 -89
- package/node_modules/debug/LICENSE +0 -20
- package/node_modules/debug/README.md +0 -481
- package/node_modules/decompress-response/index.d.ts +0 -22
- package/node_modules/decompress-response/license +0 -9
- package/node_modules/decompress-response/readme.md +0 -48
- package/node_modules/deep-extend/LICENSE +0 -20
- package/node_modules/deep-extend/README.md +0 -91
- package/node_modules/default-browser/index.d.ts +0 -29
- package/node_modules/default-browser/license +0 -9
- package/node_modules/default-browser/readme.md +0 -24
- package/node_modules/default-browser-id/license +0 -9
- package/node_modules/default-browser-id/readme.md +0 -19
- package/node_modules/define-lazy-prop/index.d.ts +0 -31
- package/node_modules/define-lazy-prop/license +0 -9
- package/node_modules/define-lazy-prop/readme.md +0 -55
- package/node_modules/depd/History.md +0 -103
- package/node_modules/depd/LICENSE +0 -22
- package/node_modules/depd/Readme.md +0 -280
- package/node_modules/dequal/index.d.ts +0 -1
- package/node_modules/dequal/license +0 -21
- package/node_modules/dequal/lite/index.d.ts +0 -1
- package/node_modules/dequal/readme.md +0 -112
- package/node_modules/detect-libc/LICENSE +0 -201
- package/node_modules/detect-libc/README.md +0 -163
- package/node_modules/detect-libc/index.d.ts +0 -14
- package/node_modules/duplexify/LICENSE +0 -21
- package/node_modules/duplexify/README.md +0 -97
- package/node_modules/end-of-stream/LICENSE +0 -21
- package/node_modules/end-of-stream/README.md +0 -54
- package/node_modules/escape-html/LICENSE +0 -24
- package/node_modules/escape-html/Readme.md +0 -43
- package/node_modules/eventsource-parser/LICENSE +0 -21
- package/node_modules/eventsource-parser/README.md +0 -126
- package/node_modules/expand-template/LICENSE +0 -21
- package/node_modules/expand-template/README.md +0 -43
- package/node_modules/fast-decode-uri-component/LICENSE +0 -23
- package/node_modules/fast-decode-uri-component/README.md +0 -43
- package/node_modules/fast-deep-equal/LICENSE +0 -21
- package/node_modules/fast-deep-equal/README.md +0 -96
- package/node_modules/fast-deep-equal/es6/index.d.ts +0 -2
- package/node_modules/fast-deep-equal/es6/react.d.ts +0 -2
- package/node_modules/fast-deep-equal/index.d.ts +0 -4
- package/node_modules/fast-deep-equal/react.d.ts +0 -2
- package/node_modules/fast-json-stringify/LICENSE +0 -24
- package/node_modules/fast-json-stringify/README.md +0 -742
- package/node_modules/fast-json-stringify/benchmark/bench-cmp-branch.js +0 -116
- package/node_modules/fast-json-stringify/benchmark/bench-cmp-lib.js +0 -323
- package/node_modules/fast-json-stringify/benchmark/bench-thread.js +0 -33
- package/node_modules/fast-json-stringify/benchmark/bench.js +0 -391
- package/node_modules/fast-json-stringify/examples/example.js +0 -81
- package/node_modules/fast-json-stringify/examples/server.js +0 -42
- package/node_modules/fast-json-stringify/test/additionalProperties.test.js +0 -332
- package/node_modules/fast-json-stringify/test/allof.test.js +0 -751
- package/node_modules/fast-json-stringify/test/any.test.js +0 -231
- package/node_modules/fast-json-stringify/test/anyof.test.js +0 -792
- package/node_modules/fast-json-stringify/test/array.test.js +0 -666
- package/node_modules/fast-json-stringify/test/asNumber.test.js +0 -13
- package/node_modules/fast-json-stringify/test/basic.test.js +0 -400
- package/node_modules/fast-json-stringify/test/bigint.test.js +0 -76
- package/node_modules/fast-json-stringify/test/clean-cache.test.js +0 -47
- package/node_modules/fast-json-stringify/test/const.test.js +0 -314
- package/node_modules/fast-json-stringify/test/date.test.js +0 -639
- package/node_modules/fast-json-stringify/test/debug-mode.test.js +0 -121
- package/node_modules/fast-json-stringify/test/defaults.test.js +0 -376
- package/node_modules/fast-json-stringify/test/enum.test.js +0 -37
- package/node_modules/fast-json-stringify/test/fix-604.test.js +0 -25
- package/node_modules/fast-json-stringify/test/if-then-else.test.js +0 -468
- package/node_modules/fast-json-stringify/test/inferType.test.js +0 -92
- package/node_modules/fast-json-stringify/test/infinity.test.js +0 -55
- package/node_modules/fast-json-stringify/test/integer.test.js +0 -194
- package/node_modules/fast-json-stringify/test/invalidSchema.test.js +0 -18
- package/node_modules/fast-json-stringify/test/issue-479.test.js +0 -57
- package/node_modules/fast-json-stringify/test/issue-793.test.js +0 -107
- package/node_modules/fast-json-stringify/test/issue-794.test.js +0 -177
- package/node_modules/fast-json-stringify/test/json-add-comma.test.js +0 -57
- package/node_modules/fast-json-stringify/test/json-schema-test-suite/README.md +0 -10
- package/node_modules/fast-json-stringify/test/json-schema-test-suite/draft4/required.json +0 -54
- package/node_modules/fast-json-stringify/test/json-schema-test-suite/draft4.test.js +0 -12
- package/node_modules/fast-json-stringify/test/json-schema-test-suite/draft6/required.json +0 -70
- package/node_modules/fast-json-stringify/test/json-schema-test-suite/draft6.test.js +0 -12
- package/node_modules/fast-json-stringify/test/json-schema-test-suite/draft7/required.json +0 -70
- package/node_modules/fast-json-stringify/test/json-schema-test-suite/draft7.test.js +0 -12
- package/node_modules/fast-json-stringify/test/json-schema-test-suite/util.js +0 -31
- package/node_modules/fast-json-stringify/test/missing-values.test.js +0 -88
- package/node_modules/fast-json-stringify/test/multi-type-serializer.test.js +0 -19
- package/node_modules/fast-json-stringify/test/nestedObjects.test.js +0 -63
- package/node_modules/fast-json-stringify/test/nullable.test.js +0 -543
- package/node_modules/fast-json-stringify/test/oneof.test.js +0 -490
- package/node_modules/fast-json-stringify/test/patternProperties.test.js +0 -168
- package/node_modules/fast-json-stringify/test/recursion.test.js +0 -245
- package/node_modules/fast-json-stringify/test/ref.json +0 -12
- package/node_modules/fast-json-stringify/test/ref.test.js +0 -2046
- package/node_modules/fast-json-stringify/test/regex.test.js +0 -32
- package/node_modules/fast-json-stringify/test/required.test.js +0 -204
- package/node_modules/fast-json-stringify/test/requiresAjv.test.js +0 -50
- package/node_modules/fast-json-stringify/test/sanitize.test.js +0 -141
- package/node_modules/fast-json-stringify/test/sanitize2.test.js +0 -18
- package/node_modules/fast-json-stringify/test/sanitize3.test.js +0 -17
- package/node_modules/fast-json-stringify/test/sanitize4.test.js +0 -16
- package/node_modules/fast-json-stringify/test/sanitize5.test.js +0 -16
- package/node_modules/fast-json-stringify/test/sanitize6.test.js +0 -22
- package/node_modules/fast-json-stringify/test/sanitize7.test.js +0 -68
- package/node_modules/fast-json-stringify/test/side-effect.test.js +0 -196
- package/node_modules/fast-json-stringify/test/standalone-mode.test.js +0 -219
- package/node_modules/fast-json-stringify/test/string.test.js +0 -84
- package/node_modules/fast-json-stringify/test/surrogate.test.js +0 -67
- package/node_modules/fast-json-stringify/test/toJSON.test.js +0 -203
- package/node_modules/fast-json-stringify/test/typebox.test.js +0 -36
- package/node_modules/fast-json-stringify/test/typesArray.test.js +0 -550
- package/node_modules/fast-json-stringify/test/unknownFormats.test.js +0 -27
- package/node_modules/fast-json-stringify/test/webpack.test.js +0 -50
- package/node_modules/fast-json-stringify/types/index.d.ts +0 -231
- package/node_modules/fast-querystring/LICENSE +0 -25
- package/node_modules/fast-querystring/README.md +0 -114
- package/node_modules/fast-querystring/lib/index.d.ts +0 -14
- package/node_modules/fast-sha256/LICENSE +0 -24
- package/node_modules/fast-sha256/README.md +0 -127
- package/node_modules/fast-sha256/sha256.d.ts +0 -39
- package/node_modules/fast-uri/LICENSE +0 -32
- package/node_modules/fast-uri/README.md +0 -143
- package/node_modules/fast-uri/benchmark/benchmark.mjs +0 -159
- package/node_modules/fast-uri/benchmark/equal.mjs +0 -51
- package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +0 -22
- package/node_modules/fast-uri/benchmark/package.json +0 -17
- package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +0 -24
- package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +0 -65
- package/node_modules/fast-uri/test/ajv.test.js +0 -43
- package/node_modules/fast-uri/test/equal.test.js +0 -108
- package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +0 -501
- package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +0 -120
- package/node_modules/fast-uri/test/parse.test.js +0 -318
- package/node_modules/fast-uri/test/resolve.test.js +0 -78
- package/node_modules/fast-uri/test/rfc-3986.test.js +0 -90
- package/node_modules/fast-uri/test/serialize.test.js +0 -151
- package/node_modules/fast-uri/test/uri-js-compatibility.test.js +0 -33
- package/node_modules/fast-uri/test/uri-js.test.js +0 -912
- package/node_modules/fast-uri/test/util.test.js +0 -38
- package/node_modules/fast-uri/types/index.d.ts +0 -60
- package/node_modules/fastify/AGENTS.md +0 -290
- package/node_modules/fastify/GOVERNANCE.md +0 -4
- package/node_modules/fastify/LICENSE +0 -21
- package/node_modules/fastify/PROJECT_CHARTER.md +0 -126
- package/node_modules/fastify/README.md +0 -423
- package/node_modules/fastify/SECURITY.md +0 -220
- package/node_modules/fastify/SPONSORS.md +0 -24
- package/node_modules/fastify/docs/Guides/Benchmarking.md +0 -60
- package/node_modules/fastify/docs/Guides/Database.md +0 -321
- package/node_modules/fastify/docs/Guides/Delay-Accepting-Requests.md +0 -608
- package/node_modules/fastify/docs/Guides/Detecting-When-Clients-Abort.md +0 -172
- package/node_modules/fastify/docs/Guides/Ecosystem.md +0 -726
- package/node_modules/fastify/docs/Guides/Fluent-Schema.md +0 -127
- package/node_modules/fastify/docs/Guides/Getting-Started.md +0 -620
- package/node_modules/fastify/docs/Guides/Index.md +0 -43
- package/node_modules/fastify/docs/Guides/Migration-Guide-V3.md +0 -287
- package/node_modules/fastify/docs/Guides/Migration-Guide-V4.md +0 -267
- package/node_modules/fastify/docs/Guides/Migration-Guide-V5.md +0 -727
- package/node_modules/fastify/docs/Guides/Plugins-Guide.md +0 -520
- package/node_modules/fastify/docs/Guides/Prototype-Poisoning.md +0 -383
- package/node_modules/fastify/docs/Guides/Recommendations.md +0 -378
- package/node_modules/fastify/docs/Guides/Serverless.md +0 -604
- package/node_modules/fastify/docs/Guides/Style-Guide.md +0 -246
- package/node_modules/fastify/docs/Guides/Testing.md +0 -481
- package/node_modules/fastify/docs/Guides/Write-Plugin.md +0 -103
- package/node_modules/fastify/docs/Guides/Write-Type-Provider.md +0 -34
- package/node_modules/fastify/docs/Reference/ContentTypeParser.md +0 -271
- package/node_modules/fastify/docs/Reference/Decorators.md +0 -436
- package/node_modules/fastify/docs/Reference/Encapsulation.md +0 -194
- package/node_modules/fastify/docs/Reference/Errors.md +0 -377
- package/node_modules/fastify/docs/Reference/HTTP2.md +0 -94
- package/node_modules/fastify/docs/Reference/Hooks.md +0 -958
- package/node_modules/fastify/docs/Reference/Index.md +0 -73
- package/node_modules/fastify/docs/Reference/LTS.md +0 -86
- package/node_modules/fastify/docs/Reference/Lifecycle.md +0 -99
- package/node_modules/fastify/docs/Reference/Logging.md +0 -268
- package/node_modules/fastify/docs/Reference/Middleware.md +0 -79
- package/node_modules/fastify/docs/Reference/Plugins.md +0 -245
- package/node_modules/fastify/docs/Reference/Principles.md +0 -73
- package/node_modules/fastify/docs/Reference/Reply.md +0 -1001
- package/node_modules/fastify/docs/Reference/Request.md +0 -295
- package/node_modules/fastify/docs/Reference/Routes.md +0 -802
- package/node_modules/fastify/docs/Reference/Server.md +0 -2389
- package/node_modules/fastify/docs/Reference/Type-Providers.md +0 -256
- package/node_modules/fastify/docs/Reference/TypeScript.md +0 -1729
- package/node_modules/fastify/docs/Reference/Validation-and-Serialization.md +0 -1130
- package/node_modules/fastify/docs/Reference/Warnings.md +0 -58
- package/node_modules/fastify/docs/index.md +0 -24
- package/node_modules/fastify/docs/resources/encapsulation_context.drawio +0 -1
- package/node_modules/fastify/docs/resources/encapsulation_context.svg +0 -3
- package/node_modules/fastify/examples/asyncawait.js +0 -38
- package/node_modules/fastify/examples/benchmark/body.json +0 -3
- package/node_modules/fastify/examples/benchmark/hooks-benchmark-async-await.js +0 -44
- package/node_modules/fastify/examples/benchmark/hooks-benchmark.js +0 -52
- package/node_modules/fastify/examples/benchmark/parser.js +0 -47
- package/node_modules/fastify/examples/benchmark/simple.js +0 -30
- package/node_modules/fastify/examples/benchmark/webstream.js +0 -27
- package/node_modules/fastify/examples/hooks.js +0 -91
- package/node_modules/fastify/examples/http2.js +0 -39
- package/node_modules/fastify/examples/https.js +0 -38
- package/node_modules/fastify/examples/parser.js +0 -53
- package/node_modules/fastify/examples/plugin.js +0 -12
- package/node_modules/fastify/examples/route-prefix.js +0 -38
- package/node_modules/fastify/examples/shared-schema.js +0 -38
- package/node_modules/fastify/examples/simple-stream.js +0 -20
- package/node_modules/fastify/examples/simple.js +0 -32
- package/node_modules/fastify/examples/simple.mjs +0 -27
- package/node_modules/fastify/examples/typescript-server.ts +0 -79
- package/node_modules/fastify/examples/use-plugin.js +0 -29
- package/node_modules/fastify/fastify.d.ts +0 -253
- package/node_modules/fastify/test/404s.test.js +0 -2035
- package/node_modules/fastify/test/500s.test.js +0 -422
- package/node_modules/fastify/test/allow-unsafe-regex.test.js +0 -92
- package/node_modules/fastify/test/als.test.js +0 -65
- package/node_modules/fastify/test/async-await.test.js +0 -705
- package/node_modules/fastify/test/async-dispose.test.js +0 -20
- package/node_modules/fastify/test/async_hooks.test.js +0 -52
- package/node_modules/fastify/test/body-limit.test.js +0 -224
- package/node_modules/fastify/test/buffer.test.js +0 -74
- package/node_modules/fastify/test/build/error-serializer.test.js +0 -36
- package/node_modules/fastify/test/build/version.test.js +0 -14
- package/node_modules/fastify/test/build-certificate.js +0 -109
- package/node_modules/fastify/test/bundler/README.md +0 -29
- package/node_modules/fastify/test/bundler/esbuild/bundler-test.js +0 -32
- package/node_modules/fastify/test/bundler/esbuild/package.json +0 -10
- package/node_modules/fastify/test/bundler/esbuild/src/fail-plugin-version.js +0 -14
- package/node_modules/fastify/test/bundler/esbuild/src/index.js +0 -9
- package/node_modules/fastify/test/bundler/webpack/bundler-test.js +0 -32
- package/node_modules/fastify/test/bundler/webpack/package.json +0 -11
- package/node_modules/fastify/test/bundler/webpack/src/fail-plugin-version.js +0 -14
- package/node_modules/fastify/test/bundler/webpack/src/index.js +0 -9
- package/node_modules/fastify/test/bundler/webpack/webpack.config.js +0 -15
- package/node_modules/fastify/test/case-insensitive.test.js +0 -102
- package/node_modules/fastify/test/chainable.test.js +0 -40
- package/node_modules/fastify/test/child-logger-factory.test.js +0 -128
- package/node_modules/fastify/test/client-timeout.test.js +0 -38
- package/node_modules/fastify/test/close-pipelining.test.js +0 -78
- package/node_modules/fastify/test/close.test.js +0 -706
- package/node_modules/fastify/test/conditional-pino.test.js +0 -47
- package/node_modules/fastify/test/connection-timeout.test.js +0 -42
- package/node_modules/fastify/test/constrained-routes.test.js +0 -1138
- package/node_modules/fastify/test/content-length.test.js +0 -174
- package/node_modules/fastify/test/content-parser.test.js +0 -739
- package/node_modules/fastify/test/content-type.test.js +0 -181
- package/node_modules/fastify/test/context-config.test.js +0 -164
- package/node_modules/fastify/test/custom-http-server.test.js +0 -118
- package/node_modules/fastify/test/custom-parser-async.test.js +0 -59
- package/node_modules/fastify/test/custom-parser.0.test.js +0 -701
- package/node_modules/fastify/test/custom-parser.1.test.js +0 -266
- package/node_modules/fastify/test/custom-parser.2.test.js +0 -91
- package/node_modules/fastify/test/custom-parser.3.test.js +0 -208
- package/node_modules/fastify/test/custom-parser.4.test.js +0 -218
- package/node_modules/fastify/test/custom-parser.5.test.js +0 -130
- package/node_modules/fastify/test/custom-querystring-parser.test.js +0 -129
- package/node_modules/fastify/test/decorator.test.js +0 -1330
- package/node_modules/fastify/test/delete.test.js +0 -344
- package/node_modules/fastify/test/diagnostics-channel/404.test.js +0 -49
- package/node_modules/fastify/test/diagnostics-channel/async-delay-request.test.js +0 -65
- package/node_modules/fastify/test/diagnostics-channel/async-request.test.js +0 -64
- package/node_modules/fastify/test/diagnostics-channel/error-before-handler.test.js +0 -35
- package/node_modules/fastify/test/diagnostics-channel/error-request.test.js +0 -53
- package/node_modules/fastify/test/diagnostics-channel/error-status.test.js +0 -123
- package/node_modules/fastify/test/diagnostics-channel/init.test.js +0 -50
- package/node_modules/fastify/test/diagnostics-channel/sync-delay-request.test.js +0 -49
- package/node_modules/fastify/test/diagnostics-channel/sync-request-reply.test.js +0 -51
- package/node_modules/fastify/test/diagnostics-channel/sync-request.test.js +0 -54
- package/node_modules/fastify/test/encapsulated-child-logger-factory.test.js +0 -69
- package/node_modules/fastify/test/encapsulated-error-handler.test.js +0 -237
- package/node_modules/fastify/test/esm/errorCodes.test.mjs +0 -10
- package/node_modules/fastify/test/esm/esm.test.mjs +0 -13
- package/node_modules/fastify/test/esm/index.test.js +0 -8
- package/node_modules/fastify/test/esm/named-exports.mjs +0 -14
- package/node_modules/fastify/test/esm/other.mjs +0 -8
- package/node_modules/fastify/test/esm/plugin.mjs +0 -8
- package/node_modules/fastify/test/fastify-instance.test.js +0 -300
- package/node_modules/fastify/test/find-route.test.js +0 -152
- package/node_modules/fastify/test/fluent-schema.test.js +0 -209
- package/node_modules/fastify/test/genReqId.test.js +0 -426
- package/node_modules/fastify/test/handler-context.test.js +0 -45
- package/node_modules/fastify/test/handler-timeout.test.js +0 -367
- package/node_modules/fastify/test/has-route.test.js +0 -88
- package/node_modules/fastify/test/header-overflow.test.js +0 -55
- package/node_modules/fastify/test/helper.js +0 -496
- package/node_modules/fastify/test/hooks-async.test.js +0 -1099
- package/node_modules/fastify/test/hooks.on-listen.test.js +0 -1162
- package/node_modules/fastify/test/hooks.on-ready.test.js +0 -421
- package/node_modules/fastify/test/hooks.test.js +0 -3578
- package/node_modules/fastify/test/http-methods/copy.test.js +0 -35
- package/node_modules/fastify/test/http-methods/custom-http-methods.test.js +0 -114
- package/node_modules/fastify/test/http-methods/get.test.js +0 -412
- package/node_modules/fastify/test/http-methods/head.test.js +0 -263
- package/node_modules/fastify/test/http-methods/lock.test.js +0 -108
- package/node_modules/fastify/test/http-methods/mkcalendar.test.js +0 -143
- package/node_modules/fastify/test/http-methods/mkcol.test.js +0 -35
- package/node_modules/fastify/test/http-methods/move.test.js +0 -42
- package/node_modules/fastify/test/http-methods/propfind.test.js +0 -136
- package/node_modules/fastify/test/http-methods/proppatch.test.js +0 -105
- package/node_modules/fastify/test/http-methods/report.test.js +0 -142
- package/node_modules/fastify/test/http-methods/search.test.js +0 -233
- package/node_modules/fastify/test/http-methods/trace.test.js +0 -21
- package/node_modules/fastify/test/http-methods/unlock.test.js +0 -38
- package/node_modules/fastify/test/http2/closing.test.js +0 -270
- package/node_modules/fastify/test/http2/constraint.test.js +0 -109
- package/node_modules/fastify/test/http2/head.test.js +0 -34
- package/node_modules/fastify/test/http2/plain.test.js +0 -68
- package/node_modules/fastify/test/http2/secure-with-fallback.test.js +0 -113
- package/node_modules/fastify/test/http2/secure.test.js +0 -67
- package/node_modules/fastify/test/http2/unknown-http-method.test.js +0 -34
- package/node_modules/fastify/test/https/custom-https-server.test.js +0 -58
- package/node_modules/fastify/test/https/https.test.js +0 -136
- package/node_modules/fastify/test/imports.test.js +0 -17
- package/node_modules/fastify/test/inject.test.js +0 -502
- package/node_modules/fastify/test/input-validation.js +0 -335
- package/node_modules/fastify/test/internals/all.test.js +0 -38
- package/node_modules/fastify/test/internals/content-type-parser.test.js +0 -111
- package/node_modules/fastify/test/internals/context.test.js +0 -31
- package/node_modules/fastify/test/internals/decorator.test.js +0 -156
- package/node_modules/fastify/test/internals/errors.test.js +0 -982
- package/node_modules/fastify/test/internals/handle-request.test.js +0 -270
- package/node_modules/fastify/test/internals/hook-runner.test.js +0 -449
- package/node_modules/fastify/test/internals/hooks.test.js +0 -96
- package/node_modules/fastify/test/internals/initial-config.test.js +0 -383
- package/node_modules/fastify/test/internals/logger.test.js +0 -163
- package/node_modules/fastify/test/internals/plugin.test.js +0 -170
- package/node_modules/fastify/test/internals/promise.test.js +0 -63
- package/node_modules/fastify/test/internals/reply-serialize.test.js +0 -714
- package/node_modules/fastify/test/internals/reply.test.js +0 -1920
- package/node_modules/fastify/test/internals/req-id-gen-factory.test.js +0 -133
- package/node_modules/fastify/test/internals/request-validate.test.js +0 -1402
- package/node_modules/fastify/test/internals/request.test.js +0 -506
- package/node_modules/fastify/test/internals/schema-controller-perf.test.js +0 -40
- package/node_modules/fastify/test/internals/server.test.js +0 -91
- package/node_modules/fastify/test/internals/validation.test.js +0 -352
- package/node_modules/fastify/test/issue-4959.test.js +0 -118
- package/node_modules/fastify/test/keep-alive-timeout.test.js +0 -42
- package/node_modules/fastify/test/listen.1.test.js +0 -154
- package/node_modules/fastify/test/listen.2.test.js +0 -113
- package/node_modules/fastify/test/listen.3.test.js +0 -83
- package/node_modules/fastify/test/listen.4.test.js +0 -168
- package/node_modules/fastify/test/listen.5.test.js +0 -122
- package/node_modules/fastify/test/logger/instantiation.test.js +0 -341
- package/node_modules/fastify/test/logger/logger-test-utils.js +0 -47
- package/node_modules/fastify/test/logger/logging.test.js +0 -460
- package/node_modules/fastify/test/logger/options.test.js +0 -579
- package/node_modules/fastify/test/logger/request.test.js +0 -292
- package/node_modules/fastify/test/logger/response.test.js +0 -183
- package/node_modules/fastify/test/logger/tap-parallel-not-ok +0 -0
- package/node_modules/fastify/test/max-requests-per-socket.test.js +0 -113
- package/node_modules/fastify/test/middleware.test.js +0 -37
- package/node_modules/fastify/test/noop-set.test.js +0 -19
- package/node_modules/fastify/test/nullable-validation.test.js +0 -187
- package/node_modules/fastify/test/options.error-handler.test.js +0 -5
- package/node_modules/fastify/test/options.test.js +0 -5
- package/node_modules/fastify/test/output-validation.test.js +0 -140
- package/node_modules/fastify/test/patch.error-handler.test.js +0 -5
- package/node_modules/fastify/test/patch.test.js +0 -5
- package/node_modules/fastify/test/plugin.1.test.js +0 -230
- package/node_modules/fastify/test/plugin.2.test.js +0 -314
- package/node_modules/fastify/test/plugin.3.test.js +0 -287
- package/node_modules/fastify/test/plugin.4.test.js +0 -504
- package/node_modules/fastify/test/plugin.helper.js +0 -8
- package/node_modules/fastify/test/plugin.name.display.js +0 -10
- package/node_modules/fastify/test/post-empty-body.test.js +0 -38
- package/node_modules/fastify/test/pretty-print.test.js +0 -366
- package/node_modules/fastify/test/promises.test.js +0 -125
- package/node_modules/fastify/test/proto-poisoning.test.js +0 -145
- package/node_modules/fastify/test/put.error-handler.test.js +0 -5
- package/node_modules/fastify/test/put.test.js +0 -5
- package/node_modules/fastify/test/register.test.js +0 -184
- package/node_modules/fastify/test/reply-code.test.js +0 -148
- package/node_modules/fastify/test/reply-early-hints.test.js +0 -100
- package/node_modules/fastify/test/reply-error.test.js +0 -815
- package/node_modules/fastify/test/reply-trailers.test.js +0 -445
- package/node_modules/fastify/test/reply-web-stream-locked.test.js +0 -37
- package/node_modules/fastify/test/request-error.test.js +0 -624
- package/node_modules/fastify/test/request-header-host.test.js +0 -339
- package/node_modules/fastify/test/request-id.test.js +0 -118
- package/node_modules/fastify/test/request-timeout.test.js +0 -53
- package/node_modules/fastify/test/route-hooks.test.js +0 -635
- package/node_modules/fastify/test/route-prefix.test.js +0 -904
- package/node_modules/fastify/test/route-shorthand.test.js +0 -48
- package/node_modules/fastify/test/route.1.test.js +0 -259
- package/node_modules/fastify/test/route.2.test.js +0 -100
- package/node_modules/fastify/test/route.3.test.js +0 -213
- package/node_modules/fastify/test/route.4.test.js +0 -127
- package/node_modules/fastify/test/route.5.test.js +0 -211
- package/node_modules/fastify/test/route.6.test.js +0 -306
- package/node_modules/fastify/test/route.7.test.js +0 -406
- package/node_modules/fastify/test/route.8.test.js +0 -225
- package/node_modules/fastify/test/router-options.test.js +0 -1108
- package/node_modules/fastify/test/same-shape.test.js +0 -124
- package/node_modules/fastify/test/schema-examples.test.js +0 -661
- package/node_modules/fastify/test/schema-feature.test.js +0 -2198
- package/node_modules/fastify/test/schema-serialization.test.js +0 -1171
- package/node_modules/fastify/test/schema-special-usage.test.js +0 -1348
- package/node_modules/fastify/test/schema-validation.test.js +0 -1572
- package/node_modules/fastify/test/scripts/validate-ecosystem-links.test.js +0 -339
- package/node_modules/fastify/test/serialize-response.test.js +0 -186
- package/node_modules/fastify/test/server.test.js +0 -347
- package/node_modules/fastify/test/set-error-handler.test.js +0 -69
- package/node_modules/fastify/test/skip-reply-send.test.js +0 -317
- package/node_modules/fastify/test/stream-serializers.test.js +0 -40
- package/node_modules/fastify/test/stream.1.test.js +0 -94
- package/node_modules/fastify/test/stream.2.test.js +0 -129
- package/node_modules/fastify/test/stream.3.test.js +0 -198
- package/node_modules/fastify/test/stream.4.test.js +0 -176
- package/node_modules/fastify/test/stream.5.test.js +0 -188
- package/node_modules/fastify/test/sync-routes.test.js +0 -32
- package/node_modules/fastify/test/throw.test.js +0 -359
- package/node_modules/fastify/test/toolkit.js +0 -63
- package/node_modules/fastify/test/trust-proxy.test.js +0 -221
- package/node_modules/fastify/test/type-provider.test.js +0 -22
- package/node_modules/fastify/test/types/content-type-parser.test-d.ts +0 -72
- package/node_modules/fastify/test/types/decorate-request-reply.test-d.ts +0 -18
- package/node_modules/fastify/test/types/dummy-plugin.ts +0 -9
- package/node_modules/fastify/test/types/errors.test-d.ts +0 -90
- package/node_modules/fastify/test/types/fastify.test-d.ts +0 -352
- package/node_modules/fastify/test/types/hooks.test-d.ts +0 -550
- package/node_modules/fastify/test/types/import.ts +0 -2
- package/node_modules/fastify/test/types/instance.test-d.ts +0 -588
- package/node_modules/fastify/test/types/logger.test-d.ts +0 -277
- package/node_modules/fastify/test/types/plugin.test-d.ts +0 -97
- package/node_modules/fastify/test/types/register.test-d.ts +0 -237
- package/node_modules/fastify/test/types/reply.test-d.ts +0 -254
- package/node_modules/fastify/test/types/request.test-d.ts +0 -188
- package/node_modules/fastify/test/types/route.test-d.ts +0 -553
- package/node_modules/fastify/test/types/schema.test-d.ts +0 -135
- package/node_modules/fastify/test/types/serverFactory.test-d.ts +0 -37
- package/node_modules/fastify/test/types/type-provider.test-d.ts +0 -1213
- package/node_modules/fastify/test/types/using.test-d.ts +0 -17
- package/node_modules/fastify/test/upgrade.test.js +0 -52
- package/node_modules/fastify/test/url-rewriting.test.js +0 -122
- package/node_modules/fastify/test/use-semicolon-delimiter.test.js +0 -168
- package/node_modules/fastify/test/validation-error-handling.test.js +0 -900
- package/node_modules/fastify/test/versioned-routes.test.js +0 -603
- package/node_modules/fastify/test/web-api.test.js +0 -616
- package/node_modules/fastify/test/wrap-thenable.test.js +0 -30
- package/node_modules/fastify/types/content-type-parser.d.ts +0 -75
- package/node_modules/fastify/types/context.d.ts +0 -22
- package/node_modules/fastify/types/errors.d.ts +0 -92
- package/node_modules/fastify/types/hooks.d.ts +0 -875
- package/node_modules/fastify/types/instance.d.ts +0 -609
- package/node_modules/fastify/types/logger.d.ts +0 -107
- package/node_modules/fastify/types/plugin.d.ts +0 -44
- package/node_modules/fastify/types/register.d.ts +0 -42
- package/node_modules/fastify/types/reply.d.ts +0 -81
- package/node_modules/fastify/types/request.d.ts +0 -95
- package/node_modules/fastify/types/route.d.ts +0 -199
- package/node_modules/fastify/types/schema.d.ts +0 -61
- package/node_modules/fastify/types/server-factory.d.ts +0 -19
- package/node_modules/fastify/types/type-provider.d.ts +0 -130
- package/node_modules/fastify/types/utils.d.ts +0 -98
- package/node_modules/fastify-plugin/LICENSE +0 -23
- package/node_modules/fastify-plugin/README.md +0 -188
- package/node_modules/fastify-plugin/test/bundlers.test.js +0 -110
- package/node_modules/fastify-plugin/test/checkVersion.test.js +0 -67
- package/node_modules/fastify-plugin/test/composite.test.js +0 -14
- package/node_modules/fastify-plugin/test/esm/esm.mjs +0 -11
- package/node_modules/fastify-plugin/test/esm/index.test.js +0 -11
- package/node_modules/fastify-plugin/test/extractPluginName.test.js +0 -49
- package/node_modules/fastify-plugin/test/mu1tip1e.composite.test.js +0 -15
- package/node_modules/fastify-plugin/test/test.js +0 -396
- package/node_modules/fastify-plugin/test/toCamelCase.test.js +0 -24
- package/node_modules/fastify-plugin/types/plugin.d.ts +0 -61
- package/node_modules/fastq/LICENSE +0 -13
- package/node_modules/fastq/README.md +0 -310
- package/node_modules/fastq/SECURITY.md +0 -15
- package/node_modules/fastq/index.d.ts +0 -59
- package/node_modules/fastq/test/example.ts +0 -83
- package/node_modules/fastq/test/promise.js +0 -325
- package/node_modules/fastq/test/test.js +0 -733
- package/node_modules/fastq/test/tsconfig.json +0 -11
- package/node_modules/file-uri-to-path/History.md +0 -21
- package/node_modules/file-uri-to-path/LICENSE +0 -20
- package/node_modules/file-uri-to-path/README.md +0 -74
- package/node_modules/file-uri-to-path/index.d.ts +0 -2
- package/node_modules/file-uri-to-path/test/test.js +0 -24
- package/node_modules/file-uri-to-path/test/tests.json +0 -13
- package/node_modules/find-my-way/LICENSE +0 -21
- package/node_modules/find-my-way/README.md +0 -875
- package/node_modules/find-my-way/benchmark/bench-thread.js +0 -35
- package/node_modules/find-my-way/benchmark/bench.js +0 -156
- package/node_modules/find-my-way/benchmark/compare-branches.js +0 -113
- package/node_modules/find-my-way/benchmark/uri-decoding.js +0 -55
- package/node_modules/find-my-way/index.d.ts +0 -241
- package/node_modules/find-my-way/test/case-insensitive.test.js +0 -230
- package/node_modules/find-my-way/test/constraint.custom-versioning.test.js +0 -130
- package/node_modules/find-my-way/test/constraint.custom.async.test.js +0 -111
- package/node_modules/find-my-way/test/constraint.custom.test.js +0 -273
- package/node_modules/find-my-way/test/constraint.default-versioning.test.js +0 -289
- package/node_modules/find-my-way/test/constraint.host.test.js +0 -104
- package/node_modules/find-my-way/test/constraints.test.js +0 -108
- package/node_modules/find-my-way/test/custom-querystring-parser.test.js +0 -46
- package/node_modules/find-my-way/test/errors.test.js +0 -484
- package/node_modules/find-my-way/test/fastify-issue-3129.test.js +0 -34
- package/node_modules/find-my-way/test/fastify-issue-3957.test.js +0 -23
- package/node_modules/find-my-way/test/find-route.test.js +0 -275
- package/node_modules/find-my-way/test/find.test.js +0 -16
- package/node_modules/find-my-way/test/for-in-loop.test.js +0 -22
- package/node_modules/find-my-way/test/full-url.test.js +0 -30
- package/node_modules/find-my-way/test/has-route.test.js +0 -218
- package/node_modules/find-my-way/test/host-storage.test.js +0 -27
- package/node_modules/find-my-way/test/http2/constraint.host.test.js +0 -44
- package/node_modules/find-my-way/test/issue-101.test.js +0 -31
- package/node_modules/find-my-way/test/issue-104.test.js +0 -206
- package/node_modules/find-my-way/test/issue-110.test.js +0 -31
- package/node_modules/find-my-way/test/issue-132.test.js +0 -80
- package/node_modules/find-my-way/test/issue-145.test.js +0 -24
- package/node_modules/find-my-way/test/issue-149.test.js +0 -21
- package/node_modules/find-my-way/test/issue-151.test.js +0 -54
- package/node_modules/find-my-way/test/issue-154.test.js +0 -21
- package/node_modules/find-my-way/test/issue-161.test.js +0 -88
- package/node_modules/find-my-way/test/issue-17.test.js +0 -397
- package/node_modules/find-my-way/test/issue-175.test.js +0 -80
- package/node_modules/find-my-way/test/issue-182.test.js +0 -18
- package/node_modules/find-my-way/test/issue-190.test.js +0 -44
- package/node_modules/find-my-way/test/issue-20.test.js +0 -79
- package/node_modules/find-my-way/test/issue-206.test.js +0 -121
- package/node_modules/find-my-way/test/issue-221.test.js +0 -50
- package/node_modules/find-my-way/test/issue-234.test.js +0 -94
- package/node_modules/find-my-way/test/issue-238.test.js +0 -119
- package/node_modules/find-my-way/test/issue-240.test.js +0 -30
- package/node_modules/find-my-way/test/issue-241.test.js +0 -32
- package/node_modules/find-my-way/test/issue-247.test.js +0 -51
- package/node_modules/find-my-way/test/issue-254.test.js +0 -31
- package/node_modules/find-my-way/test/issue-28.test.js +0 -618
- package/node_modules/find-my-way/test/issue-280.test.js +0 -14
- package/node_modules/find-my-way/test/issue-285.test.js +0 -37
- package/node_modules/find-my-way/test/issue-330.test.js +0 -231
- package/node_modules/find-my-way/test/issue-44.test.js +0 -149
- package/node_modules/find-my-way/test/issue-46.test.js +0 -75
- package/node_modules/find-my-way/test/issue-49.test.js +0 -108
- package/node_modules/find-my-way/test/issue-59.test.js +0 -131
- package/node_modules/find-my-way/test/issue-62.test.js +0 -28
- package/node_modules/find-my-way/test/issue-63.test.js +0 -23
- package/node_modules/find-my-way/test/issue-67.test.js +0 -50
- package/node_modules/find-my-way/test/issue-93.test.js +0 -19
- package/node_modules/find-my-way/test/lookup-async.test.js +0 -29
- package/node_modules/find-my-way/test/lookup.test.js +0 -58
- package/node_modules/find-my-way/test/matching-order.test.js +0 -17
- package/node_modules/find-my-way/test/max-param-length.test.js +0 -44
- package/node_modules/find-my-way/test/methods.test.js +0 -830
- package/node_modules/find-my-way/test/null-object.test.js +0 -36
- package/node_modules/find-my-way/test/on-bad-url.test.js +0 -72
- package/node_modules/find-my-way/test/optional-params.test.js +0 -216
- package/node_modules/find-my-way/test/params-collisions.test.js +0 -126
- package/node_modules/find-my-way/test/path-params-match.test.js +0 -53
- package/node_modules/find-my-way/test/path-utils.test.js +0 -68
- package/node_modules/find-my-way/test/pretty-print-tree.test.js +0 -596
- package/node_modules/find-my-way/test/pretty-print.test.js +0 -680
- package/node_modules/find-my-way/test/querystring.test.js +0 -54
- package/node_modules/find-my-way/test/regex.test.js +0 -269
- package/node_modules/find-my-way/test/routes-registered.test.js +0 -45
- package/node_modules/find-my-way/test/server.test.js +0 -368
- package/node_modules/find-my-way/test/shorthands.test.js +0 -44
- package/node_modules/find-my-way/test/store.test.js +0 -49
- package/node_modules/find-my-way/test/types/router.test-d.ts +0 -187
- package/node_modules/find-my-way/test/url-sanitizer.test.js +0 -43
- package/node_modules/foreground-child/LICENSE +0 -15
- package/node_modules/foreground-child/README.md +0 -128
- package/node_modules/fs-constants/LICENSE +0 -21
- package/node_modules/fs-constants/README.md +0 -26
- package/node_modules/github-from-package/LICENSE +0 -18
- package/node_modules/github-from-package/example/package.json +0 -8
- package/node_modules/github-from-package/example/url.js +0 -3
- package/node_modules/github-from-package/test/a.json +0 -8
- package/node_modules/github-from-package/test/b.json +0 -5
- package/node_modules/github-from-package/test/c.json +0 -5
- package/node_modules/github-from-package/test/d.json +0 -7
- package/node_modules/github-from-package/test/e.json +0 -5
- package/node_modules/github-from-package/test/url.js +0 -19
- package/node_modules/glob/LICENSE.md +0 -63
- package/node_modules/glob/README.md +0 -1294
- package/node_modules/glob-to-regexp/README.md +0 -75
- package/node_modules/http-errors/HISTORY.md +0 -186
- package/node_modules/http-errors/LICENSE +0 -23
- package/node_modules/http-errors/README.md +0 -169
- package/node_modules/https-proxy-agent/LICENSE +0 -22
- package/node_modules/https-proxy-agent/README.md +0 -70
- package/node_modules/ieee754/LICENSE +0 -11
- package/node_modules/ieee754/README.md +0 -51
- package/node_modules/ieee754/index.d.ts +0 -10
- package/node_modules/inherits/LICENSE +0 -16
- package/node_modules/inherits/README.md +0 -42
- package/node_modules/ini/LICENSE +0 -15
- package/node_modules/ini/README.md +0 -102
- package/node_modules/ip-address/LICENSE +0 -19
- package/node_modules/ip-address/README.md +0 -105
- package/node_modules/ipaddr.js/LICENSE +0 -19
- package/node_modules/ipaddr.js/README.md +0 -233
- package/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +0 -72
- package/node_modules/is-docker/index.d.ts +0 -13
- package/node_modules/is-docker/license +0 -9
- package/node_modules/is-docker/readme.md +0 -27
- package/node_modules/is-inside-container/index.d.ts +0 -13
- package/node_modules/is-inside-container/license +0 -9
- package/node_modules/is-inside-container/readme.md +0 -36
- package/node_modules/is-wsl/index.d.ts +0 -15
- package/node_modules/is-wsl/license +0 -9
- package/node_modules/is-wsl/readme.md +0 -21
- package/node_modules/isexe/LICENSE +0 -15
- package/node_modules/isexe/README.md +0 -51
- package/node_modules/isexe/test/basic.js +0 -221
- package/node_modules/jackspeak/LICENSE.md +0 -55
- package/node_modules/jackspeak/README.md +0 -394
- package/node_modules/js-cookie/LICENSE +0 -21
- package/node_modules/js-cookie/README.md +0 -305
- package/node_modules/json-schema/LICENSE +0 -195
- package/node_modules/json-schema/README.md +0 -3
- package/node_modules/json-schema-ref-resolver/LICENSE +0 -21
- package/node_modules/json-schema-ref-resolver/README.md +0 -406
- package/node_modules/json-schema-ref-resolver/test/anchor.test.js +0 -56
- package/node_modules/json-schema-ref-resolver/test/collisions.test.js +0 -199
- package/node_modules/json-schema-ref-resolver/test/deref-schema.test.js +0 -287
- package/node_modules/json-schema-ref-resolver/test/get-deref-schema.test.js +0 -363
- package/node_modules/json-schema-ref-resolver/test/get-schema-dependencies.test.js +0 -158
- package/node_modules/json-schema-ref-resolver/test/get-schema-refs.test.js +0 -87
- package/node_modules/json-schema-ref-resolver/test/get-schema.test.js +0 -222
- package/node_modules/json-schema-ref-resolver/test/has-schema.test.js +0 -28
- package/node_modules/json-schema-ref-resolver/types/index.d.ts +0 -67
- package/node_modules/json-schema-traverse/LICENSE +0 -21
- package/node_modules/json-schema-traverse/README.md +0 -95
- package/node_modules/json-schema-traverse/index.d.ts +0 -40
- package/node_modules/keygrip/HISTORY.md +0 -25
- package/node_modules/keygrip/LICENSE +0 -21
- package/node_modules/keygrip/README.md +0 -103
- package/node_modules/light-my-request/LICENSE +0 -32
- package/node_modules/light-my-request/README.md +0 -261
- package/node_modules/light-my-request/benchmark/benchmark.js +0 -164
- package/node_modules/light-my-request/node_modules/process-warning/LICENSE +0 -21
- package/node_modules/light-my-request/node_modules/process-warning/README.md +0 -118
- package/node_modules/light-my-request/node_modules/process-warning/benchmarks/warn.js +0 -25
- package/node_modules/light-my-request/node_modules/process-warning/examples/example.js +0 -11
- package/node_modules/light-my-request/node_modules/process-warning/test/emit-interpolated-string.test.js +0 -29
- package/node_modules/light-my-request/node_modules/process-warning/test/emit-once-only.test.js +0 -28
- package/node_modules/light-my-request/node_modules/process-warning/test/emit-reset.test.js +0 -36
- package/node_modules/light-my-request/node_modules/process-warning/test/emit-set.test.js +0 -30
- package/node_modules/light-my-request/node_modules/process-warning/test/emit-unlimited.test.js +0 -37
- package/node_modules/light-my-request/node_modules/process-warning/test/index.test.js +0 -99
- package/node_modules/light-my-request/node_modules/process-warning/test/issue-88.test.js +0 -33
- package/node_modules/light-my-request/node_modules/process-warning/test/jest.test.js +0 -22
- package/node_modules/light-my-request/node_modules/process-warning/test/no-warnings.test.js +0 -80
- package/node_modules/light-my-request/node_modules/process-warning/types/index.d.ts +0 -37
- package/node_modules/light-my-request/test/async-await.test.js +0 -55
- package/node_modules/light-my-request/test/index.test.js +0 -2316
- package/node_modules/light-my-request/test/request.test.js +0 -16
- package/node_modules/light-my-request/test/response.test.js +0 -19
- package/node_modules/light-my-request/test/stream.test.js +0 -359
- package/node_modules/light-my-request/types/index.d.ts +0 -128
- package/node_modules/lru-cache/LICENSE.md +0 -55
- package/node_modules/lru-cache/README.md +0 -383
- package/node_modules/mime/LICENSE +0 -21
- package/node_modules/mime/README.md +0 -178
- package/node_modules/mimic-response/index.d.ts +0 -17
- package/node_modules/mimic-response/license +0 -9
- package/node_modules/mimic-response/readme.md +0 -78
- package/node_modules/minimatch/LICENSE.md +0 -55
- package/node_modules/minimatch/README.md +0 -528
- package/node_modules/minimist/CHANGELOG.md +0 -298
- package/node_modules/minimist/LICENSE +0 -18
- package/node_modules/minimist/README.md +0 -121
- package/node_modules/minimist/example/parse.js +0 -4
- package/node_modules/minimist/test/all_bool.js +0 -34
- package/node_modules/minimist/test/bool.js +0 -177
- package/node_modules/minimist/test/dash.js +0 -43
- package/node_modules/minimist/test/default_bool.js +0 -37
- package/node_modules/minimist/test/dotted.js +0 -24
- package/node_modules/minimist/test/kv_short.js +0 -32
- package/node_modules/minimist/test/long.js +0 -33
- package/node_modules/minimist/test/num.js +0 -38
- package/node_modules/minimist/test/parse.js +0 -209
- package/node_modules/minimist/test/parse_modified.js +0 -11
- package/node_modules/minimist/test/proto.js +0 -64
- package/node_modules/minimist/test/short.js +0 -69
- package/node_modules/minimist/test/stop_early.js +0 -17
- package/node_modules/minimist/test/unknown.js +0 -104
- package/node_modules/minimist/test/whitespace.js +0 -10
- package/node_modules/minipass/LICENSE.md +0 -55
- package/node_modules/minipass/README.md +0 -825
- package/node_modules/mkdirp-classic/LICENSE +0 -21
- package/node_modules/mkdirp-classic/README.md +0 -18
- package/node_modules/ms/license.md +0 -21
- package/node_modules/ms/readme.md +0 -59
- package/node_modules/nanoid/LICENSE +0 -20
- package/node_modules/nanoid/README.md +0 -39
- package/node_modules/nanoid/async/index.d.ts +0 -56
- package/node_modules/nanoid/index.d.cts +0 -91
- package/node_modules/nanoid/index.d.ts +0 -91
- package/node_modules/nanoid/non-secure/index.d.ts +0 -33
- package/node_modules/napi-build-utils/LICENSE +0 -21
- package/node_modules/napi-build-utils/README.md +0 -52
- package/node_modules/napi-build-utils/index.md +0 -0
- package/node_modules/node-abi/LICENSE +0 -21
- package/node_modules/node-abi/README.md +0 -54
- package/node_modules/node-addon-api/LICENSE.md +0 -9
- package/node_modules/node-addon-api/README.md +0 -319
- package/node_modules/node-addon-api/common.gypi +0 -20
- package/node_modules/node-addon-api/except.gypi +0 -25
- package/node_modules/node-addon-api/napi-inl.deprecated.h +0 -186
- package/node_modules/node-addon-api/napi-inl.h +0 -6607
- package/node_modules/node-addon-api/napi.h +0 -3201
- package/node_modules/node-addon-api/node_addon_api.gyp +0 -32
- package/node_modules/node-addon-api/node_api.gyp +0 -9
- package/node_modules/node-addon-api/noexcept.gypi +0 -26
- package/node_modules/node-addon-api/nothing.c +0 -0
- package/node_modules/node-addon-api/tools/README.md +0 -73
- package/node_modules/node-pty/LICENSE +0 -69
- package/node_modules/node-pty/README.md +0 -165
- package/node_modules/node-pty/binding.gyp +0 -111
- package/node_modules/node-pty/deps/winpty/LICENSE +0 -21
- package/node_modules/node-pty/deps/winpty/Makefile +0 -166
- package/node_modules/node-pty/deps/winpty/README.md +0 -151
- package/node_modules/node-pty/deps/winpty/RELEASES.md +0 -280
- package/node_modules/node-pty/deps/winpty/VERSION.txt +0 -1
- package/node_modules/node-pty/deps/winpty/configure +0 -167
- package/node_modules/node-pty/deps/winpty/misc/BufferResizeTests.cc +0 -90
- package/node_modules/node-pty/deps/winpty/misc/ChangeScreenBuffer.cc +0 -53
- package/node_modules/node-pty/deps/winpty/misc/ClearConsole.cc +0 -72
- package/node_modules/node-pty/deps/winpty/misc/ConinMode.cc +0 -117
- package/node_modules/node-pty/deps/winpty/misc/ConinMode.ps1 +0 -116
- package/node_modules/node-pty/deps/winpty/misc/ConoutMode.cc +0 -113
- package/node_modules/node-pty/deps/winpty/misc/DebugClient.py +0 -42
- package/node_modules/node-pty/deps/winpty/misc/DebugServer.py +0 -63
- package/node_modules/node-pty/deps/winpty/misc/DumpLines.py +0 -5
- package/node_modules/node-pty/deps/winpty/misc/EnableExtendedFlags.txt +0 -46
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Consolas.txt +0 -528
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Lucida.txt +0 -633
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP932.txt +0 -630
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP936.txt +0 -630
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP949.txt +0 -630
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP950.txt +0 -630
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/MinimumWindowWidths.txt +0 -16
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Results.txt +0 -4
- package/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Windows10SetFontBugginess.txt +0 -144
- package/node_modules/node-pty/deps/winpty/misc/FontSurvey.cc +0 -100
- package/node_modules/node-pty/deps/winpty/misc/FormatChar.h +0 -21
- package/node_modules/node-pty/deps/winpty/misc/FreezePerfTest.cc +0 -62
- package/node_modules/node-pty/deps/winpty/misc/GetCh.cc +0 -20
- package/node_modules/node-pty/deps/winpty/misc/GetConsolePos.cc +0 -41
- package/node_modules/node-pty/deps/winpty/misc/GetFont.cc +0 -261
- package/node_modules/node-pty/deps/winpty/misc/IdentifyConsoleWindow.ps1 +0 -51
- package/node_modules/node-pty/deps/winpty/misc/IsNewConsole.cc +0 -87
- package/node_modules/node-pty/deps/winpty/misc/MouseInputNotes.txt +0 -90
- package/node_modules/node-pty/deps/winpty/misc/MoveConsoleWindow.cc +0 -34
- package/node_modules/node-pty/deps/winpty/misc/Notes.txt +0 -219
- package/node_modules/node-pty/deps/winpty/misc/OSVersion.cc +0 -27
- package/node_modules/node-pty/deps/winpty/misc/ScreenBufferFreezeInactive.cc +0 -101
- package/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest.cc +0 -671
- package/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest2.cc +0 -151
- package/node_modules/node-pty/deps/winpty/misc/SelectAllTest.cc +0 -45
- package/node_modules/node-pty/deps/winpty/misc/SetBufferSize.cc +0 -32
- package/node_modules/node-pty/deps/winpty/misc/SetCursorPos.cc +0 -10
- package/node_modules/node-pty/deps/winpty/misc/SetFont.cc +0 -145
- package/node_modules/node-pty/deps/winpty/misc/SetWindowRect.cc +0 -36
- package/node_modules/node-pty/deps/winpty/misc/ShowArgv.cc +0 -12
- package/node_modules/node-pty/deps/winpty/misc/ShowConsoleInput.cc +0 -40
- package/node_modules/node-pty/deps/winpty/misc/Spew.py +0 -5
- package/node_modules/node-pty/deps/winpty/misc/TestUtil.cc +0 -172
- package/node_modules/node-pty/deps/winpty/misc/UnicodeDoubleWidthTest.cc +0 -102
- package/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest1.cc +0 -246
- package/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest2.cc +0 -130
- package/node_modules/node-pty/deps/winpty/misc/UnixEcho.cc +0 -89
- package/node_modules/node-pty/deps/winpty/misc/Utf16Echo.cc +0 -46
- package/node_modules/node-pty/deps/winpty/misc/VeryLargeRead.cc +0 -122
- package/node_modules/node-pty/deps/winpty/misc/VkEscapeTest.cc +0 -56
- package/node_modules/node-pty/deps/winpty/misc/Win10ResizeWhileFrozen.cc +0 -52
- package/node_modules/node-pty/deps/winpty/misc/Win10WrapTest1.cc +0 -57
- package/node_modules/node-pty/deps/winpty/misc/Win10WrapTest2.cc +0 -30
- package/node_modules/node-pty/deps/winpty/misc/Win32Echo1.cc +0 -26
- package/node_modules/node-pty/deps/winpty/misc/Win32Echo2.cc +0 -19
- package/node_modules/node-pty/deps/winpty/misc/Win32Test1.cc +0 -46
- package/node_modules/node-pty/deps/winpty/misc/Win32Test2.cc +0 -70
- package/node_modules/node-pty/deps/winpty/misc/Win32Test3.cc +0 -78
- package/node_modules/node-pty/deps/winpty/misc/Win32Write1.cc +0 -44
- package/node_modules/node-pty/deps/winpty/misc/WindowsBugCrashReader.cc +0 -27
- package/node_modules/node-pty/deps/winpty/misc/WriteConsole.cc +0 -106
- package/node_modules/node-pty/deps/winpty/misc/build32.sh +0 -9
- package/node_modules/node-pty/deps/winpty/misc/build64.sh +0 -9
- package/node_modules/node-pty/deps/winpty/misc/color-test.sh +0 -212
- package/node_modules/node-pty/deps/winpty/misc/font-notes.txt +0 -300
- package/node_modules/node-pty/deps/winpty/misc/winbug-15048.cc +0 -201
- package/node_modules/node-pty/deps/winpty/ship/build-pty4j-libpty.bat +0 -36
- package/node_modules/node-pty/deps/winpty/ship/common_ship.py +0 -53
- package/node_modules/node-pty/deps/winpty/ship/make_msvc_package.py +0 -165
- package/node_modules/node-pty/deps/winpty/ship/ship.py +0 -108
- package/node_modules/node-pty/deps/winpty/src/agent/Agent.cc +0 -613
- package/node_modules/node-pty/deps/winpty/src/agent/Agent.h +0 -103
- package/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.cc +0 -84
- package/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.h +0 -28
- package/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.cc +0 -632
- package/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.h +0 -28
- package/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.cc +0 -852
- package/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.h +0 -109
- package/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.cc +0 -121
- package/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.h +0 -36
- package/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.cc +0 -152
- package/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.h +0 -41
- package/node_modules/node-pty/deps/winpty/src/agent/Coord.h +0 -87
- package/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.cc +0 -239
- package/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.h +0 -32
- package/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.cc +0 -422
- package/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.h +0 -28
- package/node_modules/node-pty/deps/winpty/src/agent/DsrSender.h +0 -30
- package/node_modules/node-pty/deps/winpty/src/agent/EventLoop.cc +0 -99
- package/node_modules/node-pty/deps/winpty/src/agent/EventLoop.h +0 -47
- package/node_modules/node-pty/deps/winpty/src/agent/InputMap.cc +0 -246
- package/node_modules/node-pty/deps/winpty/src/agent/InputMap.h +0 -114
- package/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.cc +0 -71
- package/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.h +0 -68
- package/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.cc +0 -378
- package/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.h +0 -125
- package/node_modules/node-pty/deps/winpty/src/agent/Scraper.cc +0 -699
- package/node_modules/node-pty/deps/winpty/src/agent/Scraper.h +0 -103
- package/node_modules/node-pty/deps/winpty/src/agent/SimplePool.h +0 -75
- package/node_modules/node-pty/deps/winpty/src/agent/SmallRect.h +0 -143
- package/node_modules/node-pty/deps/winpty/src/agent/Terminal.cc +0 -535
- package/node_modules/node-pty/deps/winpty/src/agent/Terminal.h +0 -69
- package/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncoding.h +0 -157
- package/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncodingTest.cc +0 -189
- package/node_modules/node-pty/deps/winpty/src/agent/Win32Console.cc +0 -107
- package/node_modules/node-pty/deps/winpty/src/agent/Win32Console.h +0 -67
- package/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.cc +0 -193
- package/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.h +0 -99
- package/node_modules/node-pty/deps/winpty/src/agent/main.cc +0 -114
- package/node_modules/node-pty/deps/winpty/src/agent/subdir.mk +0 -61
- package/node_modules/node-pty/deps/winpty/src/configurations.gypi +0 -60
- package/node_modules/node-pty/deps/winpty/src/debugserver/DebugServer.cc +0 -117
- package/node_modules/node-pty/deps/winpty/src/debugserver/subdir.mk +0 -41
- package/node_modules/node-pty/deps/winpty/src/include/winpty.h +0 -242
- package/node_modules/node-pty/deps/winpty/src/include/winpty_constants.h +0 -131
- package/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.cc +0 -75
- package/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.h +0 -28
- package/node_modules/node-pty/deps/winpty/src/libwinpty/LibWinptyException.h +0 -54
- package/node_modules/node-pty/deps/winpty/src/libwinpty/WinptyInternal.h +0 -72
- package/node_modules/node-pty/deps/winpty/src/libwinpty/subdir.mk +0 -46
- package/node_modules/node-pty/deps/winpty/src/libwinpty/winpty.cc +0 -970
- package/node_modules/node-pty/deps/winpty/src/shared/AgentMsg.h +0 -38
- package/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.cc +0 -122
- package/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.h +0 -73
- package/node_modules/node-pty/deps/winpty/src/shared/Buffer.cc +0 -103
- package/node_modules/node-pty/deps/winpty/src/shared/Buffer.h +0 -102
- package/node_modules/node-pty/deps/winpty/src/shared/DebugClient.cc +0 -187
- package/node_modules/node-pty/deps/winpty/src/shared/DebugClient.h +0 -38
- package/node_modules/node-pty/deps/winpty/src/shared/GenRandom.cc +0 -138
- package/node_modules/node-pty/deps/winpty/src/shared/GenRandom.h +0 -55
- package/node_modules/node-pty/deps/winpty/src/shared/GetCommitHash.bat +0 -13
- package/node_modules/node-pty/deps/winpty/src/shared/Mutex.h +0 -54
- package/node_modules/node-pty/deps/winpty/src/shared/OsModule.h +0 -63
- package/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.cc +0 -36
- package/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.h +0 -45
- package/node_modules/node-pty/deps/winpty/src/shared/PrecompiledHeader.h +0 -43
- package/node_modules/node-pty/deps/winpty/src/shared/StringBuilder.h +0 -227
- package/node_modules/node-pty/deps/winpty/src/shared/StringBuilderTest.cc +0 -114
- package/node_modules/node-pty/deps/winpty/src/shared/StringUtil.cc +0 -55
- package/node_modules/node-pty/deps/winpty/src/shared/StringUtil.h +0 -80
- package/node_modules/node-pty/deps/winpty/src/shared/TimeMeasurement.h +0 -63
- package/node_modules/node-pty/deps/winpty/src/shared/UnixCtrlChars.h +0 -45
- package/node_modules/node-pty/deps/winpty/src/shared/UpdateGenVersion.bat +0 -20
- package/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.cc +0 -460
- package/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.h +0 -104
- package/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.cc +0 -252
- package/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.h +0 -29
- package/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.cc +0 -55
- package/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.h +0 -64
- package/node_modules/node-pty/deps/winpty/src/shared/WinptyException.cc +0 -57
- package/node_modules/node-pty/deps/winpty/src/shared/WinptyException.h +0 -43
- package/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.cc +0 -42
- package/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.h +0 -27
- package/node_modules/node-pty/deps/winpty/src/shared/winpty_snprintf.h +0 -99
- package/node_modules/node-pty/deps/winpty/src/subdir.mk +0 -5
- package/node_modules/node-pty/deps/winpty/src/tests/subdir.mk +0 -28
- package/node_modules/node-pty/deps/winpty/src/tests/trivial_test.cc +0 -158
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.cc +0 -114
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.h +0 -56
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.cc +0 -80
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.h +0 -53
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.cc +0 -86
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.h +0 -31
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.cc +0 -70
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.h +0 -42
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/main.cc +0 -729
- package/node_modules/node-pty/deps/winpty/src/unix-adapter/subdir.mk +0 -41
- package/node_modules/node-pty/deps/winpty/src/winpty.gyp +0 -234
- package/node_modules/node-pty/deps/winpty/vcbuild.bat +0 -83
- package/node_modules/node-pty/lib/conpty_console_list_agent.js.map +0 -1
- package/node_modules/node-pty/lib/eventEmitter2.js.map +0 -1
- package/node_modules/node-pty/lib/eventEmitter2.test.js.map +0 -1
- package/node_modules/node-pty/lib/index.js.map +0 -1
- package/node_modules/node-pty/lib/interfaces.js.map +0 -1
- package/node_modules/node-pty/lib/shared/conout.js.map +0 -1
- package/node_modules/node-pty/lib/terminal.js.map +0 -1
- package/node_modules/node-pty/lib/terminal.test.js.map +0 -1
- package/node_modules/node-pty/lib/testUtils.test.js.map +0 -1
- package/node_modules/node-pty/lib/types.js.map +0 -1
- package/node_modules/node-pty/lib/unixTerminal.js.map +0 -1
- package/node_modules/node-pty/lib/unixTerminal.test.js.map +0 -1
- package/node_modules/node-pty/lib/utils.js.map +0 -1
- package/node_modules/node-pty/lib/windowsConoutConnection.js.map +0 -1
- package/node_modules/node-pty/lib/windowsPtyAgent.js.map +0 -1
- package/node_modules/node-pty/lib/windowsPtyAgent.test.js.map +0 -1
- package/node_modules/node-pty/lib/windowsTerminal.js.map +0 -1
- package/node_modules/node-pty/lib/windowsTerminal.test.js.map +0 -1
- package/node_modules/node-pty/lib/worker/conoutSocketWorker.js.map +0 -1
- package/node_modules/node-pty/prebuilds/darwin-arm64/pty.node +0 -0
- package/node_modules/node-pty/prebuilds/darwin-arm64/spawn-helper +0 -0
- package/node_modules/node-pty/prebuilds/darwin-x64/pty.node +0 -0
- package/node_modules/node-pty/prebuilds/darwin-x64/spawn-helper +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/conpty/OpenConsole.exe +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/conpty/conpty.dll +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/conpty.node +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/conpty.pdb +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/conpty_console_list.node +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/conpty_console_list.pdb +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/pty.node +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/pty.pdb +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/winpty-agent.exe +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/winpty-agent.pdb +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/winpty.dll +0 -0
- package/node_modules/node-pty/prebuilds/win32-arm64/winpty.pdb +0 -0
- package/node_modules/node-pty/scripts/gen-compile-commands.js +0 -8
- package/node_modules/node-pty/scripts/increment-version.js +0 -54
- package/node_modules/node-pty/scripts/post-install.js +0 -80
- package/node_modules/node-pty/scripts/prebuild.js +0 -34
- package/node_modules/node-pty/src/conpty_console_list_agent.ts +0 -15
- package/node_modules/node-pty/src/eventEmitter2.test.ts +0 -30
- package/node_modules/node-pty/src/eventEmitter2.ts +0 -48
- package/node_modules/node-pty/src/index.ts +0 -52
- package/node_modules/node-pty/src/interfaces.ts +0 -130
- package/node_modules/node-pty/src/native.d.ts +0 -54
- package/node_modules/node-pty/src/shared/conout.ts +0 -15
- package/node_modules/node-pty/src/terminal.test.ts +0 -119
- package/node_modules/node-pty/src/terminal.ts +0 -211
- package/node_modules/node-pty/src/testUtils.test.ts +0 -23
- package/node_modules/node-pty/src/tsconfig.json +0 -22
- package/node_modules/node-pty/src/types.ts +0 -15
- package/node_modules/node-pty/src/unix/pty.cc +0 -799
- package/node_modules/node-pty/src/unix/spawn-helper.cc +0 -23
- package/node_modules/node-pty/src/unixTerminal.test.ts +0 -367
- package/node_modules/node-pty/src/unixTerminal.ts +0 -388
- package/node_modules/node-pty/src/utils.ts +0 -29
- package/node_modules/node-pty/src/win/conpty.cc +0 -583
- package/node_modules/node-pty/src/win/conpty.h +0 -41
- package/node_modules/node-pty/src/win/conpty_console_list.cc +0 -44
- package/node_modules/node-pty/src/win/path_util.cc +0 -95
- package/node_modules/node-pty/src/win/path_util.h +0 -26
- package/node_modules/node-pty/src/win/winpty.cc +0 -333
- package/node_modules/node-pty/src/windowsConoutConnection.ts +0 -82
- package/node_modules/node-pty/src/windowsPtyAgent.test.ts +0 -94
- package/node_modules/node-pty/src/windowsPtyAgent.ts +0 -321
- package/node_modules/node-pty/src/windowsTerminal.test.ts +0 -229
- package/node_modules/node-pty/src/windowsTerminal.ts +0 -203
- package/node_modules/node-pty/src/worker/conoutSocketWorker.ts +0 -22
- package/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-arm64/OpenConsole.exe +0 -0
- package/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-arm64/conpty.dll +0 -0
- package/node_modules/node-pty/typings/node-pty.d.ts +0 -211
- package/node_modules/on-exit-leak-free/LICENSE +0 -21
- package/node_modules/on-exit-leak-free/README.md +0 -54
- package/node_modules/on-exit-leak-free/test/base.test.js +0 -30
- package/node_modules/on-exit-leak-free/test/event-emitter-leak.test.js +0 -23
- package/node_modules/on-exit-leak-free/test/fixtures/beforeExit.js +0 -33
- package/node_modules/on-exit-leak-free/test/fixtures/close.js +0 -21
- package/node_modules/on-exit-leak-free/test/fixtures/gc-not-close.js +0 -24
- package/node_modules/on-exit-leak-free/test/fixtures/unregister.js +0 -24
- package/node_modules/once/LICENSE +0 -15
- package/node_modules/once/README.md +0 -79
- package/node_modules/open/index.d.ts +0 -158
- package/node_modules/open/license +0 -9
- package/node_modules/open/readme.md +0 -183
- package/node_modules/package-json-from-dist/LICENSE.md +0 -63
- package/node_modules/package-json-from-dist/README.md +0 -110
- package/node_modules/path-key/index.d.ts +0 -40
- package/node_modules/path-key/license +0 -9
- package/node_modules/path-key/readme.md +0 -61
- package/node_modules/path-scurry/LICENSE.md +0 -55
- package/node_modules/path-scurry/README.md +0 -636
- package/node_modules/pino/CONTRIBUTING.md +0 -30
- package/node_modules/pino/LICENSE +0 -21
- package/node_modules/pino/README.md +0 -177
- package/node_modules/pino/SECURITY.md +0 -87
- package/node_modules/pino/benchmarks/basic.bench.js +0 -95
- package/node_modules/pino/benchmarks/child-child.bench.js +0 -52
- package/node_modules/pino/benchmarks/child-creation.bench.js +0 -73
- package/node_modules/pino/benchmarks/child.bench.js +0 -62
- package/node_modules/pino/benchmarks/deep-object.bench.js +0 -88
- package/node_modules/pino/benchmarks/formatters.bench.js +0 -50
- package/node_modules/pino/benchmarks/internal/custom-levels.js +0 -67
- package/node_modules/pino/benchmarks/internal/just-pino-heavy.bench.js +0 -76
- package/node_modules/pino/benchmarks/internal/just-pino.bench.js +0 -182
- package/node_modules/pino/benchmarks/internal/parent-vs-child.bench.js +0 -75
- package/node_modules/pino/benchmarks/internal/redact.bench.js +0 -86
- package/node_modules/pino/benchmarks/long-string.bench.js +0 -81
- package/node_modules/pino/benchmarks/multi-arg.bench.js +0 -193
- package/node_modules/pino/benchmarks/multistream.js +0 -98
- package/node_modules/pino/benchmarks/object.bench.js +0 -82
- package/node_modules/pino/benchmarks/utils/generate-benchmark-doc.js +0 -36
- package/node_modules/pino/benchmarks/utils/runbench.js +0 -138
- package/node_modules/pino/benchmarks/utils/wrap-log-level.js +0 -55
- package/node_modules/pino/docs/api.md +0 -1593
- package/node_modules/pino/docs/asynchronous.md +0 -40
- package/node_modules/pino/docs/benchmarks.md +0 -55
- package/node_modules/pino/docs/browser.md +0 -278
- package/node_modules/pino/docs/bundling.md +0 -40
- package/node_modules/pino/docs/child-loggers.md +0 -95
- package/node_modules/pino/docs/diagnostics.md +0 -16
- package/node_modules/pino/docs/ecosystem.md +0 -86
- package/node_modules/pino/docs/help.md +0 -345
- package/node_modules/pino/docs/lts.md +0 -64
- package/node_modules/pino/docs/pretty.md +0 -35
- package/node_modules/pino/docs/redaction.md +0 -135
- package/node_modules/pino/docs/transports.md +0 -1376
- package/node_modules/pino/docs/web.md +0 -309
- package/node_modules/pino/examples/basic.js +0 -43
- package/node_modules/pino/examples/transport.js +0 -68
- package/node_modules/pino/pino.d.ts +0 -908
- package/node_modules/pino/test/basic.test.js +0 -886
- package/node_modules/pino/test/broken-pipe.test.js +0 -59
- package/node_modules/pino/test/browser-child.test.js +0 -132
- package/node_modules/pino/test/browser-disabled.test.js +0 -87
- package/node_modules/pino/test/browser-early-console-freeze.test.js +0 -12
- package/node_modules/pino/test/browser-is-level-enabled.test.js +0 -101
- package/node_modules/pino/test/browser-levels.test.js +0 -241
- package/node_modules/pino/test/browser-serializers.test.js +0 -352
- package/node_modules/pino/test/browser-timestamp.test.js +0 -88
- package/node_modules/pino/test/browser-transmit.test.js +0 -417
- package/node_modules/pino/test/browser.test.js +0 -698
- package/node_modules/pino/test/complex-objects.test.js +0 -36
- package/node_modules/pino/test/crlf.test.js +0 -34
- package/node_modules/pino/test/custom-levels.test.js +0 -267
- package/node_modules/pino/test/diagnostics.test.js +0 -107
- package/node_modules/pino/test/error-key.test.js +0 -37
- package/node_modules/pino/test/error.test.js +0 -403
- package/node_modules/pino/test/escaping.test.js +0 -93
- package/node_modules/pino/test/esm/esm.mjs +0 -14
- package/node_modules/pino/test/esm/index.test.js +0 -21
- package/node_modules/pino/test/esm/named-exports.mjs +0 -29
- package/node_modules/pino/test/exit.test.js +0 -79
- package/node_modules/pino/test/fixtures/broken-pipe/basic.js +0 -9
- package/node_modules/pino/test/fixtures/broken-pipe/destination.js +0 -10
- package/node_modules/pino/test/fixtures/broken-pipe/syncfalse.js +0 -12
- package/node_modules/pino/test/fixtures/console-transport.js +0 -13
- package/node_modules/pino/test/fixtures/crashing-transport.js +0 -13
- package/node_modules/pino/test/fixtures/default-exit.js +0 -8
- package/node_modules/pino/test/fixtures/destination-exit.js +0 -8
- package/node_modules/pino/test/fixtures/eval/index.js +0 -13
- package/node_modules/pino/test/fixtures/eval/node_modules/14-files.js +0 -3
- package/node_modules/pino/test/fixtures/eval/node_modules/2-files.js +0 -3
- package/node_modules/pino/test/fixtures/eval/node_modules/file1.js +0 -5
- package/node_modules/pino/test/fixtures/eval/node_modules/file10.js +0 -5
- package/node_modules/pino/test/fixtures/eval/node_modules/file11.js +0 -5
- package/node_modules/pino/test/fixtures/eval/node_modules/file12.js +0 -5
- package/node_modules/pino/test/fixtures/eval/node_modules/file13.js +0 -5
- package/node_modules/pino/test/fixtures/eval/node_modules/file14.js +0 -11
- package/node_modules/pino/test/fixtures/eval/node_modules/file2.js +0 -5
- package/node_modules/pino/test/fixtures/eval/node_modules/file3.js +0 -5
- package/node_modules/pino/test/fixtures/eval/node_modules/file4.js +0 -5
- package/node_modules/pino/test/fixtures/eval/node_modules/file5.js +0 -5
- package/node_modules/pino/test/fixtures/eval/node_modules/file6.js +0 -5
- package/node_modules/pino/test/fixtures/eval/node_modules/file7.js +0 -5
- package/node_modules/pino/test/fixtures/eval/node_modules/file8.js +0 -5
- package/node_modules/pino/test/fixtures/eval/node_modules/file9.js +0 -5
- package/node_modules/pino/test/fixtures/noop-transport.js +0 -10
- package/node_modules/pino/test/fixtures/pretty/null-prototype.js +0 -8
- package/node_modules/pino/test/fixtures/stdout-hack-protection.js +0 -11
- package/node_modules/pino/test/fixtures/syncfalse-child.js +0 -6
- package/node_modules/pino/test/fixtures/syncfalse-exit.js +0 -9
- package/node_modules/pino/test/fixtures/syncfalse-flush-exit.js +0 -10
- package/node_modules/pino/test/fixtures/syncfalse.js +0 -6
- package/node_modules/pino/test/fixtures/syntax-error-esm.mjs +0 -2
- package/node_modules/pino/test/fixtures/to-file-transport-with-transform.js +0 -20
- package/node_modules/pino/test/fixtures/to-file-transport.js +0 -13
- package/node_modules/pino/test/fixtures/to-file-transport.mjs +0 -8
- package/node_modules/pino/test/fixtures/transport/index.js +0 -12
- package/node_modules/pino/test/fixtures/transport/package.json +0 -5
- package/node_modules/pino/test/fixtures/transport-exit-immediately-with-async-dest.js +0 -16
- package/node_modules/pino/test/fixtures/transport-exit-immediately.js +0 -11
- package/node_modules/pino/test/fixtures/transport-exit-on-ready.js +0 -12
- package/node_modules/pino/test/fixtures/transport-invalid-node-options.js +0 -26
- package/node_modules/pino/test/fixtures/transport-main.js +0 -9
- package/node_modules/pino/test/fixtures/transport-many-lines.js +0 -29
- package/node_modules/pino/test/fixtures/transport-preload-main.mjs +0 -13
- package/node_modules/pino/test/fixtures/transport-preload.mjs +0 -13
- package/node_modules/pino/test/fixtures/transport-string-stdout.js +0 -9
- package/node_modules/pino/test/fixtures/transport-transform.js +0 -21
- package/node_modules/pino/test/fixtures/transport-uses-pino-config.js +0 -33
- package/node_modules/pino/test/fixtures/transport-with-on-exit.js +0 -12
- package/node_modules/pino/test/fixtures/transport-worker-data.js +0 -19
- package/node_modules/pino/test/fixtures/transport-worker-name.js +0 -24
- package/node_modules/pino/test/fixtures/transport-worker.js +0 -15
- package/node_modules/pino/test/fixtures/transport-wrong-export-type.js +0 -3
- package/node_modules/pino/test/fixtures/ts/to-file-transport-native.mts +0 -15
- package/node_modules/pino/test/fixtures/ts/to-file-transport-with-transform.ts +0 -18
- package/node_modules/pino/test/fixtures/ts/to-file-transport.ts +0 -11
- package/node_modules/pino/test/fixtures/ts/transpile.cjs +0 -36
- package/node_modules/pino/test/fixtures/ts/transport-exit-immediately-with-async-dest.ts +0 -15
- package/node_modules/pino/test/fixtures/ts/transport-exit-immediately.ts +0 -10
- package/node_modules/pino/test/fixtures/ts/transport-exit-on-ready.ts +0 -11
- package/node_modules/pino/test/fixtures/ts/transport-main.ts +0 -8
- package/node_modules/pino/test/fixtures/ts/transport-string-stdout.ts +0 -8
- package/node_modules/pino/test/fixtures/ts/transport-worker.ts +0 -14
- package/node_modules/pino/test/formatters.test.js +0 -364
- package/node_modules/pino/test/helper.d.ts +0 -4
- package/node_modules/pino/test/helper.js +0 -155
- package/node_modules/pino/test/hooks.test.js +0 -114
- package/node_modules/pino/test/http.test.js +0 -214
- package/node_modules/pino/test/internals/version.test.js +0 -17
- package/node_modules/pino/test/is-level-enabled.test.js +0 -179
- package/node_modules/pino/test/jest/basic.spec.js +0 -10
- package/node_modules/pino/test/levels.test.js +0 -810
- package/node_modules/pino/test/metadata.test.js +0 -120
- package/node_modules/pino/test/mixin-merge-strategy.test.js +0 -57
- package/node_modules/pino/test/mixin.test.js +0 -241
- package/node_modules/pino/test/multistream.test.js +0 -729
- package/node_modules/pino/test/redact.test.js +0 -893
- package/node_modules/pino/test/serializers.test.js +0 -257
- package/node_modules/pino/test/stdout-protection.test.js +0 -41
- package/node_modules/pino/test/syncfalse.test.js +0 -186
- package/node_modules/pino/test/timestamp-nano.test.js +0 -37
- package/node_modules/pino/test/timestamp.test.js +0 -124
- package/node_modules/pino/test/transport/big.test.js +0 -42
- package/node_modules/pino/test/transport/bundlers-support.test.js +0 -99
- package/node_modules/pino/test/transport/caller.test.js +0 -24
- package/node_modules/pino/test/transport/core.test.js +0 -733
- package/node_modules/pino/test/transport/core.transpiled.test.ts +0 -114
- package/node_modules/pino/test/transport/crash.test.js +0 -36
- package/node_modules/pino/test/transport/module-link.test.js +0 -241
- package/node_modules/pino/test/transport/native-type-stripping.test.mjs +0 -151
- package/node_modules/pino/test/transport/node-options.test.js +0 -116
- package/node_modules/pino/test/transport/pipeline.test.js +0 -137
- package/node_modules/pino/test/transport/preload.test.js +0 -54
- package/node_modules/pino/test/transport/repl.test.js +0 -15
- package/node_modules/pino/test/transport/sync-false.test.js +0 -67
- package/node_modules/pino/test/transport/sync-true.test.js +0 -57
- package/node_modules/pino/test/transport/targets.test.js +0 -48
- package/node_modules/pino/test/transport/uses-pino-config.test.js +0 -166
- package/node_modules/pino/test/transport-stream.test.js +0 -40
- package/node_modules/pino/test/types/pino-import.test-d.cts +0 -30
- package/node_modules/pino/test/types/pino-multistream.test-d.ts +0 -28
- package/node_modules/pino/test/types/pino-top-export.test-d.ts +0 -34
- package/node_modules/pino/test/types/pino-transport.test-d.ts +0 -156
- package/node_modules/pino/test/types/pino-type-only.test-d.ts +0 -75
- package/node_modules/pino/test/types/pino.test-d.ts +0 -683
- package/node_modules/pino/test/types/pino.ts +0 -91
- package/node_modules/pino-abstract-transport/LICENSE +0 -21
- package/node_modules/pino-abstract-transport/README.md +0 -171
- package/node_modules/pino-abstract-transport/index.d.ts +0 -122
- package/node_modules/pino-abstract-transport/test/base.test.js +0 -473
- package/node_modules/pino-abstract-transport/test/fixtures/transport-async-iteration.js +0 -22
- package/node_modules/pino-abstract-transport/test/fixtures/transport-on-data.js +0 -22
- package/node_modules/pino-abstract-transport/test/fixtures/transport-transform.js +0 -24
- package/node_modules/pino-abstract-transport/test/fixtures/worker-pipeline.js +0 -15
- package/node_modules/pino-abstract-transport/test/match.js +0 -24
- package/node_modules/pino-abstract-transport/test/types/index.test-d.ts +0 -31
- package/node_modules/pino-abstract-transport/test/worker.test.js +0 -372
- package/node_modules/pino-std-serializers/LICENSE +0 -7
- package/node_modules/pino-std-serializers/Readme.md +0 -182
- package/node_modules/pino-std-serializers/index.d.ts +0 -145
- package/node_modules/pino-std-serializers/test/err-with-cause.test.js +0 -187
- package/node_modules/pino-std-serializers/test/err.test.js +0 -200
- package/node_modules/pino-std-serializers/test/req.test.js +0 -477
- package/node_modules/pino-std-serializers/test/res.test.js +0 -120
- package/node_modules/pino-std-serializers/test/types/index.test-d.ts +0 -71
- package/node_modules/prebuild-install/CHANGELOG.md +0 -131
- package/node_modules/prebuild-install/CONTRIBUTING.md +0 -6
- package/node_modules/prebuild-install/LICENSE +0 -21
- package/node_modules/prebuild-install/README.md +0 -163
- package/node_modules/process-warning/LICENSE +0 -21
- package/node_modules/process-warning/README.md +0 -118
- package/node_modules/process-warning/benchmarks/warn.js +0 -25
- package/node_modules/process-warning/examples/example.js +0 -11
- package/node_modules/process-warning/test/emit-interpolated-string.test.js +0 -34
- package/node_modules/process-warning/test/emit-once-only.test.js +0 -33
- package/node_modules/process-warning/test/emit-reset.test.js +0 -40
- package/node_modules/process-warning/test/emit-set.test.js +0 -35
- package/node_modules/process-warning/test/emit-unlimited.test.js +0 -42
- package/node_modules/process-warning/test/index.test.js +0 -99
- package/node_modules/process-warning/test/issue-88.test.js +0 -38
- package/node_modules/process-warning/test/jest.test.js +0 -24
- package/node_modules/process-warning/test/no-warnings.test.js +0 -80
- package/node_modules/process-warning/test/promise.js +0 -10
- package/node_modules/process-warning/types/index.d.ts +0 -37
- package/node_modules/pump/LICENSE +0 -21
- package/node_modules/pump/README.md +0 -74
- package/node_modules/pump/SECURITY.md +0 -5
- package/node_modules/quick-format-unescaped/LICENSE +0 -21
- package/node_modules/quick-format-unescaped/readme.md +0 -66
- package/node_modules/quick-format-unescaped/test/index.js +0 -136
- package/node_modules/rc/LICENSE.APACHE2 +0 -15
- package/node_modules/rc/LICENSE.BSD +0 -26
- package/node_modules/rc/LICENSE.MIT +0 -24
- package/node_modules/rc/README.md +0 -227
- package/node_modules/rc/test/ini.js +0 -16
- package/node_modules/rc/test/nested-env-vars.js +0 -50
- package/node_modules/rc/test/test.js +0 -59
- package/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- package/node_modules/readable-stream/GOVERNANCE.md +0 -136
- package/node_modules/readable-stream/LICENSE +0 -47
- package/node_modules/readable-stream/README.md +0 -106
- package/node_modules/real-require/LICENSE.md +0 -21
- package/node_modules/real-require/README.md +0 -51
- package/node_modules/require-from-string/license +0 -21
- package/node_modules/require-from-string/readme.md +0 -56
- package/node_modules/ret/LICENSE +0 -21
- package/node_modules/ret/README.md +0 -539
- package/node_modules/reusify/LICENSE +0 -22
- package/node_modules/reusify/README.md +0 -139
- package/node_modules/reusify/SECURITY.md +0 -15
- package/node_modules/reusify/benchmarks/createNoCodeFunction.js +0 -30
- package/node_modules/reusify/benchmarks/fib.js +0 -13
- package/node_modules/reusify/benchmarks/reuseNoCodeFunction.js +0 -38
- package/node_modules/reusify/reusify.d.ts +0 -14
- package/node_modules/rfdc/LICENSE +0 -15
- package/node_modules/rfdc/index.d.ts +0 -13
- package/node_modules/rfdc/readme.md +0 -181
- package/node_modules/rfdc/test/index.js +0 -306
- package/node_modules/run-applescript/index.d.ts +0 -66
- package/node_modules/run-applescript/license +0 -9
- package/node_modules/run-applescript/readme.md +0 -78
- package/node_modules/safe-buffer/LICENSE +0 -21
- package/node_modules/safe-buffer/README.md +0 -584
- package/node_modules/safe-buffer/index.d.ts +0 -187
- package/node_modules/safe-regex2/LICENSE +0 -21
- package/node_modules/safe-regex2/README.md +0 -68
- package/node_modules/safe-regex2/example/safe.js +0 -5
- package/node_modules/safe-regex2/test/regex.test.js +0 -57
- package/node_modules/safe-regex2/types/index.d.ts +0 -9
- package/node_modules/safe-stable-stringify/LICENSE +0 -21
- package/node_modules/safe-stable-stringify/esm/wrapper.d.ts +0 -4
- package/node_modules/safe-stable-stringify/index.d.ts +0 -22
- package/node_modules/safe-stable-stringify/readme.md +0 -179
- package/node_modules/secure-json-parse/LICENSE +0 -19
- package/node_modules/secure-json-parse/README.md +0 -132
- package/node_modules/secure-json-parse/benchmarks/ignore.js +0 -35
- package/node_modules/secure-json-parse/benchmarks/no__proto__.js +0 -40
- package/node_modules/secure-json-parse/benchmarks/package.json +0 -15
- package/node_modules/secure-json-parse/benchmarks/remove.js +0 -39
- package/node_modules/secure-json-parse/benchmarks/throw.js +0 -49
- package/node_modules/secure-json-parse/benchmarks/valid.js +0 -49
- package/node_modules/secure-json-parse/test/index.test.js +0 -649
- package/node_modules/secure-json-parse/types/index.d.ts +0 -60
- package/node_modules/semver/LICENSE +0 -15
- package/node_modules/semver/README.md +0 -665
- package/node_modules/set-cookie-parser/LICENSE +0 -21
- package/node_modules/set-cookie-parser/README.md +0 -202
- package/node_modules/setprototypeof/LICENSE +0 -13
- package/node_modules/setprototypeof/README.md +0 -31
- package/node_modules/setprototypeof/index.d.ts +0 -2
- package/node_modules/setprototypeof/test/index.js +0 -24
- package/node_modules/shebang-command/license +0 -9
- package/node_modules/shebang-command/readme.md +0 -34
- package/node_modules/shebang-regex/index.d.ts +0 -22
- package/node_modules/shebang-regex/license +0 -9
- package/node_modules/shebang-regex/readme.md +0 -33
- package/node_modules/signal-exit/LICENSE.txt +0 -16
- package/node_modules/signal-exit/README.md +0 -74
- package/node_modules/simple-concat/LICENSE +0 -20
- package/node_modules/simple-concat/README.md +0 -44
- package/node_modules/simple-concat/test/basic.js +0 -41
- package/node_modules/simple-get/LICENSE +0 -20
- package/node_modules/simple-get/README.md +0 -333
- package/node_modules/smart-buffer/LICENSE +0 -20
- package/node_modules/smart-buffer/README.md +0 -633
- package/node_modules/smart-buffer/build/smartbuffer.js.map +0 -1
- package/node_modules/smart-buffer/build/utils.js.map +0 -1
- package/node_modules/smart-buffer/docs/CHANGELOG.md +0 -70
- package/node_modules/smart-buffer/docs/README_v3.md +0 -367
- package/node_modules/smart-buffer/docs/ROADMAP.md +0 -0
- package/node_modules/smart-buffer/typings/smartbuffer.d.ts +0 -755
- package/node_modules/smart-buffer/typings/utils.d.ts +0 -66
- package/node_modules/socks/LICENSE +0 -20
- package/node_modules/socks/README.md +0 -686
- package/node_modules/socks/build/client/socksclient.js.map +0 -1
- package/node_modules/socks/build/common/constants.js.map +0 -1
- package/node_modules/socks/build/common/helpers.js.map +0 -1
- package/node_modules/socks/build/common/receivebuffer.js.map +0 -1
- package/node_modules/socks/build/common/util.js.map +0 -1
- package/node_modules/socks/build/index.js.map +0 -1
- package/node_modules/socks/docs/examples/index.md +0 -17
- package/node_modules/socks/docs/examples/javascript/associateExample.md +0 -90
- package/node_modules/socks/docs/examples/javascript/bindExample.md +0 -83
- package/node_modules/socks/docs/examples/javascript/connectExample.md +0 -258
- package/node_modules/socks/docs/examples/typescript/associateExample.md +0 -93
- package/node_modules/socks/docs/examples/typescript/bindExample.md +0 -86
- package/node_modules/socks/docs/examples/typescript/connectExample.md +0 -265
- package/node_modules/socks/docs/index.md +0 -5
- package/node_modules/socks/docs/migratingFromV1.md +0 -86
- package/node_modules/socks/typings/client/socksclient.d.ts +0 -162
- package/node_modules/socks/typings/common/constants.d.ts +0 -151
- package/node_modules/socks/typings/common/helpers.d.ts +0 -17
- package/node_modules/socks/typings/common/receivebuffer.d.ts +0 -12
- package/node_modules/socks/typings/common/util.d.ts +0 -14
- package/node_modules/socks/typings/index.d.ts +0 -1
- package/node_modules/socks-proxy-agent/LICENSE +0 -22
- package/node_modules/socks-proxy-agent/README.md +0 -50
- package/node_modules/sonic-boom/LICENSE +0 -21
- package/node_modules/sonic-boom/README.md +0 -153
- package/node_modules/sonic-boom/test/destroy.test.js +0 -49
- package/node_modules/sonic-boom/test/end.test.js +0 -98
- package/node_modules/sonic-boom/test/flush-sync.test.js +0 -140
- package/node_modules/sonic-boom/test/flush.test.js +0 -419
- package/node_modules/sonic-boom/test/fsync.test.js +0 -63
- package/node_modules/sonic-boom/test/helper.js +0 -42
- package/node_modules/sonic-boom/test/minlength.test.js +0 -35
- package/node_modules/sonic-boom/test/mode.test.js +0 -116
- package/node_modules/sonic-boom/test/periodicflush.test.js +0 -61
- package/node_modules/sonic-boom/test/reopen.test.js +0 -239
- package/node_modules/sonic-boom/test/retry.test.js +0 -414
- package/node_modules/sonic-boom/test/sync.test.js +0 -261
- package/node_modules/sonic-boom/test/write.test.js +0 -515
- package/node_modules/sonic-boom/types/index.d.ts +0 -63
- package/node_modules/sonic-boom/types/tests/test.ts +0 -4
- package/node_modules/split2/LICENSE +0 -13
- package/node_modules/split2/README.md +0 -85
- package/node_modules/standardwebhooks/README.md +0 -41
- package/node_modules/statuses/HISTORY.md +0 -87
- package/node_modules/statuses/LICENSE +0 -23
- package/node_modules/statuses/README.md +0 -139
- package/node_modules/std-env/README.md +0 -118
- package/node_modules/stream-shift/LICENSE +0 -21
- package/node_modules/stream-shift/README.md +0 -25
- package/node_modules/string_decoder/LICENSE +0 -48
- package/node_modules/string_decoder/README.md +0 -47
- package/node_modules/strip-json-comments/license +0 -21
- package/node_modules/strip-json-comments/readme.md +0 -64
- package/node_modules/tar-fs/LICENSE +0 -21
- package/node_modules/tar-fs/README.md +0 -165
- package/node_modules/tar-fs/test/fixtures/a/hello.txt +0 -1
- package/node_modules/tar-fs/test/fixtures/b/a/test.txt +0 -1
- package/node_modules/tar-fs/test/fixtures/d/file1 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/file2 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/sub-dir/file5 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/sub-files/file3 +0 -0
- package/node_modules/tar-fs/test/fixtures/d/sub-files/file4 +0 -0
- package/node_modules/tar-fs/test/fixtures/e/file +0 -0
- package/node_modules/tar-fs/test/fixtures/invalid.tar +0 -0
- package/node_modules/tar-fs/test/index.js +0 -346
- package/node_modules/tar-stream/LICENSE +0 -21
- package/node_modules/tar-stream/README.md +0 -168
- package/node_modules/thread-stream/CLAUDE.md +0 -53
- package/node_modules/thread-stream/LICENSE +0 -21
- package/node_modules/thread-stream/README.md +0 -135
- package/node_modules/thread-stream/index.d.ts +0 -92
- package/node_modules/thread-stream/test/base.test.js +0 -259
- package/node_modules/thread-stream/test/bench.test.js +0 -38
- package/node_modules/thread-stream/test/bundlers.test.js +0 -59
- package/node_modules/thread-stream/test/close-on-gc.js +0 -37
- package/node_modules/thread-stream/test/commonjs-fallback.test.js +0 -75
- package/node_modules/thread-stream/test/context.test.js +0 -21
- package/node_modules/thread-stream/test/create-and-exit.js +0 -16
- package/node_modules/thread-stream/test/custom-worker.js +0 -9
- package/node_modules/thread-stream/test/dir with spaces/test-package.zip +0 -0
- package/node_modules/thread-stream/test/emit-event.js +0 -22
- package/node_modules/thread-stream/test/end.test.js +0 -56
- package/node_modules/thread-stream/test/error.js +0 -14
- package/node_modules/thread-stream/test/esm.test.mjs +0 -46
- package/node_modules/thread-stream/test/event.test.js +0 -24
- package/node_modules/thread-stream/test/exit.js +0 -14
- package/node_modules/thread-stream/test/get-context.js +0 -22
- package/node_modules/thread-stream/test/helper.d.ts +0 -1
- package/node_modules/thread-stream/test/helper.js +0 -26
- package/node_modules/thread-stream/test/indexes.test.js +0 -11
- package/node_modules/thread-stream/test/multibyte-chars.test.mjs +0 -75
- package/node_modules/thread-stream/test/on-message.js +0 -18
- package/node_modules/thread-stream/test/pkg/index.js +0 -37
- package/node_modules/thread-stream/test/pkg/pkg.config.json +0 -14
- package/node_modules/thread-stream/test/pkg/pkg.test.js +0 -45
- package/node_modules/thread-stream/test/port.js +0 -16
- package/node_modules/thread-stream/test/post-message.test.js +0 -23
- package/node_modules/thread-stream/test/string-limit-2.test.js +0 -35
- package/node_modules/thread-stream/test/string-limit.test.js +0 -37
- package/node_modules/thread-stream/test/syntax-error.mjs +0 -2
- package/node_modules/thread-stream/test/thread-management.test.js +0 -138
- package/node_modules/thread-stream/test/to-file-on-destroy.js +0 -23
- package/node_modules/thread-stream/test/to-file-on-final.js +0 -24
- package/node_modules/thread-stream/test/to-file.js +0 -12
- package/node_modules/thread-stream/test/to-file.mjs +0 -8
- package/node_modules/thread-stream/test/to-next.js +0 -9
- package/node_modules/thread-stream/test/transpiled.test.js +0 -29
- package/node_modules/thread-stream/test/ts/to-file.ts +0 -10
- package/node_modules/thread-stream/test/ts/transpile.sh +0 -19
- package/node_modules/thread-stream/test/ts-commonjs-default-export.zip +0 -0
- package/node_modules/thread-stream/test/ts-native.test.mjs +0 -35
- package/node_modules/thread-stream/test/ts-node-fallback.test.js +0 -35
- package/node_modules/thread-stream/test/uncaughtException.js +0 -21
- package/node_modules/thread-stream/test/unhandledRejection.js +0 -21
- package/node_modules/thread-stream/test/yarnrc.yml +0 -7
- package/node_modules/toad-cache/LICENSE +0 -21
- package/node_modules/toad-cache/README.md +0 -265
- package/node_modules/toad-cache/toad-cache.d.cts +0 -138
- package/node_modules/toad-cache/toad-cache.d.ts +0 -128
- package/node_modules/toidentifier/HISTORY.md +0 -9
- package/node_modules/toidentifier/LICENSE +0 -21
- package/node_modules/toidentifier/README.md +0 -61
- package/node_modules/tslib/LICENSE.txt +0 -12
- package/node_modules/tslib/README.md +0 -164
- package/node_modules/tslib/SECURITY.md +0 -41
- package/node_modules/tslib/modules/index.d.ts +0 -38
- package/node_modules/tslib/tslib.d.ts +0 -460
- package/node_modules/tsscmp/LICENSE +0 -21
- package/node_modules/tsscmp/README.md +0 -48
- package/node_modules/tsscmp/test/benchmark/index.js +0 -30
- package/node_modules/tsscmp/test/unit/index.js +0 -69
- package/node_modules/tunnel-agent/LICENSE +0 -55
- package/node_modules/tunnel-agent/README.md +0 -4
- package/node_modules/undici/LICENSE +0 -21
- package/node_modules/undici/README.md +0 -741
- package/node_modules/undici/docs/docs/api/Agent.md +0 -84
- package/node_modules/undici/docs/docs/api/BalancedPool.md +0 -99
- package/node_modules/undici/docs/docs/api/CacheStorage.md +0 -30
- package/node_modules/undici/docs/docs/api/CacheStore.md +0 -164
- package/node_modules/undici/docs/docs/api/Client.md +0 -285
- package/node_modules/undici/docs/docs/api/ClientStats.md +0 -27
- package/node_modules/undici/docs/docs/api/Connector.md +0 -115
- package/node_modules/undici/docs/docs/api/ContentType.md +0 -57
- package/node_modules/undici/docs/docs/api/Cookies.md +0 -101
- package/node_modules/undici/docs/docs/api/Debug.md +0 -62
- package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +0 -315
- package/node_modules/undici/docs/docs/api/Dispatcher.md +0 -1392
- package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +0 -159
- package/node_modules/undici/docs/docs/api/Errors.md +0 -49
- package/node_modules/undici/docs/docs/api/EventSource.md +0 -45
- package/node_modules/undici/docs/docs/api/Fetch.md +0 -60
- package/node_modules/undici/docs/docs/api/GlobalInstallation.md +0 -139
- package/node_modules/undici/docs/docs/api/H2CClient.md +0 -263
- package/node_modules/undici/docs/docs/api/MockAgent.md +0 -603
- package/node_modules/undici/docs/docs/api/MockCallHistory.md +0 -197
- package/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +0 -43
- package/node_modules/undici/docs/docs/api/MockClient.md +0 -81
- package/node_modules/undici/docs/docs/api/MockErrors.md +0 -12
- package/node_modules/undici/docs/docs/api/MockPool.md +0 -555
- package/node_modules/undici/docs/docs/api/Pool.md +0 -84
- package/node_modules/undici/docs/docs/api/PoolStats.md +0 -35
- package/node_modules/undici/docs/docs/api/ProxyAgent.md +0 -229
- package/node_modules/undici/docs/docs/api/RedirectHandler.md +0 -93
- package/node_modules/undici/docs/docs/api/RetryAgent.md +0 -50
- package/node_modules/undici/docs/docs/api/RetryHandler.md +0 -118
- package/node_modules/undici/docs/docs/api/RoundRobinPool.md +0 -145
- package/node_modules/undici/docs/docs/api/SnapshotAgent.md +0 -616
- package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +0 -274
- package/node_modules/undici/docs/docs/api/Util.md +0 -25
- package/node_modules/undici/docs/docs/api/WebSocket.md +0 -141
- package/node_modules/undici/docs/docs/api/api-lifecycle.md +0 -91
- package/node_modules/undici/docs/docs/best-practices/client-certificate.md +0 -64
- package/node_modules/undici/docs/docs/best-practices/crawling.md +0 -58
- package/node_modules/undici/docs/docs/best-practices/mocking-request.md +0 -190
- package/node_modules/undici/docs/docs/best-practices/proxy.md +0 -127
- package/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +0 -224
- package/node_modules/undici/docs/docs/best-practices/writing-tests.md +0 -63
- package/node_modules/undici/index.d.ts +0 -3
- package/node_modules/undici/lib/llhttp/constants.d.ts +0 -195
- package/node_modules/undici/lib/llhttp/utils.d.ts +0 -2
- package/node_modules/undici/lib/web/fetch/LICENSE +0 -21
- package/node_modules/undici/lib/web/subresource-integrity/Readme.md +0 -9
- package/node_modules/undici/types/README.md +0 -6
- package/node_modules/undici/types/agent.d.ts +0 -32
- package/node_modules/undici/types/api.d.ts +0 -43
- package/node_modules/undici/types/balanced-pool.d.ts +0 -30
- package/node_modules/undici/types/cache-interceptor.d.ts +0 -179
- package/node_modules/undici/types/cache.d.ts +0 -36
- package/node_modules/undici/types/client-stats.d.ts +0 -15
- package/node_modules/undici/types/client.d.ts +0 -123
- package/node_modules/undici/types/connector.d.ts +0 -36
- package/node_modules/undici/types/content-type.d.ts +0 -21
- package/node_modules/undici/types/cookies.d.ts +0 -30
- package/node_modules/undici/types/diagnostics-channel.d.ts +0 -74
- package/node_modules/undici/types/dispatcher.d.ts +0 -273
- package/node_modules/undici/types/env-http-proxy-agent.d.ts +0 -22
- package/node_modules/undici/types/errors.d.ts +0 -177
- package/node_modules/undici/types/eventsource.d.ts +0 -66
- package/node_modules/undici/types/fetch.d.ts +0 -231
- package/node_modules/undici/types/formdata.d.ts +0 -114
- package/node_modules/undici/types/global-dispatcher.d.ts +0 -9
- package/node_modules/undici/types/global-origin.d.ts +0 -7
- package/node_modules/undici/types/h2c-client.d.ts +0 -73
- package/node_modules/undici/types/handlers.d.ts +0 -14
- package/node_modules/undici/types/header.d.ts +0 -160
- package/node_modules/undici/types/index.d.ts +0 -91
- package/node_modules/undici/types/interceptors.d.ts +0 -80
- package/node_modules/undici/types/mock-agent.d.ts +0 -68
- package/node_modules/undici/types/mock-call-history.d.ts +0 -111
- package/node_modules/undici/types/mock-client.d.ts +0 -27
- package/node_modules/undici/types/mock-errors.d.ts +0 -12
- package/node_modules/undici/types/mock-interceptor.d.ts +0 -94
- package/node_modules/undici/types/mock-pool.d.ts +0 -27
- package/node_modules/undici/types/patch.d.ts +0 -29
- package/node_modules/undici/types/pool-stats.d.ts +0 -19
- package/node_modules/undici/types/pool.d.ts +0 -41
- package/node_modules/undici/types/proxy-agent.d.ts +0 -29
- package/node_modules/undici/types/readable.d.ts +0 -68
- package/node_modules/undici/types/retry-agent.d.ts +0 -8
- package/node_modules/undici/types/retry-handler.d.ts +0 -125
- package/node_modules/undici/types/round-robin-pool.d.ts +0 -41
- package/node_modules/undici/types/snapshot-agent.d.ts +0 -109
- package/node_modules/undici/types/socks5-proxy-agent.d.ts +0 -25
- package/node_modules/undici/types/util.d.ts +0 -18
- package/node_modules/undici/types/utility.d.ts +0 -7
- package/node_modules/undici/types/webidl.d.ts +0 -347
- package/node_modules/undici/types/websocket.d.ts +0 -188
- package/node_modules/util-deprecate/History.md +0 -16
- package/node_modules/util-deprecate/LICENSE +0 -24
- package/node_modules/util-deprecate/README.md +0 -53
- package/node_modules/which/LICENSE +0 -15
- package/node_modules/which/README.md +0 -54
- package/node_modules/wrappy/LICENSE +0 -15
- package/node_modules/wrappy/README.md +0 -36
- package/node_modules/ws/LICENSE +0 -20
- package/node_modules/ws/README.md +0 -548
- package/node_modules/wsl-utils/index.d.ts +0 -21
- package/node_modules/wsl-utils/license +0 -9
- package/node_modules/wsl-utils/readme.md +0 -50
- package/node_modules/zod/LICENSE +0 -21
- package/node_modules/zod/README.md +0 -208
- package/node_modules/zod/index.d.cts +0 -4
- package/node_modules/zod/index.d.ts +0 -4
- package/node_modules/zod/locales/index.d.cts +0 -1
- package/node_modules/zod/locales/index.d.ts +0 -1
- package/node_modules/zod/mini/index.d.cts +0 -3
- package/node_modules/zod/mini/index.d.ts +0 -3
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
- package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
- package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
- package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
- package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
- package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
- package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
- package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
- package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
- package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
- package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
- package/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
- package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
- package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
- package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
- package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
- package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
- package/node_modules/zod/src/v3/tests/error.test.ts +0 -551
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
- package/node_modules/zod/src/v3/tests/function.test.ts +0 -261
- package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
- package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
- package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
- package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
- package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
- package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
- package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
- package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
- package/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
- package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
- package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/object.test.ts +0 -434
- package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
- package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
- package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
- package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
- package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
- package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
- package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
- package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
- package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
- package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
- package/node_modules/zod/src/v3/tests/string.test.ts +0 -916
- package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
- package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
- package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
- package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
- package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -59
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -210
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -276
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -573
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -562
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -62
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -302
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -365
- package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -661
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -595
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
- package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -734
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -360
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -68
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -939
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -60
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -198
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -117
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -330
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -270
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -640
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -223
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -427
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -74
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -282
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -632
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -582
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -570
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -181
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -134
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1175
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -106
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -771
- package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2990
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -361
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -183
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -219
- package/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
- package/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
- package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -181
- package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
- package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
- package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -83
- package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -67
- package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -24
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -529
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -5
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -963
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -227
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -275
- package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -347
- package/node_modules/zod/v3/ZodError.d.cts +0 -164
- package/node_modules/zod/v3/ZodError.d.ts +0 -164
- package/node_modules/zod/v3/errors.d.cts +0 -5
- package/node_modules/zod/v3/errors.d.ts +0 -5
- package/node_modules/zod/v3/external.d.cts +0 -6
- package/node_modules/zod/v3/external.d.ts +0 -6
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
- package/node_modules/zod/v3/helpers/util.d.cts +0 -85
- package/node_modules/zod/v3/helpers/util.d.ts +0 -85
- package/node_modules/zod/v3/index.d.cts +0 -4
- package/node_modules/zod/v3/index.d.ts +0 -4
- package/node_modules/zod/v3/locales/en.d.cts +0 -3
- package/node_modules/zod/v3/locales/en.d.ts +0 -3
- package/node_modules/zod/v3/standard-schema.d.cts +0 -102
- package/node_modules/zod/v3/standard-schema.d.ts +0 -102
- package/node_modules/zod/v3/types.d.cts +0 -1034
- package/node_modules/zod/v3/types.d.ts +0 -1034
- package/node_modules/zod/v4/classic/checks.d.cts +0 -1
- package/node_modules/zod/v4/classic/checks.d.ts +0 -1
- package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
- package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
- package/node_modules/zod/v4/classic/compat.d.cts +0 -50
- package/node_modules/zod/v4/classic/compat.d.ts +0 -50
- package/node_modules/zod/v4/classic/errors.d.cts +0 -30
- package/node_modules/zod/v4/classic/errors.d.ts +0 -30
- package/node_modules/zod/v4/classic/external.d.cts +0 -15
- package/node_modules/zod/v4/classic/external.d.ts +0 -15
- package/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
- package/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
- package/node_modules/zod/v4/classic/index.d.cts +0 -4
- package/node_modules/zod/v4/classic/index.d.ts +0 -4
- package/node_modules/zod/v4/classic/iso.d.cts +0 -22
- package/node_modules/zod/v4/classic/iso.d.ts +0 -22
- package/node_modules/zod/v4/classic/parse.d.cts +0 -31
- package/node_modules/zod/v4/classic/parse.d.ts +0 -31
- package/node_modules/zod/v4/classic/schemas.d.cts +0 -739
- package/node_modules/zod/v4/classic/schemas.d.ts +0 -739
- package/node_modules/zod/v4/core/api.d.cts +0 -304
- package/node_modules/zod/v4/core/api.d.ts +0 -304
- package/node_modules/zod/v4/core/checks.d.cts +0 -278
- package/node_modules/zod/v4/core/checks.d.ts +0 -278
- package/node_modules/zod/v4/core/core.d.cts +0 -70
- package/node_modules/zod/v4/core/core.d.ts +0 -70
- package/node_modules/zod/v4/core/doc.d.cts +0 -14
- package/node_modules/zod/v4/core/doc.d.ts +0 -14
- package/node_modules/zod/v4/core/errors.d.cts +0 -220
- package/node_modules/zod/v4/core/errors.d.ts +0 -220
- package/node_modules/zod/v4/core/index.d.cts +0 -16
- package/node_modules/zod/v4/core/index.d.ts +0 -16
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -49
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -49
- package/node_modules/zod/v4/core/json-schema.d.cts +0 -88
- package/node_modules/zod/v4/core/json-schema.d.ts +0 -88
- package/node_modules/zod/v4/core/parse.d.cts +0 -49
- package/node_modules/zod/v4/core/parse.d.ts +0 -49
- package/node_modules/zod/v4/core/regexes.d.cts +0 -79
- package/node_modules/zod/v4/core/regexes.d.ts +0 -79
- package/node_modules/zod/v4/core/registries.d.cts +0 -35
- package/node_modules/zod/v4/core/registries.d.ts +0 -35
- package/node_modules/zod/v4/core/schemas.d.cts +0 -1146
- package/node_modules/zod/v4/core/schemas.d.ts +0 -1146
- package/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
- package/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
- package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -114
- package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -114
- package/node_modules/zod/v4/core/util.d.cts +0 -199
- package/node_modules/zod/v4/core/util.d.ts +0 -199
- package/node_modules/zod/v4/core/versions.d.cts +0 -5
- package/node_modules/zod/v4/core/versions.d.ts +0 -5
- package/node_modules/zod/v4/index.d.cts +0 -3
- package/node_modules/zod/v4/index.d.ts +0 -3
- package/node_modules/zod/v4/locales/ar.d.cts +0 -5
- package/node_modules/zod/v4/locales/ar.d.ts +0 -4
- package/node_modules/zod/v4/locales/az.d.cts +0 -5
- package/node_modules/zod/v4/locales/az.d.ts +0 -4
- package/node_modules/zod/v4/locales/be.d.cts +0 -5
- package/node_modules/zod/v4/locales/be.d.ts +0 -4
- package/node_modules/zod/v4/locales/bg.d.cts +0 -5
- package/node_modules/zod/v4/locales/bg.d.ts +0 -4
- package/node_modules/zod/v4/locales/ca.d.cts +0 -5
- package/node_modules/zod/v4/locales/ca.d.ts +0 -4
- package/node_modules/zod/v4/locales/cs.d.cts +0 -5
- package/node_modules/zod/v4/locales/cs.d.ts +0 -4
- package/node_modules/zod/v4/locales/da.d.cts +0 -5
- package/node_modules/zod/v4/locales/da.d.ts +0 -4
- package/node_modules/zod/v4/locales/de.d.cts +0 -5
- package/node_modules/zod/v4/locales/de.d.ts +0 -4
- package/node_modules/zod/v4/locales/en.d.cts +0 -5
- package/node_modules/zod/v4/locales/en.d.ts +0 -4
- package/node_modules/zod/v4/locales/eo.d.cts +0 -5
- package/node_modules/zod/v4/locales/eo.d.ts +0 -4
- package/node_modules/zod/v4/locales/es.d.cts +0 -5
- package/node_modules/zod/v4/locales/es.d.ts +0 -4
- package/node_modules/zod/v4/locales/fa.d.cts +0 -5
- package/node_modules/zod/v4/locales/fa.d.ts +0 -4
- package/node_modules/zod/v4/locales/fi.d.cts +0 -5
- package/node_modules/zod/v4/locales/fi.d.ts +0 -4
- package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
- package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
- package/node_modules/zod/v4/locales/fr.d.cts +0 -5
- package/node_modules/zod/v4/locales/fr.d.ts +0 -4
- package/node_modules/zod/v4/locales/he.d.cts +0 -5
- package/node_modules/zod/v4/locales/he.d.ts +0 -4
- package/node_modules/zod/v4/locales/hu.d.cts +0 -5
- package/node_modules/zod/v4/locales/hu.d.ts +0 -4
- package/node_modules/zod/v4/locales/hy.d.cts +0 -5
- package/node_modules/zod/v4/locales/hy.d.ts +0 -4
- package/node_modules/zod/v4/locales/id.d.cts +0 -5
- package/node_modules/zod/v4/locales/id.d.ts +0 -4
- package/node_modules/zod/v4/locales/index.d.cts +0 -49
- package/node_modules/zod/v4/locales/index.d.ts +0 -49
- package/node_modules/zod/v4/locales/is.d.cts +0 -5
- package/node_modules/zod/v4/locales/is.d.ts +0 -4
- package/node_modules/zod/v4/locales/it.d.cts +0 -5
- package/node_modules/zod/v4/locales/it.d.ts +0 -4
- package/node_modules/zod/v4/locales/ja.d.cts +0 -5
- package/node_modules/zod/v4/locales/ja.d.ts +0 -4
- package/node_modules/zod/v4/locales/ka.d.cts +0 -5
- package/node_modules/zod/v4/locales/ka.d.ts +0 -4
- package/node_modules/zod/v4/locales/kh.d.cts +0 -5
- package/node_modules/zod/v4/locales/kh.d.ts +0 -5
- package/node_modules/zod/v4/locales/km.d.cts +0 -5
- package/node_modules/zod/v4/locales/km.d.ts +0 -4
- package/node_modules/zod/v4/locales/ko.d.cts +0 -5
- package/node_modules/zod/v4/locales/ko.d.ts +0 -4
- package/node_modules/zod/v4/locales/lt.d.cts +0 -5
- package/node_modules/zod/v4/locales/lt.d.ts +0 -4
- package/node_modules/zod/v4/locales/mk.d.cts +0 -5
- package/node_modules/zod/v4/locales/mk.d.ts +0 -4
- package/node_modules/zod/v4/locales/ms.d.cts +0 -5
- package/node_modules/zod/v4/locales/ms.d.ts +0 -4
- package/node_modules/zod/v4/locales/nl.d.cts +0 -5
- package/node_modules/zod/v4/locales/nl.d.ts +0 -4
- package/node_modules/zod/v4/locales/no.d.cts +0 -5
- package/node_modules/zod/v4/locales/no.d.ts +0 -4
- package/node_modules/zod/v4/locales/ota.d.cts +0 -5
- package/node_modules/zod/v4/locales/ota.d.ts +0 -4
- package/node_modules/zod/v4/locales/pl.d.cts +0 -5
- package/node_modules/zod/v4/locales/pl.d.ts +0 -4
- package/node_modules/zod/v4/locales/ps.d.cts +0 -5
- package/node_modules/zod/v4/locales/ps.d.ts +0 -4
- package/node_modules/zod/v4/locales/pt.d.cts +0 -5
- package/node_modules/zod/v4/locales/pt.d.ts +0 -4
- package/node_modules/zod/v4/locales/ru.d.cts +0 -5
- package/node_modules/zod/v4/locales/ru.d.ts +0 -4
- package/node_modules/zod/v4/locales/sl.d.cts +0 -5
- package/node_modules/zod/v4/locales/sl.d.ts +0 -4
- package/node_modules/zod/v4/locales/sv.d.cts +0 -5
- package/node_modules/zod/v4/locales/sv.d.ts +0 -4
- package/node_modules/zod/v4/locales/ta.d.cts +0 -5
- package/node_modules/zod/v4/locales/ta.d.ts +0 -4
- package/node_modules/zod/v4/locales/th.d.cts +0 -5
- package/node_modules/zod/v4/locales/th.d.ts +0 -4
- package/node_modules/zod/v4/locales/tr.d.cts +0 -5
- package/node_modules/zod/v4/locales/tr.d.ts +0 -4
- package/node_modules/zod/v4/locales/ua.d.cts +0 -5
- package/node_modules/zod/v4/locales/ua.d.ts +0 -5
- package/node_modules/zod/v4/locales/uk.d.cts +0 -5
- package/node_modules/zod/v4/locales/uk.d.ts +0 -4
- package/node_modules/zod/v4/locales/ur.d.cts +0 -5
- package/node_modules/zod/v4/locales/ur.d.ts +0 -4
- package/node_modules/zod/v4/locales/uz.d.cts +0 -5
- package/node_modules/zod/v4/locales/uz.d.ts +0 -4
- package/node_modules/zod/v4/locales/vi.d.cts +0 -5
- package/node_modules/zod/v4/locales/vi.d.ts +0 -4
- package/node_modules/zod/v4/locales/yo.d.cts +0 -5
- package/node_modules/zod/v4/locales/yo.d.ts +0 -4
- package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
- package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
- package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
- package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
- package/node_modules/zod/v4/mini/checks.d.cts +0 -1
- package/node_modules/zod/v4/mini/checks.d.ts +0 -1
- package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
- package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
- package/node_modules/zod/v4/mini/external.d.cts +0 -12
- package/node_modules/zod/v4/mini/external.d.ts +0 -12
- package/node_modules/zod/v4/mini/index.d.cts +0 -3
- package/node_modules/zod/v4/mini/index.d.ts +0 -3
- package/node_modules/zod/v4/mini/iso.d.cts +0 -22
- package/node_modules/zod/v4/mini/iso.d.ts +0 -22
- package/node_modules/zod/v4/mini/parse.d.cts +0 -1
- package/node_modules/zod/v4/mini/parse.d.ts +0 -1
- package/node_modules/zod/v4/mini/schemas.d.cts +0 -427
- package/node_modules/zod/v4/mini/schemas.d.ts +0 -427
- package/node_modules/zod/v4-mini/index.d.cts +0 -3
- package/node_modules/zod/v4-mini/index.d.ts +0 -3
- /package/dist/ui/_next/static/{UajqlfTX3W85j7ULcrKYT → mdMHDbGZjrTGtK1FO_zRW}/_buildManifest.js +0 -0
- /package/dist/ui/_next/static/{UajqlfTX3W85j7ULcrKYT → mdMHDbGZjrTGtK1FO_zRW}/_clientMiddlewareManifest.json +0 -0
- /package/dist/ui/_next/static/{UajqlfTX3W85j7ULcrKYT → mdMHDbGZjrTGtK1FO_zRW}/_ssgManifest.js +0 -0
- /package/node_modules/node-pty/{third_party/conpty/1.23.251008001/win10-x64 → build/Release/conpty}/OpenConsole.exe +0 -0
- /package/node_modules/node-pty/{third_party/conpty/1.23.251008001/win10-x64 → build/Release/conpty}/conpty.dll +0 -0
|
@@ -1,3427 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Migrate AI SDK 4.x to 5.0
|
|
3
|
-
description: Learn how to upgrade AI SDK 4.x to 5.0.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Migrate AI SDK 4.x to 5.0
|
|
7
|
-
|
|
8
|
-
## Recommended Migration Process
|
|
9
|
-
|
|
10
|
-
1. Backup your project. If you use a versioning control system, make sure all previous versions are committed.
|
|
11
|
-
1. Upgrade to AI SDK 5.0.
|
|
12
|
-
1. Automatically migrate your code using one of these approaches:
|
|
13
|
-
- Use the [AI SDK 5 Migration MCP Server](#ai-sdk-5-migration-mcp-server) for AI-assisted migration in Cursor or other MCP-compatible coding agents
|
|
14
|
-
- Use [codemods](#codemods) to automatically transform your code
|
|
15
|
-
1. Follow the breaking changes guide below.
|
|
16
|
-
1. Verify your project is working as expected.
|
|
17
|
-
1. Commit your changes.
|
|
18
|
-
|
|
19
|
-
## AI SDK 5 Migration MCP Server
|
|
20
|
-
|
|
21
|
-
The [AI SDK 5 Migration Model Context Protocol (MCP) Server](https://github.com/vercel-labs/ai-sdk-5-migration-mcp-server) provides an automated way to migrate your project using a coding agent. This server has been designed for Cursor, but should work with any coding agent that supports MCP.
|
|
22
|
-
|
|
23
|
-
To get started, create or edit `.cursor/mcp.json` in your project:
|
|
24
|
-
|
|
25
|
-
```json
|
|
26
|
-
{
|
|
27
|
-
"mcpServers": {
|
|
28
|
-
"ai-sdk-5-migration": {
|
|
29
|
-
"url": "https://ai-sdk-5-migration-mcp-server.vercel.app/api/mcp"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
After saving, open the command palette (Cmd+Shift+P on macOS, Ctrl+Shift+P on Windows/Linux) and search for "View: Open MCP Settings". Verify the new server appears and is toggled on.
|
|
36
|
-
|
|
37
|
-
Then use this prompt:
|
|
38
|
-
|
|
39
|
-
```
|
|
40
|
-
Please migrate this project to AI SDK 5 using the ai-sdk-5-migration mcp server. Start by creating a checklist.
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
For more information, see the [AI SDK 5 Migration MCP Server repository](https://github.com/vercel-labs/ai-sdk-5-migration-mcp-server).
|
|
44
|
-
|
|
45
|
-
## AI SDK 5.0 Package Versions
|
|
46
|
-
|
|
47
|
-
You need to update the following packages to the following versions in your `package.json` file(s):
|
|
48
|
-
|
|
49
|
-
- `ai` package: `5.0.0`
|
|
50
|
-
- `@ai-sdk/provider` package: `2.0.0`
|
|
51
|
-
- `@ai-sdk/provider-utils` package: `3.0.0`
|
|
52
|
-
- `@ai-sdk/*` packages: `2.0.0` (other `@ai-sdk` packages)
|
|
53
|
-
|
|
54
|
-
Additionally, you need to update the following peer dependencies:
|
|
55
|
-
|
|
56
|
-
- `zod` package: `4.1.8` or later (recommended to avoid TypeScript performance issues)
|
|
57
|
-
|
|
58
|
-
An example upgrade command would be:
|
|
59
|
-
|
|
60
|
-
```
|
|
61
|
-
npm install ai @ai-sdk/react @ai-sdk/openai zod@^4.1.8
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
<Note>
|
|
65
|
-
If you encounter TypeScript performance issues after upgrading, ensure you're
|
|
66
|
-
using Zod 4.1.8 or later. If the issue persists, update your `tsconfig.json`
|
|
67
|
-
to use `moduleResolution: "nodenext"`. See the [TypeScript performance
|
|
68
|
-
troubleshooting guide](/docs/troubleshooting/typescript-performance-zod) for
|
|
69
|
-
more details.
|
|
70
|
-
</Note>
|
|
71
|
-
|
|
72
|
-
## Codemods
|
|
73
|
-
|
|
74
|
-
The AI SDK provides Codemod transformations to help upgrade your codebase when a
|
|
75
|
-
feature is deprecated, removed, or otherwise changed.
|
|
76
|
-
|
|
77
|
-
Codemods are transformations that run on your codebase automatically. They
|
|
78
|
-
allow you to easily apply many changes without having to manually go through
|
|
79
|
-
every file.
|
|
80
|
-
|
|
81
|
-
<Note>
|
|
82
|
-
Codemods are intended as a tool to help you with the upgrade process. They may
|
|
83
|
-
not cover all of the changes you need to make. You may need to make additional
|
|
84
|
-
changes manually.
|
|
85
|
-
</Note>
|
|
86
|
-
|
|
87
|
-
You can run all codemods provided as part of the 5.0 upgrade process by running
|
|
88
|
-
the following command from the root of your project:
|
|
89
|
-
|
|
90
|
-
```sh
|
|
91
|
-
npx @ai-sdk/codemod upgrade
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
To run only the v5 codemods (v4 → v5 migration):
|
|
95
|
-
|
|
96
|
-
```sh
|
|
97
|
-
npx @ai-sdk/codemod v5
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
Individual codemods can be run by specifying the name of the codemod:
|
|
101
|
-
|
|
102
|
-
```sh
|
|
103
|
-
npx @ai-sdk/codemod <codemod-name> <path>
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
For example, to run a specific v5 codemod:
|
|
107
|
-
|
|
108
|
-
```sh
|
|
109
|
-
npx @ai-sdk/codemod v5/rename-format-stream-part src/
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
See also the [table of codemods](#codemod-table). In addition, the latest set of
|
|
113
|
-
codemods can be found in the
|
|
114
|
-
[`@ai-sdk/codemod`](https://github.com/vercel/ai/tree/main/packages/codemod/src/codemods)
|
|
115
|
-
repository.
|
|
116
|
-
|
|
117
|
-
## AI SDK Core Changes
|
|
118
|
-
|
|
119
|
-
### generateText and streamText Changes
|
|
120
|
-
|
|
121
|
-
#### Maximum Output Tokens
|
|
122
|
-
|
|
123
|
-
The `maxTokens` parameter has been renamed to `maxOutputTokens` for clarity.
|
|
124
|
-
|
|
125
|
-
```tsx filename="AI SDK 4.0"
|
|
126
|
-
const result = await generateText({
|
|
127
|
-
model: __MODEL__,
|
|
128
|
-
maxTokens: 1024,
|
|
129
|
-
prompt: 'Hello, world!',
|
|
130
|
-
});
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
```tsx filename="AI SDK 5.0"
|
|
134
|
-
const result = await generateText({
|
|
135
|
-
model: __MODEL__,
|
|
136
|
-
maxOutputTokens: 1024,
|
|
137
|
-
prompt: 'Hello, world!',
|
|
138
|
-
});
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
### Message and Type System Changes
|
|
142
|
-
|
|
143
|
-
#### Core Type Renames
|
|
144
|
-
|
|
145
|
-
##### `CoreMessage` → `ModelMessage`
|
|
146
|
-
|
|
147
|
-
```tsx filename="AI SDK 4.0"
|
|
148
|
-
import { CoreMessage } from 'ai';
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
```tsx filename="AI SDK 5.0"
|
|
152
|
-
import { ModelMessage } from 'ai';
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
##### `Message` → `UIMessage`
|
|
156
|
-
|
|
157
|
-
```tsx filename="AI SDK 4.0"
|
|
158
|
-
import { Message, CreateMessage } from 'ai';
|
|
159
|
-
```
|
|
160
|
-
|
|
161
|
-
```tsx filename="AI SDK 5.0"
|
|
162
|
-
import { UIMessage, CreateUIMessage } from 'ai';
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
##### `convertToCoreMessages` → `convertToModelMessages`
|
|
166
|
-
|
|
167
|
-
```tsx filename="AI SDK 4.0"
|
|
168
|
-
import { convertToCoreMessages, streamText } from 'ai';
|
|
169
|
-
|
|
170
|
-
const result = await streamText({
|
|
171
|
-
model: __MODEL__,
|
|
172
|
-
messages: convertToCoreMessages(messages),
|
|
173
|
-
});
|
|
174
|
-
```
|
|
175
|
-
|
|
176
|
-
```tsx filename="AI SDK 5.0"
|
|
177
|
-
import { convertToModelMessages, streamText } from 'ai';
|
|
178
|
-
|
|
179
|
-
const result = await streamText({
|
|
180
|
-
model: __MODEL__,
|
|
181
|
-
messages: convertToModelMessages(messages),
|
|
182
|
-
});
|
|
183
|
-
```
|
|
184
|
-
|
|
185
|
-
<Note>
|
|
186
|
-
For more information about model messages, see the [Model Message
|
|
187
|
-
reference](/docs/reference/ai-sdk-core/model-message).
|
|
188
|
-
</Note>
|
|
189
|
-
|
|
190
|
-
### UIMessage Changes
|
|
191
|
-
|
|
192
|
-
#### Content → Parts Array
|
|
193
|
-
|
|
194
|
-
For `UIMessage`s (previously called `Message`), the `.content` property has been replaced with a `parts` array structure.
|
|
195
|
-
|
|
196
|
-
```tsx filename="AI SDK 4.0"
|
|
197
|
-
import { type Message } from 'ai'; // v4 Message type
|
|
198
|
-
|
|
199
|
-
// Messages (useChat) - had content property
|
|
200
|
-
const message: Message = {
|
|
201
|
-
id: '1',
|
|
202
|
-
role: 'user',
|
|
203
|
-
content: 'Bonjour!',
|
|
204
|
-
};
|
|
205
|
-
```
|
|
206
|
-
|
|
207
|
-
```tsx filename="AI SDK 5.0"
|
|
208
|
-
import { type UIMessage, type ModelMessage } from 'ai';
|
|
209
|
-
|
|
210
|
-
// UIMessages (useChat) - now use parts array
|
|
211
|
-
const uiMessage: UIMessage = {
|
|
212
|
-
id: '1',
|
|
213
|
-
role: 'user',
|
|
214
|
-
parts: [{ type: 'text', text: 'Bonjour!' }],
|
|
215
|
-
};
|
|
216
|
-
```
|
|
217
|
-
|
|
218
|
-
#### Data Role Removed
|
|
219
|
-
|
|
220
|
-
The `data` role has been removed from UI messages.
|
|
221
|
-
|
|
222
|
-
```tsx filename="AI SDK 4.0"
|
|
223
|
-
const message = {
|
|
224
|
-
role: 'data',
|
|
225
|
-
content: 'Some content',
|
|
226
|
-
data: { customField: 'value' },
|
|
227
|
-
};
|
|
228
|
-
```
|
|
229
|
-
|
|
230
|
-
```tsx filename="AI SDK 5.0"
|
|
231
|
-
// V5: Use UI message streams with custom data parts
|
|
232
|
-
const stream = createUIMessageStream({
|
|
233
|
-
execute({ writer }) {
|
|
234
|
-
// Write custom data instead of message annotations
|
|
235
|
-
writer.write({
|
|
236
|
-
type: 'data-custom',
|
|
237
|
-
id: 'custom-1',
|
|
238
|
-
data: { customField: 'value' },
|
|
239
|
-
});
|
|
240
|
-
},
|
|
241
|
-
});
|
|
242
|
-
```
|
|
243
|
-
|
|
244
|
-
#### UIMessage Reasoning Structure
|
|
245
|
-
|
|
246
|
-
The reasoning property on UI messages has been moved to parts.
|
|
247
|
-
|
|
248
|
-
```tsx filename="AI SDK 4.0"
|
|
249
|
-
const message: Message = {
|
|
250
|
-
role: 'assistant',
|
|
251
|
-
content: 'Hello',
|
|
252
|
-
reasoning: 'I will greet the user',
|
|
253
|
-
};
|
|
254
|
-
```
|
|
255
|
-
|
|
256
|
-
```tsx filename="AI SDK 5.0"
|
|
257
|
-
const message: UIMessage = {
|
|
258
|
-
role: 'assistant',
|
|
259
|
-
parts: [
|
|
260
|
-
{
|
|
261
|
-
type: 'reasoning',
|
|
262
|
-
text: 'I will greet the user',
|
|
263
|
-
},
|
|
264
|
-
{
|
|
265
|
-
type: 'text',
|
|
266
|
-
text: 'Hello',
|
|
267
|
-
},
|
|
268
|
-
],
|
|
269
|
-
};
|
|
270
|
-
```
|
|
271
|
-
|
|
272
|
-
#### Reasoning Part Property Rename
|
|
273
|
-
|
|
274
|
-
The `reasoning` property on reasoning UI parts has been renamed to `text`.
|
|
275
|
-
|
|
276
|
-
```tsx filename="AI SDK 4.0"
|
|
277
|
-
{
|
|
278
|
-
message.parts.map((part, index) => {
|
|
279
|
-
if (part.type === 'reasoning') {
|
|
280
|
-
return (
|
|
281
|
-
<div key={index} className="reasoning-display">
|
|
282
|
-
{part.reasoning}
|
|
283
|
-
</div>
|
|
284
|
-
);
|
|
285
|
-
}
|
|
286
|
-
});
|
|
287
|
-
}
|
|
288
|
-
```
|
|
289
|
-
|
|
290
|
-
```tsx filename="AI SDK 5.0"
|
|
291
|
-
{
|
|
292
|
-
message.parts.map((part, index) => {
|
|
293
|
-
if (part.type === 'reasoning') {
|
|
294
|
-
return (
|
|
295
|
-
<div key={index} className="reasoning-display">
|
|
296
|
-
{part.text}
|
|
297
|
-
</div>
|
|
298
|
-
);
|
|
299
|
-
}
|
|
300
|
-
});
|
|
301
|
-
}
|
|
302
|
-
```
|
|
303
|
-
|
|
304
|
-
### File Part Changes
|
|
305
|
-
|
|
306
|
-
File parts now use `.url` instead of `.data` and `.mimeType`.
|
|
307
|
-
|
|
308
|
-
```tsx filename="AI SDK 4.0"
|
|
309
|
-
{
|
|
310
|
-
messages.map(message => (
|
|
311
|
-
<div key={message.id}>
|
|
312
|
-
{message.parts.map((part, index) => {
|
|
313
|
-
if (part.type === 'text') {
|
|
314
|
-
return <div key={index}>{part.text}</div>;
|
|
315
|
-
} else if (part.type === 'file' && part.mimeType.startsWith('image/')) {
|
|
316
|
-
return (
|
|
317
|
-
<img
|
|
318
|
-
key={index}
|
|
319
|
-
src={`data:${part.mimeType};base64,${part.data}`}
|
|
320
|
-
/>
|
|
321
|
-
);
|
|
322
|
-
}
|
|
323
|
-
})}
|
|
324
|
-
</div>
|
|
325
|
-
));
|
|
326
|
-
}
|
|
327
|
-
```
|
|
328
|
-
|
|
329
|
-
```tsx filename="AI SDK 5.0"
|
|
330
|
-
{
|
|
331
|
-
messages.map(message => (
|
|
332
|
-
<div key={message.id}>
|
|
333
|
-
{message.parts.map((part, index) => {
|
|
334
|
-
if (part.type === 'text') {
|
|
335
|
-
return <div key={index}>{part.text}</div>;
|
|
336
|
-
} else if (
|
|
337
|
-
part.type === 'file' &&
|
|
338
|
-
part.mediaType.startsWith('image/')
|
|
339
|
-
) {
|
|
340
|
-
return <img key={index} src={part.url} />;
|
|
341
|
-
}
|
|
342
|
-
})}
|
|
343
|
-
</div>
|
|
344
|
-
));
|
|
345
|
-
}
|
|
346
|
-
```
|
|
347
|
-
|
|
348
|
-
### Stream Data Removal
|
|
349
|
-
|
|
350
|
-
The `StreamData` class has been completely removed and replaced with UI message streams for custom data.
|
|
351
|
-
|
|
352
|
-
```tsx filename="AI SDK 4.0"
|
|
353
|
-
import { StreamData } from 'ai';
|
|
354
|
-
|
|
355
|
-
const streamData = new StreamData();
|
|
356
|
-
streamData.append('custom-data');
|
|
357
|
-
streamData.close();
|
|
358
|
-
```
|
|
359
|
-
|
|
360
|
-
```tsx filename="AI SDK 5.0"
|
|
361
|
-
import { createUIMessageStream, createUIMessageStreamResponse } from 'ai';
|
|
362
|
-
|
|
363
|
-
const stream = createUIMessageStream({
|
|
364
|
-
execute({ writer }) {
|
|
365
|
-
// Write custom data parts
|
|
366
|
-
writer.write({
|
|
367
|
-
type: 'data-custom',
|
|
368
|
-
id: 'custom-1',
|
|
369
|
-
data: 'custom-data',
|
|
370
|
-
});
|
|
371
|
-
|
|
372
|
-
// Can merge with LLM streams
|
|
373
|
-
const result = streamText({
|
|
374
|
-
model: __MODEL__,
|
|
375
|
-
messages,
|
|
376
|
-
});
|
|
377
|
-
|
|
378
|
-
writer.merge(result.toUIMessageStream());
|
|
379
|
-
},
|
|
380
|
-
});
|
|
381
|
-
|
|
382
|
-
return createUIMessageStreamResponse({ stream });
|
|
383
|
-
```
|
|
384
|
-
|
|
385
|
-
### Custom Data Streaming: writeMessageAnnotation/writeData Removed
|
|
386
|
-
|
|
387
|
-
The `writeMessageAnnotation` and `writeData` methods from `DataStreamWriter` have been removed. Instead, use custom data parts with the new `UIMessage` stream architecture.
|
|
388
|
-
|
|
389
|
-
```tsx filename="AI SDK 4.0"
|
|
390
|
-
import { createDataStreamResponse, streamText } from 'ai';
|
|
391
|
-
|
|
392
|
-
export async function POST(req: Request) {
|
|
393
|
-
const { messages } = await req.json();
|
|
394
|
-
|
|
395
|
-
return createDataStreamResponse({
|
|
396
|
-
execute: dataStream => {
|
|
397
|
-
// Write general data
|
|
398
|
-
dataStream.writeData('call started');
|
|
399
|
-
|
|
400
|
-
const result = streamText({
|
|
401
|
-
model: __MODEL__,
|
|
402
|
-
messages,
|
|
403
|
-
onChunk() {
|
|
404
|
-
// Write message annotations
|
|
405
|
-
dataStream.writeMessageAnnotation({
|
|
406
|
-
status: 'streaming',
|
|
407
|
-
timestamp: Date.now(),
|
|
408
|
-
});
|
|
409
|
-
},
|
|
410
|
-
onFinish() {
|
|
411
|
-
// Write final annotations
|
|
412
|
-
dataStream.writeMessageAnnotation({
|
|
413
|
-
id: generateId(),
|
|
414
|
-
completed: true,
|
|
415
|
-
});
|
|
416
|
-
|
|
417
|
-
dataStream.writeData('call completed');
|
|
418
|
-
},
|
|
419
|
-
});
|
|
420
|
-
|
|
421
|
-
result.mergeIntoDataStream(dataStream);
|
|
422
|
-
},
|
|
423
|
-
});
|
|
424
|
-
}
|
|
425
|
-
```
|
|
426
|
-
|
|
427
|
-
```tsx filename="AI SDK 5.0"
|
|
428
|
-
import {
|
|
429
|
-
createUIMessageStream,
|
|
430
|
-
createUIMessageStreamResponse,
|
|
431
|
-
streamText,
|
|
432
|
-
generateId,
|
|
433
|
-
} from 'ai';
|
|
434
|
-
|
|
435
|
-
export async function POST(req: Request) {
|
|
436
|
-
const { messages } = await req.json();
|
|
437
|
-
|
|
438
|
-
const stream = createUIMessageStream({
|
|
439
|
-
execute: ({ writer }) => {
|
|
440
|
-
const statusId = generateId();
|
|
441
|
-
|
|
442
|
-
// Write general data (transient - not added to message history)
|
|
443
|
-
writer.write({
|
|
444
|
-
type: 'data-status',
|
|
445
|
-
id: statusId,
|
|
446
|
-
data: { status: 'call started' },
|
|
447
|
-
});
|
|
448
|
-
|
|
449
|
-
const result = streamText({
|
|
450
|
-
model: __MODEL__,
|
|
451
|
-
messages,
|
|
452
|
-
onChunk() {
|
|
453
|
-
// Write data parts that update during streaming
|
|
454
|
-
writer.write({
|
|
455
|
-
type: 'data-status',
|
|
456
|
-
id: statusId,
|
|
457
|
-
data: {
|
|
458
|
-
status: 'streaming',
|
|
459
|
-
timestamp: Date.now(),
|
|
460
|
-
},
|
|
461
|
-
});
|
|
462
|
-
},
|
|
463
|
-
onFinish() {
|
|
464
|
-
// Write final data parts
|
|
465
|
-
writer.write({
|
|
466
|
-
type: 'data-status',
|
|
467
|
-
id: statusId,
|
|
468
|
-
data: {
|
|
469
|
-
status: 'completed',
|
|
470
|
-
},
|
|
471
|
-
});
|
|
472
|
-
},
|
|
473
|
-
});
|
|
474
|
-
|
|
475
|
-
writer.merge(result.toUIMessageStream());
|
|
476
|
-
},
|
|
477
|
-
});
|
|
478
|
-
|
|
479
|
-
return createUIMessageStreamResponse({ stream });
|
|
480
|
-
}
|
|
481
|
-
```
|
|
482
|
-
|
|
483
|
-
<Note>
|
|
484
|
-
For more detailed information about streaming custom data in v5, see the
|
|
485
|
-
[Streaming Data guide](/docs/ai-sdk-ui/streaming-data).
|
|
486
|
-
</Note>
|
|
487
|
-
|
|
488
|
-
##### Provider Metadata → Provider Options
|
|
489
|
-
|
|
490
|
-
The `providerMetadata` input parameter has been renamed to `providerOptions`. Note that the returned metadata in results is still called `providerMetadata`.
|
|
491
|
-
|
|
492
|
-
```tsx filename="AI SDK 4.0"
|
|
493
|
-
const result = await generateText({
|
|
494
|
-
model: 'openai/gpt-5',
|
|
495
|
-
prompt: 'Hello',
|
|
496
|
-
providerMetadata: {
|
|
497
|
-
openai: { store: false },
|
|
498
|
-
},
|
|
499
|
-
});
|
|
500
|
-
```
|
|
501
|
-
|
|
502
|
-
```tsx filename="AI SDK 5.0"
|
|
503
|
-
const result = await generateText({
|
|
504
|
-
model: 'openai/gpt-5',
|
|
505
|
-
prompt: 'Hello',
|
|
506
|
-
providerOptions: {
|
|
507
|
-
// Input parameter renamed
|
|
508
|
-
openai: { store: false },
|
|
509
|
-
},
|
|
510
|
-
});
|
|
511
|
-
|
|
512
|
-
// Returned metadata still uses providerMetadata:
|
|
513
|
-
console.log(result.providerMetadata?.openai);
|
|
514
|
-
```
|
|
515
|
-
|
|
516
|
-
#### Tool Definition Changes (parameters → inputSchema)
|
|
517
|
-
|
|
518
|
-
Tool definitions have been updated to use `inputSchema` instead of `parameters` and error classes have been renamed.
|
|
519
|
-
|
|
520
|
-
```tsx filename="AI SDK 4.0"
|
|
521
|
-
import { tool } from 'ai';
|
|
522
|
-
|
|
523
|
-
const weatherTool = tool({
|
|
524
|
-
description: 'Get the weather for a city',
|
|
525
|
-
parameters: z.object({
|
|
526
|
-
city: z.string(),
|
|
527
|
-
}),
|
|
528
|
-
execute: async ({ city }) => {
|
|
529
|
-
return `Weather in ${city}`;
|
|
530
|
-
},
|
|
531
|
-
});
|
|
532
|
-
```
|
|
533
|
-
|
|
534
|
-
```tsx filename="AI SDK 5.0"
|
|
535
|
-
import { tool } from 'ai';
|
|
536
|
-
|
|
537
|
-
const weatherTool = tool({
|
|
538
|
-
description: 'Get the weather for a city',
|
|
539
|
-
inputSchema: z.object({
|
|
540
|
-
city: z.string(),
|
|
541
|
-
}),
|
|
542
|
-
execute: async ({ city }) => {
|
|
543
|
-
return `Weather in ${city}`;
|
|
544
|
-
},
|
|
545
|
-
});
|
|
546
|
-
```
|
|
547
|
-
|
|
548
|
-
#### Tool Result Content: experimental_toToolResultContent → toModelOutput
|
|
549
|
-
|
|
550
|
-
The `experimental_toToolResultContent` option has been renamed to `toModelOutput` and is no longer experimental.
|
|
551
|
-
|
|
552
|
-
```tsx filename="AI SDK 4.0"
|
|
553
|
-
const screenshotTool = tool({
|
|
554
|
-
description: 'Take a screenshot',
|
|
555
|
-
parameters: z.object({}),
|
|
556
|
-
execute: async () => {
|
|
557
|
-
const imageData = await takeScreenshot();
|
|
558
|
-
return imageData; // base64 string
|
|
559
|
-
},
|
|
560
|
-
experimental_toToolResultContent: result => [{ type: 'image', data: result }],
|
|
561
|
-
});
|
|
562
|
-
```
|
|
563
|
-
|
|
564
|
-
```tsx filename="AI SDK 5.0"
|
|
565
|
-
const screenshotTool = tool({
|
|
566
|
-
description: 'Take a screenshot',
|
|
567
|
-
inputSchema: z.object({}),
|
|
568
|
-
execute: async () => {
|
|
569
|
-
const imageData = await takeScreenshot();
|
|
570
|
-
return imageData;
|
|
571
|
-
},
|
|
572
|
-
toModelOutput: result => ({
|
|
573
|
-
type: 'content',
|
|
574
|
-
value: [{ type: 'media', mediaType: 'image/png', data: result }],
|
|
575
|
-
}),
|
|
576
|
-
});
|
|
577
|
-
```
|
|
578
|
-
|
|
579
|
-
### Tool Property Changes (args/result → input/output)
|
|
580
|
-
|
|
581
|
-
Tool call and result properties have been renamed for better consistency with schemas.
|
|
582
|
-
|
|
583
|
-
```tsx filename="AI SDK 4.0"
|
|
584
|
-
// Tool calls used "args" and "result"
|
|
585
|
-
for await (const part of result.fullStream) {
|
|
586
|
-
switch (part.type) {
|
|
587
|
-
case 'tool-call':
|
|
588
|
-
console.log('Tool args:', part.args);
|
|
589
|
-
break;
|
|
590
|
-
case 'tool-result':
|
|
591
|
-
console.log('Tool result:', part.result);
|
|
592
|
-
break;
|
|
593
|
-
}
|
|
594
|
-
}
|
|
595
|
-
```
|
|
596
|
-
|
|
597
|
-
```tsx filename="AI SDK 5.0"
|
|
598
|
-
// Tool calls now use "input" and "output"
|
|
599
|
-
for await (const part of result.fullStream) {
|
|
600
|
-
switch (part.type) {
|
|
601
|
-
case 'tool-call':
|
|
602
|
-
console.log('Tool input:', part.input);
|
|
603
|
-
break;
|
|
604
|
-
case 'tool-result':
|
|
605
|
-
console.log('Tool output:', part.output);
|
|
606
|
-
break;
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
```
|
|
610
|
-
|
|
611
|
-
### Tool Execution Error Handling
|
|
612
|
-
|
|
613
|
-
The `ToolExecutionError` class has been removed. Tool execution errors now appear as `tool-error` content parts in the result steps, enabling automated LLM roundtrips in multi-step scenarios.
|
|
614
|
-
|
|
615
|
-
```tsx filename="AI SDK 4.0"
|
|
616
|
-
import { ToolExecutionError } from 'ai';
|
|
617
|
-
|
|
618
|
-
try {
|
|
619
|
-
const result = await generateText({
|
|
620
|
-
// ...
|
|
621
|
-
});
|
|
622
|
-
} catch (error) {
|
|
623
|
-
if (error instanceof ToolExecutionError) {
|
|
624
|
-
console.log('Tool execution failed:', error.message);
|
|
625
|
-
console.log('Tool name:', error.toolName);
|
|
626
|
-
console.log('Tool input:', error.toolInput);
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
```
|
|
630
|
-
|
|
631
|
-
```tsx filename="AI SDK 5.0"
|
|
632
|
-
// Tool execution errors now appear in result steps
|
|
633
|
-
const { steps } = await generateText({
|
|
634
|
-
// ...
|
|
635
|
-
});
|
|
636
|
-
|
|
637
|
-
// check for tool errors in the steps
|
|
638
|
-
const toolErrors = steps.flatMap(step =>
|
|
639
|
-
step.content.filter(part => part.type === 'tool-error'),
|
|
640
|
-
);
|
|
641
|
-
|
|
642
|
-
toolErrors.forEach(toolError => {
|
|
643
|
-
console.log('Tool error:', toolError.error);
|
|
644
|
-
console.log('Tool name:', toolError.toolName);
|
|
645
|
-
console.log('Tool input:', toolError.input);
|
|
646
|
-
});
|
|
647
|
-
```
|
|
648
|
-
|
|
649
|
-
For streaming scenarios, tool execution errors appear as `tool-error` parts in the stream, while other errors appear as `error` parts.
|
|
650
|
-
|
|
651
|
-
### Tool Call Streaming Now Default (toolCallStreaming Removed)
|
|
652
|
-
|
|
653
|
-
The `toolCallStreaming` option has been removed in AI SDK 5.0. Tool call streaming is now always enabled by default.
|
|
654
|
-
|
|
655
|
-
```tsx filename="AI SDK 4.0"
|
|
656
|
-
const result = streamText({
|
|
657
|
-
model: __MODEL__,
|
|
658
|
-
messages,
|
|
659
|
-
toolCallStreaming: true, // Optional parameter to enable streaming
|
|
660
|
-
tools: {
|
|
661
|
-
weatherTool,
|
|
662
|
-
searchTool,
|
|
663
|
-
},
|
|
664
|
-
});
|
|
665
|
-
```
|
|
666
|
-
|
|
667
|
-
```tsx filename="AI SDK 5.0"
|
|
668
|
-
const result = streamText({
|
|
669
|
-
model: __MODEL__,
|
|
670
|
-
messages: convertToModelMessages(messages),
|
|
671
|
-
// toolCallStreaming removed - streaming is always enabled
|
|
672
|
-
tools: {
|
|
673
|
-
weatherTool,
|
|
674
|
-
searchTool,
|
|
675
|
-
},
|
|
676
|
-
});
|
|
677
|
-
```
|
|
678
|
-
|
|
679
|
-
### Tool Part Type Changes (UIMessage)
|
|
680
|
-
|
|
681
|
-
In v5, UI tool parts use typed naming: `tool-${toolName}` instead of generic types.
|
|
682
|
-
|
|
683
|
-
```tsx filename="AI SDK 4.0"
|
|
684
|
-
// Generic tool-invocation type
|
|
685
|
-
{
|
|
686
|
-
message.parts.map(part => {
|
|
687
|
-
if (part.type === 'tool-invocation') {
|
|
688
|
-
return <div>{part.toolInvocation.toolName}</div>;
|
|
689
|
-
}
|
|
690
|
-
});
|
|
691
|
-
}
|
|
692
|
-
```
|
|
693
|
-
|
|
694
|
-
```tsx filename="AI SDK 5.0"
|
|
695
|
-
// Type-safe tool parts with specific names
|
|
696
|
-
{
|
|
697
|
-
message.parts.map(part => {
|
|
698
|
-
switch (part.type) {
|
|
699
|
-
case 'tool-getWeatherInformation':
|
|
700
|
-
return <div>Getting weather...</div>;
|
|
701
|
-
case 'tool-askForConfirmation':
|
|
702
|
-
return <div>Asking for confirmation...</div>;
|
|
703
|
-
}
|
|
704
|
-
});
|
|
705
|
-
}
|
|
706
|
-
```
|
|
707
|
-
|
|
708
|
-
### Dynamic Tools Support
|
|
709
|
-
|
|
710
|
-
AI SDK 5.0 introduces dynamic tools for handling tools with unknown types at development time, such as MCP tools without schemas or user-defined functions at runtime.
|
|
711
|
-
|
|
712
|
-
#### New dynamicTool Helper
|
|
713
|
-
|
|
714
|
-
The new `dynamicTool` helper function allows you to define tools where the input and output types are not known at compile time.
|
|
715
|
-
|
|
716
|
-
```tsx filename="AI SDK 5.0"
|
|
717
|
-
import { dynamicTool } from 'ai';
|
|
718
|
-
import { z } from 'zod';
|
|
719
|
-
|
|
720
|
-
// Define a dynamic tool
|
|
721
|
-
const runtimeTool = dynamicTool({
|
|
722
|
-
description: 'A tool defined at runtime',
|
|
723
|
-
inputSchema: z.object({}),
|
|
724
|
-
execute: async input => {
|
|
725
|
-
// Input and output are typed as 'unknown'
|
|
726
|
-
return { result: `Processed: ${input.query}` };
|
|
727
|
-
},
|
|
728
|
-
});
|
|
729
|
-
```
|
|
730
|
-
|
|
731
|
-
#### MCP Tools Without Schemas
|
|
732
|
-
|
|
733
|
-
MCP tools that don't provide schemas are now automatically treated as dynamic tools:
|
|
734
|
-
|
|
735
|
-
```tsx filename="AI SDK 5.0"
|
|
736
|
-
import { MCPClient } from 'ai';
|
|
737
|
-
|
|
738
|
-
const client = new MCPClient({
|
|
739
|
-
/* ... */
|
|
740
|
-
});
|
|
741
|
-
const tools = await client.getTools();
|
|
742
|
-
|
|
743
|
-
// Tools without schemas are now 'dynamic' type
|
|
744
|
-
// and won't break type inference when mixed with static tools
|
|
745
|
-
```
|
|
746
|
-
|
|
747
|
-
#### Type-Safe Handling with Mixed Tools
|
|
748
|
-
|
|
749
|
-
When using both static and dynamic tools together, use the `dynamic` flag for type narrowing:
|
|
750
|
-
|
|
751
|
-
```tsx filename="AI SDK 5.0"
|
|
752
|
-
const result = await generateText({
|
|
753
|
-
model: __MODEL__,
|
|
754
|
-
tools: {
|
|
755
|
-
// Static tool with known types
|
|
756
|
-
weather: weatherTool,
|
|
757
|
-
// Dynamic tool with unknown types
|
|
758
|
-
customDynamicTool: dynamicTool({
|
|
759
|
-
/* ... */
|
|
760
|
-
}),
|
|
761
|
-
},
|
|
762
|
-
onStepFinish: step => {
|
|
763
|
-
// Handle tool calls with type safety
|
|
764
|
-
for (const toolCall of step.toolCalls) {
|
|
765
|
-
if (toolCall.dynamic) {
|
|
766
|
-
// Dynamic tool: input/output are 'unknown'
|
|
767
|
-
console.log('Dynamic tool called:', toolCall.toolName);
|
|
768
|
-
continue;
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
// Static tools have full type inference
|
|
772
|
-
switch (toolCall.toolName) {
|
|
773
|
-
case 'weather':
|
|
774
|
-
// TypeScript knows the exact types
|
|
775
|
-
console.log(toolCall.input.location); // string
|
|
776
|
-
break;
|
|
777
|
-
}
|
|
778
|
-
}
|
|
779
|
-
},
|
|
780
|
-
});
|
|
781
|
-
```
|
|
782
|
-
|
|
783
|
-
#### New dynamic-tool UI Part
|
|
784
|
-
|
|
785
|
-
UI messages now include a `dynamic-tool` part type for rendering dynamic tool invocations:
|
|
786
|
-
|
|
787
|
-
```tsx filename="AI SDK 5.0"
|
|
788
|
-
{
|
|
789
|
-
message.parts.map((part, index) => {
|
|
790
|
-
switch (part.type) {
|
|
791
|
-
// Static tools use specific types
|
|
792
|
-
case 'tool-weather':
|
|
793
|
-
return <div>Weather: {part.input.city}</div>;
|
|
794
|
-
|
|
795
|
-
// Dynamic tools use the generic dynamic-tool type
|
|
796
|
-
case 'dynamic-tool':
|
|
797
|
-
return (
|
|
798
|
-
<div>
|
|
799
|
-
Dynamic tool: {part.toolName}
|
|
800
|
-
<pre>{JSON.stringify(part.input, null, 2)}</pre>
|
|
801
|
-
</div>
|
|
802
|
-
);
|
|
803
|
-
}
|
|
804
|
-
});
|
|
805
|
-
}
|
|
806
|
-
```
|
|
807
|
-
|
|
808
|
-
#### Breaking Change: Type Narrowing Required for Tool Calls and Results
|
|
809
|
-
|
|
810
|
-
When iterating over `toolCalls` and `toolResults`, you now need to check the `dynamic` flag first for proper type narrowing:
|
|
811
|
-
|
|
812
|
-
```tsx filename="AI SDK 4.0"
|
|
813
|
-
// Direct type checking worked without dynamic flag
|
|
814
|
-
onStepFinish: step => {
|
|
815
|
-
for (const toolCall of step.toolCalls) {
|
|
816
|
-
switch (toolCall.toolName) {
|
|
817
|
-
case 'weather':
|
|
818
|
-
console.log(toolCall.input.location); // typed as string
|
|
819
|
-
break;
|
|
820
|
-
case 'search':
|
|
821
|
-
console.log(toolCall.input.query); // typed as string
|
|
822
|
-
break;
|
|
823
|
-
}
|
|
824
|
-
}
|
|
825
|
-
};
|
|
826
|
-
```
|
|
827
|
-
|
|
828
|
-
```tsx filename="AI SDK 5.0"
|
|
829
|
-
// Must check dynamic flag first for type narrowing
|
|
830
|
-
onStepFinish: step => {
|
|
831
|
-
for (const toolCall of step.toolCalls) {
|
|
832
|
-
// Check if it's a dynamic tool first
|
|
833
|
-
if (toolCall.dynamic) {
|
|
834
|
-
console.log('Dynamic tool:', toolCall.toolName);
|
|
835
|
-
console.log('Input:', toolCall.input); // typed as unknown
|
|
836
|
-
continue;
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
// Now TypeScript knows it's a static tool
|
|
840
|
-
switch (toolCall.toolName) {
|
|
841
|
-
case 'weather':
|
|
842
|
-
console.log(toolCall.input.location); // typed as string
|
|
843
|
-
break;
|
|
844
|
-
case 'search':
|
|
845
|
-
console.log(toolCall.input.query); // typed as string
|
|
846
|
-
break;
|
|
847
|
-
}
|
|
848
|
-
}
|
|
849
|
-
};
|
|
850
|
-
```
|
|
851
|
-
|
|
852
|
-
### Tool UI Part State Changes
|
|
853
|
-
|
|
854
|
-
Tool UI parts now use more granular states that better represent the streaming lifecycle and error handling.
|
|
855
|
-
|
|
856
|
-
```tsx filename="AI SDK 4.0"
|
|
857
|
-
// Old states
|
|
858
|
-
{
|
|
859
|
-
message.parts.map(part => {
|
|
860
|
-
if (part.type === 'tool-invocation') {
|
|
861
|
-
switch (part.toolInvocation.state) {
|
|
862
|
-
case 'partial-call':
|
|
863
|
-
return <div>Loading...</div>;
|
|
864
|
-
case 'call':
|
|
865
|
-
return (
|
|
866
|
-
<div>
|
|
867
|
-
Tool called with {JSON.stringify(part.toolInvocation.args)}
|
|
868
|
-
</div>
|
|
869
|
-
);
|
|
870
|
-
case 'result':
|
|
871
|
-
return <div>Result: {part.toolInvocation.result}</div>;
|
|
872
|
-
}
|
|
873
|
-
}
|
|
874
|
-
});
|
|
875
|
-
}
|
|
876
|
-
```
|
|
877
|
-
|
|
878
|
-
```tsx filename="AI SDK 5.0"
|
|
879
|
-
// New granular states
|
|
880
|
-
{
|
|
881
|
-
message.parts.map(part => {
|
|
882
|
-
switch (part.type) {
|
|
883
|
-
case 'tool-getWeatherInformation':
|
|
884
|
-
switch (part.state) {
|
|
885
|
-
case 'input-streaming':
|
|
886
|
-
return <pre>{JSON.stringify(part.input, null, 2)}</pre>;
|
|
887
|
-
case 'input-available':
|
|
888
|
-
return <div>Getting weather for {part.input.city}...</div>;
|
|
889
|
-
case 'output-available':
|
|
890
|
-
return <div>Weather: {part.output}</div>;
|
|
891
|
-
case 'output-error':
|
|
892
|
-
return <div>Error: {part.errorText}</div>;
|
|
893
|
-
}
|
|
894
|
-
}
|
|
895
|
-
});
|
|
896
|
-
}
|
|
897
|
-
```
|
|
898
|
-
|
|
899
|
-
**State Changes:**
|
|
900
|
-
|
|
901
|
-
- `partial-call` → `input-streaming` (tool input being streamed)
|
|
902
|
-
- `call` → `input-available` (tool input complete, ready to execute)
|
|
903
|
-
- `result` → `output-available` (tool execution successful)
|
|
904
|
-
- New: `output-error` (tool execution failed)
|
|
905
|
-
|
|
906
|
-
#### Rendering Tool Invocations (Catch-All Pattern)
|
|
907
|
-
|
|
908
|
-
In v4, you typically rendered tool invocations using a catch-all `tool-invocation` type. In v5, the **recommended approach is to handle each tool specifically using its typed part name (e.g., `tool-getWeather`)**. However, if you need a catch-all pattern for rendering all tool invocations the same way, you can use the `isToolUIPart` and `getToolName` helper functions as a fallback.
|
|
909
|
-
|
|
910
|
-
```tsx filename="AI SDK 4.0"
|
|
911
|
-
{
|
|
912
|
-
message.parts.map((part, index) => {
|
|
913
|
-
switch (part.type) {
|
|
914
|
-
case 'text':
|
|
915
|
-
return <div key={index}>{part.text}</div>;
|
|
916
|
-
case 'tool-invocation':
|
|
917
|
-
const { toolInvocation } = part;
|
|
918
|
-
return (
|
|
919
|
-
<details key={`tool-${toolInvocation.toolCallId}`}>
|
|
920
|
-
<summary>
|
|
921
|
-
<span>{toolInvocation.toolName}</span>
|
|
922
|
-
{toolInvocation.state === 'result' ? (
|
|
923
|
-
<span>Click to expand</span>
|
|
924
|
-
) : (
|
|
925
|
-
<span>calling...</span>
|
|
926
|
-
)}
|
|
927
|
-
</summary>
|
|
928
|
-
{toolInvocation.state === 'result' ? (
|
|
929
|
-
<div>
|
|
930
|
-
<pre>{JSON.stringify(toolInvocation.result, null, 2)}</pre>
|
|
931
|
-
</div>
|
|
932
|
-
) : null}
|
|
933
|
-
</details>
|
|
934
|
-
);
|
|
935
|
-
}
|
|
936
|
-
});
|
|
937
|
-
}
|
|
938
|
-
```
|
|
939
|
-
|
|
940
|
-
```tsx filename="AI SDK 5.0"
|
|
941
|
-
import { isToolUIPart, getToolName } from 'ai';
|
|
942
|
-
|
|
943
|
-
{
|
|
944
|
-
message.parts.map((part, index) => {
|
|
945
|
-
switch (part.type) {
|
|
946
|
-
case 'text':
|
|
947
|
-
return <div key={index}>{part.text}</div>;
|
|
948
|
-
default:
|
|
949
|
-
if (isToolUIPart(part)) {
|
|
950
|
-
const toolInvocation = part;
|
|
951
|
-
return (
|
|
952
|
-
<details key={`tool-${toolInvocation.toolCallId}`}>
|
|
953
|
-
<summary>
|
|
954
|
-
<span>{getToolName(toolInvocation)}</span>
|
|
955
|
-
{toolInvocation.state === 'output-available' ? (
|
|
956
|
-
<span>Click to expand</span>
|
|
957
|
-
) : (
|
|
958
|
-
<span>calling...</span>
|
|
959
|
-
)}
|
|
960
|
-
</summary>
|
|
961
|
-
{toolInvocation.state === 'output-available' ? (
|
|
962
|
-
<div>
|
|
963
|
-
<pre>{JSON.stringify(toolInvocation.output, null, 2)}</pre>
|
|
964
|
-
</div>
|
|
965
|
-
) : null}
|
|
966
|
-
</details>
|
|
967
|
-
);
|
|
968
|
-
}
|
|
969
|
-
}
|
|
970
|
-
});
|
|
971
|
-
}
|
|
972
|
-
```
|
|
973
|
-
|
|
974
|
-
#### Media Type Standardization
|
|
975
|
-
|
|
976
|
-
`mimeType` has been renamed to `mediaType` for consistency. Both image and file types are supported in model messages.
|
|
977
|
-
|
|
978
|
-
```tsx filename="AI SDK 4.0"
|
|
979
|
-
const result = await generateText({
|
|
980
|
-
model: someModel,
|
|
981
|
-
messages: [
|
|
982
|
-
{
|
|
983
|
-
role: 'user',
|
|
984
|
-
content: [
|
|
985
|
-
{ type: 'text', text: 'What do you see?' },
|
|
986
|
-
{
|
|
987
|
-
type: 'image',
|
|
988
|
-
image: new Uint8Array([0, 1, 2, 3]),
|
|
989
|
-
mimeType: 'image/png',
|
|
990
|
-
},
|
|
991
|
-
{
|
|
992
|
-
type: 'file',
|
|
993
|
-
data: contents,
|
|
994
|
-
mimeType: 'application/pdf',
|
|
995
|
-
},
|
|
996
|
-
],
|
|
997
|
-
},
|
|
998
|
-
],
|
|
999
|
-
});
|
|
1000
|
-
```
|
|
1001
|
-
|
|
1002
|
-
```tsx filename="AI SDK 5.0"
|
|
1003
|
-
const result = await generateText({
|
|
1004
|
-
model: someModel,
|
|
1005
|
-
messages: [
|
|
1006
|
-
{
|
|
1007
|
-
role: 'user',
|
|
1008
|
-
content: [
|
|
1009
|
-
{ type: 'text', text: 'What do you see?' },
|
|
1010
|
-
{
|
|
1011
|
-
type: 'image',
|
|
1012
|
-
image: new Uint8Array([0, 1, 2, 3]),
|
|
1013
|
-
mediaType: 'image/png',
|
|
1014
|
-
},
|
|
1015
|
-
{
|
|
1016
|
-
type: 'file',
|
|
1017
|
-
data: contents,
|
|
1018
|
-
mediaType: 'application/pdf',
|
|
1019
|
-
},
|
|
1020
|
-
],
|
|
1021
|
-
},
|
|
1022
|
-
],
|
|
1023
|
-
});
|
|
1024
|
-
```
|
|
1025
|
-
|
|
1026
|
-
### Reasoning Support
|
|
1027
|
-
|
|
1028
|
-
#### Reasoning Text Property Rename
|
|
1029
|
-
|
|
1030
|
-
The `.reasoning` property has been renamed to `.reasoningText` for multi-step generations.
|
|
1031
|
-
|
|
1032
|
-
```tsx filename="AI SDK 4.0"
|
|
1033
|
-
for (const step of steps) {
|
|
1034
|
-
console.log(step.reasoning);
|
|
1035
|
-
}
|
|
1036
|
-
```
|
|
1037
|
-
|
|
1038
|
-
```tsx filename="AI SDK 5.0"
|
|
1039
|
-
for (const step of steps) {
|
|
1040
|
-
console.log(step.reasoningText);
|
|
1041
|
-
}
|
|
1042
|
-
```
|
|
1043
|
-
|
|
1044
|
-
#### Generate Text Reasoning Property Changes
|
|
1045
|
-
|
|
1046
|
-
In `generateText()` and `streamText()` results, reasoning properties have been renamed.
|
|
1047
|
-
|
|
1048
|
-
```tsx filename="AI SDK 4.0"
|
|
1049
|
-
const result = await generateText({
|
|
1050
|
-
model: anthropic('claude-sonnet-4-20250514'),
|
|
1051
|
-
prompt: 'Explain your reasoning',
|
|
1052
|
-
});
|
|
1053
|
-
|
|
1054
|
-
console.log(result.reasoning); // String reasoning text
|
|
1055
|
-
console.log(result.reasoningDetails); // Array of reasoning details
|
|
1056
|
-
```
|
|
1057
|
-
|
|
1058
|
-
```tsx filename="AI SDK 5.0"
|
|
1059
|
-
const result = await generateText({
|
|
1060
|
-
model: anthropic('claude-sonnet-4-20250514'),
|
|
1061
|
-
prompt: 'Explain your reasoning',
|
|
1062
|
-
});
|
|
1063
|
-
|
|
1064
|
-
console.log(result.reasoningText); // String reasoning text
|
|
1065
|
-
console.log(result.reasoning); // Array of reasoning details
|
|
1066
|
-
```
|
|
1067
|
-
|
|
1068
|
-
### Continuation Steps Removal
|
|
1069
|
-
|
|
1070
|
-
The `experimental_continueSteps` option has been removed from `generateText()`.
|
|
1071
|
-
|
|
1072
|
-
```tsx filename="AI SDK 4.0"
|
|
1073
|
-
const result = await generateText({
|
|
1074
|
-
experimental_continueSteps: true,
|
|
1075
|
-
// ...
|
|
1076
|
-
});
|
|
1077
|
-
```
|
|
1078
|
-
|
|
1079
|
-
```tsx filename="AI SDK 5.0"
|
|
1080
|
-
const result = await generateText({
|
|
1081
|
-
// experimental_continueSteps has been removed
|
|
1082
|
-
// Use newer models with higher output token limits instead
|
|
1083
|
-
// ...
|
|
1084
|
-
});
|
|
1085
|
-
```
|
|
1086
|
-
|
|
1087
|
-
### Image Generation Changes
|
|
1088
|
-
|
|
1089
|
-
Image model settings have been moved to `providerOptions`.
|
|
1090
|
-
|
|
1091
|
-
```tsx filename="AI SDK 4.0"
|
|
1092
|
-
await generateImage({
|
|
1093
|
-
model: luma.image('photon-flash-1', {
|
|
1094
|
-
maxImagesPerCall: 5,
|
|
1095
|
-
pollIntervalMillis: 500,
|
|
1096
|
-
}),
|
|
1097
|
-
prompt,
|
|
1098
|
-
n: 10,
|
|
1099
|
-
});
|
|
1100
|
-
```
|
|
1101
|
-
|
|
1102
|
-
```tsx filename="AI SDK 5.0"
|
|
1103
|
-
await generateImage({
|
|
1104
|
-
model: luma.image('photon-flash-1'),
|
|
1105
|
-
prompt,
|
|
1106
|
-
n: 10,
|
|
1107
|
-
maxImagesPerCall: 5,
|
|
1108
|
-
providerOptions: {
|
|
1109
|
-
luma: { pollIntervalMillis: 500 },
|
|
1110
|
-
},
|
|
1111
|
-
});
|
|
1112
|
-
```
|
|
1113
|
-
|
|
1114
|
-
### Step Result Changes
|
|
1115
|
-
|
|
1116
|
-
#### Step Type Removal
|
|
1117
|
-
|
|
1118
|
-
The `stepType` property has been removed from step results.
|
|
1119
|
-
|
|
1120
|
-
```tsx filename="AI SDK 4.0"
|
|
1121
|
-
steps.forEach(step => {
|
|
1122
|
-
switch (step.stepType) {
|
|
1123
|
-
case 'initial':
|
|
1124
|
-
console.log('Initial step');
|
|
1125
|
-
break;
|
|
1126
|
-
case 'tool-result':
|
|
1127
|
-
console.log('Tool result step');
|
|
1128
|
-
break;
|
|
1129
|
-
case 'done':
|
|
1130
|
-
console.log('Final step');
|
|
1131
|
-
break;
|
|
1132
|
-
}
|
|
1133
|
-
});
|
|
1134
|
-
```
|
|
1135
|
-
|
|
1136
|
-
```tsx filename="AI SDK 5.0"
|
|
1137
|
-
steps.forEach((step, index) => {
|
|
1138
|
-
if (index === 0) {
|
|
1139
|
-
console.log('Initial step');
|
|
1140
|
-
} else if (step.toolResults.length > 0) {
|
|
1141
|
-
console.log('Tool result step');
|
|
1142
|
-
} else {
|
|
1143
|
-
console.log('Final step');
|
|
1144
|
-
}
|
|
1145
|
-
});
|
|
1146
|
-
```
|
|
1147
|
-
|
|
1148
|
-
### Step Control: maxSteps → stopWhen
|
|
1149
|
-
|
|
1150
|
-
For core functions like `generateText` and `streamText`, the `maxSteps` parameter has been replaced with `stopWhen`, which provides more flexible control over multi-step execution. The `stopWhen` parameter defines conditions for stopping the generation **when the last step contains tool results**. When multiple conditions are provided as an array, the generation stops if any condition is met.
|
|
1151
|
-
|
|
1152
|
-
```tsx filename="AI SDK 4.0"
|
|
1153
|
-
// V4: Simple numeric limit
|
|
1154
|
-
const result = await generateText({
|
|
1155
|
-
model: __MODEL__,
|
|
1156
|
-
messages,
|
|
1157
|
-
maxSteps: 5, // Stop after a maximum of 5 steps
|
|
1158
|
-
});
|
|
1159
|
-
|
|
1160
|
-
// useChat with maxSteps
|
|
1161
|
-
const { messages } = useChat({
|
|
1162
|
-
maxSteps: 3, // Stop after a maximum of 3 steps
|
|
1163
|
-
});
|
|
1164
|
-
```
|
|
1165
|
-
|
|
1166
|
-
```tsx filename="AI SDK 5.0"
|
|
1167
|
-
import { stepCountIs, hasToolCall } from 'ai';
|
|
1168
|
-
|
|
1169
|
-
// V5: Server-side - flexible stopping conditions with stopWhen
|
|
1170
|
-
const result = await generateText({
|
|
1171
|
-
model: __MODEL__,
|
|
1172
|
-
messages,
|
|
1173
|
-
// Only triggers when last step has tool results
|
|
1174
|
-
stopWhen: stepCountIs(5), // Stop at step 5 if tools were called
|
|
1175
|
-
});
|
|
1176
|
-
|
|
1177
|
-
// Server-side - stop when specific tool is called
|
|
1178
|
-
const result = await generateText({
|
|
1179
|
-
model: __MODEL__,
|
|
1180
|
-
messages,
|
|
1181
|
-
stopWhen: hasToolCall('finalizeTask'), // Stop when finalizeTask tool is called
|
|
1182
|
-
});
|
|
1183
|
-
```
|
|
1184
|
-
|
|
1185
|
-
**Common stopping patterns:**
|
|
1186
|
-
|
|
1187
|
-
```tsx filename="AI SDK 5.0"
|
|
1188
|
-
// Stop after N steps (equivalent to old maxSteps)
|
|
1189
|
-
// Note: Only applies when the last step has tool results
|
|
1190
|
-
stopWhen: stepCountIs(5);
|
|
1191
|
-
|
|
1192
|
-
// Stop when specific tool is called
|
|
1193
|
-
stopWhen: hasToolCall('finalizeTask');
|
|
1194
|
-
|
|
1195
|
-
// Multiple conditions (stops if ANY condition is met)
|
|
1196
|
-
stopWhen: [
|
|
1197
|
-
stepCountIs(10), // Maximum 10 steps
|
|
1198
|
-
hasToolCall('submitOrder'), // Or when order is submitted
|
|
1199
|
-
];
|
|
1200
|
-
|
|
1201
|
-
// Custom condition based on step content
|
|
1202
|
-
stopWhen: ({ steps }) => {
|
|
1203
|
-
const lastStep = steps[steps.length - 1];
|
|
1204
|
-
// Custom logic - only triggers if last step has tool results
|
|
1205
|
-
return lastStep?.text?.includes('COMPLETE');
|
|
1206
|
-
};
|
|
1207
|
-
```
|
|
1208
|
-
|
|
1209
|
-
**Important:** The `stopWhen` conditions are only evaluated when the last step contains tool results.
|
|
1210
|
-
|
|
1211
|
-
#### Usage vs Total Usage
|
|
1212
|
-
|
|
1213
|
-
Usage properties now distinguish between single step and total usage.
|
|
1214
|
-
|
|
1215
|
-
```tsx filename="AI SDK 4.0"
|
|
1216
|
-
// usage contained total token usage across all steps
|
|
1217
|
-
console.log(result.usage);
|
|
1218
|
-
```
|
|
1219
|
-
|
|
1220
|
-
```tsx filename="AI SDK 5.0"
|
|
1221
|
-
// usage contains token usage from the final step only
|
|
1222
|
-
console.log(result.usage);
|
|
1223
|
-
// totalUsage contains total token usage across all steps
|
|
1224
|
-
console.log(result.totalUsage);
|
|
1225
|
-
```
|
|
1226
|
-
|
|
1227
|
-
## AI SDK UI Changes
|
|
1228
|
-
|
|
1229
|
-
### Package Structure Changes
|
|
1230
|
-
|
|
1231
|
-
### `@ai-sdk/rsc` Package Extraction
|
|
1232
|
-
|
|
1233
|
-
The `ai/rsc` export has been extracted to a separate package `@ai-sdk/rsc`.
|
|
1234
|
-
|
|
1235
|
-
```tsx filename="AI SDK 4.0"
|
|
1236
|
-
import { createStreamableValue } from 'ai/rsc';
|
|
1237
|
-
```
|
|
1238
|
-
|
|
1239
|
-
```tsx filename="AI SDK 5.0"
|
|
1240
|
-
import { createStreamableValue } from '@ai-sdk/rsc';
|
|
1241
|
-
```
|
|
1242
|
-
|
|
1243
|
-
<Note>Don't forget to install the new package: `npm install @ai-sdk/rsc`</Note>
|
|
1244
|
-
|
|
1245
|
-
### React UI Hooks Moved to `@ai-sdk/react`
|
|
1246
|
-
|
|
1247
|
-
The deprecated `ai/react` export has been removed in favor of `@ai-sdk/react`.
|
|
1248
|
-
|
|
1249
|
-
```tsx filename="AI SDK 4.0"
|
|
1250
|
-
import { useChat } from 'ai/react';
|
|
1251
|
-
```
|
|
1252
|
-
|
|
1253
|
-
```tsx filename="AI SDK 5.0"
|
|
1254
|
-
import { useChat } from '@ai-sdk/react';
|
|
1255
|
-
```
|
|
1256
|
-
|
|
1257
|
-
<Note>
|
|
1258
|
-
Don't forget to install the new package: `npm install @ai-sdk/react`
|
|
1259
|
-
</Note>
|
|
1260
|
-
|
|
1261
|
-
### useChat Changes
|
|
1262
|
-
|
|
1263
|
-
The `useChat` hook has undergone significant changes in v5, with new transport architecture, removal of managed input state, and more.
|
|
1264
|
-
|
|
1265
|
-
#### maxSteps Removal
|
|
1266
|
-
|
|
1267
|
-
The `maxSteps` parameter has been removed from `useChat`. You should now use server-side `stopWhen` conditions for multi-step tool execution control, and manually submit tool results and trigger new messages for client-side tool calls.
|
|
1268
|
-
|
|
1269
|
-
```tsx filename="AI SDK 4.0"
|
|
1270
|
-
const { messages, sendMessage } = useChat({
|
|
1271
|
-
maxSteps: 5, // Automatic tool result submission
|
|
1272
|
-
});
|
|
1273
|
-
```
|
|
1274
|
-
|
|
1275
|
-
```tsx filename="AI SDK 5.0"
|
|
1276
|
-
// Server-side: Use stopWhen for multi-step control
|
|
1277
|
-
import { streamText, convertToModelMessages, stepCountIs } from 'ai';
|
|
1278
|
-
__PROVIDER_IMPORT__;
|
|
1279
|
-
|
|
1280
|
-
const result = await streamText({
|
|
1281
|
-
model: __MODEL__,
|
|
1282
|
-
messages: convertToModelMessages(messages),
|
|
1283
|
-
stopWhen: stepCountIs(5), // Stop after 5 steps with tool calls
|
|
1284
|
-
});
|
|
1285
|
-
|
|
1286
|
-
// Client-side: Configure automatic submission
|
|
1287
|
-
import { useChat } from '@ai-sdk/react';
|
|
1288
|
-
import {
|
|
1289
|
-
DefaultChatTransport,
|
|
1290
|
-
lastAssistantMessageIsCompleteWithToolCalls,
|
|
1291
|
-
} from 'ai';
|
|
1292
|
-
|
|
1293
|
-
const { messages, sendMessage, addToolOutput } = useChat({
|
|
1294
|
-
// Automatically submit when all tool results are available
|
|
1295
|
-
sendAutomaticallyWhen: lastAssistantMessageIsCompleteWithToolCalls,
|
|
1296
|
-
|
|
1297
|
-
async onToolCall({ toolCall }) {
|
|
1298
|
-
const result = await executeToolCall(toolCall);
|
|
1299
|
-
|
|
1300
|
-
// Important: Don't await addToolOutput inside onToolCall to avoid deadlocks
|
|
1301
|
-
addToolOutput({
|
|
1302
|
-
tool: toolCall.toolName,
|
|
1303
|
-
toolCallId: toolCall.toolCallId,
|
|
1304
|
-
output: result,
|
|
1305
|
-
});
|
|
1306
|
-
},
|
|
1307
|
-
});
|
|
1308
|
-
```
|
|
1309
|
-
|
|
1310
|
-
<Note>
|
|
1311
|
-
Important: When using `sendAutomaticallyWhen`, don't use `await` with
|
|
1312
|
-
`addToolOutput` inside `onToolCall` as it can cause deadlocks. The `await` is
|
|
1313
|
-
useful when you're not using automatic submission and need to ensure the
|
|
1314
|
-
messages are updated before manually calling `sendMessage()`.
|
|
1315
|
-
</Note>
|
|
1316
|
-
|
|
1317
|
-
This change provides more flexibility for handling tool calls and aligns client behavior with server-side multi-step execution patterns.
|
|
1318
|
-
|
|
1319
|
-
For more details on the new tool submission approach, see the [Tool Result Submission Changes](#tool-result-submission-changes) section below.
|
|
1320
|
-
|
|
1321
|
-
#### Initial Messages Renamed
|
|
1322
|
-
|
|
1323
|
-
The `initialMessages` option has been renamed to `messages`.
|
|
1324
|
-
|
|
1325
|
-
```tsx filename="AI SDK 4.0"
|
|
1326
|
-
import { useChat, type Message } from '@ai-sdk/react';
|
|
1327
|
-
|
|
1328
|
-
function ChatComponent({ initialMessages }: { initialMessages: Message[] }) {
|
|
1329
|
-
const { messages } = useChat({
|
|
1330
|
-
initialMessages: initialMessages,
|
|
1331
|
-
// ...
|
|
1332
|
-
});
|
|
1333
|
-
|
|
1334
|
-
// your component
|
|
1335
|
-
}
|
|
1336
|
-
```
|
|
1337
|
-
|
|
1338
|
-
```tsx filename="AI SDK 5.0"
|
|
1339
|
-
import { useChat, type UIMessage } from '@ai-sdk/react';
|
|
1340
|
-
|
|
1341
|
-
function ChatComponent({ initialMessages }: { initialMessages: UIMessage[] }) {
|
|
1342
|
-
const { messages } = useChat({
|
|
1343
|
-
messages: initialMessages,
|
|
1344
|
-
// ...
|
|
1345
|
-
});
|
|
1346
|
-
|
|
1347
|
-
// your component
|
|
1348
|
-
}
|
|
1349
|
-
```
|
|
1350
|
-
|
|
1351
|
-
#### Sharing Chat Instances
|
|
1352
|
-
|
|
1353
|
-
In v4, you could share chat state between components by using the same `id` parameter in multiple `useChat` hooks.
|
|
1354
|
-
|
|
1355
|
-
```tsx filename="AI SDK 4.0"
|
|
1356
|
-
// Component A
|
|
1357
|
-
const { messages } = useChat({
|
|
1358
|
-
id: 'shared-chat',
|
|
1359
|
-
api: '/api/chat',
|
|
1360
|
-
});
|
|
1361
|
-
|
|
1362
|
-
// Component B - would share the same chat state
|
|
1363
|
-
const { messages } = useChat({
|
|
1364
|
-
id: 'shared-chat',
|
|
1365
|
-
api: '/api/chat',
|
|
1366
|
-
});
|
|
1367
|
-
```
|
|
1368
|
-
|
|
1369
|
-
In v5, you need to explicitly share chat instances by passing a shared `Chat` instance.
|
|
1370
|
-
|
|
1371
|
-
```tsx filename="AI SDK 5.0"
|
|
1372
|
-
// e.g. Store Chat instance in React Context and create a custom hook
|
|
1373
|
-
|
|
1374
|
-
// Component A
|
|
1375
|
-
const { chat } = useSharedChat(); // Custom hook that accesses shared Chat from context
|
|
1376
|
-
|
|
1377
|
-
const { messages, sendMessage } = useChat({
|
|
1378
|
-
chat, // Pass the shared chat instance
|
|
1379
|
-
});
|
|
1380
|
-
|
|
1381
|
-
// Component B - shares the same chat instance
|
|
1382
|
-
const { chat } = useSharedChat(); // Same hook to access shared Chat from context
|
|
1383
|
-
|
|
1384
|
-
const { messages } = useChat({
|
|
1385
|
-
chat, // Same shared chat instance
|
|
1386
|
-
});
|
|
1387
|
-
```
|
|
1388
|
-
|
|
1389
|
-
For a complete example of sharing chat state across components, see the [Share Chat State Across Components](/cookbook/next/use-shared-chat-context) recipe.
|
|
1390
|
-
|
|
1391
|
-
#### Chat Transport Architecture
|
|
1392
|
-
|
|
1393
|
-
Configuration is now handled through transport objects instead of direct API options.
|
|
1394
|
-
|
|
1395
|
-
```tsx filename="AI SDK 4.0"
|
|
1396
|
-
import { useChat } from '@ai-sdk/react';
|
|
1397
|
-
|
|
1398
|
-
const { messages } = useChat({
|
|
1399
|
-
api: '/api/chat',
|
|
1400
|
-
credentials: 'include',
|
|
1401
|
-
headers: { 'Custom-Header': 'value' },
|
|
1402
|
-
});
|
|
1403
|
-
```
|
|
1404
|
-
|
|
1405
|
-
```tsx filename="AI SDK 5.0"
|
|
1406
|
-
import { useChat } from '@ai-sdk/react';
|
|
1407
|
-
import { DefaultChatTransport } from 'ai';
|
|
1408
|
-
|
|
1409
|
-
const { messages } = useChat({
|
|
1410
|
-
transport: new DefaultChatTransport({
|
|
1411
|
-
api: '/api/chat',
|
|
1412
|
-
credentials: 'include',
|
|
1413
|
-
headers: { 'Custom-Header': 'value' },
|
|
1414
|
-
}),
|
|
1415
|
-
});
|
|
1416
|
-
```
|
|
1417
|
-
|
|
1418
|
-
#### Removed Managed Input State
|
|
1419
|
-
|
|
1420
|
-
The `useChat` hook no longer manages input state internally. You must now manage input state manually.
|
|
1421
|
-
|
|
1422
|
-
```tsx filename="AI SDK 4.0"
|
|
1423
|
-
import { useChat } from '@ai-sdk/react';
|
|
1424
|
-
|
|
1425
|
-
export default function Page() {
|
|
1426
|
-
const { messages, input, handleInputChange, handleSubmit } = useChat({
|
|
1427
|
-
api: '/api/chat',
|
|
1428
|
-
});
|
|
1429
|
-
|
|
1430
|
-
return (
|
|
1431
|
-
<form onSubmit={handleSubmit}>
|
|
1432
|
-
<input value={input} onChange={handleInputChange} />
|
|
1433
|
-
<button type="submit">Send</button>
|
|
1434
|
-
</form>
|
|
1435
|
-
);
|
|
1436
|
-
}
|
|
1437
|
-
```
|
|
1438
|
-
|
|
1439
|
-
```tsx filename="AI SDK 5.0"
|
|
1440
|
-
import { useChat } from '@ai-sdk/react';
|
|
1441
|
-
import { DefaultChatTransport } from 'ai';
|
|
1442
|
-
import { useState } from 'react';
|
|
1443
|
-
|
|
1444
|
-
export default function Page() {
|
|
1445
|
-
const [input, setInput] = useState('');
|
|
1446
|
-
const { messages, sendMessage } = useChat({
|
|
1447
|
-
transport: new DefaultChatTransport({ api: '/api/chat' }),
|
|
1448
|
-
});
|
|
1449
|
-
|
|
1450
|
-
const handleSubmit = e => {
|
|
1451
|
-
e.preventDefault();
|
|
1452
|
-
sendMessage({ text: input });
|
|
1453
|
-
setInput('');
|
|
1454
|
-
};
|
|
1455
|
-
|
|
1456
|
-
return (
|
|
1457
|
-
<form onSubmit={handleSubmit}>
|
|
1458
|
-
<input value={input} onChange={e => setInput(e.target.value)} />
|
|
1459
|
-
<button type="submit">Send</button>
|
|
1460
|
-
</form>
|
|
1461
|
-
);
|
|
1462
|
-
}
|
|
1463
|
-
```
|
|
1464
|
-
|
|
1465
|
-
#### Message Sending: `append` → `sendMessage`
|
|
1466
|
-
|
|
1467
|
-
The `append` function has been replaced with `sendMessage` and requires structured message format.
|
|
1468
|
-
|
|
1469
|
-
```tsx filename="AI SDK 4.0"
|
|
1470
|
-
const { append } = useChat();
|
|
1471
|
-
|
|
1472
|
-
// Simple text message
|
|
1473
|
-
append({ role: 'user', content: 'Hello' });
|
|
1474
|
-
|
|
1475
|
-
// With custom body
|
|
1476
|
-
append(
|
|
1477
|
-
{
|
|
1478
|
-
role: 'user',
|
|
1479
|
-
content: 'Hello',
|
|
1480
|
-
},
|
|
1481
|
-
{ body: { imageUrl: 'https://...' } },
|
|
1482
|
-
);
|
|
1483
|
-
```
|
|
1484
|
-
|
|
1485
|
-
```tsx filename="AI SDK 5.0"
|
|
1486
|
-
const { sendMessage } = useChat();
|
|
1487
|
-
|
|
1488
|
-
// Simple text message (most common usage)
|
|
1489
|
-
sendMessage({ text: 'Hello' });
|
|
1490
|
-
|
|
1491
|
-
// Or with explicit parts array
|
|
1492
|
-
sendMessage({
|
|
1493
|
-
parts: [{ type: 'text', text: 'Hello' }],
|
|
1494
|
-
});
|
|
1495
|
-
|
|
1496
|
-
// With custom body (via request options)
|
|
1497
|
-
sendMessage(
|
|
1498
|
-
{ role: 'user', parts: [{ type: 'text', text: 'Hello' }] },
|
|
1499
|
-
{ body: { imageUrl: 'https://...' } },
|
|
1500
|
-
);
|
|
1501
|
-
```
|
|
1502
|
-
|
|
1503
|
-
#### Message Regeneration: `reload` → `regenerate`
|
|
1504
|
-
|
|
1505
|
-
The `reload` function has been renamed to `regenerate` with enhanced functionality.
|
|
1506
|
-
|
|
1507
|
-
```tsx filename="AI SDK 4.0"
|
|
1508
|
-
const { reload } = useChat();
|
|
1509
|
-
|
|
1510
|
-
// Regenerate last message
|
|
1511
|
-
reload();
|
|
1512
|
-
```
|
|
1513
|
-
|
|
1514
|
-
```tsx filename="AI SDK 5.0"
|
|
1515
|
-
const { regenerate } = useChat();
|
|
1516
|
-
|
|
1517
|
-
// Regenerate last message
|
|
1518
|
-
regenerate();
|
|
1519
|
-
|
|
1520
|
-
// Regenerate specific message
|
|
1521
|
-
regenerate({ messageId: 'message-123' });
|
|
1522
|
-
```
|
|
1523
|
-
|
|
1524
|
-
#### onResponse Removal
|
|
1525
|
-
|
|
1526
|
-
The `onResponse` callback has been removed from `useChat` and `useCompletion`.
|
|
1527
|
-
|
|
1528
|
-
```tsx filename="AI SDK 4.0"
|
|
1529
|
-
const { messages } = useChat({
|
|
1530
|
-
onResponse(response) {
|
|
1531
|
-
// handle response
|
|
1532
|
-
},
|
|
1533
|
-
});
|
|
1534
|
-
```
|
|
1535
|
-
|
|
1536
|
-
```tsx filename="AI SDK 5.0"
|
|
1537
|
-
const { messages } = useChat({
|
|
1538
|
-
// onResponse is no longer available
|
|
1539
|
-
});
|
|
1540
|
-
```
|
|
1541
|
-
|
|
1542
|
-
#### Send Extra Message Fields Default
|
|
1543
|
-
|
|
1544
|
-
The `sendExtraMessageFields` option has been removed and is now the default behavior.
|
|
1545
|
-
|
|
1546
|
-
```tsx filename="AI SDK 4.0"
|
|
1547
|
-
const { messages } = useChat({
|
|
1548
|
-
sendExtraMessageFields: true,
|
|
1549
|
-
});
|
|
1550
|
-
```
|
|
1551
|
-
|
|
1552
|
-
```tsx filename="AI SDK 5.0"
|
|
1553
|
-
const { messages } = useChat({
|
|
1554
|
-
// sendExtraMessageFields is now the default
|
|
1555
|
-
});
|
|
1556
|
-
```
|
|
1557
|
-
|
|
1558
|
-
#### Keep Last Message on Error Removal
|
|
1559
|
-
|
|
1560
|
-
The `keepLastMessageOnError` option has been removed as it's no longer needed.
|
|
1561
|
-
|
|
1562
|
-
```tsx filename="AI SDK 4.0"
|
|
1563
|
-
const { messages } = useChat({
|
|
1564
|
-
keepLastMessageOnError: true,
|
|
1565
|
-
});
|
|
1566
|
-
```
|
|
1567
|
-
|
|
1568
|
-
```tsx filename="AI SDK 5.0"
|
|
1569
|
-
const { messages } = useChat({
|
|
1570
|
-
// keepLastMessageOnError is no longer needed
|
|
1571
|
-
});
|
|
1572
|
-
```
|
|
1573
|
-
|
|
1574
|
-
#### Chat Request Options Changes
|
|
1575
|
-
|
|
1576
|
-
The `data` and `allowEmptySubmit` options have been removed from `ChatRequestOptions`.
|
|
1577
|
-
|
|
1578
|
-
```tsx filename="AI SDK 4.0"
|
|
1579
|
-
handleSubmit(e, {
|
|
1580
|
-
data: { imageUrl: 'https://...' },
|
|
1581
|
-
body: { custom: 'value' },
|
|
1582
|
-
allowEmptySubmit: true,
|
|
1583
|
-
});
|
|
1584
|
-
```
|
|
1585
|
-
|
|
1586
|
-
```tsx filename="AI SDK 5.0"
|
|
1587
|
-
sendMessage(
|
|
1588
|
-
{
|
|
1589
|
-
/* yourMessage */
|
|
1590
|
-
},
|
|
1591
|
-
{
|
|
1592
|
-
body: {
|
|
1593
|
-
custom: 'value',
|
|
1594
|
-
imageUrl: 'https://...', // Move data to body
|
|
1595
|
-
},
|
|
1596
|
-
},
|
|
1597
|
-
);
|
|
1598
|
-
```
|
|
1599
|
-
|
|
1600
|
-
#### Request Options Type Rename
|
|
1601
|
-
|
|
1602
|
-
`RequestOptions` has been renamed to `CompletionRequestOptions`.
|
|
1603
|
-
|
|
1604
|
-
```tsx filename="AI SDK 4.0"
|
|
1605
|
-
import type { RequestOptions } from 'ai';
|
|
1606
|
-
```
|
|
1607
|
-
|
|
1608
|
-
```tsx filename="AI SDK 5.0"
|
|
1609
|
-
import type { CompletionRequestOptions } from 'ai';
|
|
1610
|
-
```
|
|
1611
|
-
|
|
1612
|
-
#### addToolResult Renamed to addToolOutput
|
|
1613
|
-
|
|
1614
|
-
The `addToolResult` method has been renamed to `addToolOutput`. Additionally, the `result` parameter has been renamed to `output` for consistency with other tool-related APIs.
|
|
1615
|
-
|
|
1616
|
-
```tsx filename="AI SDK 4.0"
|
|
1617
|
-
const { addToolResult } = useChat();
|
|
1618
|
-
|
|
1619
|
-
// Add tool result with 'result' parameter
|
|
1620
|
-
addToolResult({
|
|
1621
|
-
toolCallId: 'tool-call-123',
|
|
1622
|
-
result: 'Weather: 72°F, sunny',
|
|
1623
|
-
});
|
|
1624
|
-
```
|
|
1625
|
-
|
|
1626
|
-
```tsx filename="AI SDK 5.0"
|
|
1627
|
-
const { addToolOutput } = useChat();
|
|
1628
|
-
|
|
1629
|
-
// Add tool output with 'output' parameter and 'tool' name for type safety
|
|
1630
|
-
addToolOutput({
|
|
1631
|
-
tool: 'getWeather',
|
|
1632
|
-
toolCallId: 'tool-call-123',
|
|
1633
|
-
output: 'Weather: 72°F, sunny',
|
|
1634
|
-
});
|
|
1635
|
-
```
|
|
1636
|
-
|
|
1637
|
-
<Note>
|
|
1638
|
-
`addToolResult` is still available but deprecated. It will be removed in
|
|
1639
|
-
version 6.
|
|
1640
|
-
</Note>
|
|
1641
|
-
|
|
1642
|
-
#### Tool Result Submission Changes
|
|
1643
|
-
|
|
1644
|
-
The automatic tool result submission behavior has been updated in `useChat` and the `Chat` component. You now have more control and flexibility over when tool results are submitted.
|
|
1645
|
-
|
|
1646
|
-
- `onToolCall` no longer supports returning values to automatically submit tool results
|
|
1647
|
-
- You must explicitly call `addToolOutput` to provide tool results
|
|
1648
|
-
- Use `sendAutomaticallyWhen` with `lastAssistantMessageIsCompleteWithToolCalls` helper for automatic submission
|
|
1649
|
-
- Important: Don't use `await` with `addToolOutput` inside `onToolCall` to avoid deadlocks
|
|
1650
|
-
- The `maxSteps` parameter has been removed from the `Chat` component and `useChat` hook
|
|
1651
|
-
- For multi-step tool execution, use server-side `stopWhen` conditions instead (see [maxSteps Removal](#maxsteps-removal))
|
|
1652
|
-
|
|
1653
|
-
```tsx filename="AI SDK 4.0"
|
|
1654
|
-
const { messages, sendMessage, addToolResult } = useChat({
|
|
1655
|
-
maxSteps: 5, // Removed in v5
|
|
1656
|
-
|
|
1657
|
-
// Automatic submission by returning a value
|
|
1658
|
-
async onToolCall({ toolCall }) {
|
|
1659
|
-
if (toolCall.toolName === 'getLocation') {
|
|
1660
|
-
const cities = ['New York', 'Los Angeles', 'Chicago', 'San Francisco'];
|
|
1661
|
-
return cities[Math.floor(Math.random() * cities.length)];
|
|
1662
|
-
}
|
|
1663
|
-
},
|
|
1664
|
-
});
|
|
1665
|
-
```
|
|
1666
|
-
|
|
1667
|
-
```tsx filename="AI SDK 5.0"
|
|
1668
|
-
import { useChat } from '@ai-sdk/react';
|
|
1669
|
-
import {
|
|
1670
|
-
DefaultChatTransport,
|
|
1671
|
-
lastAssistantMessageIsCompleteWithToolCalls,
|
|
1672
|
-
} from 'ai';
|
|
1673
|
-
|
|
1674
|
-
const { messages, sendMessage, addToolOutput } = useChat({
|
|
1675
|
-
// Automatic submission with helper
|
|
1676
|
-
sendAutomaticallyWhen: lastAssistantMessageIsCompleteWithToolCalls,
|
|
1677
|
-
|
|
1678
|
-
async onToolCall({ toolCall }) {
|
|
1679
|
-
if (toolCall.toolName === 'getLocation') {
|
|
1680
|
-
const cities = ['New York', 'Los Angeles', 'Chicago', 'San Francisco'];
|
|
1681
|
-
|
|
1682
|
-
// Important: Don't await inside onToolCall to avoid deadlocks
|
|
1683
|
-
addToolOutput({
|
|
1684
|
-
tool: 'getLocation',
|
|
1685
|
-
toolCallId: toolCall.toolCallId,
|
|
1686
|
-
output: cities[Math.floor(Math.random() * cities.length)],
|
|
1687
|
-
});
|
|
1688
|
-
}
|
|
1689
|
-
},
|
|
1690
|
-
});
|
|
1691
|
-
```
|
|
1692
|
-
|
|
1693
|
-
#### Loading State Changes
|
|
1694
|
-
|
|
1695
|
-
The deprecated `isLoading` helper has been removed in favor of `status`.
|
|
1696
|
-
|
|
1697
|
-
```tsx filename="AI SDK 4.0"
|
|
1698
|
-
const { isLoading } = useChat();
|
|
1699
|
-
```
|
|
1700
|
-
|
|
1701
|
-
```tsx filename="AI SDK 5.0"
|
|
1702
|
-
const { status } = useChat();
|
|
1703
|
-
// Use state instead of isLoading for more granular control
|
|
1704
|
-
```
|
|
1705
|
-
|
|
1706
|
-
#### Resume Stream Support
|
|
1707
|
-
|
|
1708
|
-
The resume functionality has been moved from `experimental_resume` to `resumeStream`.
|
|
1709
|
-
|
|
1710
|
-
```tsx filename="AI SDK 4.0"
|
|
1711
|
-
// Resume was experimental
|
|
1712
|
-
const { messages } = useChat({
|
|
1713
|
-
experimental_resume: true,
|
|
1714
|
-
});
|
|
1715
|
-
```
|
|
1716
|
-
|
|
1717
|
-
```tsx filename="AI SDK 5.0"
|
|
1718
|
-
const { messages } = useChat({
|
|
1719
|
-
resumeStream: true, // Resume interrupted streams
|
|
1720
|
-
});
|
|
1721
|
-
```
|
|
1722
|
-
|
|
1723
|
-
#### Dynamic Body Values
|
|
1724
|
-
|
|
1725
|
-
In v4, the `body` option in useChat configuration would dynamically update with component state changes. In v5, the `body` value is only captured at the first render and remains static throughout the component lifecycle.
|
|
1726
|
-
|
|
1727
|
-
```tsx filename="AI SDK 4.0"
|
|
1728
|
-
const [temperature, setTemperature] = useState(0.7);
|
|
1729
|
-
|
|
1730
|
-
const { messages } = useChat({
|
|
1731
|
-
api: '/api/chat',
|
|
1732
|
-
body: {
|
|
1733
|
-
temperature, // This would update dynamically in v4
|
|
1734
|
-
},
|
|
1735
|
-
});
|
|
1736
|
-
```
|
|
1737
|
-
|
|
1738
|
-
```tsx filename="AI SDK 5.0"
|
|
1739
|
-
const [temperature, setTemperature] = useState(0.7);
|
|
1740
|
-
|
|
1741
|
-
// Option 1: Use request-level configuration (Recommended)
|
|
1742
|
-
const { messages, sendMessage } = useChat({
|
|
1743
|
-
transport: new DefaultChatTransport({ api: '/api/chat' }),
|
|
1744
|
-
});
|
|
1745
|
-
|
|
1746
|
-
// Pass dynamic values at request time
|
|
1747
|
-
sendMessage(
|
|
1748
|
-
{ text: input },
|
|
1749
|
-
{
|
|
1750
|
-
body: {
|
|
1751
|
-
temperature, // Current temperature value at request time
|
|
1752
|
-
},
|
|
1753
|
-
},
|
|
1754
|
-
);
|
|
1755
|
-
|
|
1756
|
-
// Option 2: Use function configuration with useRef
|
|
1757
|
-
const temperatureRef = useRef(temperature);
|
|
1758
|
-
temperatureRef.current = temperature;
|
|
1759
|
-
|
|
1760
|
-
const { messages } = useChat({
|
|
1761
|
-
transport: new DefaultChatTransport({
|
|
1762
|
-
api: '/api/chat',
|
|
1763
|
-
body: () => ({
|
|
1764
|
-
temperature: temperatureRef.current,
|
|
1765
|
-
}),
|
|
1766
|
-
}),
|
|
1767
|
-
});
|
|
1768
|
-
```
|
|
1769
|
-
|
|
1770
|
-
For more details on request configuration, see the [Chatbot guide](/docs/ai-sdk-ui/chatbot#request-configuration).
|
|
1771
|
-
|
|
1772
|
-
#### Usage Information
|
|
1773
|
-
|
|
1774
|
-
In v4, usage information was directly accessible through the `onFinish` callback's options parameter. In v5, usage data is attached as metadata to individual messages using the `messageMetadata` function in `toUIMessageStreamResponse`.
|
|
1775
|
-
|
|
1776
|
-
```tsx filename="AI SDK 4.0"
|
|
1777
|
-
const { messages } = useChat({
|
|
1778
|
-
onFinish(message, options) {
|
|
1779
|
-
const usage = options.usage;
|
|
1780
|
-
console.log('Usage:', usage);
|
|
1781
|
-
},
|
|
1782
|
-
});
|
|
1783
|
-
```
|
|
1784
|
-
|
|
1785
|
-
```tsx filename="AI SDK 5.0"
|
|
1786
|
-
import {
|
|
1787
|
-
convertToModelMessages,
|
|
1788
|
-
streamText,
|
|
1789
|
-
UIMessage,
|
|
1790
|
-
type LanguageModelUsage,
|
|
1791
|
-
} from 'ai';
|
|
1792
|
-
__PROVIDER_IMPORT__;
|
|
1793
|
-
|
|
1794
|
-
// Create a new metadata type (optional for type-safety)
|
|
1795
|
-
type MyMetadata = {
|
|
1796
|
-
totalUsage: LanguageModelUsage;
|
|
1797
|
-
};
|
|
1798
|
-
|
|
1799
|
-
// Create a new custom message type with your own metadata
|
|
1800
|
-
export type MyUIMessage = UIMessage<MyMetadata>;
|
|
1801
|
-
|
|
1802
|
-
export async function POST(req: Request) {
|
|
1803
|
-
const { messages }: { messages: MyUIMessage[] } = await req.json();
|
|
1804
|
-
|
|
1805
|
-
const result = streamText({
|
|
1806
|
-
model: __MODEL__,
|
|
1807
|
-
messages: convertToModelMessages(messages),
|
|
1808
|
-
});
|
|
1809
|
-
|
|
1810
|
-
return result.toUIMessageStreamResponse({
|
|
1811
|
-
originalMessages: messages,
|
|
1812
|
-
messageMetadata: ({ part }) => {
|
|
1813
|
-
// Send total usage when generation is finished
|
|
1814
|
-
if (part.type === 'finish') {
|
|
1815
|
-
return { totalUsage: part.totalUsage };
|
|
1816
|
-
}
|
|
1817
|
-
},
|
|
1818
|
-
});
|
|
1819
|
-
}
|
|
1820
|
-
```
|
|
1821
|
-
|
|
1822
|
-
Then, on the client, you can access the message-level metadata.
|
|
1823
|
-
|
|
1824
|
-
```tsx filename="AI SDK 5.0 - Client"
|
|
1825
|
-
'use client';
|
|
1826
|
-
|
|
1827
|
-
import { useChat } from '@ai-sdk/react';
|
|
1828
|
-
import type { MyUIMessage } from './api/chat/route';
|
|
1829
|
-
import { DefaultChatTransport } from 'ai';
|
|
1830
|
-
|
|
1831
|
-
export default function Chat() {
|
|
1832
|
-
// Use custom message type defined on the server (optional for type-safety)
|
|
1833
|
-
const { messages } = useChat<MyUIMessage>({
|
|
1834
|
-
transport: new DefaultChatTransport({
|
|
1835
|
-
api: '/api/chat',
|
|
1836
|
-
}),
|
|
1837
|
-
});
|
|
1838
|
-
|
|
1839
|
-
return (
|
|
1840
|
-
<div className="flex flex-col w-full max-w-md py-24 mx-auto stretch">
|
|
1841
|
-
{messages.map(m => (
|
|
1842
|
-
<div key={m.id} className="whitespace-pre-wrap">
|
|
1843
|
-
{m.role === 'user' ? 'User: ' : 'AI: '}
|
|
1844
|
-
{m.parts.map(part => {
|
|
1845
|
-
if (part.type === 'text') {
|
|
1846
|
-
return part.text;
|
|
1847
|
-
}
|
|
1848
|
-
})}
|
|
1849
|
-
{/* Render usage via metadata */}
|
|
1850
|
-
{m.metadata?.totalUsage && (
|
|
1851
|
-
<div>Total usage: {m.metadata?.totalUsage.totalTokens} tokens</div>
|
|
1852
|
-
)}
|
|
1853
|
-
</div>
|
|
1854
|
-
))}
|
|
1855
|
-
</div>
|
|
1856
|
-
);
|
|
1857
|
-
}
|
|
1858
|
-
```
|
|
1859
|
-
|
|
1860
|
-
You can also access your metadata from the `onFinish` callback of `useChat`:
|
|
1861
|
-
|
|
1862
|
-
```tsx filename="AI SDK 5.0 - onFinish"
|
|
1863
|
-
'use client';
|
|
1864
|
-
|
|
1865
|
-
import { useChat } from '@ai-sdk/react';
|
|
1866
|
-
import type { MyUIMessage } from './api/chat/route';
|
|
1867
|
-
import { DefaultChatTransport } from 'ai';
|
|
1868
|
-
|
|
1869
|
-
export default function Chat() {
|
|
1870
|
-
// Use custom message type defined on the server (optional for type-safety)
|
|
1871
|
-
const { messages } = useChat<MyUIMessage>({
|
|
1872
|
-
transport: new DefaultChatTransport({
|
|
1873
|
-
api: '/api/chat',
|
|
1874
|
-
}),
|
|
1875
|
-
onFinish: ({ message }) => {
|
|
1876
|
-
// Access message metadata via onFinish callback
|
|
1877
|
-
console.log(message.metadata?.totalUsage);
|
|
1878
|
-
},
|
|
1879
|
-
});
|
|
1880
|
-
}
|
|
1881
|
-
```
|
|
1882
|
-
|
|
1883
|
-
#### Request Body Preparation: experimental_prepareRequestBody → prepareSendMessagesRequest
|
|
1884
|
-
|
|
1885
|
-
The `experimental_prepareRequestBody` option has been replaced with `prepareSendMessagesRequest` in the transport configuration.
|
|
1886
|
-
|
|
1887
|
-
```tsx filename="AI SDK 4.0"
|
|
1888
|
-
import { useChat } from '@ai-sdk/react';
|
|
1889
|
-
|
|
1890
|
-
const { messages } = useChat({
|
|
1891
|
-
api: '/api/chat',
|
|
1892
|
-
// Only send the last message to the server:
|
|
1893
|
-
experimental_prepareRequestBody({ messages, id }) {
|
|
1894
|
-
return { message: messages[messages.length - 1], id };
|
|
1895
|
-
},
|
|
1896
|
-
});
|
|
1897
|
-
```
|
|
1898
|
-
|
|
1899
|
-
```tsx filename="AI SDK 5.0"
|
|
1900
|
-
import { useChat } from '@ai-sdk/react';
|
|
1901
|
-
import { DefaultChatTransport } from 'ai';
|
|
1902
|
-
|
|
1903
|
-
const { messages } = useChat({
|
|
1904
|
-
transport: new DefaultChatTransport({
|
|
1905
|
-
api: '/api/chat',
|
|
1906
|
-
// Only send the last message to the server:
|
|
1907
|
-
prepareSendMessagesRequest({ messages, id }) {
|
|
1908
|
-
return { body: { message: messages[messages.length - 1], id } };
|
|
1909
|
-
},
|
|
1910
|
-
}),
|
|
1911
|
-
});
|
|
1912
|
-
```
|
|
1913
|
-
|
|
1914
|
-
### `@ai-sdk/vue` Changes
|
|
1915
|
-
|
|
1916
|
-
The Vue.js integration has been completely restructured, replacing the `useChat` composable with a `Chat` class.
|
|
1917
|
-
|
|
1918
|
-
#### useChat Replaced with Chat Class
|
|
1919
|
-
|
|
1920
|
-
```typescript filename="@ai-sdk/vue v1"
|
|
1921
|
-
<script setup>
|
|
1922
|
-
import { useChat } from '@ai-sdk/vue';
|
|
1923
|
-
|
|
1924
|
-
const { messages, input, handleSubmit } = useChat({
|
|
1925
|
-
api: '/api/chat',
|
|
1926
|
-
});
|
|
1927
|
-
</script>
|
|
1928
|
-
```
|
|
1929
|
-
|
|
1930
|
-
```typescript filename="@ai-sdk/vue v2"
|
|
1931
|
-
<script setup>
|
|
1932
|
-
import { Chat } from '@ai-sdk/vue';
|
|
1933
|
-
import { DefaultChatTransport } from 'ai';
|
|
1934
|
-
import { ref } from 'vue';
|
|
1935
|
-
|
|
1936
|
-
const input = ref('');
|
|
1937
|
-
const chat = new Chat({
|
|
1938
|
-
transport: new DefaultChatTransport({ api: '/api/chat' }),
|
|
1939
|
-
});
|
|
1940
|
-
|
|
1941
|
-
const handleSubmit = (e: Event) => {
|
|
1942
|
-
e.preventDefault();
|
|
1943
|
-
chat.sendMessage({ text: input.value });
|
|
1944
|
-
input.value = '';
|
|
1945
|
-
};
|
|
1946
|
-
</script>
|
|
1947
|
-
```
|
|
1948
|
-
|
|
1949
|
-
#### Message Structure Changes
|
|
1950
|
-
|
|
1951
|
-
Messages now use a `parts` array instead of a `content` string.
|
|
1952
|
-
|
|
1953
|
-
```typescript filename="@ai-sdk/vue v1"
|
|
1954
|
-
<template>
|
|
1955
|
-
<div v-for="message in messages" :key="message.id">
|
|
1956
|
-
<div>{{ message.role }}: {{ message.content }}</div>
|
|
1957
|
-
</div>
|
|
1958
|
-
</template>
|
|
1959
|
-
```
|
|
1960
|
-
|
|
1961
|
-
```typescript filename="@ai-sdk/vue v2"
|
|
1962
|
-
<template>
|
|
1963
|
-
<div v-for="message in chat.messages" :key="message.id">
|
|
1964
|
-
<div>{{ message.role }}:</div>
|
|
1965
|
-
<div v-for="part in message.parts" :key="part.type">
|
|
1966
|
-
<span v-if="part.type === 'text'">{{ part.text }}</span>
|
|
1967
|
-
</div>
|
|
1968
|
-
</div>
|
|
1969
|
-
</template>
|
|
1970
|
-
```
|
|
1971
|
-
|
|
1972
|
-
### `@ai-sdk/svelte` Changes
|
|
1973
|
-
|
|
1974
|
-
The Svelte integration has also been updated with new constructor patterns and readonly properties.
|
|
1975
|
-
|
|
1976
|
-
#### Constructor API Changes
|
|
1977
|
-
|
|
1978
|
-
```js filename="@ai-sdk/svelte v1"
|
|
1979
|
-
import { Chat } from '@ai-sdk/svelte';
|
|
1980
|
-
|
|
1981
|
-
const chatInstance = Chat({
|
|
1982
|
-
api: '/api/chat',
|
|
1983
|
-
});
|
|
1984
|
-
```
|
|
1985
|
-
|
|
1986
|
-
```js filename="@ai-sdk/svelte v2"
|
|
1987
|
-
import { Chat } from '@ai-sdk/svelte';
|
|
1988
|
-
import { DefaultChatTransport } from 'ai';
|
|
1989
|
-
|
|
1990
|
-
const chatInstance = Chat(() => ({
|
|
1991
|
-
transport: new DefaultChatTransport({ api: '/api/chat' }),
|
|
1992
|
-
}));
|
|
1993
|
-
```
|
|
1994
|
-
|
|
1995
|
-
##### Properties Made Readonly
|
|
1996
|
-
|
|
1997
|
-
Properties are now readonly and must be updated using setter methods.
|
|
1998
|
-
|
|
1999
|
-
```js filename="@ai-sdk/svelte v1"
|
|
2000
|
-
// Direct property mutation was allowed
|
|
2001
|
-
chatInstance.messages = [...chatInstance.messages, newMessage];
|
|
2002
|
-
```
|
|
2003
|
-
|
|
2004
|
-
```js filename="@ai-sdk/svelte v2"
|
|
2005
|
-
// Must use setter methods
|
|
2006
|
-
chatInstance.setMessages([...chatInstance.messages, newMessage]);
|
|
2007
|
-
```
|
|
2008
|
-
|
|
2009
|
-
##### Removed Managed Input
|
|
2010
|
-
|
|
2011
|
-
Like React and Vue, input management has been removed from the Svelte integration.
|
|
2012
|
-
|
|
2013
|
-
```js filename="@ai-sdk/svelte v1"
|
|
2014
|
-
// Input was managed internally
|
|
2015
|
-
const { messages, input, handleSubmit } = chatInstance;
|
|
2016
|
-
```
|
|
2017
|
-
|
|
2018
|
-
```js filename="@ai-sdk/svelte v2"
|
|
2019
|
-
// Must manage input state manually
|
|
2020
|
-
let input = '';
|
|
2021
|
-
const { messages, sendMessage } = chatInstance;
|
|
2022
|
-
|
|
2023
|
-
const handleSubmit = () => {
|
|
2024
|
-
sendMessage({ text: input });
|
|
2025
|
-
input = '';
|
|
2026
|
-
};
|
|
2027
|
-
```
|
|
2028
|
-
|
|
2029
|
-
#### `@ai-sdk/ui-utils` Package Removal
|
|
2030
|
-
|
|
2031
|
-
The `@ai-sdk/ui-utils` package has been removed and its exports moved to the main `ai` package.
|
|
2032
|
-
|
|
2033
|
-
```tsx filename="AI SDK 4.0"
|
|
2034
|
-
import { getTextFromDataUrl } from '@ai-sdk/ui-utils';
|
|
2035
|
-
```
|
|
2036
|
-
|
|
2037
|
-
```tsx filename="AI SDK 5.0"
|
|
2038
|
-
import { getTextFromDataUrl } from 'ai';
|
|
2039
|
-
```
|
|
2040
|
-
|
|
2041
|
-
**Note**: `processDataStream` was removed entirely in v5.0. Use `readUIMessageStream` instead for processing UI message streams, or use the more configurable Chat/useChat APIs for most use cases.
|
|
2042
|
-
|
|
2043
|
-
### useCompletion Changes
|
|
2044
|
-
|
|
2045
|
-
The `data` property has been removed from the `useCompletion` hook.
|
|
2046
|
-
|
|
2047
|
-
```tsx filename="AI SDK 4.0"
|
|
2048
|
-
const {
|
|
2049
|
-
completion,
|
|
2050
|
-
handleSubmit,
|
|
2051
|
-
data, // No longer available
|
|
2052
|
-
} = useCompletion();
|
|
2053
|
-
```
|
|
2054
|
-
|
|
2055
|
-
```tsx filename="AI SDK 5.0"
|
|
2056
|
-
const {
|
|
2057
|
-
completion,
|
|
2058
|
-
handleSubmit,
|
|
2059
|
-
// data property removed entirely
|
|
2060
|
-
} = useCompletion();
|
|
2061
|
-
```
|
|
2062
|
-
|
|
2063
|
-
### useAssistant Removal
|
|
2064
|
-
|
|
2065
|
-
The `useAssistant` hook has been removed.
|
|
2066
|
-
|
|
2067
|
-
```tsx filename="AI SDK 4.0"
|
|
2068
|
-
import { useAssistant } from '@ai-sdk/react';
|
|
2069
|
-
```
|
|
2070
|
-
|
|
2071
|
-
```tsx filename="AI SDK 5.0"
|
|
2072
|
-
// useAssistant has been removed
|
|
2073
|
-
// Use useChat with appropriate configuration instead
|
|
2074
|
-
```
|
|
2075
|
-
|
|
2076
|
-
For an implementation of the assistant functionality with AI SDK v5, see this [example repository](https://github.com/vercel-labs/ai-sdk-openai-assistants-api).
|
|
2077
|
-
|
|
2078
|
-
#### Attachments → File Parts
|
|
2079
|
-
|
|
2080
|
-
The `experimental_attachments` property has been replaced with the parts array.
|
|
2081
|
-
|
|
2082
|
-
```tsx filename="AI SDK 4.0"
|
|
2083
|
-
{
|
|
2084
|
-
messages.map(message => (
|
|
2085
|
-
<div className="flex flex-col gap-2">
|
|
2086
|
-
{message.content}
|
|
2087
|
-
|
|
2088
|
-
<div className="flex flex-row gap-2">
|
|
2089
|
-
{message.experimental_attachments?.map((attachment, index) =>
|
|
2090
|
-
attachment.contentType?.includes('image/') ? (
|
|
2091
|
-
<img src={attachment.url} alt={attachment.name} />
|
|
2092
|
-
) : attachment.contentType?.includes('text/') ? (
|
|
2093
|
-
<div className="w-32 h-24 p-2 overflow-hidden text-xs border rounded-md ellipsis text-zinc-500">
|
|
2094
|
-
{getTextFromDataUrl(attachment.url)}
|
|
2095
|
-
</div>
|
|
2096
|
-
) : null,
|
|
2097
|
-
)}
|
|
2098
|
-
</div>
|
|
2099
|
-
</div>
|
|
2100
|
-
));
|
|
2101
|
-
}
|
|
2102
|
-
```
|
|
2103
|
-
|
|
2104
|
-
```tsx filename="AI SDK 5.0"
|
|
2105
|
-
{
|
|
2106
|
-
messages.map(message => (
|
|
2107
|
-
<div>
|
|
2108
|
-
{message.parts.map((part, index) => {
|
|
2109
|
-
if (part.type === 'text') {
|
|
2110
|
-
return <div key={index}>{part.text}</div>;
|
|
2111
|
-
}
|
|
2112
|
-
|
|
2113
|
-
if (part.type === 'file' && part.mediaType?.startsWith('image/')) {
|
|
2114
|
-
return (
|
|
2115
|
-
<div key={index}>
|
|
2116
|
-
<img src={part.url} />
|
|
2117
|
-
</div>
|
|
2118
|
-
);
|
|
2119
|
-
}
|
|
2120
|
-
})}
|
|
2121
|
-
</div>
|
|
2122
|
-
));
|
|
2123
|
-
}
|
|
2124
|
-
```
|
|
2125
|
-
|
|
2126
|
-
<Note>
|
|
2127
|
-
Some models do not support text files (text/plain, text/markdown, text/csv,
|
|
2128
|
-
etc.) as file parts. For text files, you can read and send the context as a text part
|
|
2129
|
-
instead:
|
|
2130
|
-
|
|
2131
|
-
```tsx
|
|
2132
|
-
// Instead of this:
|
|
2133
|
-
{ type: 'file', data: buffer, mediaType: 'text/plain' }
|
|
2134
|
-
|
|
2135
|
-
// Do this:
|
|
2136
|
-
{ type: 'text', text: buffer.toString('utf-8') }
|
|
2137
|
-
```
|
|
2138
|
-
|
|
2139
|
-
</Note>
|
|
2140
|
-
|
|
2141
|
-
### Embedding Changes
|
|
2142
|
-
|
|
2143
|
-
#### Provider Options for Embeddings
|
|
2144
|
-
|
|
2145
|
-
Embedding model settings now use provider options instead of model parameters.
|
|
2146
|
-
|
|
2147
|
-
```tsx filename="AI SDK 4.0"
|
|
2148
|
-
const { embedding } = await embed({
|
|
2149
|
-
model: openai('text-embedding-3-small', {
|
|
2150
|
-
dimensions: 10,
|
|
2151
|
-
}),
|
|
2152
|
-
});
|
|
2153
|
-
```
|
|
2154
|
-
|
|
2155
|
-
```tsx filename="AI SDK 5.0"
|
|
2156
|
-
const { embedding } = await embed({
|
|
2157
|
-
model: openai('text-embedding-3-small'),
|
|
2158
|
-
providerOptions: {
|
|
2159
|
-
openai: {
|
|
2160
|
-
dimensions: 10,
|
|
2161
|
-
},
|
|
2162
|
-
},
|
|
2163
|
-
});
|
|
2164
|
-
```
|
|
2165
|
-
|
|
2166
|
-
#### Raw Response → Response
|
|
2167
|
-
|
|
2168
|
-
The `rawResponse` property has been renamed to `response`.
|
|
2169
|
-
|
|
2170
|
-
```tsx filename="AI SDK 4.0"
|
|
2171
|
-
const { rawResponse } = await embed(/* */);
|
|
2172
|
-
```
|
|
2173
|
-
|
|
2174
|
-
```tsx filename="AI SDK 5.0"
|
|
2175
|
-
const { response } = await embed(/* */);
|
|
2176
|
-
```
|
|
2177
|
-
|
|
2178
|
-
#### Parallel Requests in embedMany
|
|
2179
|
-
|
|
2180
|
-
`embedMany` now makes parallel requests with a configurable `maxParallelCalls` option.
|
|
2181
|
-
|
|
2182
|
-
```tsx filename="AI SDK 5.0"
|
|
2183
|
-
const { embeddings, usage } = await embedMany({
|
|
2184
|
-
maxParallelCalls: 2, // Limit parallel requests
|
|
2185
|
-
model: 'openai/text-embedding-3-small',
|
|
2186
|
-
values: [
|
|
2187
|
-
'sunny day at the beach',
|
|
2188
|
-
'rainy afternoon in the city',
|
|
2189
|
-
'snowy night in the mountains',
|
|
2190
|
-
],
|
|
2191
|
-
});
|
|
2192
|
-
```
|
|
2193
|
-
|
|
2194
|
-
#### LangChain Adapter Moved to `@ai-sdk/langchain`
|
|
2195
|
-
|
|
2196
|
-
The `LangChainAdapter` has been moved to `@ai-sdk/langchain` and the API has been updated to use UI message streams.
|
|
2197
|
-
|
|
2198
|
-
```tsx filename="AI SDK 4.0"
|
|
2199
|
-
import { LangChainAdapter } from 'ai';
|
|
2200
|
-
|
|
2201
|
-
const response = LangChainAdapter.toDataStreamResponse(stream);
|
|
2202
|
-
```
|
|
2203
|
-
|
|
2204
|
-
```tsx filename="AI SDK 5.0"
|
|
2205
|
-
import { toUIMessageStream } from '@ai-sdk/langchain';
|
|
2206
|
-
import { createUIMessageStreamResponse } from 'ai';
|
|
2207
|
-
|
|
2208
|
-
const response = createUIMessageStreamResponse({
|
|
2209
|
-
stream: toUIMessageStream(stream),
|
|
2210
|
-
});
|
|
2211
|
-
```
|
|
2212
|
-
|
|
2213
|
-
<Note>
|
|
2214
|
-
Don't forget to install the new package: `npm install @ai-sdk/langchain`
|
|
2215
|
-
</Note>
|
|
2216
|
-
|
|
2217
|
-
#### LlamaIndex Adapter Moved to `@ai-sdk/llamaindex`
|
|
2218
|
-
|
|
2219
|
-
The `LlamaIndexAdapter` has been extracted to a separate package `@ai-sdk/llamaindex` and follows the same UI message stream pattern.
|
|
2220
|
-
|
|
2221
|
-
```tsx filename="AI SDK 4.0"
|
|
2222
|
-
import { LlamaIndexAdapter } from 'ai';
|
|
2223
|
-
|
|
2224
|
-
const response = LlamaIndexAdapter.toDataStreamResponse(stream);
|
|
2225
|
-
```
|
|
2226
|
-
|
|
2227
|
-
```tsx filename="AI SDK 5.0"
|
|
2228
|
-
import { toUIMessageStream } from '@ai-sdk/llamaindex';
|
|
2229
|
-
import { createUIMessageStreamResponse } from 'ai';
|
|
2230
|
-
|
|
2231
|
-
const response = createUIMessageStreamResponse({
|
|
2232
|
-
stream: toUIMessageStream(stream),
|
|
2233
|
-
});
|
|
2234
|
-
```
|
|
2235
|
-
|
|
2236
|
-
<Note>
|
|
2237
|
-
Don't forget to install the new package: `npm install @ai-sdk/llamaindex`
|
|
2238
|
-
</Note>
|
|
2239
|
-
|
|
2240
|
-
## Streaming Architecture
|
|
2241
|
-
|
|
2242
|
-
The streaming architecture has been completely redesigned in v5 to support better content differentiation, concurrent streaming of multiple parts, and improved real-time UX.
|
|
2243
|
-
|
|
2244
|
-
### Stream Protocol Changes
|
|
2245
|
-
|
|
2246
|
-
#### Stream Protocol: Single Chunks → Start/Delta/End Pattern
|
|
2247
|
-
|
|
2248
|
-
The fundamental streaming pattern has changed from single chunks to a three-phase pattern with unique IDs for each content block.
|
|
2249
|
-
|
|
2250
|
-
```tsx filename="AI SDK 4.0"
|
|
2251
|
-
for await (const chunk of result.fullStream) {
|
|
2252
|
-
switch (chunk.type) {
|
|
2253
|
-
case 'text-delta': {
|
|
2254
|
-
process.stdout.write(chunk.textDelta);
|
|
2255
|
-
break;
|
|
2256
|
-
}
|
|
2257
|
-
}
|
|
2258
|
-
}
|
|
2259
|
-
```
|
|
2260
|
-
|
|
2261
|
-
```tsx filename="AI SDK 5.0"
|
|
2262
|
-
for await (const chunk of result.fullStream) {
|
|
2263
|
-
switch (chunk.type) {
|
|
2264
|
-
case 'text-start': {
|
|
2265
|
-
// New: Initialize a text block with unique ID
|
|
2266
|
-
console.log(`Starting text block: ${chunk.id}`);
|
|
2267
|
-
break;
|
|
2268
|
-
}
|
|
2269
|
-
case 'text-delta': {
|
|
2270
|
-
// Changed: Now includes ID and uses 'delta' property
|
|
2271
|
-
process.stdout.write(chunk.delta); // Changed from 'textDelta'
|
|
2272
|
-
break;
|
|
2273
|
-
}
|
|
2274
|
-
case 'text-end': {
|
|
2275
|
-
// New: Finalize the text block
|
|
2276
|
-
console.log(`Completed text block: ${chunk.id}`);
|
|
2277
|
-
break;
|
|
2278
|
-
}
|
|
2279
|
-
}
|
|
2280
|
-
}
|
|
2281
|
-
```
|
|
2282
|
-
|
|
2283
|
-
#### Reasoning Streaming Pattern
|
|
2284
|
-
|
|
2285
|
-
Reasoning content now follows the same start/delta/end pattern:
|
|
2286
|
-
|
|
2287
|
-
```tsx filename="AI SDK 4.0"
|
|
2288
|
-
for await (const chunk of result.fullStream) {
|
|
2289
|
-
switch (chunk.type) {
|
|
2290
|
-
case 'reasoning': {
|
|
2291
|
-
// Single chunk with full reasoning text
|
|
2292
|
-
console.log('Reasoning:', chunk.text);
|
|
2293
|
-
break;
|
|
2294
|
-
}
|
|
2295
|
-
}
|
|
2296
|
-
}
|
|
2297
|
-
```
|
|
2298
|
-
|
|
2299
|
-
```tsx filename="AI SDK 5.0"
|
|
2300
|
-
for await (const chunk of result.fullStream) {
|
|
2301
|
-
switch (chunk.type) {
|
|
2302
|
-
case 'reasoning-start': {
|
|
2303
|
-
console.log(`Starting reasoning block: ${chunk.id}`);
|
|
2304
|
-
break;
|
|
2305
|
-
}
|
|
2306
|
-
case 'reasoning-delta': {
|
|
2307
|
-
process.stdout.write(chunk.delta);
|
|
2308
|
-
break;
|
|
2309
|
-
}
|
|
2310
|
-
case 'reasoning-end': {
|
|
2311
|
-
console.log(`Completed reasoning block: ${chunk.id}`);
|
|
2312
|
-
break;
|
|
2313
|
-
}
|
|
2314
|
-
}
|
|
2315
|
-
}
|
|
2316
|
-
```
|
|
2317
|
-
|
|
2318
|
-
#### Tool Input Streaming
|
|
2319
|
-
|
|
2320
|
-
Tool inputs can now be streamed as they're being generated:
|
|
2321
|
-
|
|
2322
|
-
```tsx filename="AI SDK 5.0"
|
|
2323
|
-
for await (const chunk of result.fullStream) {
|
|
2324
|
-
switch (chunk.type) {
|
|
2325
|
-
case 'tool-input-start': {
|
|
2326
|
-
console.log(`Starting tool input for ${chunk.toolName}: ${chunk.id}`);
|
|
2327
|
-
break;
|
|
2328
|
-
}
|
|
2329
|
-
case 'tool-input-delta': {
|
|
2330
|
-
// Stream the JSON input as it's being generated
|
|
2331
|
-
process.stdout.write(chunk.delta);
|
|
2332
|
-
break;
|
|
2333
|
-
}
|
|
2334
|
-
case 'tool-input-end': {
|
|
2335
|
-
console.log(`Completed tool input: ${chunk.id}`);
|
|
2336
|
-
break;
|
|
2337
|
-
}
|
|
2338
|
-
case 'tool-call': {
|
|
2339
|
-
// Final tool call with complete input
|
|
2340
|
-
console.log('Tool call:', chunk.toolName, chunk.input);
|
|
2341
|
-
break;
|
|
2342
|
-
}
|
|
2343
|
-
}
|
|
2344
|
-
}
|
|
2345
|
-
```
|
|
2346
|
-
|
|
2347
|
-
#### onChunk Callback Changes
|
|
2348
|
-
|
|
2349
|
-
The `onChunk` callback now receives the new streaming chunk types with IDs and the start/delta/end pattern.
|
|
2350
|
-
|
|
2351
|
-
```tsx filename="AI SDK 4.0"
|
|
2352
|
-
const result = streamText({
|
|
2353
|
-
model: __MODEL__,
|
|
2354
|
-
prompt: 'Write a story',
|
|
2355
|
-
onChunk({ chunk }) {
|
|
2356
|
-
switch (chunk.type) {
|
|
2357
|
-
case 'text-delta': {
|
|
2358
|
-
// Single property with text content
|
|
2359
|
-
console.log('Text delta:', chunk.textDelta);
|
|
2360
|
-
break;
|
|
2361
|
-
}
|
|
2362
|
-
}
|
|
2363
|
-
},
|
|
2364
|
-
});
|
|
2365
|
-
```
|
|
2366
|
-
|
|
2367
|
-
```tsx filename="AI SDK 5.0"
|
|
2368
|
-
const result = streamText({
|
|
2369
|
-
model: __MODEL__,
|
|
2370
|
-
prompt: 'Write a story',
|
|
2371
|
-
onChunk({ chunk }) {
|
|
2372
|
-
switch (chunk.type) {
|
|
2373
|
-
case 'text-delta': {
|
|
2374
|
-
// Text chunks now use single 'text' type
|
|
2375
|
-
console.log('Text chunk:', chunk.text);
|
|
2376
|
-
break;
|
|
2377
|
-
}
|
|
2378
|
-
case 'reasoning': {
|
|
2379
|
-
// Reasoning chunks use single 'reasoning' type
|
|
2380
|
-
console.log('Reasoning chunk:', chunk.text);
|
|
2381
|
-
break;
|
|
2382
|
-
}
|
|
2383
|
-
case 'source': {
|
|
2384
|
-
console.log('Source chunk:', chunk);
|
|
2385
|
-
break;
|
|
2386
|
-
}
|
|
2387
|
-
case 'tool-call': {
|
|
2388
|
-
console.log('Tool call:', chunk.toolName, chunk.input);
|
|
2389
|
-
break;
|
|
2390
|
-
}
|
|
2391
|
-
case 'tool-input-start': {
|
|
2392
|
-
console.log(
|
|
2393
|
-
`Tool input started for ${chunk.toolName}:`,
|
|
2394
|
-
chunk.toolCallId,
|
|
2395
|
-
);
|
|
2396
|
-
break;
|
|
2397
|
-
}
|
|
2398
|
-
case 'tool-input-delta': {
|
|
2399
|
-
console.log(`Tool input delta for ${chunk.toolCallId}:`, chunk.delta);
|
|
2400
|
-
break;
|
|
2401
|
-
}
|
|
2402
|
-
case 'tool-result': {
|
|
2403
|
-
console.log('Tool result:', chunk.output);
|
|
2404
|
-
break;
|
|
2405
|
-
}
|
|
2406
|
-
case 'raw': {
|
|
2407
|
-
console.log('Raw chunk:', chunk);
|
|
2408
|
-
break;
|
|
2409
|
-
}
|
|
2410
|
-
}
|
|
2411
|
-
},
|
|
2412
|
-
});
|
|
2413
|
-
```
|
|
2414
|
-
|
|
2415
|
-
#### File Stream Parts Restructure
|
|
2416
|
-
|
|
2417
|
-
File parts in streams have been flattened.
|
|
2418
|
-
|
|
2419
|
-
```tsx filename="AI SDK 4.0"
|
|
2420
|
-
for await (const chunk of result.fullStream) {
|
|
2421
|
-
switch (chunk.type) {
|
|
2422
|
-
case 'file': {
|
|
2423
|
-
console.log('Media type:', chunk.file.mediaType);
|
|
2424
|
-
console.log('File data:', chunk.file.data);
|
|
2425
|
-
break;
|
|
2426
|
-
}
|
|
2427
|
-
}
|
|
2428
|
-
}
|
|
2429
|
-
```
|
|
2430
|
-
|
|
2431
|
-
```tsx filename="AI SDK 5.0"
|
|
2432
|
-
for await (const chunk of result.fullStream) {
|
|
2433
|
-
switch (chunk.type) {
|
|
2434
|
-
case 'file': {
|
|
2435
|
-
console.log('Media type:', chunk.mediaType);
|
|
2436
|
-
console.log('File data:', chunk.data);
|
|
2437
|
-
break;
|
|
2438
|
-
}
|
|
2439
|
-
}
|
|
2440
|
-
}
|
|
2441
|
-
```
|
|
2442
|
-
|
|
2443
|
-
#### Source Stream Parts Restructure
|
|
2444
|
-
|
|
2445
|
-
Source stream parts have been flattened.
|
|
2446
|
-
|
|
2447
|
-
```tsx filename="AI SDK 4.0"
|
|
2448
|
-
for await (const part of result.fullStream) {
|
|
2449
|
-
if (part.type === 'source' && part.source.sourceType === 'url') {
|
|
2450
|
-
console.log('ID:', part.source.id);
|
|
2451
|
-
console.log('Title:', part.source.title);
|
|
2452
|
-
console.log('URL:', part.source.url);
|
|
2453
|
-
}
|
|
2454
|
-
}
|
|
2455
|
-
```
|
|
2456
|
-
|
|
2457
|
-
```tsx filename="AI SDK 5.0"
|
|
2458
|
-
for await (const part of result.fullStream) {
|
|
2459
|
-
if (part.type === 'source' && part.sourceType === 'url') {
|
|
2460
|
-
console.log('ID:', part.id);
|
|
2461
|
-
console.log('Title:', part.title);
|
|
2462
|
-
console.log('URL:', part.url);
|
|
2463
|
-
}
|
|
2464
|
-
}
|
|
2465
|
-
```
|
|
2466
|
-
|
|
2467
|
-
#### Finish Event Changes
|
|
2468
|
-
|
|
2469
|
-
Stream finish events have been renamed for consistency.
|
|
2470
|
-
|
|
2471
|
-
```tsx filename="AI SDK 4.0"
|
|
2472
|
-
for await (const part of result.fullStream) {
|
|
2473
|
-
switch (part.type) {
|
|
2474
|
-
case 'step-finish': {
|
|
2475
|
-
console.log('Step finished:', part.finishReason);
|
|
2476
|
-
break;
|
|
2477
|
-
}
|
|
2478
|
-
case 'finish': {
|
|
2479
|
-
console.log('Usage:', part.usage);
|
|
2480
|
-
break;
|
|
2481
|
-
}
|
|
2482
|
-
}
|
|
2483
|
-
}
|
|
2484
|
-
```
|
|
2485
|
-
|
|
2486
|
-
```tsx filename="AI SDK 5.0"
|
|
2487
|
-
for await (const part of result.fullStream) {
|
|
2488
|
-
switch (part.type) {
|
|
2489
|
-
case 'finish-step': {
|
|
2490
|
-
// Renamed from 'step-finish'
|
|
2491
|
-
console.log('Step finished:', part.finishReason);
|
|
2492
|
-
break;
|
|
2493
|
-
}
|
|
2494
|
-
case 'finish': {
|
|
2495
|
-
console.log('Total Usage:', part.totalUsage); // Changed from 'usage'
|
|
2496
|
-
break;
|
|
2497
|
-
}
|
|
2498
|
-
}
|
|
2499
|
-
}
|
|
2500
|
-
```
|
|
2501
|
-
|
|
2502
|
-
### Stream Protocol Changes
|
|
2503
|
-
|
|
2504
|
-
#### Proprietary Protocol -> Server-Sent Events
|
|
2505
|
-
|
|
2506
|
-
The data stream protocol has been updated to use Server-Sent Events.
|
|
2507
|
-
|
|
2508
|
-
```tsx filename="AI SDK 4.0"
|
|
2509
|
-
import { createDataStream, formatDataStreamPart } from 'ai';
|
|
2510
|
-
|
|
2511
|
-
const dataStream = createDataStream({
|
|
2512
|
-
execute: writer => {
|
|
2513
|
-
writer.writeData('initialized call');
|
|
2514
|
-
writer.write(formatDataStreamPart('text', 'Hello'));
|
|
2515
|
-
writer.writeSource({
|
|
2516
|
-
type: 'source',
|
|
2517
|
-
sourceType: 'url',
|
|
2518
|
-
id: 'source-1',
|
|
2519
|
-
url: 'https://example.com',
|
|
2520
|
-
title: 'Example Source',
|
|
2521
|
-
});
|
|
2522
|
-
},
|
|
2523
|
-
});
|
|
2524
|
-
```
|
|
2525
|
-
|
|
2526
|
-
```tsx filename="AI SDK 5.0"
|
|
2527
|
-
import { createUIMessageStream } from 'ai';
|
|
2528
|
-
|
|
2529
|
-
const stream = createUIMessageStream({
|
|
2530
|
-
execute: ({ writer }) => {
|
|
2531
|
-
writer.write({ type: 'data', value: ['initialized call'] });
|
|
2532
|
-
writer.write({ type: 'text', value: 'Hello' });
|
|
2533
|
-
writer.write({
|
|
2534
|
-
type: 'source-url',
|
|
2535
|
-
value: {
|
|
2536
|
-
type: 'source',
|
|
2537
|
-
id: 'source-1',
|
|
2538
|
-
url: 'https://example.com',
|
|
2539
|
-
title: 'Example Source',
|
|
2540
|
-
},
|
|
2541
|
-
});
|
|
2542
|
-
},
|
|
2543
|
-
});
|
|
2544
|
-
```
|
|
2545
|
-
|
|
2546
|
-
#### Data Stream Response Helper Functions Renamed
|
|
2547
|
-
|
|
2548
|
-
The streaming API has been completely restructured from data streams to UI message streams.
|
|
2549
|
-
|
|
2550
|
-
```tsx filename="AI SDK 4.0"
|
|
2551
|
-
// Express/Node.js servers
|
|
2552
|
-
app.post('/stream', async (req, res) => {
|
|
2553
|
-
const result = streamText({
|
|
2554
|
-
model: __MODEL__,
|
|
2555
|
-
prompt: 'Generate content',
|
|
2556
|
-
});
|
|
2557
|
-
|
|
2558
|
-
result.pipeDataStreamToResponse(res);
|
|
2559
|
-
});
|
|
2560
|
-
|
|
2561
|
-
// Next.js API routes
|
|
2562
|
-
const result = streamText({
|
|
2563
|
-
model: __MODEL__,
|
|
2564
|
-
prompt: 'Generate content',
|
|
2565
|
-
});
|
|
2566
|
-
|
|
2567
|
-
return result.toDataStreamResponse();
|
|
2568
|
-
```
|
|
2569
|
-
|
|
2570
|
-
```tsx filename="AI SDK 5.0"
|
|
2571
|
-
// Express/Node.js servers
|
|
2572
|
-
app.post('/stream', async (req, res) => {
|
|
2573
|
-
const result = streamText({
|
|
2574
|
-
model: __MODEL__,
|
|
2575
|
-
prompt: 'Generate content',
|
|
2576
|
-
});
|
|
2577
|
-
|
|
2578
|
-
result.pipeUIMessageStreamToResponse(res);
|
|
2579
|
-
});
|
|
2580
|
-
|
|
2581
|
-
// Next.js API routes
|
|
2582
|
-
const result = streamText({
|
|
2583
|
-
model: __MODEL__,
|
|
2584
|
-
prompt: 'Generate content',
|
|
2585
|
-
});
|
|
2586
|
-
|
|
2587
|
-
return result.toUIMessageStreamResponse();
|
|
2588
|
-
```
|
|
2589
|
-
|
|
2590
|
-
#### Stream Transform Function Renaming
|
|
2591
|
-
|
|
2592
|
-
Various stream-related functions have been renamed for consistency.
|
|
2593
|
-
|
|
2594
|
-
```tsx filename="AI SDK 4.0"
|
|
2595
|
-
import { DataStreamToSSETransformStream } from 'ai';
|
|
2596
|
-
```
|
|
2597
|
-
|
|
2598
|
-
```tsx filename="AI SDK 5.0"
|
|
2599
|
-
import { JsonToSseTransformStream } from 'ai';
|
|
2600
|
-
```
|
|
2601
|
-
|
|
2602
|
-
#### Error Handling: getErrorMessage → onError
|
|
2603
|
-
|
|
2604
|
-
The `getErrorMessage` option in `toDataStreamResponse` has been replaced with `onError` in `toUIMessageStreamResponse`, providing more control over error forwarding to the client.
|
|
2605
|
-
|
|
2606
|
-
By default, error messages are NOT sent to the client to prevent leaking sensitive information. The `onError` callback allows you to explicitly control what error information is forwarded to the client.
|
|
2607
|
-
|
|
2608
|
-
```tsx filename="AI SDK 4.0"
|
|
2609
|
-
return result.toDataStreamResponse({
|
|
2610
|
-
getErrorMessage: error => {
|
|
2611
|
-
// Return sanitized error data to send to client
|
|
2612
|
-
// Only return what you want the client to see!
|
|
2613
|
-
return {
|
|
2614
|
-
errorCode: 'STREAM_ERROR',
|
|
2615
|
-
message: 'An error occurred while processing your request',
|
|
2616
|
-
// In production, avoid sending error.message directly to prevent information leakage
|
|
2617
|
-
};
|
|
2618
|
-
},
|
|
2619
|
-
});
|
|
2620
|
-
```
|
|
2621
|
-
|
|
2622
|
-
```tsx filename="AI SDK 5.0"
|
|
2623
|
-
return result.toUIMessageStreamResponse({
|
|
2624
|
-
onError: error => {
|
|
2625
|
-
// Return sanitized error data to send to client
|
|
2626
|
-
// Only return what you want the client to see!
|
|
2627
|
-
return {
|
|
2628
|
-
errorCode: 'STREAM_ERROR',
|
|
2629
|
-
message: 'An error occurred while processing your request',
|
|
2630
|
-
// In production, avoid sending error.message directly to prevent information leakage
|
|
2631
|
-
};
|
|
2632
|
-
},
|
|
2633
|
-
});
|
|
2634
|
-
```
|
|
2635
|
-
|
|
2636
|
-
### Utility Changes
|
|
2637
|
-
|
|
2638
|
-
#### ID Generation Changes
|
|
2639
|
-
|
|
2640
|
-
The `createIdGenerator()` function now requires a `size` argument.
|
|
2641
|
-
|
|
2642
|
-
```tsx filename="AI SDK 4.0"
|
|
2643
|
-
const generator = createIdGenerator({ prefix: 'msg' });
|
|
2644
|
-
const id = generator(16); // Custom size at call time
|
|
2645
|
-
```
|
|
2646
|
-
|
|
2647
|
-
```tsx filename="AI SDK 5.0"
|
|
2648
|
-
const generator = createIdGenerator({ prefix: 'msg', size: 16 });
|
|
2649
|
-
const id = generator(); // Fixed size from creation
|
|
2650
|
-
```
|
|
2651
|
-
|
|
2652
|
-
#### IDGenerator → IdGenerator
|
|
2653
|
-
|
|
2654
|
-
The type name has been updated.
|
|
2655
|
-
|
|
2656
|
-
```tsx filename="AI SDK 4.0"
|
|
2657
|
-
import { IDGenerator } from 'ai';
|
|
2658
|
-
```
|
|
2659
|
-
|
|
2660
|
-
```tsx filename="AI SDK 5.0"
|
|
2661
|
-
import { IdGenerator } from 'ai';
|
|
2662
|
-
```
|
|
2663
|
-
|
|
2664
|
-
### Provider Interface Changes
|
|
2665
|
-
|
|
2666
|
-
#### Language Model V2 Import
|
|
2667
|
-
|
|
2668
|
-
`LanguageModelV3` must now be imported from `@ai-sdk/provider`.
|
|
2669
|
-
|
|
2670
|
-
```tsx filename="AI SDK 4.0"
|
|
2671
|
-
import { LanguageModelV3 } from 'ai';
|
|
2672
|
-
```
|
|
2673
|
-
|
|
2674
|
-
```tsx filename="AI SDK 5.0"
|
|
2675
|
-
import { LanguageModelV3 } from '@ai-sdk/provider';
|
|
2676
|
-
```
|
|
2677
|
-
|
|
2678
|
-
#### Middleware Rename
|
|
2679
|
-
|
|
2680
|
-
`LanguageModelV1Middleware` has been renamed and moved.
|
|
2681
|
-
|
|
2682
|
-
```tsx filename="AI SDK 4.0"
|
|
2683
|
-
import { LanguageModelV1Middleware } from 'ai';
|
|
2684
|
-
```
|
|
2685
|
-
|
|
2686
|
-
```tsx filename="AI SDK 5.0"
|
|
2687
|
-
import { LanguageModelV3Middleware } from '@ai-sdk/provider';
|
|
2688
|
-
```
|
|
2689
|
-
|
|
2690
|
-
#### Usage Token Properties
|
|
2691
|
-
|
|
2692
|
-
Token usage properties have been renamed for consistency.
|
|
2693
|
-
|
|
2694
|
-
```tsx filename="AI SDK 4.0"
|
|
2695
|
-
// In language model implementations
|
|
2696
|
-
{
|
|
2697
|
-
usage: {
|
|
2698
|
-
promptTokens: 10,
|
|
2699
|
-
completionTokens: 20
|
|
2700
|
-
}
|
|
2701
|
-
}
|
|
2702
|
-
```
|
|
2703
|
-
|
|
2704
|
-
```tsx filename="AI SDK 5.0"
|
|
2705
|
-
// In language model implementations
|
|
2706
|
-
{
|
|
2707
|
-
usage: {
|
|
2708
|
-
inputTokens: 10,
|
|
2709
|
-
outputTokens: 20,
|
|
2710
|
-
totalTokens: 30 // Now required
|
|
2711
|
-
}
|
|
2712
|
-
}
|
|
2713
|
-
```
|
|
2714
|
-
|
|
2715
|
-
#### Stream Part Type Changes
|
|
2716
|
-
|
|
2717
|
-
The `LanguageModelV3StreamPart` type has been expanded to support the new streaming architecture with start/delta/end patterns and IDs.
|
|
2718
|
-
|
|
2719
|
-
```tsx filename="AI SDK 4.0"
|
|
2720
|
-
// V4: Simple stream parts
|
|
2721
|
-
type LanguageModelV3StreamPart =
|
|
2722
|
-
| { type: 'text-delta'; textDelta: string }
|
|
2723
|
-
| { type: 'reasoning'; text: string }
|
|
2724
|
-
| { type: 'tool-call'; toolCallId: string; toolName: string; input: string };
|
|
2725
|
-
```
|
|
2726
|
-
|
|
2727
|
-
```tsx filename="AI SDK 5.0"
|
|
2728
|
-
// V5: Enhanced stream parts with IDs and lifecycle events
|
|
2729
|
-
type LanguageModelV3StreamPart =
|
|
2730
|
-
// Text blocks with start/delta/end pattern
|
|
2731
|
-
| {
|
|
2732
|
-
type: 'text-start';
|
|
2733
|
-
id: string;
|
|
2734
|
-
providerMetadata?: SharedV2ProviderMetadata;
|
|
2735
|
-
}
|
|
2736
|
-
| {
|
|
2737
|
-
type: 'text-delta';
|
|
2738
|
-
id: string;
|
|
2739
|
-
delta: string;
|
|
2740
|
-
providerMetadata?: SharedV2ProviderMetadata;
|
|
2741
|
-
}
|
|
2742
|
-
| {
|
|
2743
|
-
type: 'text-end';
|
|
2744
|
-
id: string;
|
|
2745
|
-
providerMetadata?: SharedV2ProviderMetadata;
|
|
2746
|
-
}
|
|
2747
|
-
|
|
2748
|
-
// Reasoning blocks with start/delta/end pattern
|
|
2749
|
-
| {
|
|
2750
|
-
type: 'reasoning-start';
|
|
2751
|
-
id: string;
|
|
2752
|
-
providerMetadata?: SharedV2ProviderMetadata;
|
|
2753
|
-
}
|
|
2754
|
-
| {
|
|
2755
|
-
type: 'reasoning-delta';
|
|
2756
|
-
id: string;
|
|
2757
|
-
delta: string;
|
|
2758
|
-
providerMetadata?: SharedV2ProviderMetadata;
|
|
2759
|
-
}
|
|
2760
|
-
| {
|
|
2761
|
-
type: 'reasoning-end';
|
|
2762
|
-
id: string;
|
|
2763
|
-
providerMetadata?: SharedV2ProviderMetadata;
|
|
2764
|
-
}
|
|
2765
|
-
|
|
2766
|
-
// Tool input streaming
|
|
2767
|
-
| {
|
|
2768
|
-
type: 'tool-input-start';
|
|
2769
|
-
id: string;
|
|
2770
|
-
toolName: string;
|
|
2771
|
-
providerMetadata?: SharedV2ProviderMetadata;
|
|
2772
|
-
}
|
|
2773
|
-
| {
|
|
2774
|
-
type: 'tool-input-delta';
|
|
2775
|
-
id: string;
|
|
2776
|
-
delta: string;
|
|
2777
|
-
providerMetadata?: SharedV2ProviderMetadata;
|
|
2778
|
-
}
|
|
2779
|
-
| {
|
|
2780
|
-
type: 'tool-input-end';
|
|
2781
|
-
id: string;
|
|
2782
|
-
providerMetadata?: SharedV2ProviderMetadata;
|
|
2783
|
-
}
|
|
2784
|
-
|
|
2785
|
-
// Enhanced tool calls
|
|
2786
|
-
| {
|
|
2787
|
-
type: 'tool-call';
|
|
2788
|
-
toolCallId: string;
|
|
2789
|
-
toolName: string;
|
|
2790
|
-
input: string;
|
|
2791
|
-
providerMetadata?: SharedV2ProviderMetadata;
|
|
2792
|
-
}
|
|
2793
|
-
|
|
2794
|
-
// Stream lifecycle events
|
|
2795
|
-
| { type: 'stream-start'; warnings: Array<SharedV3Warning> }
|
|
2796
|
-
| {
|
|
2797
|
-
type: 'finish';
|
|
2798
|
-
usage: LanguageModelV3Usage;
|
|
2799
|
-
finishReason: LanguageModelV3FinishReason;
|
|
2800
|
-
providerMetadata?: SharedV2ProviderMetadata;
|
|
2801
|
-
};
|
|
2802
|
-
```
|
|
2803
|
-
|
|
2804
|
-
#### Raw Response → Response
|
|
2805
|
-
|
|
2806
|
-
Provider response objects have been updated.
|
|
2807
|
-
|
|
2808
|
-
```tsx filename="AI SDK 4.0"
|
|
2809
|
-
// In language model implementations
|
|
2810
|
-
{
|
|
2811
|
-
rawResponse: {
|
|
2812
|
-
/* ... */
|
|
2813
|
-
}
|
|
2814
|
-
}
|
|
2815
|
-
```
|
|
2816
|
-
|
|
2817
|
-
```tsx filename="AI SDK 5.0"
|
|
2818
|
-
// In language model implementations
|
|
2819
|
-
{
|
|
2820
|
-
response: {
|
|
2821
|
-
/* ... */
|
|
2822
|
-
}
|
|
2823
|
-
}
|
|
2824
|
-
```
|
|
2825
|
-
|
|
2826
|
-
#### `wrapLanguageModel` now stable
|
|
2827
|
-
|
|
2828
|
-
```tsx filename="AI SDK 4.0"
|
|
2829
|
-
import { experimental_wrapLanguageModel } from 'ai';
|
|
2830
|
-
```
|
|
2831
|
-
|
|
2832
|
-
```tsx filename="AI SDK 5.0"
|
|
2833
|
-
import { wrapLanguageModel } from 'ai';
|
|
2834
|
-
```
|
|
2835
|
-
|
|
2836
|
-
#### `activeTools` No Longer Experimental
|
|
2837
|
-
|
|
2838
|
-
```tsx filename="AI SDK 4.0"
|
|
2839
|
-
const result = await generateText({
|
|
2840
|
-
model: __MODEL__,
|
|
2841
|
-
messages,
|
|
2842
|
-
tools: { weatherTool, locationTool },
|
|
2843
|
-
experimental_activeTools: ['weatherTool'],
|
|
2844
|
-
});
|
|
2845
|
-
```
|
|
2846
|
-
|
|
2847
|
-
```tsx filename="AI SDK 5.0"
|
|
2848
|
-
const result = await generateText({
|
|
2849
|
-
model: __MODEL__,
|
|
2850
|
-
messages,
|
|
2851
|
-
tools: { weatherTool, locationTool },
|
|
2852
|
-
activeTools: ['weatherTool'], // No longer experimental
|
|
2853
|
-
});
|
|
2854
|
-
```
|
|
2855
|
-
|
|
2856
|
-
#### `prepareStep` No Longer Experimental
|
|
2857
|
-
|
|
2858
|
-
The `experimental_prepareStep` option has been promoted and no longer requires the experimental prefix.
|
|
2859
|
-
|
|
2860
|
-
```tsx filename="AI SDK 4.0"
|
|
2861
|
-
const result = await generateText({
|
|
2862
|
-
model: __MODEL__,
|
|
2863
|
-
messages,
|
|
2864
|
-
tools: { weatherTool, locationTool },
|
|
2865
|
-
experimental_prepareStep: ({ steps, stepNumber, model }) => {
|
|
2866
|
-
console.log('Preparing step:', stepNumber);
|
|
2867
|
-
return {
|
|
2868
|
-
activeTools: ['weatherTool'],
|
|
2869
|
-
system: 'Be helpful and concise.',
|
|
2870
|
-
};
|
|
2871
|
-
},
|
|
2872
|
-
});
|
|
2873
|
-
```
|
|
2874
|
-
|
|
2875
|
-
```tsx filename="AI SDK 5.0"
|
|
2876
|
-
const result = await generateText({
|
|
2877
|
-
model: __MODEL__,
|
|
2878
|
-
messages,
|
|
2879
|
-
tools: { weatherTool, locationTool },
|
|
2880
|
-
prepareStep: ({ steps, stepNumber, model }) => {
|
|
2881
|
-
console.log('Preparing step:', stepNumber);
|
|
2882
|
-
return {
|
|
2883
|
-
activeTools: ['weatherTool'],
|
|
2884
|
-
system: 'Be helpful and concise.',
|
|
2885
|
-
// Can also configure toolChoice, model, etc.
|
|
2886
|
-
};
|
|
2887
|
-
},
|
|
2888
|
-
});
|
|
2889
|
-
```
|
|
2890
|
-
|
|
2891
|
-
The `prepareStep` function receives `{ steps, stepNumber, model }` and can return:
|
|
2892
|
-
|
|
2893
|
-
- `model`: Different model for this step
|
|
2894
|
-
- `activeTools`: Which tools to make available
|
|
2895
|
-
- `toolChoice`: Tool selection strategy
|
|
2896
|
-
- `system`: System message for this step
|
|
2897
|
-
- `undefined`: Use default settings
|
|
2898
|
-
|
|
2899
|
-
### Temperature Default Removal
|
|
2900
|
-
|
|
2901
|
-
Temperature is no longer set to `0` by default.
|
|
2902
|
-
|
|
2903
|
-
```tsx filename="AI SDK 4.0"
|
|
2904
|
-
await generateText({
|
|
2905
|
-
model: __MODEL__,
|
|
2906
|
-
prompt: 'Write a creative story',
|
|
2907
|
-
// Implicitly temperature: 0
|
|
2908
|
-
});
|
|
2909
|
-
```
|
|
2910
|
-
|
|
2911
|
-
```tsx filename="AI SDK 5.0"
|
|
2912
|
-
await generateText({
|
|
2913
|
-
model: __MODEL__,
|
|
2914
|
-
prompt: 'Write a creative story',
|
|
2915
|
-
temperature: 0, // Must explicitly set
|
|
2916
|
-
});
|
|
2917
|
-
```
|
|
2918
|
-
|
|
2919
|
-
## Message Persistence Changes
|
|
2920
|
-
|
|
2921
|
-
<Note>
|
|
2922
|
-
If you have persisted messages in a database, see the [Data Migration
|
|
2923
|
-
Guide](/docs/migration-guides/migration-guide-5-0-data) for comprehensive
|
|
2924
|
-
guidance on migrating your stored message data to the v5 format.
|
|
2925
|
-
</Note>
|
|
2926
|
-
|
|
2927
|
-
In v4, you would typically use helper functions like `appendResponseMessages` or `appendClientMessage` to format messages in the `onFinish` callback of `streamText`:
|
|
2928
|
-
|
|
2929
|
-
```tsx filename="AI SDK 4.0"
|
|
2930
|
-
import {
|
|
2931
|
-
streamText,
|
|
2932
|
-
convertToModelMessages,
|
|
2933
|
-
appendClientMessage,
|
|
2934
|
-
appendResponseMessages,
|
|
2935
|
-
} from 'ai';
|
|
2936
|
-
|
|
2937
|
-
const updatedMessages = appendClientMessage({
|
|
2938
|
-
messages,
|
|
2939
|
-
message: lastUserMessage,
|
|
2940
|
-
});
|
|
2941
|
-
|
|
2942
|
-
const result = streamText({
|
|
2943
|
-
model: __MODEL__,
|
|
2944
|
-
messages: updatedMessages,
|
|
2945
|
-
experimental_generateMessageId: () => generateId(), // ID generation on streamText
|
|
2946
|
-
onFinish: async ({ responseMessages, usage }) => {
|
|
2947
|
-
// Use helper functions to format messages
|
|
2948
|
-
const finalMessages = appendResponseMessages({
|
|
2949
|
-
messages: updatedMessages,
|
|
2950
|
-
responseMessages,
|
|
2951
|
-
});
|
|
2952
|
-
|
|
2953
|
-
// Save formatted messages to database
|
|
2954
|
-
await saveMessages(finalMessages);
|
|
2955
|
-
},
|
|
2956
|
-
});
|
|
2957
|
-
```
|
|
2958
|
-
|
|
2959
|
-
In v5, message persistence is now handled through the `toUIMessageStreamResponse` method, which automatically formats response messages in the `UIMessage` format:
|
|
2960
|
-
|
|
2961
|
-
```tsx filename="AI SDK 5.0"
|
|
2962
|
-
import { streamText, convertToModelMessages, UIMessage } from 'ai';
|
|
2963
|
-
|
|
2964
|
-
const messages: UIMessage[] = [
|
|
2965
|
-
// Your existing messages in UIMessage format
|
|
2966
|
-
];
|
|
2967
|
-
|
|
2968
|
-
const result = streamText({
|
|
2969
|
-
model: __MODEL__,
|
|
2970
|
-
messages: convertToModelMessages(messages),
|
|
2971
|
-
// experimental_generateMessageId removed from here
|
|
2972
|
-
});
|
|
2973
|
-
|
|
2974
|
-
return result.toUIMessageStreamResponse({
|
|
2975
|
-
originalMessages: messages, // IMPORTANT: Required to prevent duplicate messages
|
|
2976
|
-
generateMessageId: () => generateId(), // IMPORTANT: Required for proper message ID generation
|
|
2977
|
-
onFinish: ({ messages, responseMessage }) => {
|
|
2978
|
-
// messages contains all messages (original + response) in UIMessage format
|
|
2979
|
-
saveChat({ chatId, messages });
|
|
2980
|
-
|
|
2981
|
-
// responseMessage contains just the generated message in UIMessage format
|
|
2982
|
-
saveMessage({ chatId, message: responseMessage });
|
|
2983
|
-
},
|
|
2984
|
-
});
|
|
2985
|
-
```
|
|
2986
|
-
|
|
2987
|
-
<Note>
|
|
2988
|
-
**Important:** When using `toUIMessageStreamResponse`, you should always
|
|
2989
|
-
provide both `originalMessages` and `generateMessageId` parameters. Without
|
|
2990
|
-
these, you may experience duplicate or repeated assistant messages in your UI.
|
|
2991
|
-
For more details, see [Troubleshooting: Repeated Assistant
|
|
2992
|
-
Messages](/docs/troubleshooting/repeated-assistant-messages).
|
|
2993
|
-
</Note>
|
|
2994
|
-
|
|
2995
|
-
### Message ID Generation
|
|
2996
|
-
|
|
2997
|
-
The `experimental_generateMessageId` option has been moved from `streamText` configuration to `toUIMessageStreamResponse`, as it's designed for use with `UIMessage`s rather than `ModelMessage`s.
|
|
2998
|
-
|
|
2999
|
-
```tsx filename="AI SDK 4.0"
|
|
3000
|
-
const result = streamText({
|
|
3001
|
-
model: __MODEL__,
|
|
3002
|
-
messages,
|
|
3003
|
-
experimental_generateMessageId: () => generateId(),
|
|
3004
|
-
});
|
|
3005
|
-
```
|
|
3006
|
-
|
|
3007
|
-
```tsx filename="AI SDK 5.0"
|
|
3008
|
-
const result = streamText({
|
|
3009
|
-
model: __MODEL__,
|
|
3010
|
-
messages: convertToModelMessages(messages),
|
|
3011
|
-
});
|
|
3012
|
-
|
|
3013
|
-
return result.toUIMessageStreamResponse({
|
|
3014
|
-
generateMessageId: () => generateId(), // No longer experimental
|
|
3015
|
-
// ...
|
|
3016
|
-
});
|
|
3017
|
-
```
|
|
3018
|
-
|
|
3019
|
-
For more details on message IDs and persistence, see the [Chatbot Message Persistence guide](/docs/ai-sdk-ui/chatbot-message-persistence#message-ids).
|
|
3020
|
-
|
|
3021
|
-
### Using createUIMessageStream
|
|
3022
|
-
|
|
3023
|
-
For more complex scenarios, especially when working with data parts, you can use `createUIMessageStream`:
|
|
3024
|
-
|
|
3025
|
-
```tsx filename="AI SDK 5.0 - Advanced"
|
|
3026
|
-
import {
|
|
3027
|
-
createUIMessageStream,
|
|
3028
|
-
createUIMessageStreamResponse,
|
|
3029
|
-
streamText,
|
|
3030
|
-
convertToModelMessages,
|
|
3031
|
-
UIMessage,
|
|
3032
|
-
} from 'ai';
|
|
3033
|
-
|
|
3034
|
-
const stream = createUIMessageStream({
|
|
3035
|
-
originalMessages: messages,
|
|
3036
|
-
generateId: generateId, // Required for proper message ID generation
|
|
3037
|
-
execute: ({ writer }) => {
|
|
3038
|
-
// Write custom data parts
|
|
3039
|
-
writer.write({
|
|
3040
|
-
type: 'data',
|
|
3041
|
-
data: { status: 'processing', timestamp: Date.now() },
|
|
3042
|
-
});
|
|
3043
|
-
|
|
3044
|
-
// Stream the AI response
|
|
3045
|
-
const result = streamText({
|
|
3046
|
-
model: __MODEL__,
|
|
3047
|
-
messages: convertToModelMessages(messages),
|
|
3048
|
-
});
|
|
3049
|
-
|
|
3050
|
-
writer.merge(result.toUIMessageStream());
|
|
3051
|
-
},
|
|
3052
|
-
onFinish: ({ messages }) => {
|
|
3053
|
-
// messages contains all messages (original + response + data parts) in UIMessage format
|
|
3054
|
-
saveChat({ chatId, messages });
|
|
3055
|
-
},
|
|
3056
|
-
});
|
|
3057
|
-
|
|
3058
|
-
return createUIMessageStreamResponse({ stream });
|
|
3059
|
-
```
|
|
3060
|
-
|
|
3061
|
-
## Provider & Model Changes
|
|
3062
|
-
|
|
3063
|
-
### OpenAI
|
|
3064
|
-
|
|
3065
|
-
#### Default Provider Instance Uses Responses API
|
|
3066
|
-
|
|
3067
|
-
In AI SDK 5, the default OpenAI provider instance uses the Responses API, while AI SDK 4 used the Chat Completions API. The Chat Completions API remains fully supported and you can use it with `openai.chat(...)`.
|
|
3068
|
-
|
|
3069
|
-
```tsx filename="AI SDK 4.0"
|
|
3070
|
-
import { openai } from '@ai-sdk/openai';
|
|
3071
|
-
|
|
3072
|
-
const defaultModel = openai('gpt-4.1-mini'); // Chat Completions API
|
|
3073
|
-
```
|
|
3074
|
-
|
|
3075
|
-
```tsx filename="AI SDK 5.0"
|
|
3076
|
-
import { openai } from '@ai-sdk/openai';
|
|
3077
|
-
|
|
3078
|
-
const defaultModel = openai('gpt-4.1-mini'); // Responses API
|
|
3079
|
-
|
|
3080
|
-
// Specify a specific API when needed:
|
|
3081
|
-
const chatCompletionsModel = openai.chat('gpt-4.1-mini');
|
|
3082
|
-
const responsesModel = openai.responses('gpt-4.1-mini');
|
|
3083
|
-
```
|
|
3084
|
-
|
|
3085
|
-
<Note>
|
|
3086
|
-
The Responses and Chat Completions APIs have different behavior and defaults.
|
|
3087
|
-
If you depend on the Chat Completions API, switch your model instance to
|
|
3088
|
-
`openai.chat(...)` and audit your configuration.
|
|
3089
|
-
</Note>
|
|
3090
|
-
|
|
3091
|
-
#### Strict Schemas (`strictSchemas`) with Responses API
|
|
3092
|
-
|
|
3093
|
-
In AI SDK 4.0, you could set the `strictSchemas` option on Responses models (which defaulted to `true`). This option has been renamed to `strictJsonSchema` in AI SDK 5.0 and now defaults to `false`.
|
|
3094
|
-
|
|
3095
|
-
```tsx filename="AI SDK 4.0"
|
|
3096
|
-
import { z } from 'zod';
|
|
3097
|
-
import { generateObject } from 'ai';
|
|
3098
|
-
import { openai, type OpenAIResponsesProviderOptions } from '@ai-sdk/openai';
|
|
3099
|
-
|
|
3100
|
-
const result = await generateObject({
|
|
3101
|
-
model: openai.responses('gpt-4.1'),
|
|
3102
|
-
schema: z.object({
|
|
3103
|
-
// ...
|
|
3104
|
-
}),
|
|
3105
|
-
providerOptions: {
|
|
3106
|
-
openai: {
|
|
3107
|
-
strictSchemas: true, // default behavior in AI SDK 4
|
|
3108
|
-
} satisfies OpenAIResponsesProviderOptions,
|
|
3109
|
-
},
|
|
3110
|
-
});
|
|
3111
|
-
```
|
|
3112
|
-
|
|
3113
|
-
```tsx filename="AI SDK 5.0"
|
|
3114
|
-
import { z } from 'zod';
|
|
3115
|
-
import { generateObject } from 'ai';
|
|
3116
|
-
import { openai, type OpenAIResponsesProviderOptions } from '@ai-sdk/openai';
|
|
3117
|
-
|
|
3118
|
-
const result = await generateObject({
|
|
3119
|
-
model: openai('gpt-4.1-2024'), // uses Responses API
|
|
3120
|
-
schema: z.object({
|
|
3121
|
-
// ...
|
|
3122
|
-
}),
|
|
3123
|
-
providerOptions: {
|
|
3124
|
-
openai: {
|
|
3125
|
-
strictJsonSchema: true, // defaults to false, opt back in to the AI SDK 4 strict behavior
|
|
3126
|
-
} satisfies OpenAIResponsesProviderOptions,
|
|
3127
|
-
},
|
|
3128
|
-
});
|
|
3129
|
-
```
|
|
3130
|
-
|
|
3131
|
-
If you call `openai.chat(...)` to use the Chat Completions API directly, you can type it with `OpenAIChatLanguageModelOptions`. AI SDK 5 adds the same `strictJsonSchema` option there as well.
|
|
3132
|
-
|
|
3133
|
-
#### Structured Outputs
|
|
3134
|
-
|
|
3135
|
-
The `structuredOutputs` option is now configured using provider options rather than as a setting on the model instance.
|
|
3136
|
-
|
|
3137
|
-
```tsx filename="AI SDK 4.0"
|
|
3138
|
-
import { z } from 'zod';
|
|
3139
|
-
import { generateObject } from 'ai';
|
|
3140
|
-
import { openai } from '@ai-sdk/openai';
|
|
3141
|
-
|
|
3142
|
-
const result = await generateObject({
|
|
3143
|
-
model: openai('gpt-4.1', { structuredOutputs: true }), // use Chat Completions API
|
|
3144
|
-
schema: z.object({ name: z.string() }),
|
|
3145
|
-
});
|
|
3146
|
-
```
|
|
3147
|
-
|
|
3148
|
-
```tsx filename="AI SDK 5.0 (Chat Completions API)"
|
|
3149
|
-
import { z } from 'zod';
|
|
3150
|
-
import { generateObject } from 'ai';
|
|
3151
|
-
import { openai, type OpenAIChatLanguageModelOptions } from '@ai-sdk/openai';
|
|
3152
|
-
|
|
3153
|
-
const result = await generateObject({
|
|
3154
|
-
model: openai.chat('gpt-4.1'), // use Chat Completions API
|
|
3155
|
-
schema: z.object({ name: z.string() }),
|
|
3156
|
-
providerOptions: {
|
|
3157
|
-
openai: {
|
|
3158
|
-
structuredOutputs: true,
|
|
3159
|
-
} satisfies OpenAIChatLanguageModelOptions,
|
|
3160
|
-
},
|
|
3161
|
-
});
|
|
3162
|
-
```
|
|
3163
|
-
|
|
3164
|
-
#### Compatibility Option Removal
|
|
3165
|
-
|
|
3166
|
-
The `compatibility` option has been removed; strict compatibility mode is now the default.
|
|
3167
|
-
|
|
3168
|
-
```tsx filename="AI SDK 4.0"
|
|
3169
|
-
const openai = createOpenAI({
|
|
3170
|
-
compatibility: 'strict',
|
|
3171
|
-
});
|
|
3172
|
-
```
|
|
3173
|
-
|
|
3174
|
-
```tsx filename="AI SDK 5.0"
|
|
3175
|
-
const openai = createOpenAI({
|
|
3176
|
-
// strict compatibility is now the default
|
|
3177
|
-
});
|
|
3178
|
-
```
|
|
3179
|
-
|
|
3180
|
-
#### Legacy Function Calls Removal
|
|
3181
|
-
|
|
3182
|
-
The `useLegacyFunctionCalls` option has been removed.
|
|
3183
|
-
|
|
3184
|
-
```tsx filename="AI SDK 4.0"
|
|
3185
|
-
const result = streamText({
|
|
3186
|
-
model: openai('gpt-4.1', { useLegacyFunctionCalls: true }),
|
|
3187
|
-
});
|
|
3188
|
-
```
|
|
3189
|
-
|
|
3190
|
-
```tsx filename="AI SDK 5.0"
|
|
3191
|
-
const result = streamText({
|
|
3192
|
-
model: openai('gpt-4.1'),
|
|
3193
|
-
});
|
|
3194
|
-
```
|
|
3195
|
-
|
|
3196
|
-
#### Simulate Streaming
|
|
3197
|
-
|
|
3198
|
-
The `simulateStreaming` model option has been replaced with middleware.
|
|
3199
|
-
|
|
3200
|
-
```tsx filename="AI SDK 4.0"
|
|
3201
|
-
const result = generateText({
|
|
3202
|
-
model: openai('gpt-4.1', { simulateStreaming: true }),
|
|
3203
|
-
prompt: 'Hello, world!',
|
|
3204
|
-
});
|
|
3205
|
-
```
|
|
3206
|
-
|
|
3207
|
-
```tsx filename="AI SDK 5.0"
|
|
3208
|
-
import { simulateStreamingMiddleware, wrapLanguageModel } from 'ai';
|
|
3209
|
-
|
|
3210
|
-
const model = wrapLanguageModel({
|
|
3211
|
-
model: openai('gpt-4.1'),
|
|
3212
|
-
middleware: simulateStreamingMiddleware(),
|
|
3213
|
-
});
|
|
3214
|
-
|
|
3215
|
-
const result = generateText({
|
|
3216
|
-
model,
|
|
3217
|
-
prompt: 'Hello, world!',
|
|
3218
|
-
});
|
|
3219
|
-
```
|
|
3220
|
-
|
|
3221
|
-
### Google
|
|
3222
|
-
|
|
3223
|
-
#### Search Grounding is now a provider defined tool
|
|
3224
|
-
|
|
3225
|
-
Search Grounding is now called "Google Search" and is now a provider defined tool.
|
|
3226
|
-
|
|
3227
|
-
```tsx filename="AI SDK 4.0"
|
|
3228
|
-
const { text, providerMetadata } = await generateText({
|
|
3229
|
-
model: google('gemini-1.5-pro', {
|
|
3230
|
-
useSearchGrounding: true,
|
|
3231
|
-
}),
|
|
3232
|
-
prompt: 'List the top 5 San Francisco news from the past week.',
|
|
3233
|
-
});
|
|
3234
|
-
```
|
|
3235
|
-
|
|
3236
|
-
```tsx filename="AI SDK 5.0"
|
|
3237
|
-
import { google } from '@ai-sdk/google';
|
|
3238
|
-
const { text, sources, providerMetadata } = await generateText({
|
|
3239
|
-
model: google('gemini-1.5-pro'),
|
|
3240
|
-
prompt:
|
|
3241
|
-
'List the top 5 San Francisco news from the past week.'
|
|
3242
|
-
tools: {
|
|
3243
|
-
google_search: google.tools.googleSearch({}),
|
|
3244
|
-
},
|
|
3245
|
-
});
|
|
3246
|
-
```
|
|
3247
|
-
|
|
3248
|
-
### Amazon Bedrock
|
|
3249
|
-
|
|
3250
|
-
#### Snake Case → Camel Case
|
|
3251
|
-
|
|
3252
|
-
Provider options have been updated to use camelCase.
|
|
3253
|
-
|
|
3254
|
-
```tsx filename="AI SDK 4.0"
|
|
3255
|
-
const result = await generateText({
|
|
3256
|
-
model: bedrock('amazon.titan-tg1-large'),
|
|
3257
|
-
prompt: 'Hello, world!',
|
|
3258
|
-
providerOptions: {
|
|
3259
|
-
bedrock: {
|
|
3260
|
-
reasoning_config: {
|
|
3261
|
-
/* ... */
|
|
3262
|
-
},
|
|
3263
|
-
},
|
|
3264
|
-
},
|
|
3265
|
-
});
|
|
3266
|
-
```
|
|
3267
|
-
|
|
3268
|
-
```tsx filename="AI SDK 5.0"
|
|
3269
|
-
const result = await generateText({
|
|
3270
|
-
model: bedrock('amazon.titan-tg1-large'),
|
|
3271
|
-
prompt: 'Hello, world!',
|
|
3272
|
-
providerOptions: {
|
|
3273
|
-
bedrock: {
|
|
3274
|
-
reasoningConfig: {
|
|
3275
|
-
/* ... */
|
|
3276
|
-
},
|
|
3277
|
-
},
|
|
3278
|
-
},
|
|
3279
|
-
});
|
|
3280
|
-
```
|
|
3281
|
-
|
|
3282
|
-
### Provider-Utils Changes
|
|
3283
|
-
|
|
3284
|
-
Deprecated `CoreTool*` types have been removed.
|
|
3285
|
-
|
|
3286
|
-
```tsx filename="AI SDK 4.0"
|
|
3287
|
-
import {
|
|
3288
|
-
CoreToolCall,
|
|
3289
|
-
CoreToolResult,
|
|
3290
|
-
CoreToolResultUnion,
|
|
3291
|
-
CoreToolCallUnion,
|
|
3292
|
-
CoreToolChoice,
|
|
3293
|
-
} from '@ai-sdk/provider-utils';
|
|
3294
|
-
```
|
|
3295
|
-
|
|
3296
|
-
```tsx filename="AI SDK 5.0"
|
|
3297
|
-
import {
|
|
3298
|
-
ToolCall,
|
|
3299
|
-
ToolResult,
|
|
3300
|
-
TypedToolResult,
|
|
3301
|
-
TypedToolCall,
|
|
3302
|
-
ToolChoice,
|
|
3303
|
-
} from '@ai-sdk/provider-utils';
|
|
3304
|
-
```
|
|
3305
|
-
|
|
3306
|
-
## Troubleshooting
|
|
3307
|
-
|
|
3308
|
-
### TypeScript Performance Issues with Zod
|
|
3309
|
-
|
|
3310
|
-
If you experience TypeScript server crashes, slow type checking, or errors like "Type instantiation is excessively deep and possibly infinite" when using Zod with AI SDK 5.0:
|
|
3311
|
-
|
|
3312
|
-
1. **First, ensure you're using Zod 4.1.8 or later** - this version includes a fix for module resolution issues that cause TypeScript performance problems.
|
|
3313
|
-
|
|
3314
|
-
2. If the issue persists, update your `tsconfig.json` to use `moduleResolution: "nodenext"`:
|
|
3315
|
-
|
|
3316
|
-
```json
|
|
3317
|
-
{
|
|
3318
|
-
"compilerOptions": {
|
|
3319
|
-
"moduleResolution": "nodenext"
|
|
3320
|
-
// ... other options
|
|
3321
|
-
}
|
|
3322
|
-
}
|
|
3323
|
-
```
|
|
3324
|
-
|
|
3325
|
-
This resolves the TypeScript performance issues while allowing you to continue using the standard Zod import. If this doesn't resolve the issue, you can try using a version-specific import path as an alternative solution. For detailed troubleshooting steps, see [TypeScript performance issues with Zod](/docs/troubleshooting/typescript-performance-zod).
|
|
3326
|
-
|
|
3327
|
-
## Codemod Table
|
|
3328
|
-
|
|
3329
|
-
The following table lists available codemods for the AI SDK 5.0 upgrade
|
|
3330
|
-
process.
|
|
3331
|
-
For more information, see the [Codemods](#codemods) section.
|
|
3332
|
-
|
|
3333
|
-
| Change | Codemod |
|
|
3334
|
-
| ------------------------------------------------ | ----------------------------------------------------- |
|
|
3335
|
-
| **AI SDK Core Changes** | |
|
|
3336
|
-
| Flatten streamText file properties | `v5/flatten-streamtext-file-properties` |
|
|
3337
|
-
| ID Generation Changes | `v5/require-createIdGenerator-size-argument` |
|
|
3338
|
-
| IDGenerator → IdGenerator | `v5/rename-IDGenerator-to-IdGenerator` |
|
|
3339
|
-
| Import LanguageModelV3 from provider package | `v5/import-LanguageModelV3-from-provider-package` |
|
|
3340
|
-
| Migrate to data stream protocol v2 | `v5/migrate-to-data-stream-protocol-v2` |
|
|
3341
|
-
| Move image model maxImagesPerCall | `v5/move-image-model-maxImagesPerCall` |
|
|
3342
|
-
| Move LangChain adapter | `v5/move-langchain-adapter` |
|
|
3343
|
-
| Move maxSteps to stopWhen | `v5/move-maxsteps-to-stopwhen` |
|
|
3344
|
-
| Move provider options | `v5/move-provider-options` |
|
|
3345
|
-
| Move React to AI SDK | `v5/move-react-to-ai-sdk` |
|
|
3346
|
-
| Move UI utils to AI | `v5/move-ui-utils-to-ai` |
|
|
3347
|
-
| Remove experimental wrap language model | `v5/remove-experimental-wrap-language-model` |
|
|
3348
|
-
| Remove experimental activeTools | `v5/remove-experimental-activetools` |
|
|
3349
|
-
| Remove experimental prepareStep | `v5/remove-experimental-preparestep` |
|
|
3350
|
-
| Remove experimental continueSteps | `v5/remove-experimental-continuesteps` |
|
|
3351
|
-
| Remove experimental temperature | `v5/remove-experimental-temperature` |
|
|
3352
|
-
| Remove experimental truncate | `v5/remove-experimental-truncate` |
|
|
3353
|
-
| Remove experimental OpenAI compatibility | `v5/remove-experimental-openai-compatibility` |
|
|
3354
|
-
| Remove experimental OpenAI legacy function calls | `v5/remove-experimental-openai-legacy-function-calls` |
|
|
3355
|
-
| Remove experimental OpenAI structured outputs | `v5/remove-experimental-openai-structured-outputs` |
|
|
3356
|
-
| Remove experimental OpenAI store | `v5/remove-experimental-openai-store` |
|
|
3357
|
-
| Remove experimental OpenAI user | `v5/remove-experimental-openai-user` |
|
|
3358
|
-
| Remove experimental OpenAI parallel tool calls | `v5/remove-experimental-openai-parallel-tool-calls` |
|
|
3359
|
-
| Remove experimental OpenAI response format | `v5/remove-experimental-openai-response-format` |
|
|
3360
|
-
| Remove experimental OpenAI logit bias | `v5/remove-experimental-openai-logit-bias` |
|
|
3361
|
-
| Remove experimental OpenAI logprobs | `v5/remove-experimental-openai-logprobs` |
|
|
3362
|
-
| Remove experimental OpenAI seed | `v5/remove-experimental-openai-seed` |
|
|
3363
|
-
| Remove experimental OpenAI service tier | `v5/remove-experimental-openai-service-tier` |
|
|
3364
|
-
| Remove experimental OpenAI top logprobs | `v5/remove-experimental-openai-top-logprobs` |
|
|
3365
|
-
| Remove experimental OpenAI transform | `v5/remove-experimental-openai-transform` |
|
|
3366
|
-
| Remove experimental OpenAI stream options | `v5/remove-experimental-openai-stream-options` |
|
|
3367
|
-
| Remove experimental OpenAI prediction | `v5/remove-experimental-openai-prediction` |
|
|
3368
|
-
| Remove experimental Anthropic caching | `v5/remove-experimental-anthropic-caching` |
|
|
3369
|
-
| Remove experimental Anthropic computer use | `v5/remove-experimental-anthropic-computer-use` |
|
|
3370
|
-
| Remove experimental Anthropic PDF support | `v5/remove-experimental-anthropic-pdf-support` |
|
|
3371
|
-
| Remove experimental Anthropic prompt caching | `v5/remove-experimental-anthropic-prompt-caching` |
|
|
3372
|
-
| Remove experimental Google search grounding | `v5/remove-experimental-google-search-grounding` |
|
|
3373
|
-
| Remove experimental Google code execution | `v5/remove-experimental-google-code-execution` |
|
|
3374
|
-
| Remove experimental Google cached content | `v5/remove-experimental-google-cached-content` |
|
|
3375
|
-
| Remove experimental Google custom headers | `v5/remove-experimental-google-custom-headers` |
|
|
3376
|
-
| Rename format stream part | `v5/rename-format-stream-part` |
|
|
3377
|
-
| Rename parse stream part | `v5/rename-parse-stream-part` |
|
|
3378
|
-
| Replace image type with file type | `v5/replace-image-type-with-file-type` |
|
|
3379
|
-
| Replace LlamaIndex adapter | `v5/replace-llamaindex-adapter` |
|
|
3380
|
-
| Replace onCompletion with onFinal | `v5/replace-oncompletion-with-onfinal` |
|
|
3381
|
-
| Replace provider metadata with provider options | `v5/replace-provider-metadata-with-provider-options` |
|
|
3382
|
-
| Replace rawResponse with response | `v5/replace-rawresponse-with-response` |
|
|
3383
|
-
| Replace redacted reasoning type | `v5/replace-redacted-reasoning-type` |
|
|
3384
|
-
| Replace simulate streaming | `v5/replace-simulate-streaming` |
|
|
3385
|
-
| Replace textDelta with text | `v5/replace-textdelta-with-text` |
|
|
3386
|
-
| Replace usage token properties | `v5/replace-usage-token-properties` |
|
|
3387
|
-
| Restructure file stream parts | `v5/restructure-file-stream-parts` |
|
|
3388
|
-
| Restructure source stream parts | `v5/restructure-source-stream-parts` |
|
|
3389
|
-
| RSC package | `v5/rsc-package` |
|
|
3390
|
-
|
|
3391
|
-
## Changes Between v5 Beta Versions
|
|
3392
|
-
|
|
3393
|
-
This section documents breaking changes between different beta versions of AI SDK 5.0. If you're upgrading from an earlier v5 beta version to a later one, check this section for any changes that might affect your code.
|
|
3394
|
-
|
|
3395
|
-
### fullStream Type Rename: text/reasoning → text-delta/reasoning-delta
|
|
3396
|
-
|
|
3397
|
-
The chunk types in `fullStream` have been renamed for consistency with UI streams and language model streams.
|
|
3398
|
-
|
|
3399
|
-
```tsx filename="AI SDK 5.0 (before beta.26)"
|
|
3400
|
-
for await (const chunk of result.fullStream) {
|
|
3401
|
-
switch (chunk.type) {
|
|
3402
|
-
case 'text-delta': {
|
|
3403
|
-
process.stdout.write(chunk.text);
|
|
3404
|
-
break;
|
|
3405
|
-
}
|
|
3406
|
-
case 'reasoning': {
|
|
3407
|
-
console.log('Reasoning:', chunk.text);
|
|
3408
|
-
break;
|
|
3409
|
-
}
|
|
3410
|
-
}
|
|
3411
|
-
}
|
|
3412
|
-
```
|
|
3413
|
-
|
|
3414
|
-
```tsx filename="AI SDK 5.0 (beta.26 and later)"
|
|
3415
|
-
for await (const chunk of result.fullStream) {
|
|
3416
|
-
switch (chunk.type) {
|
|
3417
|
-
case 'text-delta': {
|
|
3418
|
-
process.stdout.write(chunk.text);
|
|
3419
|
-
break;
|
|
3420
|
-
}
|
|
3421
|
-
case 'reasoning-delta': {
|
|
3422
|
-
console.log('Reasoning:', chunk.text);
|
|
3423
|
-
break;
|
|
3424
|
-
}
|
|
3425
|
-
}
|
|
3426
|
-
}
|
|
3427
|
-
```
|