ai 7.0.118 → 7.0.119
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 +23 -0
- package/dist/index.js +57 -26
- package/dist/index.js.map +1 -1
- package/dist/internal/index.js +3 -1
- package/dist/internal/index.js.map +1 -1
- package/dist/test/index.d.ts +5 -1
- package/dist/test/index.js +4 -0
- package/dist/test/index.js.map +1 -1
- package/docs/03-ai-sdk-core/35-image-generation.mdx +38 -0
- package/docs/03-ai-sdk-core/36-transcription.mdx +1 -0
- package/docs/03-ai-sdk-harnesses/02-harness-agent.mdx +51 -9
- package/docs/07-reference/01-ai-sdk-core/61-wrap-image-model.mdx +16 -1
- package/package.json +12 -12
- package/src/middleware/wrap-image-model.ts +13 -0
- package/src/telemetry/tracing-channel-publisher.ts +1 -0
- package/src/test/mock-image-model-v4.ts +8 -0
- package/src/ui/process-ui-message-stream.ts +1 -6
- package/src/util/write-to-server-response.ts +41 -2
package/dist/internal/index.js
CHANGED
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
} from "@ai-sdk/provider-utils";
|
|
91
91
|
|
|
92
92
|
// src/version.ts
|
|
93
|
-
var VERSION = true ? "7.0.
|
|
93
|
+
var VERSION = true ? "7.0.119" : "0.0.0-test";
|
|
94
94
|
|
|
95
95
|
// src/util/download/download.ts
|
|
96
96
|
var download = async ({
|
|
@@ -2638,6 +2638,8 @@ function openTelemetryChannelSpanContext({
|
|
|
2638
2638
|
completion
|
|
2639
2639
|
}) {
|
|
2640
2640
|
if (!isNodeRuntime()) {
|
|
2641
|
+
Promise.resolve(completion).catch(() => {
|
|
2642
|
+
});
|
|
2641
2643
|
return void 0;
|
|
2642
2644
|
}
|
|
2643
2645
|
const diagnosticsChannel = loadBuiltinModule(
|