@runtypelabs/persona 4.6.0 → 4.6.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
@@ -812,6 +812,7 @@ type RuntypeExecutionStreamEvent = ({
812
812
  };
813
813
  type: "execution_complete";
814
814
  }) | ({
815
+ blockReason?: string;
815
816
  code?: string;
816
817
  completedAt?: string;
817
818
  error: string | {
@@ -1066,6 +1067,7 @@ type RuntypeExecutionStreamEvent = ({
1066
1067
  startedAt?: string;
1067
1068
  subagent?: {
1068
1069
  agentName?: string;
1070
+ parentToolCallId?: string;
1069
1071
  toolName: string;
1070
1072
  };
1071
1073
  timeout?: number;
@@ -1159,6 +1161,7 @@ type RuntypeFlowSSEEvent = {
1159
1161
  totalTokensUsed?: number;
1160
1162
  type: "flow_complete";
1161
1163
  } | ({
1164
+ blockReason?: string;
1162
1165
  code?: string;
1163
1166
  error: string | {
1164
1167
  code: string;
@@ -1179,6 +1182,7 @@ type RuntypeFlowSSEEvent = {
1179
1182
  type: "flow_error";
1180
1183
  upgradeUrl?: string;
1181
1184
  }) | ({
1185
+ approvalId?: string;
1182
1186
  awaitReason?: string;
1183
1187
  awaitedAt: string;
1184
1188
  crawlId?: string;
@@ -1189,6 +1193,7 @@ type RuntypeFlowSSEEvent = {
1189
1193
  parameters?: Record<string, unknown>;
1190
1194
  seq?: number;
1191
1195
  stepId?: string;
1196
+ timeout?: number;
1192
1197
  toolCallId?: string;
1193
1198
  toolId?: string;
1194
1199
  toolName?: string;
@@ -1431,7 +1436,7 @@ type RuntypeClientInitResponse = {
1431
1436
  welcomeMessage?: string | null;
1432
1437
  };
1433
1438
  expiresAt: string;
1434
- flow: {
1439
+ flow?: {
1435
1440
  description?: string | null;
1436
1441
  id: string;
1437
1442
  name?: string | null;
@@ -1452,6 +1457,10 @@ type RuntypeClientChatRequest = {
1452
1457
  untrustedContentHint?: boolean;
1453
1458
  }>;
1454
1459
  clientToolsFingerprint?: string;
1460
+ identityProof?: {
1461
+ provider: string;
1462
+ token: string;
1463
+ };
1455
1464
  inputs?: Record<string, unknown>;
1456
1465
  messages: Array<{
1457
1466
  content: string | (Array<{
package/dist/index.d.ts CHANGED
@@ -812,6 +812,7 @@ type RuntypeExecutionStreamEvent = ({
812
812
  };
813
813
  type: "execution_complete";
814
814
  }) | ({
815
+ blockReason?: string;
815
816
  code?: string;
816
817
  completedAt?: string;
817
818
  error: string | {
@@ -1066,6 +1067,7 @@ type RuntypeExecutionStreamEvent = ({
1066
1067
  startedAt?: string;
1067
1068
  subagent?: {
1068
1069
  agentName?: string;
1070
+ parentToolCallId?: string;
1069
1071
  toolName: string;
1070
1072
  };
1071
1073
  timeout?: number;
@@ -1159,6 +1161,7 @@ type RuntypeFlowSSEEvent = {
1159
1161
  totalTokensUsed?: number;
1160
1162
  type: "flow_complete";
1161
1163
  } | ({
1164
+ blockReason?: string;
1162
1165
  code?: string;
1163
1166
  error: string | {
1164
1167
  code: string;
@@ -1179,6 +1182,7 @@ type RuntypeFlowSSEEvent = {
1179
1182
  type: "flow_error";
1180
1183
  upgradeUrl?: string;
1181
1184
  }) | ({
1185
+ approvalId?: string;
1182
1186
  awaitReason?: string;
1183
1187
  awaitedAt: string;
1184
1188
  crawlId?: string;
@@ -1189,6 +1193,7 @@ type RuntypeFlowSSEEvent = {
1189
1193
  parameters?: Record<string, unknown>;
1190
1194
  seq?: number;
1191
1195
  stepId?: string;
1196
+ timeout?: number;
1192
1197
  toolCallId?: string;
1193
1198
  toolId?: string;
1194
1199
  toolName?: string;
@@ -1431,7 +1436,7 @@ type RuntypeClientInitResponse = {
1431
1436
  welcomeMessage?: string | null;
1432
1437
  };
1433
1438
  expiresAt: string;
1434
- flow: {
1439
+ flow?: {
1435
1440
  description?: string | null;
1436
1441
  id: string;
1437
1442
  name?: string | null;
@@ -1452,6 +1457,10 @@ type RuntypeClientChatRequest = {
1452
1457
  untrustedContentHint?: boolean;
1453
1458
  }>;
1454
1459
  clientToolsFingerprint?: string;
1460
+ identityProof?: {
1461
+ provider: string;
1462
+ token: string;
1463
+ };
1455
1464
  inputs?: Record<string, unknown>;
1456
1465
  messages: Array<{
1457
1466
  content: string | (Array<{