ai 6.0.0-beta.108 → 6.0.0-beta.110
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 +16 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +1 -1
- package/dist/internal/index.mjs +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# ai
|
|
2
2
|
|
|
3
|
+
## 6.0.0-beta.110
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- db913bd: fix(google): add thought signature to gemini 3 pro image parts
|
|
8
|
+
- Updated dependencies [db913bd]
|
|
9
|
+
- @ai-sdk/provider@3.0.0-beta.17
|
|
10
|
+
- @ai-sdk/gateway@2.0.0-beta.60
|
|
11
|
+
- @ai-sdk/provider-utils@4.0.0-beta.34
|
|
12
|
+
|
|
13
|
+
## 6.0.0-beta.109
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- 79ba99f: feat(agent): add message metadata support when inferring UI messages
|
|
18
|
+
|
|
3
19
|
## 6.0.0-beta.108
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -2787,7 +2787,7 @@ type InferAgentTools<AGENT> = AGENT extends Agent<any, infer TOOLS, any> ? TOOLS
|
|
|
2787
2787
|
/**
|
|
2788
2788
|
* Infer the UI message type of an agent.
|
|
2789
2789
|
*/
|
|
2790
|
-
type InferAgentUIMessage<AGENT> = UIMessage<
|
|
2790
|
+
type InferAgentUIMessage<AGENT, MESSAGE_METADATA = unknown> = UIMessage<MESSAGE_METADATA, never, InferUITools<InferAgentTools<AGENT>>>;
|
|
2791
2791
|
|
|
2792
2792
|
/**
|
|
2793
2793
|
* Runs the agent and returns a response object with a UI message stream.
|
package/dist/index.d.ts
CHANGED
|
@@ -2787,7 +2787,7 @@ type InferAgentTools<AGENT> = AGENT extends Agent<any, infer TOOLS, any> ? TOOLS
|
|
|
2787
2787
|
/**
|
|
2788
2788
|
* Infer the UI message type of an agent.
|
|
2789
2789
|
*/
|
|
2790
|
-
type InferAgentUIMessage<AGENT> = UIMessage<
|
|
2790
|
+
type InferAgentUIMessage<AGENT, MESSAGE_METADATA = unknown> = UIMessage<MESSAGE_METADATA, never, InferUITools<InferAgentTools<AGENT>>>;
|
|
2791
2791
|
|
|
2792
2792
|
/**
|
|
2793
2793
|
* Runs the agent and returns a response object with a UI message stream.
|
package/dist/index.js
CHANGED
|
@@ -886,7 +886,7 @@ function detectMediaType({
|
|
|
886
886
|
var import_provider_utils2 = require("@ai-sdk/provider-utils");
|
|
887
887
|
|
|
888
888
|
// src/version.ts
|
|
889
|
-
var VERSION = true ? "6.0.0-beta.
|
|
889
|
+
var VERSION = true ? "6.0.0-beta.110" : "0.0.0-test";
|
|
890
890
|
|
|
891
891
|
// src/util/download/download.ts
|
|
892
892
|
var download = async ({ url }) => {
|
|
@@ -3841,7 +3841,8 @@ function asContent({
|
|
|
3841
3841
|
case "file": {
|
|
3842
3842
|
return {
|
|
3843
3843
|
type: "file",
|
|
3844
|
-
file: new DefaultGeneratedFile(part)
|
|
3844
|
+
file: new DefaultGeneratedFile(part),
|
|
3845
|
+
...part.providerMetadata != null ? { providerMetadata: part.providerMetadata } : {}
|
|
3845
3846
|
};
|
|
3846
3847
|
}
|
|
3847
3848
|
case "tool-call": {
|