@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.
- package/CHANGELOG.md +42 -0
- package/README.md +28 -40
- package/core.d.ts +5 -2
- package/core.d.ts.map +1 -1
- package/core.js +11 -6
- package/core.js.map +1 -1
- package/core.mjs +11 -6
- package/core.mjs.map +1 -1
- package/index.d.mts +1 -0
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +6 -2
- package/index.js.map +1 -1
- package/index.mjs +6 -2
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resource.d.ts +1 -1
- package/resource.d.ts.map +1 -1
- package/resource.js.map +1 -1
- package/resource.mjs.map +1 -1
- package/resources/beta/projects/projects.d.ts +2 -0
- package/resources/beta/projects/projects.d.ts.map +1 -1
- package/resources/beta/projects/projects.js.map +1 -1
- package/resources/beta/projects/projects.mjs.map +1 -1
- package/resources/beta/threads/threads.d.ts +38 -0
- package/resources/beta/threads/threads.d.ts.map +1 -1
- package/resources/beta/threads/threads.js.map +1 -1
- package/resources/beta/threads/threads.mjs.map +1 -1
- package/resources/shared.d.ts +9 -1
- package/resources/shared.d.ts.map +1 -1
- package/src/core.ts +11 -4
- package/src/index.ts +8 -0
- package/src/resource.ts +1 -1
- package/src/resources/beta/projects/projects.ts +4 -0
- package/src/resources/beta/threads/threads.ts +42 -0
- package/src/resources/shared.ts +9 -2
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -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
|
|
package/src/resources/shared.ts
CHANGED
|
@@ -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
|
-
|
|
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.
|
|
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.
|
|
1
|
+
export declare const VERSION = "0.54.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.54.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|