@trii/types 2.10.596 → 2.10.598

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.
@@ -92,7 +92,7 @@ export interface IWorkflowMessage {
92
92
  executionId?: string | null;
93
93
  }
94
94
  export interface IFlowMessageContent {
95
- type: 'text' | 'image' | 'file' | 'audio' | 'code' | 'json' | 'log' | 'tool';
95
+ type: 'message' | 'schema' | 'tool';
96
96
  text?: string;
97
97
  /**For audio transcription or OCR processing */
98
98
  transcription?: string;
@@ -100,6 +100,7 @@ export interface IFlowMessageContent {
100
100
  image_url?: string;
101
101
  audio_url?: string;
102
102
  file_url?: string;
103
+ isMessageSended?: boolean | false;
103
104
  /**Tool call related information */
104
105
  toolCallId?: string;
105
106
  toolName?: string;
@@ -108,11 +109,14 @@ export interface IFlowMessageContent {
108
109
  toolStatus?: NodeStatus;
109
110
  toolTransferToOtherAgent?: boolean | false;
110
111
  toolNextNodeId?: string | null;
112
+ schema?: string;
113
+ isPlanOutput?: boolean | false;
114
+ isPlanExecution?: boolean | false;
115
+ workersOutput?: string;
111
116
  isPartial?: boolean | false;
112
- isMessageSended?: boolean | false;
113
117
  /**related to messages module */
114
- messageId: string | '';
115
- messageShardKey: string | '';
118
+ messageId?: string;
119
+ messageShardKey?: string;
116
120
  }
117
121
  export declare enum WorkflowStatus {
118
122
  NONE = 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.596",
3
+ "version": "2.10.598",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",