@applica-software-guru/persona-sdk 0.1.24 → 0.1.25
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.ts +3 -1
- package/package.json +1 -1
- package/src/sessions/types.ts +3 -1
package/dist/index.d.ts
CHANGED
|
@@ -400,7 +400,7 @@ export declare interface FunctionCall {
|
|
|
400
400
|
|
|
401
401
|
export declare interface FunctionResponse {
|
|
402
402
|
name?: string;
|
|
403
|
-
result?:
|
|
403
|
+
result?: ToolResultItem | ToolResultItem[] | null;
|
|
404
404
|
functionCallId?: string;
|
|
405
405
|
}
|
|
406
406
|
|
|
@@ -1092,6 +1092,8 @@ export declare interface ToolRemoteConfig {
|
|
|
1092
1092
|
timeout?: number;
|
|
1093
1093
|
}
|
|
1094
1094
|
|
|
1095
|
+
declare type ToolResultItem = string | SessionFile | Image_2 | Record<string, unknown>;
|
|
1096
|
+
|
|
1095
1097
|
export declare type ToolType = 'remote' | 'local';
|
|
1096
1098
|
|
|
1097
1099
|
export declare interface TranscriberConfiguration {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@applica-software-guru/persona-sdk",
|
|
3
3
|
"description": "Official TypeScript SDK for the Persona API — manage agents, sessions, projects, knowledge bases, workflows, triggers and more.",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.25",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"dev": "vite",
|
package/src/sessions/types.ts
CHANGED
|
@@ -16,9 +16,11 @@ export interface FunctionCall {
|
|
|
16
16
|
id?: string;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
+
export type ToolResultItem = string | SessionFile | Image | Record<string, unknown>;
|
|
20
|
+
|
|
19
21
|
export interface FunctionResponse {
|
|
20
22
|
name?: string;
|
|
21
|
-
result?:
|
|
23
|
+
result?: ToolResultItem | ToolResultItem[] | null;
|
|
22
24
|
functionCallId?: string;
|
|
23
25
|
}
|
|
24
26
|
|