@runtypelabs/persona 3.29.0 → 3.29.1

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.cts CHANGED
@@ -929,6 +929,7 @@ type RuntypeAgentSSEEvent = {
929
929
  iteration: number;
930
930
  reflection?: string;
931
931
  seq: number;
932
+ timestamp?: string;
932
933
  type: "agent_reflection";
933
934
  } | {
934
935
  activatedCapabilities: Array<string>;
@@ -936,6 +937,7 @@ type RuntypeAgentSSEEvent = {
936
937
  iteration: number;
937
938
  seq: number;
938
939
  skill: string;
940
+ timestamp?: string;
939
941
  toolCallId: string;
940
942
  type: "agent_skill_loaded";
941
943
  } | ({
@@ -945,6 +947,7 @@ type RuntypeAgentSSEEvent = {
945
947
  proposalId?: string;
946
948
  seq: number;
947
949
  skill: string;
950
+ timestamp?: string;
948
951
  toolCallId: string;
949
952
  type: "agent_skill_proposed";
950
953
  }) | ({
@@ -978,6 +981,7 @@ type RuntypeAgentSSEEvent = {
978
981
  iteration?: number;
979
982
  recoverable: boolean;
980
983
  seq: number;
984
+ timestamp?: string;
981
985
  type: "agent_error";
982
986
  } | {
983
987
  executionId: string;
@@ -1011,6 +1015,7 @@ type RuntypeFlowSSEEvent = {
1011
1015
  failedSteps?: number;
1012
1016
  finalOutput?: string;
1013
1017
  flowId?: string;
1018
+ flowName?: string;
1014
1019
  output?: unknown;
1015
1020
  seq?: number;
1016
1021
  source?: string;
@@ -1062,6 +1067,7 @@ type RuntypeFlowSSEEvent = {
1062
1067
  id?: string;
1063
1068
  index?: number;
1064
1069
  name?: string;
1070
+ outputVariable?: string;
1065
1071
  seq?: number;
1066
1072
  startedAt: string;
1067
1073
  stepId?: string;
@@ -1472,6 +1478,7 @@ type RuntypeDispatchSSEEvent = {
1472
1478
  iteration: number;
1473
1479
  reflection?: string;
1474
1480
  seq: number;
1481
+ timestamp?: string;
1475
1482
  type: "agent_reflection";
1476
1483
  } | {
1477
1484
  activatedCapabilities: Array<string>;
@@ -1479,6 +1486,7 @@ type RuntypeDispatchSSEEvent = {
1479
1486
  iteration: number;
1480
1487
  seq: number;
1481
1488
  skill: string;
1489
+ timestamp?: string;
1482
1490
  toolCallId: string;
1483
1491
  type: "agent_skill_loaded";
1484
1492
  } | ({
@@ -1488,6 +1496,7 @@ type RuntypeDispatchSSEEvent = {
1488
1496
  proposalId?: string;
1489
1497
  seq: number;
1490
1498
  skill: string;
1499
+ timestamp?: string;
1491
1500
  toolCallId: string;
1492
1501
  type: "agent_skill_proposed";
1493
1502
  }) | ({
@@ -1521,6 +1530,7 @@ type RuntypeDispatchSSEEvent = {
1521
1530
  iteration?: number;
1522
1531
  recoverable: boolean;
1523
1532
  seq: number;
1533
+ timestamp?: string;
1524
1534
  type: "agent_error";
1525
1535
  } | {
1526
1536
  executionId: string;
@@ -1553,6 +1563,7 @@ type RuntypeDispatchSSEEvent = {
1553
1563
  failedSteps?: number;
1554
1564
  finalOutput?: string;
1555
1565
  flowId?: string;
1566
+ flowName?: string;
1556
1567
  output?: unknown;
1557
1568
  seq?: number;
1558
1569
  source?: string;
@@ -1604,6 +1615,7 @@ type RuntypeDispatchSSEEvent = {
1604
1615
  id?: string;
1605
1616
  index?: number;
1606
1617
  name?: string;
1618
+ outputVariable?: string;
1607
1619
  seq?: number;
1608
1620
  startedAt: string;
1609
1621
  stepId?: string;
@@ -6428,6 +6440,9 @@ declare class AgentWidgetSession {
6428
6440
  * rather than mutating one already in flight.
6429
6441
  */
6430
6442
  private flushWebMcpAwaitBatch;
6443
+ private resolveWebMcpToolStartedAt;
6444
+ private markWebMcpToolRunning;
6445
+ private markWebMcpToolComplete;
6431
6446
  /**
6432
6447
  * Resolve TWO OR MORE parallel local-tool awaits sharing one paused
6433
6448
  * executionId with a SINGLE `/resume` (core#3878). Each call is executed
package/dist/index.d.ts CHANGED
@@ -929,6 +929,7 @@ type RuntypeAgentSSEEvent = {
929
929
  iteration: number;
930
930
  reflection?: string;
931
931
  seq: number;
932
+ timestamp?: string;
932
933
  type: "agent_reflection";
933
934
  } | {
934
935
  activatedCapabilities: Array<string>;
@@ -936,6 +937,7 @@ type RuntypeAgentSSEEvent = {
936
937
  iteration: number;
937
938
  seq: number;
938
939
  skill: string;
940
+ timestamp?: string;
939
941
  toolCallId: string;
940
942
  type: "agent_skill_loaded";
941
943
  } | ({
@@ -945,6 +947,7 @@ type RuntypeAgentSSEEvent = {
945
947
  proposalId?: string;
946
948
  seq: number;
947
949
  skill: string;
950
+ timestamp?: string;
948
951
  toolCallId: string;
949
952
  type: "agent_skill_proposed";
950
953
  }) | ({
@@ -978,6 +981,7 @@ type RuntypeAgentSSEEvent = {
978
981
  iteration?: number;
979
982
  recoverable: boolean;
980
983
  seq: number;
984
+ timestamp?: string;
981
985
  type: "agent_error";
982
986
  } | {
983
987
  executionId: string;
@@ -1011,6 +1015,7 @@ type RuntypeFlowSSEEvent = {
1011
1015
  failedSteps?: number;
1012
1016
  finalOutput?: string;
1013
1017
  flowId?: string;
1018
+ flowName?: string;
1014
1019
  output?: unknown;
1015
1020
  seq?: number;
1016
1021
  source?: string;
@@ -1062,6 +1067,7 @@ type RuntypeFlowSSEEvent = {
1062
1067
  id?: string;
1063
1068
  index?: number;
1064
1069
  name?: string;
1070
+ outputVariable?: string;
1065
1071
  seq?: number;
1066
1072
  startedAt: string;
1067
1073
  stepId?: string;
@@ -1472,6 +1478,7 @@ type RuntypeDispatchSSEEvent = {
1472
1478
  iteration: number;
1473
1479
  reflection?: string;
1474
1480
  seq: number;
1481
+ timestamp?: string;
1475
1482
  type: "agent_reflection";
1476
1483
  } | {
1477
1484
  activatedCapabilities: Array<string>;
@@ -1479,6 +1486,7 @@ type RuntypeDispatchSSEEvent = {
1479
1486
  iteration: number;
1480
1487
  seq: number;
1481
1488
  skill: string;
1489
+ timestamp?: string;
1482
1490
  toolCallId: string;
1483
1491
  type: "agent_skill_loaded";
1484
1492
  } | ({
@@ -1488,6 +1496,7 @@ type RuntypeDispatchSSEEvent = {
1488
1496
  proposalId?: string;
1489
1497
  seq: number;
1490
1498
  skill: string;
1499
+ timestamp?: string;
1491
1500
  toolCallId: string;
1492
1501
  type: "agent_skill_proposed";
1493
1502
  }) | ({
@@ -1521,6 +1530,7 @@ type RuntypeDispatchSSEEvent = {
1521
1530
  iteration?: number;
1522
1531
  recoverable: boolean;
1523
1532
  seq: number;
1533
+ timestamp?: string;
1524
1534
  type: "agent_error";
1525
1535
  } | {
1526
1536
  executionId: string;
@@ -1553,6 +1563,7 @@ type RuntypeDispatchSSEEvent = {
1553
1563
  failedSteps?: number;
1554
1564
  finalOutput?: string;
1555
1565
  flowId?: string;
1566
+ flowName?: string;
1556
1567
  output?: unknown;
1557
1568
  seq?: number;
1558
1569
  source?: string;
@@ -1604,6 +1615,7 @@ type RuntypeDispatchSSEEvent = {
1604
1615
  id?: string;
1605
1616
  index?: number;
1606
1617
  name?: string;
1618
+ outputVariable?: string;
1607
1619
  seq?: number;
1608
1620
  startedAt: string;
1609
1621
  stepId?: string;
@@ -6428,6 +6440,9 @@ declare class AgentWidgetSession {
6428
6440
  * rather than mutating one already in flight.
6429
6441
  */
6430
6442
  private flushWebMcpAwaitBatch;
6443
+ private resolveWebMcpToolStartedAt;
6444
+ private markWebMcpToolRunning;
6445
+ private markWebMcpToolComplete;
6431
6446
  /**
6432
6447
  * Resolve TWO OR MORE parallel local-tool awaits sharing one paused
6433
6448
  * executionId with a SINGLE `/resume` (core#3878). Each call is executed