@tambo-ai/typescript-sdk 0.52.0 → 0.54.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.
@@ -58,6 +58,8 @@ export interface ProjectRetrieveResponse {
58
58
  defaultLlmModelName?: string;
59
59
 
60
60
  defaultLlmProviderName?: string;
61
+
62
+ maxInputTokens?: number | null;
61
63
  }
62
64
 
63
65
  export type ProjectDeleteResponse = boolean;
@@ -78,6 +80,8 @@ export interface ProjectGetCurrentResponse {
78
80
  defaultLlmModelName?: string;
79
81
 
80
82
  defaultLlmProviderName?: string;
83
+
84
+ maxInputTokens?: number | null;
81
85
  }
82
86
 
83
87
  Projects.APIKey = APIKey;
@@ -200,6 +200,18 @@ export interface ComponentDecisionV2 {
200
200
  completionStatusMessage?: string;
201
201
 
202
202
  statusMessage?: string;
203
+
204
+ /**
205
+ * The unique id of the tool call. This is filled in whether the tool call is a
206
+ * server-side or client-side tool call.
207
+ */
208
+ toolCallId?: string;
209
+
210
+ /**
211
+ * The tool call request. This is filled in whether the tool call is a server-side
212
+ * or client-side tool call.
213
+ */
214
+ toolCallRequest?: Shared.ToolCallRequest;
203
215
  }
204
216
 
205
217
  export interface Thread {
@@ -250,10 +262,18 @@ export interface ThreadMessage {
250
262
 
251
263
  metadata?: Record<string, unknown>;
252
264
 
265
+ /**
266
+ * The unique id of the tool call. This is filled in only if the tool call is a
267
+ * client-side tool call.
268
+ */
253
269
  tool_call_id?: string;
254
270
 
255
271
  tool_calls?: Array<unknown>;
256
272
 
273
+ /**
274
+ * The tool call request. This is filled in only if the tool call is a client-side
275
+ * tool call.
276
+ */
257
277
  toolCallRequest?: Shared.ToolCallRequest;
258
278
  }
259
279
 
@@ -296,8 +316,19 @@ export interface ThreadAdvanceResponse {
296
316
  | 'COMPLETE'
297
317
  | 'ERROR';
298
318
 
319
+ /**
320
+ * MCP access token to be used as bearer token when talking to the Tambo MCP server
321
+ */
322
+ mcpAccessToken: string;
323
+
324
+ /**
325
+ * Response message
326
+ */
299
327
  responseMessageDto: ThreadMessage;
300
328
 
329
+ /**
330
+ * Status message for the generation stage
331
+ */
301
332
  statusMessage?: string;
302
333
  }
303
334
 
@@ -311,8 +342,19 @@ export interface ThreadAdvanceByIDResponse {
311
342
  | 'COMPLETE'
312
343
  | 'ERROR';
313
344
 
345
+ /**
346
+ * MCP access token to be used as bearer token when talking to the Tambo MCP server
347
+ */
348
+ mcpAccessToken: string;
349
+
350
+ /**
351
+ * Response message
352
+ */
314
353
  responseMessageDto: ThreadMessage;
315
354
 
355
+ /**
356
+ * Status message for the generation stage
357
+ */
316
358
  statusMessage?: string;
317
359
  }
318
360
 
@@ -19,12 +19,19 @@ export interface ComponentContextToolMetadata {
19
19
  }
20
20
 
21
21
  export interface ToolCallRequest {
22
+ /**
23
+ * The parameters of the function to call.
24
+ */
22
25
  parameters: Array<ToolCallRequest.Parameter>;
23
26
 
27
+ /**
28
+ * The name of the function to call.
29
+ */
24
30
  toolName: string;
25
31
 
26
- tool?: string;
27
-
32
+ /**
33
+ * @deprecated The unique id of the tool call, no longer used.
34
+ */
28
35
  tool_call_id?: string;
29
36
  }
30
37
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.52.0'; // x-release-please-version
1
+ export const VERSION = '0.54.0'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.52.0";
1
+ export declare const VERSION = "0.54.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.52.0'; // x-release-please-version
4
+ exports.VERSION = '0.54.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.52.0'; // x-release-please-version
1
+ export const VERSION = '0.54.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map