@adaline/bedrock 1.9.0 → 2.1.0

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/index.d.mts CHANGED
@@ -11,6 +11,12 @@ declare const BedrockAnthropicChatModelBaseConfigSchema: (maxOutputTokens: numbe
11
11
  topP: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
12
12
  topK: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
13
13
  toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
14
+ mcp: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
15
+ mcpServers: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
16
+ [x: string]: any;
17
+ }, {
18
+ [x: string]: any;
19
+ }>>;
14
20
  }, {
15
21
  awsRegion: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
16
22
  }>, "strip", zod.ZodTypeAny, {
@@ -21,6 +27,10 @@ declare const BedrockAnthropicChatModelBaseConfigSchema: (maxOutputTokens: numbe
21
27
  topP?: number | undefined;
22
28
  topK?: number | undefined;
23
29
  toolChoice?: string | null | undefined;
30
+ mcp?: boolean | null | undefined;
31
+ mcpServers?: {
32
+ [x: string]: any;
33
+ } | undefined;
24
34
  }, {
25
35
  awsRegion?: string | null | undefined;
26
36
  temperature?: number | undefined;
@@ -29,6 +39,10 @@ declare const BedrockAnthropicChatModelBaseConfigSchema: (maxOutputTokens: numbe
29
39
  topP?: number | undefined;
30
40
  topK?: number | undefined;
31
41
  toolChoice?: string | null | undefined;
42
+ mcp?: boolean | null | undefined;
43
+ mcpServers?: {
44
+ [x: string]: any;
45
+ } | undefined;
32
46
  }>;
33
47
  declare const BedrockAnthropicChatModelBaseConfigDef: (maxOutputTokens: number, maxSequences: number) => {
34
48
  readonly awsRegion: {
@@ -94,6 +108,20 @@ declare const BedrockAnthropicChatModelBaseConfigDef: (maxOutputTokens: number,
94
108
  default: string;
95
109
  choices: string[];
96
110
  };
111
+ readonly mcp: {
112
+ type: "select-boolean";
113
+ param: string;
114
+ title: string;
115
+ description: string;
116
+ default: boolean | null;
117
+ };
118
+ readonly mcpServers: {
119
+ type: "object-schema";
120
+ param: string;
121
+ title: string;
122
+ description: string;
123
+ objectSchema?: any;
124
+ };
97
125
  };
98
126
 
99
127
  declare const awsRegionChoice: {
@@ -174,6 +202,20 @@ declare const BedrockAnthropicChatModelConfigs: {
174
202
  default: string;
175
203
  choices: string[];
176
204
  };
205
+ readonly mcp: {
206
+ type: "select-boolean";
207
+ param: string;
208
+ title: string;
209
+ description: string;
210
+ default: boolean | null;
211
+ };
212
+ readonly mcpServers: {
213
+ type: "object-schema";
214
+ param: string;
215
+ title: string;
216
+ description: string;
217
+ objectSchema?: any;
218
+ };
177
219
  };
178
220
  schema: zod.ZodObject<zod.objectUtil.extendShape<{
179
221
  temperature: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
@@ -182,6 +224,12 @@ declare const BedrockAnthropicChatModelConfigs: {
182
224
  topP: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
183
225
  topK: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
184
226
  toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
227
+ mcp: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
228
+ mcpServers: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
229
+ [x: string]: any;
230
+ }, {
231
+ [x: string]: any;
232
+ }>>;
185
233
  }, {
186
234
  awsRegion: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
187
235
  }>, "strip", zod.ZodTypeAny, {
@@ -192,6 +240,10 @@ declare const BedrockAnthropicChatModelConfigs: {
192
240
  topP?: number | undefined;
193
241
  topK?: number | undefined;
194
242
  toolChoice?: string | null | undefined;
243
+ mcp?: boolean | null | undefined;
244
+ mcpServers?: {
245
+ [x: string]: any;
246
+ } | undefined;
195
247
  }, {
196
248
  awsRegion?: string | null | undefined;
197
249
  temperature?: number | undefined;
@@ -200,6 +252,10 @@ declare const BedrockAnthropicChatModelConfigs: {
200
252
  topP?: number | undefined;
201
253
  topK?: number | undefined;
202
254
  toolChoice?: string | null | undefined;
255
+ mcp?: boolean | null | undefined;
256
+ mcpServers?: {
257
+ [x: string]: any;
258
+ } | undefined;
203
259
  }>;
204
260
  };
205
261
  };
package/dist/index.d.ts CHANGED
@@ -11,6 +11,12 @@ declare const BedrockAnthropicChatModelBaseConfigSchema: (maxOutputTokens: numbe
11
11
  topP: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
12
12
  topK: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
13
13
  toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
14
+ mcp: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
15
+ mcpServers: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
16
+ [x: string]: any;
17
+ }, {
18
+ [x: string]: any;
19
+ }>>;
14
20
  }, {
15
21
  awsRegion: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
16
22
  }>, "strip", zod.ZodTypeAny, {
@@ -21,6 +27,10 @@ declare const BedrockAnthropicChatModelBaseConfigSchema: (maxOutputTokens: numbe
21
27
  topP?: number | undefined;
22
28
  topK?: number | undefined;
23
29
  toolChoice?: string | null | undefined;
30
+ mcp?: boolean | null | undefined;
31
+ mcpServers?: {
32
+ [x: string]: any;
33
+ } | undefined;
24
34
  }, {
25
35
  awsRegion?: string | null | undefined;
26
36
  temperature?: number | undefined;
@@ -29,6 +39,10 @@ declare const BedrockAnthropicChatModelBaseConfigSchema: (maxOutputTokens: numbe
29
39
  topP?: number | undefined;
30
40
  topK?: number | undefined;
31
41
  toolChoice?: string | null | undefined;
42
+ mcp?: boolean | null | undefined;
43
+ mcpServers?: {
44
+ [x: string]: any;
45
+ } | undefined;
32
46
  }>;
33
47
  declare const BedrockAnthropicChatModelBaseConfigDef: (maxOutputTokens: number, maxSequences: number) => {
34
48
  readonly awsRegion: {
@@ -94,6 +108,20 @@ declare const BedrockAnthropicChatModelBaseConfigDef: (maxOutputTokens: number,
94
108
  default: string;
95
109
  choices: string[];
96
110
  };
111
+ readonly mcp: {
112
+ type: "select-boolean";
113
+ param: string;
114
+ title: string;
115
+ description: string;
116
+ default: boolean | null;
117
+ };
118
+ readonly mcpServers: {
119
+ type: "object-schema";
120
+ param: string;
121
+ title: string;
122
+ description: string;
123
+ objectSchema?: any;
124
+ };
97
125
  };
98
126
 
99
127
  declare const awsRegionChoice: {
@@ -174,6 +202,20 @@ declare const BedrockAnthropicChatModelConfigs: {
174
202
  default: string;
175
203
  choices: string[];
176
204
  };
205
+ readonly mcp: {
206
+ type: "select-boolean";
207
+ param: string;
208
+ title: string;
209
+ description: string;
210
+ default: boolean | null;
211
+ };
212
+ readonly mcpServers: {
213
+ type: "object-schema";
214
+ param: string;
215
+ title: string;
216
+ description: string;
217
+ objectSchema?: any;
218
+ };
177
219
  };
178
220
  schema: zod.ZodObject<zod.objectUtil.extendShape<{
179
221
  temperature: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
@@ -182,6 +224,12 @@ declare const BedrockAnthropicChatModelConfigs: {
182
224
  topP: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
183
225
  topK: zod.ZodOptional<zod.ZodDefault<zod.ZodNumber>>;
184
226
  toolChoice: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
227
+ mcp: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodBoolean>>>;
228
+ mcpServers: zod.ZodOptional<zod.ZodObject<zod.ZodRawShape, zod.UnknownKeysParam, zod.ZodTypeAny, {
229
+ [x: string]: any;
230
+ }, {
231
+ [x: string]: any;
232
+ }>>;
185
233
  }, {
186
234
  awsRegion: zod.ZodOptional<zod.ZodDefault<zod.ZodNullable<zod.ZodEnum<[string, ...string[]]>>>>;
187
235
  }>, "strip", zod.ZodTypeAny, {
@@ -192,6 +240,10 @@ declare const BedrockAnthropicChatModelConfigs: {
192
240
  topP?: number | undefined;
193
241
  topK?: number | undefined;
194
242
  toolChoice?: string | null | undefined;
243
+ mcp?: boolean | null | undefined;
244
+ mcpServers?: {
245
+ [x: string]: any;
246
+ } | undefined;
195
247
  }, {
196
248
  awsRegion?: string | null | undefined;
197
249
  temperature?: number | undefined;
@@ -200,6 +252,10 @@ declare const BedrockAnthropicChatModelConfigs: {
200
252
  topP?: number | undefined;
201
253
  topK?: number | undefined;
202
254
  toolChoice?: string | null | undefined;
255
+ mcp?: boolean | null | undefined;
256
+ mcpServers?: {
257
+ [x: string]: any;
258
+ } | undefined;
203
259
  }>;
204
260
  };
205
261
  };