@trii/types 2.10.627 → 2.10.628

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.
@@ -72,14 +72,16 @@ export interface IWorkflowMessage {
72
72
  role: 'log' | 'user' | 'assistant';
73
73
  isWorkerAgent: boolean | false;
74
74
  status: NodeStatus;
75
+ input_arguments?: string | null;
75
76
  content?: IFlowMessageContent[];
76
77
  transferToOtherAgent: boolean | false;
77
- nextNodeId?: string | null;
78
+ nextAgentId?: string | null;
78
79
  spaceId: string;
79
80
  workflowId: string;
80
81
  flowId: string;
81
82
  nodeId: string;
82
83
  nodeName: string | '';
84
+ parentNodeId: string | '';
83
85
  tokens: number | 0;
84
86
  tokensInput: number | 0;
85
87
  tokensOutput: number | 0;
@@ -92,14 +94,18 @@ export interface IWorkflowMessage {
92
94
  executionId?: string | null;
93
95
  }
94
96
  export interface IFlowMessageContent {
95
- type: 'text' | 'image' | 'file' | 'audio' | 'agentPlan' | 'arguments' | 'tool';
97
+ type: 'text' | 'image' | 'file' | 'audio' | 'agentPlan' | 'arguments' | 'tool' | 'handoff';
96
98
  text?: string;
97
99
  /**For audio transcription or OCR processing */
98
- transcription?: string;
99
100
  mime_type?: string;
100
101
  image_url?: string;
101
102
  audio_url?: string;
102
103
  file_url?: string;
104
+ transcription?: string;
105
+ handoffTargetAgentId?: string;
106
+ handoffReason?: string;
107
+ handoffContext?: string;
108
+ handoffResult?: string;
103
109
  isMessageSended?: boolean | false;
104
110
  /**Tool call related information */
105
111
  toolNodeId?: string | null;
@@ -108,8 +114,6 @@ export interface IFlowMessageContent {
108
114
  toolArguments?: string;
109
115
  toolOutput?: string;
110
116
  toolStatus?: NodeStatus;
111
- toolTransferToOtherAgent?: boolean | false;
112
- toolNextNodeId?: string | null;
113
117
  arguments?: string;
114
118
  planSchema?: string;
115
119
  isPlanExecution?: boolean | false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.627",
3
+ "version": "2.10.628",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",