@runtypelabs/persona 4.6.0 → 4.7.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.
@@ -783,6 +783,7 @@ type RuntypeExecutionStreamEvent = ({
783
783
  };
784
784
  type: "execution_complete";
785
785
  }) | ({
786
+ blockReason?: string;
786
787
  code?: string;
787
788
  completedAt?: string;
788
789
  error: string | {
@@ -1037,6 +1038,7 @@ type RuntypeExecutionStreamEvent = ({
1037
1038
  startedAt?: string;
1038
1039
  subagent?: {
1039
1040
  agentName?: string;
1041
+ parentToolCallId?: string;
1040
1042
  toolName: string;
1041
1043
  };
1042
1044
  timeout?: number;
@@ -1130,6 +1132,7 @@ type RuntypeFlowSSEEvent = {
1130
1132
  totalTokensUsed?: number;
1131
1133
  type: "flow_complete";
1132
1134
  } | ({
1135
+ blockReason?: string;
1133
1136
  code?: string;
1134
1137
  error: string | {
1135
1138
  code: string;
@@ -1150,6 +1153,7 @@ type RuntypeFlowSSEEvent = {
1150
1153
  type: "flow_error";
1151
1154
  upgradeUrl?: string;
1152
1155
  }) | ({
1156
+ approvalId?: string;
1153
1157
  awaitReason?: string;
1154
1158
  awaitedAt: string;
1155
1159
  crawlId?: string;
@@ -1160,6 +1164,7 @@ type RuntypeFlowSSEEvent = {
1160
1164
  parameters?: Record<string, unknown>;
1161
1165
  seq?: number;
1162
1166
  stepId?: string;
1167
+ timeout?: number;
1163
1168
  toolCallId?: string;
1164
1169
  toolId?: string;
1165
1170
  toolName?: string;
@@ -783,6 +783,7 @@ type RuntypeExecutionStreamEvent = ({
783
783
  };
784
784
  type: "execution_complete";
785
785
  }) | ({
786
+ blockReason?: string;
786
787
  code?: string;
787
788
  completedAt?: string;
788
789
  error: string | {
@@ -1037,6 +1038,7 @@ type RuntypeExecutionStreamEvent = ({
1037
1038
  startedAt?: string;
1038
1039
  subagent?: {
1039
1040
  agentName?: string;
1041
+ parentToolCallId?: string;
1040
1042
  toolName: string;
1041
1043
  };
1042
1044
  timeout?: number;
@@ -1130,6 +1132,7 @@ type RuntypeFlowSSEEvent = {
1130
1132
  totalTokensUsed?: number;
1131
1133
  type: "flow_complete";
1132
1134
  } | ({
1135
+ blockReason?: string;
1133
1136
  code?: string;
1134
1137
  error: string | {
1135
1138
  code: string;
@@ -1150,6 +1153,7 @@ type RuntypeFlowSSEEvent = {
1150
1153
  type: "flow_error";
1151
1154
  upgradeUrl?: string;
1152
1155
  }) | ({
1156
+ approvalId?: string;
1153
1157
  awaitReason?: string;
1154
1158
  awaitedAt: string;
1155
1159
  crawlId?: string;
@@ -1160,6 +1164,7 @@ type RuntypeFlowSSEEvent = {
1160
1164
  parameters?: Record<string, unknown>;
1161
1165
  seq?: number;
1162
1166
  stepId?: string;
1167
+ timeout?: number;
1163
1168
  toolCallId?: string;
1164
1169
  toolId?: string;
1165
1170
  toolName?: string;