@marketrix.ai/widget 3.3.236 → 3.3.238
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/src/sdk/index.d.ts +207 -76
- package/dist/src/sdk/index.d.ts.map +1 -1
- package/dist/src/sdk/routes.d.ts +207 -76
- package/dist/src/sdk/routes.d.ts.map +1 -1
- package/dist/src/sdk/schema.d.ts +175 -64
- package/dist/src/sdk/schema.d.ts.map +1 -1
- package/dist/widget.mjs +66 -66
- package/dist/widget.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../src/sdk/routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAyKxB,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8EZ,+DAA+D
|
|
1
|
+
{"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../../../src/sdk/routes.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAyKxB,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8EZ,+DAA+D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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7 +31,6 @@ export declare const AgentStatusSchema: z.ZodEnum<{
|
|
|
31
31
|
error: "error";
|
|
32
32
|
}>;
|
|
33
33
|
export declare const LearningProgressSchema: z.ZodObject<{
|
|
34
|
-
vector_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
35
34
|
graph_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
36
35
|
}, z.core.$strip>;
|
|
37
36
|
export declare const KnowledgeTypeSchema: z.ZodEnum<{
|
|
@@ -49,6 +48,31 @@ export declare const QAFlowStatusSchema: z.ZodEnum<{
|
|
|
49
48
|
completed: "completed";
|
|
50
49
|
failed: "failed";
|
|
51
50
|
}>;
|
|
51
|
+
/**
|
|
52
|
+
* Simulation parent status — canonical wire vocabulary matching the
|
|
53
|
+
* `simulation_status` Postgres ENUM. `has_question` is intentionally absent;
|
|
54
|
+
* it's a per-task state surfaced as a derived `has_question` boolean.
|
|
55
|
+
*/
|
|
56
|
+
export declare const SimulationStatusSchema: z.ZodEnum<{
|
|
57
|
+
completed: "completed";
|
|
58
|
+
failed: "failed";
|
|
59
|
+
queued: "queued";
|
|
60
|
+
running: "running";
|
|
61
|
+
creating_knowledge: "creating_knowledge";
|
|
62
|
+
stopped: "stopped";
|
|
63
|
+
}>;
|
|
64
|
+
/**
|
|
65
|
+
* Per-task status within a simulation. Matches the `simulation_task_status`
|
|
66
|
+
* Postgres ENUM and the SimulationTaskStatus proto enum.
|
|
67
|
+
*/
|
|
68
|
+
export declare const SimulationTaskStatusSchema: z.ZodEnum<{
|
|
69
|
+
completed: "completed";
|
|
70
|
+
failed: "failed";
|
|
71
|
+
queued: "queued";
|
|
72
|
+
running: "running";
|
|
73
|
+
stopped: "stopped";
|
|
74
|
+
has_question: "has_question";
|
|
75
|
+
}>;
|
|
52
76
|
export declare const ChatRoleSchema: z.ZodEnum<{
|
|
53
77
|
user: "user";
|
|
54
78
|
agent: "agent";
|
|
@@ -734,11 +758,11 @@ export type QAEvaluation = z.infer<typeof QAEvaluationSchema>;
|
|
|
734
758
|
*/
|
|
735
759
|
export declare const QATaskStatusSchema: z.ZodEnum<{
|
|
736
760
|
failed: "failed";
|
|
737
|
-
passed: "passed";
|
|
738
|
-
needs_healing: "needs_healing";
|
|
739
761
|
queued: "queued";
|
|
740
762
|
running: "running";
|
|
741
763
|
stopped: "stopped";
|
|
764
|
+
passed: "passed";
|
|
765
|
+
needs_healing: "needs_healing";
|
|
742
766
|
}>;
|
|
743
767
|
export type QATaskStatusValue = z.infer<typeof QATaskStatusSchema>;
|
|
744
768
|
/**
|
|
@@ -758,11 +782,11 @@ export declare const QARunTaskEntitySchema: z.ZodObject<{
|
|
|
758
782
|
simulation_task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
759
783
|
status: z.ZodEnum<{
|
|
760
784
|
failed: "failed";
|
|
761
|
-
passed: "passed";
|
|
762
|
-
needs_healing: "needs_healing";
|
|
763
785
|
queued: "queued";
|
|
764
786
|
running: "running";
|
|
765
787
|
stopped: "stopped";
|
|
788
|
+
passed: "passed";
|
|
789
|
+
needs_healing: "needs_healing";
|
|
766
790
|
}>;
|
|
767
791
|
verdict: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
768
792
|
proposed_steps: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -1138,8 +1162,8 @@ export declare const SimulationStepSchema: z.ZodObject<{
|
|
|
1138
1162
|
status: z.ZodDefault<z.ZodEnum<{
|
|
1139
1163
|
completed: "completed";
|
|
1140
1164
|
failed: "failed";
|
|
1141
|
-
has_question: "has_question";
|
|
1142
1165
|
running: "running";
|
|
1166
|
+
has_question: "has_question";
|
|
1143
1167
|
}>>;
|
|
1144
1168
|
started_at: z.ZodString;
|
|
1145
1169
|
ended_at: z.ZodString;
|
|
@@ -1162,7 +1186,14 @@ export declare const SimulationStepSummarySchema: z.ZodObject<{
|
|
|
1162
1186
|
* One row in the simulation_progress table.
|
|
1163
1187
|
*/
|
|
1164
1188
|
export declare const SimulationProgressEntrySchema: z.ZodObject<{
|
|
1165
|
-
status: z.
|
|
1189
|
+
status: z.ZodEnum<{
|
|
1190
|
+
completed: "completed";
|
|
1191
|
+
failed: "failed";
|
|
1192
|
+
queued: "queued";
|
|
1193
|
+
running: "running";
|
|
1194
|
+
stopped: "stopped";
|
|
1195
|
+
has_question: "has_question";
|
|
1196
|
+
}>;
|
|
1166
1197
|
status_message: z.ZodNullable<z.ZodString>;
|
|
1167
1198
|
task_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1168
1199
|
created_at: z.ZodCoercedDate<unknown>;
|
|
@@ -1186,10 +1217,10 @@ export declare const SimulationTaskEntrySchema: z.ZodObject<{
|
|
|
1186
1217
|
status: z.ZodEnum<{
|
|
1187
1218
|
pending: "pending";
|
|
1188
1219
|
failed: "failed";
|
|
1189
|
-
has_question: "has_question";
|
|
1190
|
-
passed: "passed";
|
|
1191
1220
|
running: "running";
|
|
1192
1221
|
stopped: "stopped";
|
|
1222
|
+
has_question: "has_question";
|
|
1223
|
+
passed: "passed";
|
|
1193
1224
|
skipped: "skipped";
|
|
1194
1225
|
}>;
|
|
1195
1226
|
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1214,7 +1245,14 @@ export declare const SimulationEntitySchema: z.ZodObject<{
|
|
|
1214
1245
|
agent_id: z.ZodNumber;
|
|
1215
1246
|
job_id: z.ZodString;
|
|
1216
1247
|
browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1217
|
-
status: z.
|
|
1248
|
+
status: z.ZodEnum<{
|
|
1249
|
+
completed: "completed";
|
|
1250
|
+
failed: "failed";
|
|
1251
|
+
queued: "queued";
|
|
1252
|
+
running: "running";
|
|
1253
|
+
creating_knowledge: "creating_knowledge";
|
|
1254
|
+
stopped: "stopped";
|
|
1255
|
+
}>;
|
|
1218
1256
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1219
1257
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1220
1258
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1233,10 +1271,10 @@ export declare const SimulationEntitySchema: z.ZodObject<{
|
|
|
1233
1271
|
status: z.ZodEnum<{
|
|
1234
1272
|
pending: "pending";
|
|
1235
1273
|
failed: "failed";
|
|
1236
|
-
has_question: "has_question";
|
|
1237
|
-
passed: "passed";
|
|
1238
1274
|
running: "running";
|
|
1239
1275
|
stopped: "stopped";
|
|
1276
|
+
has_question: "has_question";
|
|
1277
|
+
passed: "passed";
|
|
1240
1278
|
skipped: "skipped";
|
|
1241
1279
|
}>;
|
|
1242
1280
|
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1271,12 +1309,20 @@ export declare const SimulationEntitySchema: z.ZodObject<{
|
|
|
1271
1309
|
* (full SimulationTaskEntry array) and `source_metadata` (free-form bag).
|
|
1272
1310
|
*/
|
|
1273
1311
|
export declare const SimulationListEntitySchema: z.ZodObject<{
|
|
1312
|
+
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
1274
1313
|
id: z.ZodOptional<z.ZodNumber>;
|
|
1275
1314
|
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1276
1315
|
updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
1277
1316
|
application_id: z.ZodNumber;
|
|
1278
1317
|
agent_id: z.ZodNumber;
|
|
1279
|
-
status: z.
|
|
1318
|
+
status: z.ZodEnum<{
|
|
1319
|
+
completed: "completed";
|
|
1320
|
+
failed: "failed";
|
|
1321
|
+
queued: "queued";
|
|
1322
|
+
running: "running";
|
|
1323
|
+
creating_knowledge: "creating_knowledge";
|
|
1324
|
+
stopped: "stopped";
|
|
1325
|
+
}>;
|
|
1280
1326
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1281
1327
|
agent_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1282
1328
|
source: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1289,7 +1335,6 @@ export declare const SimulationListEntitySchema: z.ZodObject<{
|
|
|
1289
1335
|
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1290
1336
|
}, z.core.$strip>>>;
|
|
1291
1337
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
1292
|
-
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
1293
1338
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1294
1339
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1295
1340
|
job_id: z.ZodString;
|
|
@@ -1319,10 +1364,18 @@ export declare const SkillInvocationRequestSchema: z.ZodObject<{
|
|
|
1319
1364
|
}, z.core.$strip>;
|
|
1320
1365
|
export type SkillInvocationRequest = z.infer<typeof SkillInvocationRequestSchema>;
|
|
1321
1366
|
export declare const SimulationCreateSchema: z.ZodObject<{
|
|
1367
|
+
has_question: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1322
1368
|
id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1323
1369
|
created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
1324
1370
|
updated_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
1325
|
-
status: z.ZodOptional<z.
|
|
1371
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
1372
|
+
completed: "completed";
|
|
1373
|
+
failed: "failed";
|
|
1374
|
+
queued: "queued";
|
|
1375
|
+
running: "running";
|
|
1376
|
+
creating_knowledge: "creating_knowledge";
|
|
1377
|
+
stopped: "stopped";
|
|
1378
|
+
}>>;
|
|
1326
1379
|
path: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1327
1380
|
agent_name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1328
1381
|
source: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
@@ -1336,7 +1389,6 @@ export declare const SimulationCreateSchema: z.ZodObject<{
|
|
|
1336
1389
|
}, z.core.$strip>>>>;
|
|
1337
1390
|
pinned: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1338
1391
|
source_metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
1339
|
-
has_question: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1340
1392
|
status_message: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1341
1393
|
job_id: z.ZodOptional<z.ZodString>;
|
|
1342
1394
|
browser_session_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -1360,7 +1412,14 @@ export declare const SimulationCreateSchema: z.ZodObject<{
|
|
|
1360
1412
|
}, z.core.$strip>;
|
|
1361
1413
|
export declare const SimulationUpdateSchema: z.ZodObject<{
|
|
1362
1414
|
job_id: z.ZodOptional<z.ZodString>;
|
|
1363
|
-
status: z.ZodOptional<z.
|
|
1415
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
1416
|
+
completed: "completed";
|
|
1417
|
+
failed: "failed";
|
|
1418
|
+
queued: "queued";
|
|
1419
|
+
running: "running";
|
|
1420
|
+
creating_knowledge: "creating_knowledge";
|
|
1421
|
+
stopped: "stopped";
|
|
1422
|
+
}>>;
|
|
1364
1423
|
status_message: z.ZodOptional<z.ZodString>;
|
|
1365
1424
|
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
1366
1425
|
graph_index_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1495,7 +1554,14 @@ export declare const SessionUpsertSchema: z.ZodObject<{
|
|
|
1495
1554
|
export declare const SimulationProgressEntitySchema: z.ZodObject<{
|
|
1496
1555
|
id: z.ZodNumber;
|
|
1497
1556
|
simulation_id: z.ZodNumber;
|
|
1498
|
-
status: z.
|
|
1557
|
+
status: z.ZodEnum<{
|
|
1558
|
+
completed: "completed";
|
|
1559
|
+
failed: "failed";
|
|
1560
|
+
queued: "queued";
|
|
1561
|
+
running: "running";
|
|
1562
|
+
stopped: "stopped";
|
|
1563
|
+
has_question: "has_question";
|
|
1564
|
+
}>;
|
|
1499
1565
|
status_message: z.ZodNullable<z.ZodString>;
|
|
1500
1566
|
skill: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1501
1567
|
screenshot_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1602,7 +1668,6 @@ export declare const AgentEntitySchema: z.ZodObject<{
|
|
|
1602
1668
|
}>;
|
|
1603
1669
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1604
1670
|
learning_progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1605
|
-
vector_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
1606
1671
|
graph_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
1607
1672
|
}, z.core.$strip>>>;
|
|
1608
1673
|
learning_started_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
@@ -1685,7 +1750,14 @@ export declare const AgentEntitySchema: z.ZodObject<{
|
|
|
1685
1750
|
agent_id: z.ZodNumber;
|
|
1686
1751
|
job_id: z.ZodString;
|
|
1687
1752
|
browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1688
|
-
status: z.
|
|
1753
|
+
status: z.ZodEnum<{
|
|
1754
|
+
completed: "completed";
|
|
1755
|
+
failed: "failed";
|
|
1756
|
+
queued: "queued";
|
|
1757
|
+
running: "running";
|
|
1758
|
+
creating_knowledge: "creating_knowledge";
|
|
1759
|
+
stopped: "stopped";
|
|
1760
|
+
}>;
|
|
1689
1761
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1690
1762
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1691
1763
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1704,10 +1776,10 @@ export declare const AgentEntitySchema: z.ZodObject<{
|
|
|
1704
1776
|
status: z.ZodEnum<{
|
|
1705
1777
|
pending: "pending";
|
|
1706
1778
|
failed: "failed";
|
|
1707
|
-
has_question: "has_question";
|
|
1708
|
-
passed: "passed";
|
|
1709
1779
|
running: "running";
|
|
1710
1780
|
stopped: "stopped";
|
|
1781
|
+
has_question: "has_question";
|
|
1782
|
+
passed: "passed";
|
|
1711
1783
|
skipped: "skipped";
|
|
1712
1784
|
}>;
|
|
1713
1785
|
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1754,7 +1826,6 @@ export declare const AgentCreateSchema: z.ZodObject<{
|
|
|
1754
1826
|
}>>;
|
|
1755
1827
|
status_message: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1756
1828
|
learning_progress: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1757
|
-
vector_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
1758
1829
|
graph_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
1759
1830
|
}, z.core.$strip>>>>;
|
|
1760
1831
|
learning_started_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>>;
|
|
@@ -1837,7 +1908,14 @@ export declare const AgentCreateSchema: z.ZodObject<{
|
|
|
1837
1908
|
agent_id: z.ZodNumber;
|
|
1838
1909
|
job_id: z.ZodString;
|
|
1839
1910
|
browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1840
|
-
status: z.
|
|
1911
|
+
status: z.ZodEnum<{
|
|
1912
|
+
completed: "completed";
|
|
1913
|
+
failed: "failed";
|
|
1914
|
+
queued: "queued";
|
|
1915
|
+
running: "running";
|
|
1916
|
+
creating_knowledge: "creating_knowledge";
|
|
1917
|
+
stopped: "stopped";
|
|
1918
|
+
}>;
|
|
1841
1919
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1842
1920
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1843
1921
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1856,10 +1934,10 @@ export declare const AgentCreateSchema: z.ZodObject<{
|
|
|
1856
1934
|
status: z.ZodEnum<{
|
|
1857
1935
|
pending: "pending";
|
|
1858
1936
|
failed: "failed";
|
|
1859
|
-
has_question: "has_question";
|
|
1860
|
-
passed: "passed";
|
|
1861
1937
|
running: "running";
|
|
1862
1938
|
stopped: "stopped";
|
|
1939
|
+
has_question: "has_question";
|
|
1940
|
+
passed: "passed";
|
|
1863
1941
|
skipped: "skipped";
|
|
1864
1942
|
}>;
|
|
1865
1943
|
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1935,7 +2013,6 @@ export declare const AgentUpdateSchema: z.ZodObject<{
|
|
|
1935
2013
|
}>>;
|
|
1936
2014
|
status_message: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1937
2015
|
learning_progress: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1938
|
-
vector_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
1939
2016
|
graph_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
1940
2017
|
}, z.core.$strip>>>>;
|
|
1941
2018
|
learning_started_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>>;
|
|
@@ -2018,7 +2095,14 @@ export declare const AgentUpdateSchema: z.ZodObject<{
|
|
|
2018
2095
|
agent_id: z.ZodNumber;
|
|
2019
2096
|
job_id: z.ZodString;
|
|
2020
2097
|
browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2021
|
-
status: z.
|
|
2098
|
+
status: z.ZodEnum<{
|
|
2099
|
+
completed: "completed";
|
|
2100
|
+
failed: "failed";
|
|
2101
|
+
queued: "queued";
|
|
2102
|
+
running: "running";
|
|
2103
|
+
creating_knowledge: "creating_knowledge";
|
|
2104
|
+
stopped: "stopped";
|
|
2105
|
+
}>;
|
|
2022
2106
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2023
2107
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2024
2108
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2037,10 +2121,10 @@ export declare const AgentUpdateSchema: z.ZodObject<{
|
|
|
2037
2121
|
status: z.ZodEnum<{
|
|
2038
2122
|
pending: "pending";
|
|
2039
2123
|
failed: "failed";
|
|
2040
|
-
has_question: "has_question";
|
|
2041
|
-
passed: "passed";
|
|
2042
2124
|
running: "running";
|
|
2043
2125
|
stopped: "stopped";
|
|
2126
|
+
has_question: "has_question";
|
|
2127
|
+
passed: "passed";
|
|
2044
2128
|
skipped: "skipped";
|
|
2045
2129
|
}>;
|
|
2046
2130
|
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2220,7 +2304,6 @@ export declare const AgentSimulationIndexResponseSchema: z.ZodObject<{
|
|
|
2220
2304
|
}>;
|
|
2221
2305
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2222
2306
|
learning_progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2223
|
-
vector_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
2224
2307
|
graph_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
2225
2308
|
}, z.core.$strip>>>;
|
|
2226
2309
|
learning_started_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
@@ -2303,7 +2386,14 @@ export declare const AgentSimulationIndexResponseSchema: z.ZodObject<{
|
|
|
2303
2386
|
agent_id: z.ZodNumber;
|
|
2304
2387
|
job_id: z.ZodString;
|
|
2305
2388
|
browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2306
|
-
status: z.
|
|
2389
|
+
status: z.ZodEnum<{
|
|
2390
|
+
completed: "completed";
|
|
2391
|
+
failed: "failed";
|
|
2392
|
+
queued: "queued";
|
|
2393
|
+
running: "running";
|
|
2394
|
+
creating_knowledge: "creating_knowledge";
|
|
2395
|
+
stopped: "stopped";
|
|
2396
|
+
}>;
|
|
2307
2397
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2308
2398
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2309
2399
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2322,10 +2412,10 @@ export declare const AgentSimulationIndexResponseSchema: z.ZodObject<{
|
|
|
2322
2412
|
status: z.ZodEnum<{
|
|
2323
2413
|
pending: "pending";
|
|
2324
2414
|
failed: "failed";
|
|
2325
|
-
has_question: "has_question";
|
|
2326
|
-
passed: "passed";
|
|
2327
2415
|
running: "running";
|
|
2328
2416
|
stopped: "stopped";
|
|
2417
|
+
has_question: "has_question";
|
|
2418
|
+
passed: "passed";
|
|
2329
2419
|
skipped: "skipped";
|
|
2330
2420
|
}>;
|
|
2331
2421
|
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2702,7 +2792,6 @@ export declare const WidgetInfoSchema: z.ZodObject<{
|
|
|
2702
2792
|
}>>;
|
|
2703
2793
|
status_message: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2704
2794
|
learning_progress: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2705
|
-
vector_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
2706
2795
|
graph_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
2707
2796
|
}, z.core.$strip>>>>;
|
|
2708
2797
|
learning_started_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>>;
|
|
@@ -2785,7 +2874,14 @@ export declare const WidgetInfoSchema: z.ZodObject<{
|
|
|
2785
2874
|
agent_id: z.ZodNumber;
|
|
2786
2875
|
job_id: z.ZodString;
|
|
2787
2876
|
browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2788
|
-
status: z.
|
|
2877
|
+
status: z.ZodEnum<{
|
|
2878
|
+
completed: "completed";
|
|
2879
|
+
failed: "failed";
|
|
2880
|
+
queued: "queued";
|
|
2881
|
+
running: "running";
|
|
2882
|
+
creating_knowledge: "creating_knowledge";
|
|
2883
|
+
stopped: "stopped";
|
|
2884
|
+
}>;
|
|
2789
2885
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2790
2886
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2791
2887
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2804,10 +2900,10 @@ export declare const WidgetInfoSchema: z.ZodObject<{
|
|
|
2804
2900
|
status: z.ZodEnum<{
|
|
2805
2901
|
pending: "pending";
|
|
2806
2902
|
failed: "failed";
|
|
2807
|
-
has_question: "has_question";
|
|
2808
|
-
passed: "passed";
|
|
2809
2903
|
running: "running";
|
|
2810
2904
|
stopped: "stopped";
|
|
2905
|
+
has_question: "has_question";
|
|
2906
|
+
passed: "passed";
|
|
2811
2907
|
skipped: "skipped";
|
|
2812
2908
|
}>;
|
|
2813
2909
|
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2936,7 +3032,6 @@ export declare const WidgetWithAgentSchema: z.ZodObject<{
|
|
|
2936
3032
|
}>>;
|
|
2937
3033
|
status_message: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2938
3034
|
learning_progress: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2939
|
-
vector_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
2940
3035
|
graph_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
2941
3036
|
}, z.core.$strip>>>>;
|
|
2942
3037
|
learning_started_at: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>>;
|
|
@@ -3019,7 +3114,14 @@ export declare const WidgetWithAgentSchema: z.ZodObject<{
|
|
|
3019
3114
|
agent_id: z.ZodNumber;
|
|
3020
3115
|
job_id: z.ZodString;
|
|
3021
3116
|
browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3022
|
-
status: z.
|
|
3117
|
+
status: z.ZodEnum<{
|
|
3118
|
+
completed: "completed";
|
|
3119
|
+
failed: "failed";
|
|
3120
|
+
queued: "queued";
|
|
3121
|
+
running: "running";
|
|
3122
|
+
creating_knowledge: "creating_knowledge";
|
|
3123
|
+
stopped: "stopped";
|
|
3124
|
+
}>;
|
|
3023
3125
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3024
3126
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3025
3127
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3038,10 +3140,10 @@ export declare const WidgetWithAgentSchema: z.ZodObject<{
|
|
|
3038
3140
|
status: z.ZodEnum<{
|
|
3039
3141
|
pending: "pending";
|
|
3040
3142
|
failed: "failed";
|
|
3041
|
-
has_question: "has_question";
|
|
3042
|
-
passed: "passed";
|
|
3043
3143
|
running: "running";
|
|
3044
3144
|
stopped: "stopped";
|
|
3145
|
+
has_question: "has_question";
|
|
3146
|
+
passed: "passed";
|
|
3045
3147
|
skipped: "skipped";
|
|
3046
3148
|
}>;
|
|
3047
3149
|
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3185,7 +3287,6 @@ export declare const ApplicationWithWidgetsSchema: z.ZodObject<{
|
|
|
3185
3287
|
}>;
|
|
3186
3288
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3187
3289
|
learning_progress: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3188
|
-
vector_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
3189
3290
|
graph_index_created: z.ZodNullable<z.ZodBoolean>;
|
|
3190
3291
|
}, z.core.$strip>>>;
|
|
3191
3292
|
learning_started_at: z.ZodOptional<z.ZodNullable<z.ZodCoercedDate<unknown>>>;
|
|
@@ -3268,7 +3369,14 @@ export declare const ApplicationWithWidgetsSchema: z.ZodObject<{
|
|
|
3268
3369
|
agent_id: z.ZodNumber;
|
|
3269
3370
|
job_id: z.ZodString;
|
|
3270
3371
|
browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3271
|
-
status: z.
|
|
3372
|
+
status: z.ZodEnum<{
|
|
3373
|
+
completed: "completed";
|
|
3374
|
+
failed: "failed";
|
|
3375
|
+
queued: "queued";
|
|
3376
|
+
running: "running";
|
|
3377
|
+
creating_knowledge: "creating_knowledge";
|
|
3378
|
+
stopped: "stopped";
|
|
3379
|
+
}>;
|
|
3272
3380
|
status_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3273
3381
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3274
3382
|
instructions: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3287,10 +3395,10 @@ export declare const ApplicationWithWidgetsSchema: z.ZodObject<{
|
|
|
3287
3395
|
status: z.ZodEnum<{
|
|
3288
3396
|
pending: "pending";
|
|
3289
3397
|
failed: "failed";
|
|
3290
|
-
has_question: "has_question";
|
|
3291
|
-
passed: "passed";
|
|
3292
3398
|
running: "running";
|
|
3293
3399
|
stopped: "stopped";
|
|
3400
|
+
has_question: "has_question";
|
|
3401
|
+
passed: "passed";
|
|
3294
3402
|
skipped: "skipped";
|
|
3295
3403
|
}>;
|
|
3296
3404
|
error_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3525,9 +3633,9 @@ export declare const WidgetEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3525
3633
|
status: z.ZodEnum<{
|
|
3526
3634
|
completed: "completed";
|
|
3527
3635
|
failed: "failed";
|
|
3528
|
-
has_question: "has_question";
|
|
3529
3636
|
running: "running";
|
|
3530
3637
|
stopped: "stopped";
|
|
3638
|
+
has_question: "has_question";
|
|
3531
3639
|
}>;
|
|
3532
3640
|
message: z.ZodOptional<z.ZodString>;
|
|
3533
3641
|
task_id: z.ZodOptional<z.ZodString>;
|
|
@@ -3598,20 +3706,8 @@ export declare const AppEventScopeSchema: z.ZodEnum<{
|
|
|
3598
3706
|
automations: "automations";
|
|
3599
3707
|
notifications: "notifications";
|
|
3600
3708
|
}>;
|
|
3601
|
-
/**
|
|
3602
|
-
* Simulation status — the contract value emitted by the API on
|
|
3603
|
-
* `simulation/updated` events and returned in oRPC simulation payloads.
|
|
3604
|
-
* 7-value canonical wire vocabulary matching the SimulationStatus proto enum.
|
|
3605
|
-
*/
|
|
3606
|
-
export declare const SimulationStatusSchema: z.ZodEnum<{
|
|
3607
|
-
completed: "completed";
|
|
3608
|
-
failed: "failed";
|
|
3609
|
-
queued: "queued";
|
|
3610
|
-
running: "running";
|
|
3611
|
-
stopped: "stopped";
|
|
3612
|
-
creating_knowledge: "creating_knowledge";
|
|
3613
|
-
}>;
|
|
3614
3709
|
export type SimulationStatus = z.infer<typeof SimulationStatusSchema>;
|
|
3710
|
+
export type SimulationTaskStatus = z.infer<typeof SimulationTaskStatusSchema>;
|
|
3615
3711
|
/**
|
|
3616
3712
|
* QA run derived status — set by `deriveQARunStats` based on aggregated
|
|
3617
3713
|
* task states. Emitted by the API on `qa-run/updated` events and returned
|
|
@@ -3637,8 +3733,8 @@ export declare const AppEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3637
3733
|
failed: "failed";
|
|
3638
3734
|
queued: "queued";
|
|
3639
3735
|
running: "running";
|
|
3640
|
-
stopped: "stopped";
|
|
3641
3736
|
creating_knowledge: "creating_knowledge";
|
|
3737
|
+
stopped: "stopped";
|
|
3642
3738
|
}>;
|
|
3643
3739
|
has_question: z.ZodOptional<z.ZodBoolean>;
|
|
3644
3740
|
step_label: z.ZodOptional<z.ZodString>;
|
|
@@ -3721,7 +3817,13 @@ export declare const AppEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3721
3817
|
type: z.ZodLiteral<"qa-document/updated">;
|
|
3722
3818
|
document_id: z.ZodNumber;
|
|
3723
3819
|
application_id: z.ZodNumber;
|
|
3724
|
-
status: z.
|
|
3820
|
+
status: z.ZodEnum<{
|
|
3821
|
+
pending: "pending";
|
|
3822
|
+
processing: "processing";
|
|
3823
|
+
waiting_review: "waiting_review";
|
|
3824
|
+
completed: "completed";
|
|
3825
|
+
failed: "failed";
|
|
3826
|
+
}>;
|
|
3725
3827
|
step_label: z.ZodOptional<z.ZodString>;
|
|
3726
3828
|
}, z.core.$strip>, z.ZodObject<{
|
|
3727
3829
|
type: z.ZodLiteral<"qa-run/updated">;
|
|
@@ -3743,7 +3845,11 @@ export declare const AppEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3743
3845
|
run_id: z.ZodNumber;
|
|
3744
3846
|
document_id: z.ZodNumber;
|
|
3745
3847
|
application_id: z.ZodNumber;
|
|
3746
|
-
status: z.
|
|
3848
|
+
status: z.ZodEnum<{
|
|
3849
|
+
failed: "failed";
|
|
3850
|
+
passed: "passed";
|
|
3851
|
+
needs_healing: "needs_healing";
|
|
3852
|
+
}>;
|
|
3747
3853
|
}, z.core.$strip>, z.ZodObject<{
|
|
3748
3854
|
type: z.ZodLiteral<"qa-run/report-ready">;
|
|
3749
3855
|
run_id: z.ZodNumber;
|
|
@@ -3756,7 +3862,12 @@ export declare const AppEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3756
3862
|
type: z.ZodLiteral<"user/updated">;
|
|
3757
3863
|
user_id: z.ZodNumber;
|
|
3758
3864
|
workspace_id: z.ZodNumber;
|
|
3759
|
-
status: z.
|
|
3865
|
+
status: z.ZodEnum<{
|
|
3866
|
+
created: "created";
|
|
3867
|
+
active: "active";
|
|
3868
|
+
suspended: "suspended";
|
|
3869
|
+
pending_approval: "pending_approval";
|
|
3870
|
+
}>;
|
|
3760
3871
|
}, z.core.$strip>, z.ZodObject<{
|
|
3761
3872
|
type: z.ZodLiteral<"job/progress">;
|
|
3762
3873
|
job_id: z.ZodString;
|