@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.
- package/dist/animations/glyph-cycle.d.cts +1 -1
- package/dist/animations/glyph-cycle.d.ts +1 -1
- package/dist/animations/{types-8RICZWQe.d.cts → types-CSmiKRVa.d.cts} +5 -0
- package/dist/animations/{types-8RICZWQe.d.ts → types-CSmiKRVa.d.ts} +5 -0
- package/dist/animations/wipe.d.cts +1 -1
- package/dist/animations/wipe.d.ts +1 -1
- package/dist/codegen.cjs +4 -4
- package/dist/codegen.js +4 -4
- package/dist/index.cjs +39 -39
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +51 -3
- package/dist/index.d.ts +51 -3
- package/dist/index.global.js +29 -29
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +39 -39
- package/dist/index.js.map +1 -1
- package/dist/smart-dom-reader.d.cts +5 -0
- package/dist/smart-dom-reader.d.ts +5 -0
- package/dist/theme-editor-preview.cjs +30 -30
- package/dist/theme-editor-preview.d.cts +5 -0
- package/dist/theme-editor-preview.d.ts +5 -0
- package/dist/theme-editor-preview.js +30 -30
- package/dist/theme-editor.d.cts +5 -0
- package/dist/theme-editor.d.ts +5 -0
- package/package.json +4 -2
- package/src/client.test.ts +314 -0
- package/src/client.ts +200 -86
- package/src/generated/runtype-openapi-contract.ts +10 -1
- package/src/runtime/persist-state.test.ts +118 -0
- package/src/ui.scroll-additive.test.ts +1 -1
- package/src/ui.streaming-coalescing.test.ts +312 -0
- package/src/ui.ts +235 -105
- package/src/utils/morph.test.ts +47 -0
- package/src/utils/morph.ts +18 -0
|
@@ -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;
|