ai 7.0.155 → 7.0.157
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/CHANGELOG.md +19 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/internal/index.js +2 -2
- package/dist/internal/index.js.map +1 -1
- package/docs/03-ai-sdk-core/26-reasoning.mdx +9 -3
- package/docs/03-ai-sdk-harnesses/03-tools.mdx +30 -0
- package/docs/07-reference/01-ai-sdk-core/29-filter-active-tools.mdx +2 -7
- package/docs/07-reference/01-ai-sdk-core/index.mdx +1 -1
- package/package.json +11 -11
- package/src/generate-text/index.ts +13 -1
- package/src/util/is-node-runtime.ts +3 -1
package/dist/internal/index.js
CHANGED
|
@@ -110,7 +110,7 @@ function asAsyncIterableStream(stream) {
|
|
|
110
110
|
}
|
|
111
111
|
//#endregion
|
|
112
112
|
//#region src/version.ts
|
|
113
|
-
const VERSION = "7.0.
|
|
113
|
+
const VERSION = "7.0.157";
|
|
114
114
|
//#endregion
|
|
115
115
|
//#region src/util/download/download.ts
|
|
116
116
|
/**
|
|
@@ -1883,7 +1883,7 @@ const AI_SDK_TELEMETRY_TRACING_CHANNEL = "ai:telemetry";
|
|
|
1883
1883
|
//#endregion
|
|
1884
1884
|
//#region src/util/is-node-runtime.ts
|
|
1885
1885
|
function isNodeRuntime() {
|
|
1886
|
-
return
|
|
1886
|
+
return globalThis.process?.release?.name === "node";
|
|
1887
1887
|
}
|
|
1888
1888
|
//#endregion
|
|
1889
1889
|
//#region src/telemetry/tracing-channel-publisher.ts
|