@runtypelabs/persona 3.28.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/animations/glyph-cycle.d.cts +1 -1
- package/dist/animations/glyph-cycle.d.ts +1 -1
- package/dist/animations/{types-CxvHw0X6.d.cts → types-B_Qazlm4.d.cts} +6 -0
- package/dist/animations/{types-CxvHw0X6.d.ts → types-B_Qazlm4.d.ts} +6 -0
- package/dist/animations/wipe.d.cts +1 -1
- package/dist/animations/wipe.d.ts +1 -1
- package/dist/codegen.cjs +11 -11
- package/dist/codegen.d.cts +9 -0
- package/dist/codegen.d.ts +9 -0
- package/dist/codegen.js +12 -12
- package/dist/index.cjs +40 -40
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -0
- package/dist/index.d.ts +24 -0
- package/dist/index.global.js +47 -47
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +40 -40
- package/dist/index.js.map +1 -1
- package/dist/smart-dom-reader.d.cts +6 -0
- package/dist/smart-dom-reader.d.ts +6 -0
- package/dist/theme-editor.cjs +30 -30
- package/dist/theme-editor.d.cts +6 -0
- package/dist/theme-editor.d.ts +6 -0
- package/dist/theme-editor.js +30 -30
- package/package.json +1 -1
- package/src/client.test.ts +40 -0
- package/src/client.ts +18 -4
- package/src/codegen.test.ts +43 -0
- package/src/generated/runtype-openapi-contract.ts +12 -0
- package/src/session.ts +190 -29
- package/src/session.webmcp.test.ts +326 -6
- package/src/utils/code-generators.ts +38 -9
|
@@ -1169,6 +1169,7 @@ type RuntypeAgentSSEEvent = {
|
|
|
1169
1169
|
iteration: number;
|
|
1170
1170
|
reflection?: string;
|
|
1171
1171
|
seq: number;
|
|
1172
|
+
timestamp?: string;
|
|
1172
1173
|
type: "agent_reflection";
|
|
1173
1174
|
} | {
|
|
1174
1175
|
activatedCapabilities: Array<string>;
|
|
@@ -1176,6 +1177,7 @@ type RuntypeAgentSSEEvent = {
|
|
|
1176
1177
|
iteration: number;
|
|
1177
1178
|
seq: number;
|
|
1178
1179
|
skill: string;
|
|
1180
|
+
timestamp?: string;
|
|
1179
1181
|
toolCallId: string;
|
|
1180
1182
|
type: "agent_skill_loaded";
|
|
1181
1183
|
} | ({
|
|
@@ -1185,6 +1187,7 @@ type RuntypeAgentSSEEvent = {
|
|
|
1185
1187
|
proposalId?: string;
|
|
1186
1188
|
seq: number;
|
|
1187
1189
|
skill: string;
|
|
1190
|
+
timestamp?: string;
|
|
1188
1191
|
toolCallId: string;
|
|
1189
1192
|
type: "agent_skill_proposed";
|
|
1190
1193
|
}) | ({
|
|
@@ -1218,6 +1221,7 @@ type RuntypeAgentSSEEvent = {
|
|
|
1218
1221
|
iteration?: number;
|
|
1219
1222
|
recoverable: boolean;
|
|
1220
1223
|
seq: number;
|
|
1224
|
+
timestamp?: string;
|
|
1221
1225
|
type: "agent_error";
|
|
1222
1226
|
} | {
|
|
1223
1227
|
executionId: string;
|
|
@@ -1251,6 +1255,7 @@ type RuntypeFlowSSEEvent = {
|
|
|
1251
1255
|
failedSteps?: number;
|
|
1252
1256
|
finalOutput?: string;
|
|
1253
1257
|
flowId?: string;
|
|
1258
|
+
flowName?: string;
|
|
1254
1259
|
output?: unknown;
|
|
1255
1260
|
seq?: number;
|
|
1256
1261
|
source?: string;
|
|
@@ -1302,6 +1307,7 @@ type RuntypeFlowSSEEvent = {
|
|
|
1302
1307
|
id?: string;
|
|
1303
1308
|
index?: number;
|
|
1304
1309
|
name?: string;
|
|
1310
|
+
outputVariable?: string;
|
|
1305
1311
|
seq?: number;
|
|
1306
1312
|
startedAt: string;
|
|
1307
1313
|
stepId?: string;
|
|
@@ -1169,6 +1169,7 @@ type RuntypeAgentSSEEvent = {
|
|
|
1169
1169
|
iteration: number;
|
|
1170
1170
|
reflection?: string;
|
|
1171
1171
|
seq: number;
|
|
1172
|
+
timestamp?: string;
|
|
1172
1173
|
type: "agent_reflection";
|
|
1173
1174
|
} | {
|
|
1174
1175
|
activatedCapabilities: Array<string>;
|
|
@@ -1176,6 +1177,7 @@ type RuntypeAgentSSEEvent = {
|
|
|
1176
1177
|
iteration: number;
|
|
1177
1178
|
seq: number;
|
|
1178
1179
|
skill: string;
|
|
1180
|
+
timestamp?: string;
|
|
1179
1181
|
toolCallId: string;
|
|
1180
1182
|
type: "agent_skill_loaded";
|
|
1181
1183
|
} | ({
|
|
@@ -1185,6 +1187,7 @@ type RuntypeAgentSSEEvent = {
|
|
|
1185
1187
|
proposalId?: string;
|
|
1186
1188
|
seq: number;
|
|
1187
1189
|
skill: string;
|
|
1190
|
+
timestamp?: string;
|
|
1188
1191
|
toolCallId: string;
|
|
1189
1192
|
type: "agent_skill_proposed";
|
|
1190
1193
|
}) | ({
|
|
@@ -1218,6 +1221,7 @@ type RuntypeAgentSSEEvent = {
|
|
|
1218
1221
|
iteration?: number;
|
|
1219
1222
|
recoverable: boolean;
|
|
1220
1223
|
seq: number;
|
|
1224
|
+
timestamp?: string;
|
|
1221
1225
|
type: "agent_error";
|
|
1222
1226
|
} | {
|
|
1223
1227
|
executionId: string;
|
|
@@ -1251,6 +1255,7 @@ type RuntypeFlowSSEEvent = {
|
|
|
1251
1255
|
failedSteps?: number;
|
|
1252
1256
|
finalOutput?: string;
|
|
1253
1257
|
flowId?: string;
|
|
1258
|
+
flowName?: string;
|
|
1254
1259
|
output?: unknown;
|
|
1255
1260
|
seq?: number;
|
|
1256
1261
|
source?: string;
|
|
@@ -1302,6 +1307,7 @@ type RuntypeFlowSSEEvent = {
|
|
|
1302
1307
|
id?: string;
|
|
1303
1308
|
index?: number;
|
|
1304
1309
|
name?: string;
|
|
1310
|
+
outputVariable?: string;
|
|
1305
1311
|
seq?: number;
|
|
1306
1312
|
startedAt: string;
|
|
1307
1313
|
stepId?: string;
|