@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.
@@ -1052,6 +1052,7 @@ type RuntypeExecutionStreamEvent = ({
1052
1052
  };
1053
1053
  type: "execution_complete";
1054
1054
  }) | ({
1055
+ blockReason?: string;
1055
1056
  code?: string;
1056
1057
  completedAt?: string;
1057
1058
  error: string | {
@@ -1306,6 +1307,7 @@ type RuntypeExecutionStreamEvent = ({
1306
1307
  startedAt?: string;
1307
1308
  subagent?: {
1308
1309
  agentName?: string;
1310
+ parentToolCallId?: string;
1309
1311
  toolName: string;
1310
1312
  };
1311
1313
  timeout?: number;
@@ -1399,6 +1401,7 @@ type RuntypeFlowSSEEvent = {
1399
1401
  totalTokensUsed?: number;
1400
1402
  type: "flow_complete";
1401
1403
  } | ({
1404
+ blockReason?: string;
1402
1405
  code?: string;
1403
1406
  error: string | {
1404
1407
  code: string;
@@ -1419,6 +1422,7 @@ type RuntypeFlowSSEEvent = {
1419
1422
  type: "flow_error";
1420
1423
  upgradeUrl?: string;
1421
1424
  }) | ({
1425
+ approvalId?: string;
1422
1426
  awaitReason?: string;
1423
1427
  awaitedAt: string;
1424
1428
  crawlId?: string;
@@ -1429,6 +1433,7 @@ type RuntypeFlowSSEEvent = {
1429
1433
  parameters?: Record<string, unknown>;
1430
1434
  seq?: number;
1431
1435
  stepId?: string;
1436
+ timeout?: number;
1432
1437
  toolCallId?: string;
1433
1438
  toolId?: string;
1434
1439
  toolName?: string;
@@ -1052,6 +1052,7 @@ type RuntypeExecutionStreamEvent = ({
1052
1052
  };
1053
1053
  type: "execution_complete";
1054
1054
  }) | ({
1055
+ blockReason?: string;
1055
1056
  code?: string;
1056
1057
  completedAt?: string;
1057
1058
  error: string | {
@@ -1306,6 +1307,7 @@ type RuntypeExecutionStreamEvent = ({
1306
1307
  startedAt?: string;
1307
1308
  subagent?: {
1308
1309
  agentName?: string;
1310
+ parentToolCallId?: string;
1309
1311
  toolName: string;
1310
1312
  };
1311
1313
  timeout?: number;
@@ -1399,6 +1401,7 @@ type RuntypeFlowSSEEvent = {
1399
1401
  totalTokensUsed?: number;
1400
1402
  type: "flow_complete";
1401
1403
  } | ({
1404
+ blockReason?: string;
1402
1405
  code?: string;
1403
1406
  error: string | {
1404
1407
  code: string;
@@ -1419,6 +1422,7 @@ type RuntypeFlowSSEEvent = {
1419
1422
  type: "flow_error";
1420
1423
  upgradeUrl?: string;
1421
1424
  }) | ({
1425
+ approvalId?: string;
1422
1426
  awaitReason?: string;
1423
1427
  awaitedAt: string;
1424
1428
  crawlId?: string;
@@ -1429,6 +1433,7 @@ type RuntypeFlowSSEEvent = {
1429
1433
  parameters?: Record<string, unknown>;
1430
1434
  seq?: number;
1431
1435
  stepId?: string;
1436
+ timeout?: number;
1432
1437
  toolCallId?: string;
1433
1438
  toolId?: string;
1434
1439
  toolName?: string;