@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
|
@@ -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;
|