@ai-sdk/google-vertex 5.0.0-beta.26 → 5.0.0-beta.28

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 CHANGED
@@ -1,5 +1,26 @@
1
1
  # @ai-sdk/google-vertex
2
2
 
3
+ ## 5.0.0-beta.28
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [2e17091]
8
+ - @ai-sdk/provider-utils@5.0.0-beta.9
9
+ - @ai-sdk/anthropic@4.0.0-beta.14
10
+ - @ai-sdk/google@4.0.0-beta.21
11
+ - @ai-sdk/openai-compatible@3.0.0-beta.12
12
+
13
+ ## 5.0.0-beta.27
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies [986c6fd]
18
+ - Updated dependencies [493295c]
19
+ - @ai-sdk/provider-utils@5.0.0-beta.8
20
+ - @ai-sdk/anthropic@4.0.0-beta.13
21
+ - @ai-sdk/google@4.0.0-beta.20
22
+ - @ai-sdk/openai-compatible@3.0.0-beta.11
23
+
3
24
  ## 5.0.0-beta.26
4
25
 
5
26
  ### Patch Changes
@@ -36,7 +36,7 @@ declare const vertexAnthropicTools: {
36
36
  bash_20241022: _ai_sdk_provider_utils.ProviderToolFactory<{
37
37
  command: string;
38
38
  restart?: boolean;
39
- }, {}>;
39
+ }, {}, {}>;
40
40
  /**
41
41
  * The bash tool enables Claude to execute shell commands in a persistent bash session,
42
42
  * allowing system operations, script execution, and command-line automation.
@@ -46,7 +46,7 @@ declare const vertexAnthropicTools: {
46
46
  bash_20250124: _ai_sdk_provider_utils.ProviderToolFactory<{
47
47
  command: string;
48
48
  restart?: boolean;
49
- }, {}>;
49
+ }, {}, {}>;
50
50
  /**
51
51
  * Claude can use an Anthropic-defined text editor tool to view and modify text files,
52
52
  * helping you debug, fix, and improve your code or other text documents.
@@ -62,7 +62,7 @@ declare const vertexAnthropicTools: {
62
62
  insert_text?: string;
63
63
  old_str?: string;
64
64
  view_range?: number[];
65
- }, {}>;
65
+ }, {}, {}>;
66
66
  /**
67
67
  * Claude can use an Anthropic-defined text editor tool to view and modify text files,
68
68
  * helping you debug, fix, and improve your code or other text documents.
@@ -78,7 +78,7 @@ declare const vertexAnthropicTools: {
78
78
  insert_text?: string;
79
79
  old_str?: string;
80
80
  view_range?: number[];
81
- }, {}>;
81
+ }, {}, {}>;
82
82
  /**
83
83
  * Claude can use an Anthropic-defined text editor tool to view and modify text files.
84
84
  * Note: This version does not support the "undo_edit" command.
@@ -93,7 +93,7 @@ declare const vertexAnthropicTools: {
93
93
  insert_text?: string;
94
94
  old_str?: string;
95
95
  view_range?: number[];
96
- }, {}>;
96
+ }, {}, {}>;
97
97
  /**
98
98
  * Claude can use an Anthropic-defined text editor tool to view and modify text files.
99
99
  * Note: This version does not support the "undo_edit" command and adds optional max_characters parameter.
@@ -110,7 +110,7 @@ declare const vertexAnthropicTools: {
110
110
  view_range?: number[];
111
111
  }, {
112
112
  maxCharacters?: number;
113
- }>>[0]) => _ai_sdk_provider_utils.Tool<{
113
+ }, {}>>[0]) => _ai_sdk_provider_utils.Tool<{
114
114
  command: "view" | "create" | "str_replace" | "insert";
115
115
  path: string;
116
116
  file_text?: string;
@@ -119,7 +119,7 @@ declare const vertexAnthropicTools: {
119
119
  insert_text?: string;
120
120
  old_str?: string;
121
121
  view_range?: number[];
122
- }, unknown>;
122
+ }, unknown, {}>;
123
123
  /**
124
124
  * Claude can interact with computer environments through the computer use tool, which
125
125
  * provides screenshot capabilities and mouse/keyboard control for autonomous desktop interaction.
@@ -134,7 +134,7 @@ declare const vertexAnthropicTools: {
134
134
  displayWidthPx: number;
135
135
  displayHeightPx: number;
136
136
  displayNumber?: number;
137
- }>;
137
+ }, {}>;
138
138
  /**
139
139
  * Creates a web search tool that gives Claude direct access to real-time web content.
140
140
  */
@@ -157,7 +157,7 @@ declare const vertexAnthropicTools: {
157
157
  country?: string;
158
158
  timezone?: string;
159
159
  };
160
- }>>[0]) => _ai_sdk_provider_utils.Tool<{
160
+ }, {}>>[0]) => _ai_sdk_provider_utils.Tool<{
161
161
  query: string;
162
162
  }, {
163
163
  type: "web_search_result";
@@ -165,7 +165,7 @@ declare const vertexAnthropicTools: {
165
165
  title: string | null;
166
166
  pageAge: string | null;
167
167
  encryptedContent: string;
168
- }[]>;
168
+ }[], {}>;
169
169
  /**
170
170
  * Creates a tool search tool that uses regex patterns to find tools.
171
171
  *
@@ -181,13 +181,13 @@ declare const vertexAnthropicTools: {
181
181
  }, {
182
182
  type: "tool_reference";
183
183
  toolName: string;
184
- }[], {}>>[0]) => _ai_sdk_provider_utils.Tool<{
184
+ }[], {}, {}>>[0]) => _ai_sdk_provider_utils.Tool<{
185
185
  pattern: string;
186
186
  limit?: number;
187
187
  }, {
188
188
  type: "tool_reference";
189
189
  toolName: string;
190
- }[]>;
190
+ }[], {}>;
191
191
  /**
192
192
  * Creates a tool search tool that uses BM25 (natural language) to find tools.
193
193
  *
@@ -203,13 +203,13 @@ declare const vertexAnthropicTools: {
203
203
  }, {
204
204
  type: "tool_reference";
205
205
  toolName: string;
206
- }[], {}>>[0]) => _ai_sdk_provider_utils.Tool<{
206
+ }[], {}, {}>>[0]) => _ai_sdk_provider_utils.Tool<{
207
207
  query: string;
208
208
  limit?: number;
209
209
  }, {
210
210
  type: "tool_reference";
211
211
  toolName: string;
212
- }[]>;
212
+ }[], {}>;
213
213
  };
214
214
  interface GoogleVertexAnthropicProvider extends ProviderV4 {
215
215
  /**
@@ -36,7 +36,7 @@ declare const vertexAnthropicTools: {
36
36
  bash_20241022: _ai_sdk_provider_utils.ProviderToolFactory<{
37
37
  command: string;
38
38
  restart?: boolean;
39
- }, {}>;
39
+ }, {}, {}>;
40
40
  /**
41
41
  * The bash tool enables Claude to execute shell commands in a persistent bash session,
42
42
  * allowing system operations, script execution, and command-line automation.
@@ -46,7 +46,7 @@ declare const vertexAnthropicTools: {
46
46
  bash_20250124: _ai_sdk_provider_utils.ProviderToolFactory<{
47
47
  command: string;
48
48
  restart?: boolean;
49
- }, {}>;
49
+ }, {}, {}>;
50
50
  /**
51
51
  * Claude can use an Anthropic-defined text editor tool to view and modify text files,
52
52
  * helping you debug, fix, and improve your code or other text documents.
@@ -62,7 +62,7 @@ declare const vertexAnthropicTools: {
62
62
  insert_text?: string;
63
63
  old_str?: string;
64
64
  view_range?: number[];
65
- }, {}>;
65
+ }, {}, {}>;
66
66
  /**
67
67
  * Claude can use an Anthropic-defined text editor tool to view and modify text files,
68
68
  * helping you debug, fix, and improve your code or other text documents.
@@ -78,7 +78,7 @@ declare const vertexAnthropicTools: {
78
78
  insert_text?: string;
79
79
  old_str?: string;
80
80
  view_range?: number[];
81
- }, {}>;
81
+ }, {}, {}>;
82
82
  /**
83
83
  * Claude can use an Anthropic-defined text editor tool to view and modify text files.
84
84
  * Note: This version does not support the "undo_edit" command.
@@ -93,7 +93,7 @@ declare const vertexAnthropicTools: {
93
93
  insert_text?: string;
94
94
  old_str?: string;
95
95
  view_range?: number[];
96
- }, {}>;
96
+ }, {}, {}>;
97
97
  /**
98
98
  * Claude can use an Anthropic-defined text editor tool to view and modify text files.
99
99
  * Note: This version does not support the "undo_edit" command and adds optional max_characters parameter.
@@ -110,7 +110,7 @@ declare const vertexAnthropicTools: {
110
110
  view_range?: number[];
111
111
  }, {
112
112
  maxCharacters?: number;
113
- }>>[0]) => _ai_sdk_provider_utils.Tool<{
113
+ }, {}>>[0]) => _ai_sdk_provider_utils.Tool<{
114
114
  command: "view" | "create" | "str_replace" | "insert";
115
115
  path: string;
116
116
  file_text?: string;
@@ -119,7 +119,7 @@ declare const vertexAnthropicTools: {
119
119
  insert_text?: string;
120
120
  old_str?: string;
121
121
  view_range?: number[];
122
- }, unknown>;
122
+ }, unknown, {}>;
123
123
  /**
124
124
  * Claude can interact with computer environments through the computer use tool, which
125
125
  * provides screenshot capabilities and mouse/keyboard control for autonomous desktop interaction.
@@ -134,7 +134,7 @@ declare const vertexAnthropicTools: {
134
134
  displayWidthPx: number;
135
135
  displayHeightPx: number;
136
136
  displayNumber?: number;
137
- }>;
137
+ }, {}>;
138
138
  /**
139
139
  * Creates a web search tool that gives Claude direct access to real-time web content.
140
140
  */
@@ -157,7 +157,7 @@ declare const vertexAnthropicTools: {
157
157
  country?: string;
158
158
  timezone?: string;
159
159
  };
160
- }>>[0]) => _ai_sdk_provider_utils.Tool<{
160
+ }, {}>>[0]) => _ai_sdk_provider_utils.Tool<{
161
161
  query: string;
162
162
  }, {
163
163
  type: "web_search_result";
@@ -165,7 +165,7 @@ declare const vertexAnthropicTools: {
165
165
  title: string | null;
166
166
  pageAge: string | null;
167
167
  encryptedContent: string;
168
- }[]>;
168
+ }[], {}>;
169
169
  /**
170
170
  * Creates a tool search tool that uses regex patterns to find tools.
171
171
  *
@@ -181,13 +181,13 @@ declare const vertexAnthropicTools: {
181
181
  }, {
182
182
  type: "tool_reference";
183
183
  toolName: string;
184
- }[], {}>>[0]) => _ai_sdk_provider_utils.Tool<{
184
+ }[], {}, {}>>[0]) => _ai_sdk_provider_utils.Tool<{
185
185
  pattern: string;
186
186
  limit?: number;
187
187
  }, {
188
188
  type: "tool_reference";
189
189
  toolName: string;
190
- }[]>;
190
+ }[], {}>;
191
191
  /**
192
192
  * Creates a tool search tool that uses BM25 (natural language) to find tools.
193
193
  *
@@ -203,13 +203,13 @@ declare const vertexAnthropicTools: {
203
203
  }, {
204
204
  type: "tool_reference";
205
205
  toolName: string;
206
- }[], {}>>[0]) => _ai_sdk_provider_utils.Tool<{
206
+ }[], {}, {}>>[0]) => _ai_sdk_provider_utils.Tool<{
207
207
  query: string;
208
208
  limit?: number;
209
209
  }, {
210
210
  type: "tool_reference";
211
211
  toolName: string;
212
- }[]>;
212
+ }[], {}>;
213
213
  };
214
214
  interface GoogleVertexAnthropicProvider extends ProviderV4 {
215
215
  /**
@@ -32,7 +32,7 @@ var import_provider_utils3 = require("@ai-sdk/provider-utils");
32
32
  var import_provider_utils = require("@ai-sdk/provider-utils");
33
33
 
34
34
  // src/version.ts
35
- var VERSION = true ? "5.0.0-beta.26" : "0.0.0-test";
35
+ var VERSION = true ? "5.0.0-beta.28" : "0.0.0-test";
36
36
 
37
37
  // src/edge/google-vertex-auth-edge.ts
38
38
  var loadCredentials = async () => {
@@ -10,7 +10,7 @@ import {
10
10
  } from "@ai-sdk/provider-utils";
11
11
 
12
12
  // src/version.ts
13
- var VERSION = true ? "5.0.0-beta.26" : "0.0.0-test";
13
+ var VERSION = true ? "5.0.0-beta.28" : "0.0.0-test";
14
14
 
15
15
  // src/edge/google-vertex-auth-edge.ts
16
16
  var loadCredentials = async () => {
@@ -19,7 +19,7 @@ declare const vertexAnthropicTools: {
19
19
  bash_20241022: _ai_sdk_provider_utils.ProviderToolFactory<{
20
20
  command: string;
21
21
  restart?: boolean;
22
- }, {}>;
22
+ }, {}, {}>;
23
23
  /**
24
24
  * The bash tool enables Claude to execute shell commands in a persistent bash session,
25
25
  * allowing system operations, script execution, and command-line automation.
@@ -29,7 +29,7 @@ declare const vertexAnthropicTools: {
29
29
  bash_20250124: _ai_sdk_provider_utils.ProviderToolFactory<{
30
30
  command: string;
31
31
  restart?: boolean;
32
- }, {}>;
32
+ }, {}, {}>;
33
33
  /**
34
34
  * Claude can use an Anthropic-defined text editor tool to view and modify text files,
35
35
  * helping you debug, fix, and improve your code or other text documents.
@@ -45,7 +45,7 @@ declare const vertexAnthropicTools: {
45
45
  insert_text?: string;
46
46
  old_str?: string;
47
47
  view_range?: number[];
48
- }, {}>;
48
+ }, {}, {}>;
49
49
  /**
50
50
  * Claude can use an Anthropic-defined text editor tool to view and modify text files,
51
51
  * helping you debug, fix, and improve your code or other text documents.
@@ -61,7 +61,7 @@ declare const vertexAnthropicTools: {
61
61
  insert_text?: string;
62
62
  old_str?: string;
63
63
  view_range?: number[];
64
- }, {}>;
64
+ }, {}, {}>;
65
65
  /**
66
66
  * Claude can use an Anthropic-defined text editor tool to view and modify text files.
67
67
  * Note: This version does not support the "undo_edit" command.
@@ -76,7 +76,7 @@ declare const vertexAnthropicTools: {
76
76
  insert_text?: string;
77
77
  old_str?: string;
78
78
  view_range?: number[];
79
- }, {}>;
79
+ }, {}, {}>;
80
80
  /**
81
81
  * Claude can use an Anthropic-defined text editor tool to view and modify text files.
82
82
  * Note: This version does not support the "undo_edit" command and adds optional max_characters parameter.
@@ -93,7 +93,7 @@ declare const vertexAnthropicTools: {
93
93
  view_range?: number[];
94
94
  }, {
95
95
  maxCharacters?: number;
96
- }>>[0]) => _ai_sdk_provider_utils.Tool<{
96
+ }, {}>>[0]) => _ai_sdk_provider_utils.Tool<{
97
97
  command: "view" | "create" | "str_replace" | "insert";
98
98
  path: string;
99
99
  file_text?: string;
@@ -102,7 +102,7 @@ declare const vertexAnthropicTools: {
102
102
  insert_text?: string;
103
103
  old_str?: string;
104
104
  view_range?: number[];
105
- }, unknown>;
105
+ }, unknown, {}>;
106
106
  /**
107
107
  * Claude can interact with computer environments through the computer use tool, which
108
108
  * provides screenshot capabilities and mouse/keyboard control for autonomous desktop interaction.
@@ -117,7 +117,7 @@ declare const vertexAnthropicTools: {
117
117
  displayWidthPx: number;
118
118
  displayHeightPx: number;
119
119
  displayNumber?: number;
120
- }>;
120
+ }, {}>;
121
121
  /**
122
122
  * Creates a web search tool that gives Claude direct access to real-time web content.
123
123
  */
@@ -140,7 +140,7 @@ declare const vertexAnthropicTools: {
140
140
  country?: string;
141
141
  timezone?: string;
142
142
  };
143
- }>>[0]) => _ai_sdk_provider_utils.Tool<{
143
+ }, {}>>[0]) => _ai_sdk_provider_utils.Tool<{
144
144
  query: string;
145
145
  }, {
146
146
  type: "web_search_result";
@@ -148,7 +148,7 @@ declare const vertexAnthropicTools: {
148
148
  title: string | null;
149
149
  pageAge: string | null;
150
150
  encryptedContent: string;
151
- }[]>;
151
+ }[], {}>;
152
152
  /**
153
153
  * Creates a tool search tool that uses regex patterns to find tools.
154
154
  *
@@ -164,13 +164,13 @@ declare const vertexAnthropicTools: {
164
164
  }, {
165
165
  type: "tool_reference";
166
166
  toolName: string;
167
- }[], {}>>[0]) => _ai_sdk_provider_utils.Tool<{
167
+ }[], {}, {}>>[0]) => _ai_sdk_provider_utils.Tool<{
168
168
  pattern: string;
169
169
  limit?: number;
170
170
  }, {
171
171
  type: "tool_reference";
172
172
  toolName: string;
173
- }[]>;
173
+ }[], {}>;
174
174
  /**
175
175
  * Creates a tool search tool that uses BM25 (natural language) to find tools.
176
176
  *
@@ -186,13 +186,13 @@ declare const vertexAnthropicTools: {
186
186
  }, {
187
187
  type: "tool_reference";
188
188
  toolName: string;
189
- }[], {}>>[0]) => _ai_sdk_provider_utils.Tool<{
189
+ }[], {}, {}>>[0]) => _ai_sdk_provider_utils.Tool<{
190
190
  query: string;
191
191
  limit?: number;
192
192
  }, {
193
193
  type: "tool_reference";
194
194
  toolName: string;
195
- }[]>;
195
+ }[], {}>;
196
196
  };
197
197
  interface GoogleVertexAnthropicProvider extends ProviderV4 {
198
198
  /**
@@ -19,7 +19,7 @@ declare const vertexAnthropicTools: {
19
19
  bash_20241022: _ai_sdk_provider_utils.ProviderToolFactory<{
20
20
  command: string;
21
21
  restart?: boolean;
22
- }, {}>;
22
+ }, {}, {}>;
23
23
  /**
24
24
  * The bash tool enables Claude to execute shell commands in a persistent bash session,
25
25
  * allowing system operations, script execution, and command-line automation.
@@ -29,7 +29,7 @@ declare const vertexAnthropicTools: {
29
29
  bash_20250124: _ai_sdk_provider_utils.ProviderToolFactory<{
30
30
  command: string;
31
31
  restart?: boolean;
32
- }, {}>;
32
+ }, {}, {}>;
33
33
  /**
34
34
  * Claude can use an Anthropic-defined text editor tool to view and modify text files,
35
35
  * helping you debug, fix, and improve your code or other text documents.
@@ -45,7 +45,7 @@ declare const vertexAnthropicTools: {
45
45
  insert_text?: string;
46
46
  old_str?: string;
47
47
  view_range?: number[];
48
- }, {}>;
48
+ }, {}, {}>;
49
49
  /**
50
50
  * Claude can use an Anthropic-defined text editor tool to view and modify text files,
51
51
  * helping you debug, fix, and improve your code or other text documents.
@@ -61,7 +61,7 @@ declare const vertexAnthropicTools: {
61
61
  insert_text?: string;
62
62
  old_str?: string;
63
63
  view_range?: number[];
64
- }, {}>;
64
+ }, {}, {}>;
65
65
  /**
66
66
  * Claude can use an Anthropic-defined text editor tool to view and modify text files.
67
67
  * Note: This version does not support the "undo_edit" command.
@@ -76,7 +76,7 @@ declare const vertexAnthropicTools: {
76
76
  insert_text?: string;
77
77
  old_str?: string;
78
78
  view_range?: number[];
79
- }, {}>;
79
+ }, {}, {}>;
80
80
  /**
81
81
  * Claude can use an Anthropic-defined text editor tool to view and modify text files.
82
82
  * Note: This version does not support the "undo_edit" command and adds optional max_characters parameter.
@@ -93,7 +93,7 @@ declare const vertexAnthropicTools: {
93
93
  view_range?: number[];
94
94
  }, {
95
95
  maxCharacters?: number;
96
- }>>[0]) => _ai_sdk_provider_utils.Tool<{
96
+ }, {}>>[0]) => _ai_sdk_provider_utils.Tool<{
97
97
  command: "view" | "create" | "str_replace" | "insert";
98
98
  path: string;
99
99
  file_text?: string;
@@ -102,7 +102,7 @@ declare const vertexAnthropicTools: {
102
102
  insert_text?: string;
103
103
  old_str?: string;
104
104
  view_range?: number[];
105
- }, unknown>;
105
+ }, unknown, {}>;
106
106
  /**
107
107
  * Claude can interact with computer environments through the computer use tool, which
108
108
  * provides screenshot capabilities and mouse/keyboard control for autonomous desktop interaction.
@@ -117,7 +117,7 @@ declare const vertexAnthropicTools: {
117
117
  displayWidthPx: number;
118
118
  displayHeightPx: number;
119
119
  displayNumber?: number;
120
- }>;
120
+ }, {}>;
121
121
  /**
122
122
  * Creates a web search tool that gives Claude direct access to real-time web content.
123
123
  */
@@ -140,7 +140,7 @@ declare const vertexAnthropicTools: {
140
140
  country?: string;
141
141
  timezone?: string;
142
142
  };
143
- }>>[0]) => _ai_sdk_provider_utils.Tool<{
143
+ }, {}>>[0]) => _ai_sdk_provider_utils.Tool<{
144
144
  query: string;
145
145
  }, {
146
146
  type: "web_search_result";
@@ -148,7 +148,7 @@ declare const vertexAnthropicTools: {
148
148
  title: string | null;
149
149
  pageAge: string | null;
150
150
  encryptedContent: string;
151
- }[]>;
151
+ }[], {}>;
152
152
  /**
153
153
  * Creates a tool search tool that uses regex patterns to find tools.
154
154
  *
@@ -164,13 +164,13 @@ declare const vertexAnthropicTools: {
164
164
  }, {
165
165
  type: "tool_reference";
166
166
  toolName: string;
167
- }[], {}>>[0]) => _ai_sdk_provider_utils.Tool<{
167
+ }[], {}, {}>>[0]) => _ai_sdk_provider_utils.Tool<{
168
168
  pattern: string;
169
169
  limit?: number;
170
170
  }, {
171
171
  type: "tool_reference";
172
172
  toolName: string;
173
- }[]>;
173
+ }[], {}>;
174
174
  /**
175
175
  * Creates a tool search tool that uses BM25 (natural language) to find tools.
176
176
  *
@@ -186,13 +186,13 @@ declare const vertexAnthropicTools: {
186
186
  }, {
187
187
  type: "tool_reference";
188
188
  toolName: string;
189
- }[], {}>>[0]) => _ai_sdk_provider_utils.Tool<{
189
+ }[], {}, {}>>[0]) => _ai_sdk_provider_utils.Tool<{
190
190
  query: string;
191
191
  limit?: number;
192
192
  }, {
193
193
  type: "tool_reference";
194
194
  toolName: string;
195
- }[]>;
195
+ }[], {}>;
196
196
  };
197
197
  interface GoogleVertexAnthropicProvider extends ProviderV4 {
198
198
  /**
@@ -37,27 +37,27 @@ declare const googleVertexTools: {
37
37
  startTime: string;
38
38
  endTime: string;
39
39
  } | undefined;
40
- }>;
41
- enterpriseWebSearch: _ai_sdk_provider_utils.ProviderToolFactory<{}, {}>;
42
- googleMaps: _ai_sdk_provider_utils.ProviderToolFactory<{}, {}>;
43
- urlContext: _ai_sdk_provider_utils.ProviderToolFactory<{}, {}>;
40
+ }, {}>;
41
+ enterpriseWebSearch: _ai_sdk_provider_utils.ProviderToolFactory<{}, {}, {}>;
42
+ googleMaps: _ai_sdk_provider_utils.ProviderToolFactory<{}, {}, {}>;
43
+ urlContext: _ai_sdk_provider_utils.ProviderToolFactory<{}, {}, {}>;
44
44
  fileSearch: _ai_sdk_provider_utils.ProviderToolFactory<{}, {
45
45
  [x: string]: unknown;
46
46
  fileSearchStoreNames: string[];
47
47
  topK?: number | undefined;
48
48
  metadataFilter?: string | undefined;
49
- }>;
49
+ }, {}>;
50
50
  codeExecution: _ai_sdk_provider_utils.ProviderToolFactoryWithOutputSchema<{
51
51
  language: string;
52
52
  code: string;
53
53
  }, {
54
54
  outcome: string;
55
55
  output: string;
56
- }, {}>;
56
+ }, {}, {}>;
57
57
  vertexRagStore: _ai_sdk_provider_utils.ProviderToolFactory<{}, {
58
58
  ragCorpus: string;
59
59
  topK?: number;
60
- }>;
60
+ }, {}>;
61
61
  };
62
62
 
63
63
  type GoogleVertexVideoModelId = 'veo-2.0-generate-preview' | 'veo-2.0-generate-exp' | 'veo-2.0-generate-001' | 'veo-3.0-generate-001' | 'veo-3.0-fast-generate-001' | 'veo-3.0-generate-preview' | 'veo-3.0-fast-generate-preview' | 'veo-3.1-generate-001' | 'veo-3.1-fast-generate-001' | 'veo-3.1-generate-preview' | 'veo-3.1-fast-generate-preview' | (string & {});
@@ -37,27 +37,27 @@ declare const googleVertexTools: {
37
37
  startTime: string;
38
38
  endTime: string;
39
39
  } | undefined;
40
- }>;
41
- enterpriseWebSearch: _ai_sdk_provider_utils.ProviderToolFactory<{}, {}>;
42
- googleMaps: _ai_sdk_provider_utils.ProviderToolFactory<{}, {}>;
43
- urlContext: _ai_sdk_provider_utils.ProviderToolFactory<{}, {}>;
40
+ }, {}>;
41
+ enterpriseWebSearch: _ai_sdk_provider_utils.ProviderToolFactory<{}, {}, {}>;
42
+ googleMaps: _ai_sdk_provider_utils.ProviderToolFactory<{}, {}, {}>;
43
+ urlContext: _ai_sdk_provider_utils.ProviderToolFactory<{}, {}, {}>;
44
44
  fileSearch: _ai_sdk_provider_utils.ProviderToolFactory<{}, {
45
45
  [x: string]: unknown;
46
46
  fileSearchStoreNames: string[];
47
47
  topK?: number | undefined;
48
48
  metadataFilter?: string | undefined;
49
- }>;
49
+ }, {}>;
50
50
  codeExecution: _ai_sdk_provider_utils.ProviderToolFactoryWithOutputSchema<{
51
51
  language: string;
52
52
  code: string;
53
53
  }, {
54
54
  outcome: string;
55
55
  output: string;
56
- }, {}>;
56
+ }, {}, {}>;
57
57
  vertexRagStore: _ai_sdk_provider_utils.ProviderToolFactory<{}, {
58
58
  ragCorpus: string;
59
59
  topK?: number;
60
- }>;
60
+ }, {}>;
61
61
  };
62
62
 
63
63
  type GoogleVertexVideoModelId = 'veo-2.0-generate-preview' | 'veo-2.0-generate-exp' | 'veo-2.0-generate-001' | 'veo-3.0-generate-001' | 'veo-3.0-fast-generate-001' | 'veo-3.0-generate-preview' | 'veo-3.0-fast-generate-preview' | 'veo-3.1-generate-001' | 'veo-3.1-fast-generate-001' | 'veo-3.1-generate-preview' | 'veo-3.1-fast-generate-preview' | (string & {});
@@ -33,7 +33,7 @@ var import_internal3 = require("@ai-sdk/google/internal");
33
33
  var import_provider_utils5 = require("@ai-sdk/provider-utils");
34
34
 
35
35
  // src/version.ts
36
- var VERSION = true ? "5.0.0-beta.26" : "0.0.0-test";
36
+ var VERSION = true ? "5.0.0-beta.28" : "0.0.0-test";
37
37
 
38
38
  // src/google-vertex-embedding-model.ts
39
39
  var import_provider = require("@ai-sdk/provider");
@@ -14,7 +14,7 @@ import {
14
14
  } from "@ai-sdk/provider-utils";
15
15
 
16
16
  // src/version.ts
17
- var VERSION = true ? "5.0.0-beta.26" : "0.0.0-test";
17
+ var VERSION = true ? "5.0.0-beta.28" : "0.0.0-test";
18
18
 
19
19
  // src/google-vertex-embedding-model.ts
20
20
  import {
package/dist/index.d.mts CHANGED
@@ -112,27 +112,27 @@ declare const googleVertexTools: {
112
112
  startTime: string;
113
113
  endTime: string;
114
114
  } | undefined;
115
- }>;
116
- enterpriseWebSearch: _ai_sdk_provider_utils.ProviderToolFactory<{}, {}>;
117
- googleMaps: _ai_sdk_provider_utils.ProviderToolFactory<{}, {}>;
118
- urlContext: _ai_sdk_provider_utils.ProviderToolFactory<{}, {}>;
115
+ }, {}>;
116
+ enterpriseWebSearch: _ai_sdk_provider_utils.ProviderToolFactory<{}, {}, {}>;
117
+ googleMaps: _ai_sdk_provider_utils.ProviderToolFactory<{}, {}, {}>;
118
+ urlContext: _ai_sdk_provider_utils.ProviderToolFactory<{}, {}, {}>;
119
119
  fileSearch: _ai_sdk_provider_utils.ProviderToolFactory<{}, {
120
120
  [x: string]: unknown;
121
121
  fileSearchStoreNames: string[];
122
122
  topK?: number | undefined;
123
123
  metadataFilter?: string | undefined;
124
- }>;
124
+ }, {}>;
125
125
  codeExecution: _ai_sdk_provider_utils.ProviderToolFactoryWithOutputSchema<{
126
126
  language: string;
127
127
  code: string;
128
128
  }, {
129
129
  outcome: string;
130
130
  output: string;
131
- }, {}>;
131
+ }, {}, {}>;
132
132
  vertexRagStore: _ai_sdk_provider_utils.ProviderToolFactory<{}, {
133
133
  ragCorpus: string;
134
134
  topK?: number;
135
- }>;
135
+ }, {}>;
136
136
  };
137
137
 
138
138
  interface GoogleVertexProvider extends ProviderV4 {
package/dist/index.d.ts CHANGED
@@ -112,27 +112,27 @@ declare const googleVertexTools: {
112
112
  startTime: string;
113
113
  endTime: string;
114
114
  } | undefined;
115
- }>;
116
- enterpriseWebSearch: _ai_sdk_provider_utils.ProviderToolFactory<{}, {}>;
117
- googleMaps: _ai_sdk_provider_utils.ProviderToolFactory<{}, {}>;
118
- urlContext: _ai_sdk_provider_utils.ProviderToolFactory<{}, {}>;
115
+ }, {}>;
116
+ enterpriseWebSearch: _ai_sdk_provider_utils.ProviderToolFactory<{}, {}, {}>;
117
+ googleMaps: _ai_sdk_provider_utils.ProviderToolFactory<{}, {}, {}>;
118
+ urlContext: _ai_sdk_provider_utils.ProviderToolFactory<{}, {}, {}>;
119
119
  fileSearch: _ai_sdk_provider_utils.ProviderToolFactory<{}, {
120
120
  [x: string]: unknown;
121
121
  fileSearchStoreNames: string[];
122
122
  topK?: number | undefined;
123
123
  metadataFilter?: string | undefined;
124
- }>;
124
+ }, {}>;
125
125
  codeExecution: _ai_sdk_provider_utils.ProviderToolFactoryWithOutputSchema<{
126
126
  language: string;
127
127
  code: string;
128
128
  }, {
129
129
  outcome: string;
130
130
  output: string;
131
- }, {}>;
131
+ }, {}, {}>;
132
132
  vertexRagStore: _ai_sdk_provider_utils.ProviderToolFactory<{}, {
133
133
  ragCorpus: string;
134
134
  topK?: number;
135
- }>;
135
+ }, {}>;
136
136
  };
137
137
 
138
138
  interface GoogleVertexProvider extends ProviderV4 {
package/dist/index.js CHANGED
@@ -55,7 +55,7 @@ var import_internal3 = require("@ai-sdk/google/internal");
55
55
  var import_provider_utils5 = require("@ai-sdk/provider-utils");
56
56
 
57
57
  // src/version.ts
58
- var VERSION = true ? "5.0.0-beta.26" : "0.0.0-test";
58
+ var VERSION = true ? "5.0.0-beta.28" : "0.0.0-test";
59
59
 
60
60
  // src/google-vertex-embedding-model.ts
61
61
  var import_provider = require("@ai-sdk/provider");
package/dist/index.mjs CHANGED
@@ -35,7 +35,7 @@ import {
35
35
  } from "@ai-sdk/provider-utils";
36
36
 
37
37
  // src/version.ts
38
- var VERSION = true ? "5.0.0-beta.26" : "0.0.0-test";
38
+ var VERSION = true ? "5.0.0-beta.28" : "0.0.0-test";
39
39
 
40
40
  // src/google-vertex-embedding-model.ts
41
41
  import {
@@ -32,7 +32,7 @@ var import_provider_utils3 = require("@ai-sdk/provider-utils");
32
32
  var import_provider_utils = require("@ai-sdk/provider-utils");
33
33
 
34
34
  // src/version.ts
35
- var VERSION = true ? "5.0.0-beta.26" : "0.0.0-test";
35
+ var VERSION = true ? "5.0.0-beta.28" : "0.0.0-test";
36
36
 
37
37
  // src/edge/google-vertex-auth-edge.ts
38
38
  var loadCredentials = async () => {
@@ -10,7 +10,7 @@ import {
10
10
  } from "@ai-sdk/provider-utils";
11
11
 
12
12
  // src/version.ts
13
- var VERSION = true ? "5.0.0-beta.26" : "0.0.0-test";
13
+ var VERSION = true ? "5.0.0-beta.28" : "0.0.0-test";
14
14
 
15
15
  // src/edge/google-vertex-auth-edge.ts
16
16
  var loadCredentials = async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/google-vertex",
3
- "version": "5.0.0-beta.26",
3
+ "version": "5.0.0-beta.28",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -60,19 +60,19 @@
60
60
  },
61
61
  "dependencies": {
62
62
  "google-auth-library": "^10.5.0",
63
- "@ai-sdk/anthropic": "4.0.0-beta.12",
64
- "@ai-sdk/google": "4.0.0-beta.19",
63
+ "@ai-sdk/anthropic": "4.0.0-beta.14",
64
+ "@ai-sdk/google": "4.0.0-beta.21",
65
+ "@ai-sdk/openai-compatible": "3.0.0-beta.12",
65
66
  "@ai-sdk/provider": "4.0.0-beta.5",
66
- "@ai-sdk/openai-compatible": "3.0.0-beta.10",
67
- "@ai-sdk/provider-utils": "5.0.0-beta.7"
67
+ "@ai-sdk/provider-utils": "5.0.0-beta.9"
68
68
  },
69
69
  "devDependencies": {
70
70
  "@types/node": "20.17.24",
71
71
  "tsup": "^8",
72
72
  "typescript": "5.8.3",
73
73
  "zod": "3.25.76",
74
- "@vercel/ai-tsconfig": "0.0.0",
75
- "@ai-sdk/test-server": "2.0.0-beta.0"
74
+ "@ai-sdk/test-server": "2.0.0-beta.0",
75
+ "@vercel/ai-tsconfig": "0.0.0"
76
76
  },
77
77
  "peerDependencies": {
78
78
  "zod": "^3.25.76 || ^4.1.8"