@oomol-lab/open-flow 0.1.0-beta.65 → 0.1.0-beta.67

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.
Files changed (54) hide show
  1. package/dist/browser/{createResourceDialog-BAJXbzNH.js → createResourceDialog-BQVD8Rqb.js} +2 -2
  2. package/dist/browser/{icons-Db2Jb2iX.js → dialog-CS2Vt2if.js} +5736 -5621
  3. package/dist/browser/event-sources.d.ts +4 -1
  4. package/dist/browser/flow-authoring-node.d.ts +14 -3
  5. package/dist/browser/flow-authoring.js +120 -24
  6. package/dist/browser/flow-change-schema.d.ts +3 -1
  7. package/dist/browser/flow-change.d.ts +15 -3
  8. package/dist/browser/flow-change.js +117 -21
  9. package/dist/browser/{flowChanges-DkvG5uDq.js → flowChanges-VB9Y4iy7.js} +3423 -2380
  10. package/dist/browser/{flowRunInputEditorStore-B2Rw4VsT.js → flowRunInputEditorStore-DJqmR6Qh.js} +3 -2
  11. package/dist/browser/{flowWorkspace-BEp-lxqF.js → flowWorkspace-C1hlTnZq.js} +1410 -799
  12. package/dist/browser/preview.css +273 -119
  13. package/dist/browser/preview.js +17118 -15810
  14. package/dist/browser/theme.css +1 -0
  15. package/dist/browser/ui.css +119 -7
  16. package/dist/browser/ui.js +8 -5
  17. package/dist/browser/workbench-contract.d.ts +1 -1
  18. package/dist/browser/workbench.css +282 -162
  19. package/dist/browser/workbench.d.ts +0 -1
  20. package/dist/browser/workbench.js +503 -173
  21. package/dist/browser/{workbenchSelect-C-jf6NIM.js → workbenchSelect-CpXhjUou.js} +1 -1
  22. package/dist/command/index.js +49 -49
  23. package/dist/common/authoring.d.ts +7 -5
  24. package/dist/common/authoringExamples.d.ts +4 -4
  25. package/dist/common/authoringFields.d.ts +20 -0
  26. package/dist/common/authoringSchema.d.ts +404 -15
  27. package/dist/common/control-api-conformance.js +415 -146
  28. package/dist/common/control-api.d.ts +67 -8
  29. package/dist/common/control-api.js +3587 -3443
  30. package/dist/common/control-requests.d.ts +10 -3
  31. package/dist/common/control-requests.js +425 -49
  32. package/dist/common/decision.js +33 -7
  33. package/dist/common/flow-encoding.d.ts +4 -2
  34. package/dist/common/flow-encoding.js +151 -14
  35. package/dist/common/flow-graph.d.ts +1 -1
  36. package/dist/common/flow-semantics.d.ts +12 -2
  37. package/dist/common/flow-semantics.js +157 -41
  38. package/dist/common/integration-trigger.js +33 -7
  39. package/dist/common/liveDetails.d.ts +26 -11
  40. package/dist/common/mcp.d.ts +6 -3
  41. package/dist/common/mcp.js +219 -90
  42. package/dist/common/openapi.js +33 -7
  43. package/dist/common/poll-trigger.js +33 -7
  44. package/dist/common/run-events.d.ts +2 -0
  45. package/dist/common/run-events.js +9 -3
  46. package/dist/common/scheduler.d.ts +10 -1
  47. package/dist/common/scheduler.js +172 -49
  48. package/dist/common/trigger-contract.d.ts +2 -0
  49. package/dist/common/webhook-trigger.js +33 -7
  50. package/dist/common/workflow.d.ts +93 -0
  51. package/dist/common/workflow.js +10492 -0
  52. package/package.json +5 -1
  53. package/skills/open-flow/SKILL.md +9 -0
  54. package/skills/open-flow/references/flow-authoring.md +28 -16
@@ -1,5 +1,6 @@
1
+ import type { JsonValue } from '../index.js';
1
2
  import { z } from 'zod';
2
- export declare const authoringTypes: readonly ['manual', 'webhook', 'cron', 'error', 'poll', 'integration', 'code', 'connector', 'agent', 'llm', 'decision', 'openapi', 'condition', 'value', 'wait', 'approval'];
3
+ export declare const authoringTypes: readonly ['start', 'outputs', 'workflow', 'webhook', 'cron', 'error', 'poll', 'integration', 'code', 'connector', 'agent', 'llm', 'decision', 'openapi', 'condition', 'value', 'wait', 'approval'];
3
4
  declare const type: z.ZodEnum<{
4
5
  agent: "agent";
5
6
  approval: "approval";
@@ -11,12 +12,14 @@ declare const type: z.ZodEnum<{
11
12
  error: "error";
12
13
  integration: "integration";
13
14
  llm: "llm";
14
- manual: "manual";
15
15
  openapi: "openapi";
16
+ outputs: "outputs";
16
17
  poll: "poll";
18
+ start: "start";
17
19
  value: "value";
18
20
  wait: "wait";
19
21
  webhook: "webhook";
22
+ workflow: "workflow";
20
23
  }>;
21
24
  export type AuthoringType = z.infer<typeof type>;
22
25
  export declare const authoringSourceSchema: z.ZodUnion<readonly [z.ZodObject<{
@@ -46,8 +49,39 @@ export declare const authoringSourceSchema: z.ZodUnion<readonly [z.ZodObject<{
46
49
  name: z.ZodString;
47
50
  }, z.core.$strict>]>>;
48
51
  }, z.core.$strict>]>;
52
+ export declare const flowInputFields: z.ZodRecord<z.ZodString, z.ZodObject<{
53
+ schema: z.ZodOptional<z.ZodJSONSchema>;
54
+ nullable: z.ZodOptional<z.ZodBoolean>;
55
+ description: z.ZodOptional<z.ZodString>;
56
+ }, z.core.$strict>>;
57
+ export declare const flowOutputFields: z.ZodRecord<z.ZodString, z.ZodObject<{
58
+ schema: z.ZodOptional<z.ZodJSONSchema>;
59
+ nullable: z.ZodOptional<z.ZodBoolean>;
60
+ description: z.ZodOptional<z.ZodString>;
61
+ }, z.core.$strict>>;
62
+ export declare const flowInputFieldsView: z.ZodRecord<z.ZodString, z.ZodObject<{
63
+ description: z.ZodOptional<z.ZodString>;
64
+ schema: z.ZodType<JsonValue>;
65
+ nullable: z.ZodBoolean;
66
+ }, z.core.$strict>>;
49
67
  export declare const authoringConfigurations: {
50
- manual: z.ZodObject<{}, z.core.$strict>;
68
+ workflow: z.ZodObject<{
69
+ flowId: z.ZodString;
70
+ }, z.core.$strict>;
71
+ start: z.ZodObject<{
72
+ inputDefs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
73
+ schema: z.ZodOptional<z.ZodJSONSchema>;
74
+ nullable: z.ZodOptional<z.ZodBoolean>;
75
+ description: z.ZodOptional<z.ZodString>;
76
+ }, z.core.$strict>>>;
77
+ }, z.core.$strict>;
78
+ outputs: z.ZodObject<{
79
+ outputDefs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
80
+ schema: z.ZodOptional<z.ZodJSONSchema>;
81
+ nullable: z.ZodOptional<z.ZodBoolean>;
82
+ description: z.ZodOptional<z.ZodString>;
83
+ }, z.core.$strict>>>;
84
+ }, z.core.$strict>;
51
85
  error: z.ZodObject<{
52
86
  sourceFlowIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
53
87
  }, z.core.$strict>;
@@ -512,12 +546,14 @@ export declare const authoringEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
512
546
  error: "error";
513
547
  integration: "integration";
514
548
  llm: "llm";
515
- manual: "manual";
516
549
  openapi: "openapi";
550
+ outputs: "outputs";
517
551
  poll: "poll";
552
+ start: "start";
518
553
  value: "value";
519
554
  wait: "wait";
520
555
  webhook: "webhook";
556
+ workflow: "workflow";
521
557
  }>;
522
558
  name: z.ZodString;
523
559
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
@@ -562,6 +598,9 @@ export declare const authoringEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
562
598
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
563
599
  }, z.core.$strict>>;
564
600
  clear: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
601
+ }, z.core.$strict>, z.ZodObject<{
602
+ op: z.ZodLiteral<"node.refresh">;
603
+ node: z.ZodString;
565
604
  }, z.core.$strict>, z.ZodObject<{
566
605
  op: z.ZodLiteral<"node.remove">;
567
606
  node: z.ZodString;
@@ -639,12 +678,14 @@ export declare const authoringRequestSchema: z.ZodObject<{
639
678
  error: "error";
640
679
  integration: "integration";
641
680
  llm: "llm";
642
- manual: "manual";
643
681
  openapi: "openapi";
682
+ outputs: "outputs";
644
683
  poll: "poll";
684
+ start: "start";
645
685
  value: "value";
646
686
  wait: "wait";
647
687
  webhook: "webhook";
688
+ workflow: "workflow";
648
689
  }>;
649
690
  name: z.ZodString;
650
691
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
@@ -689,6 +730,9 @@ export declare const authoringRequestSchema: z.ZodObject<{
689
730
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
690
731
  }, z.core.$strict>>;
691
732
  clear: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
733
+ }, z.core.$strict>, z.ZodObject<{
734
+ op: z.ZodLiteral<"node.refresh">;
735
+ node: z.ZodString;
692
736
  }, z.core.$strict>, z.ZodObject<{
693
737
  op: z.ZodLiteral<"node.remove">;
694
738
  node: z.ZodString;
@@ -780,12 +824,14 @@ export declare const authoringSearchSchema: z.ZodObject<{
780
824
  error: "error";
781
825
  integration: "integration";
782
826
  llm: "llm";
783
- manual: "manual";
784
827
  openapi: "openapi";
828
+ outputs: "outputs";
785
829
  poll: "poll";
830
+ start: "start";
786
831
  value: "value";
787
832
  wait: "wait";
788
833
  webhook: "webhook";
834
+ workflow: "workflow";
789
835
  }>>;
790
836
  offset: z.ZodDefault<z.ZodInt>;
791
837
  limit: z.ZodDefault<z.ZodInt>;
@@ -807,12 +853,14 @@ export declare const authoringSchemaQuery: z.ZodObject<{
807
853
  error: "error";
808
854
  integration: "integration";
809
855
  llm: "llm";
810
- manual: "manual";
811
856
  openapi: "openapi";
857
+ outputs: "outputs";
812
858
  poll: "poll";
859
+ start: "start";
813
860
  value: "value";
814
861
  wait: "wait";
815
862
  webhook: "webhook";
863
+ workflow: "workflow";
816
864
  }>>;
817
865
  action: z.ZodOptional<z.ZodString>;
818
866
  }, z.core.$strict>;
@@ -835,12 +883,14 @@ export declare function authoringRequestContract(name: string): {
835
883
  error: "error";
836
884
  integration: "integration";
837
885
  llm: "llm";
838
- manual: "manual";
839
886
  openapi: "openapi";
887
+ outputs: "outputs";
840
888
  poll: "poll";
889
+ start: "start";
841
890
  value: "value";
842
891
  wait: "wait";
843
892
  webhook: "webhook";
893
+ workflow: "workflow";
844
894
  }>;
845
895
  name: z.ZodString;
846
896
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
@@ -885,6 +935,9 @@ export declare function authoringRequestContract(name: string): {
885
935
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
886
936
  }, z.core.$strict>>;
887
937
  clear: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
938
+ }, z.core.$strict>, z.ZodObject<{
939
+ op: z.ZodLiteral<"node.refresh">;
940
+ node: z.ZodString;
888
941
  }, z.core.$strict>, z.ZodObject<{
889
942
  op: z.ZodLiteral<"node.remove">;
890
943
  node: z.ZodString;
@@ -973,12 +1026,14 @@ export declare function authoringRequestContract(name: string): {
973
1026
  error: "error";
974
1027
  integration: "integration";
975
1028
  llm: "llm";
976
- manual: "manual";
977
1029
  openapi: "openapi";
1030
+ outputs: "outputs";
978
1031
  poll: "poll";
1032
+ start: "start";
979
1033
  value: "value";
980
1034
  wait: "wait";
981
1035
  webhook: "webhook";
1036
+ workflow: "workflow";
982
1037
  }>>;
983
1038
  offset: z.ZodDefault<z.ZodInt>;
984
1039
  limit: z.ZodDefault<z.ZodInt>;
@@ -1066,7 +1121,7 @@ export declare function authoringRequestContract(name: string): {
1066
1121
  } | undefined;
1067
1122
  export declare function authoringSchema(kind?: AuthoringType): {
1068
1123
  type?: undefined;
1069
- types: readonly ["manual", "webhook", "cron", "error", "poll", "integration", "code", "connector", "agent", "llm", "decision", "openapi", "condition", "value", "wait", "approval"];
1124
+ types: readonly ["start", "outputs", "workflow", "webhook", "cron", "error", "poll", "integration", "code", "connector", "agent", "llm", "decision", "openapi", "condition", "value", "wait", "approval"];
1070
1125
  request: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
1071
1126
  baseRevision: z.ZodString;
1072
1127
  requestId: z.ZodString;
@@ -1084,12 +1139,14 @@ export declare function authoringSchema(kind?: AuthoringType): {
1084
1139
  error: "error";
1085
1140
  integration: "integration";
1086
1141
  llm: "llm";
1087
- manual: "manual";
1088
1142
  openapi: "openapi";
1143
+ outputs: "outputs";
1089
1144
  poll: "poll";
1145
+ start: "start";
1090
1146
  value: "value";
1091
1147
  wait: "wait";
1092
1148
  webhook: "webhook";
1149
+ workflow: "workflow";
1093
1150
  }>;
1094
1151
  name: z.ZodString;
1095
1152
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
@@ -1134,6 +1191,9 @@ export declare function authoringSchema(kind?: AuthoringType): {
1134
1191
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
1135
1192
  }, z.core.$strict>>;
1136
1193
  clear: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
1194
+ }, z.core.$strict>, z.ZodObject<{
1195
+ op: z.ZodLiteral<"node.refresh">;
1196
+ node: z.ZodString;
1137
1197
  }, z.core.$strict>, z.ZodObject<{
1138
1198
  op: z.ZodLiteral<"node.remove">;
1139
1199
  node: z.ZodString;
@@ -1204,17 +1264,346 @@ export declare function authoringSchema(kind?: AuthoringType): {
1204
1264
  } | {
1205
1265
  types?: undefined;
1206
1266
  request?: undefined;
1207
- type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "integration" | "llm" | "manual" | "openapi" | "poll" | "value" | "wait" | "webhook";
1267
+ type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "integration" | "llm" | "openapi" | "outputs" | "poll" | "start" | "value" | "wait" | "webhook" | "workflow";
1208
1268
  inputSources: string[];
1209
1269
  extensibleInputs: boolean;
1210
1270
  guidance: string;
1211
1271
  example: {
1212
1272
  op: string;
1213
1273
  as: string;
1214
- type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "integration" | "llm" | "manual" | "openapi" | "poll" | "value" | "wait" | "webhook";
1274
+ type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "integration" | "llm" | "openapi" | "outputs" | "poll" | "start" | "value" | "wait" | "webhook" | "workflow";
1215
1275
  name: string;
1216
1276
  };
1217
- configuration: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{}, z.core.$strict>>;
1277
+ configuration: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
1278
+ flowId: z.ZodOptional<z.ZodString>;
1279
+ }, z.core.$strict> | z.ZodObject<{
1280
+ inputDefs: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1281
+ schema: z.ZodOptional<z.ZodJSONSchema>;
1282
+ nullable: z.ZodOptional<z.ZodBoolean>;
1283
+ description: z.ZodOptional<z.ZodString>;
1284
+ }, z.core.$strict>>>>;
1285
+ }, z.core.$strict> | z.ZodObject<{
1286
+ outputDefs: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1287
+ schema: z.ZodOptional<z.ZodJSONSchema>;
1288
+ nullable: z.ZodOptional<z.ZodBoolean>;
1289
+ description: z.ZodOptional<z.ZodString>;
1290
+ }, z.core.$strict>>>>;
1291
+ }, z.core.$strict> | z.ZodObject<{
1292
+ sourceFlowIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1293
+ }, z.core.$strict> | z.ZodObject<{
1294
+ schedule: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1295
+ type: z.ZodLiteral<"cron">;
1296
+ expression: z.ZodString;
1297
+ timezone: z.ZodString;
1298
+ }, z.core.$strip>, z.ZodObject<{
1299
+ type: z.ZodLiteral<"every">;
1300
+ unit: z.ZodEnum<{
1301
+ day: "day";
1302
+ hour: "hour";
1303
+ minute: "minute";
1304
+ month: "month";
1305
+ week: "week";
1306
+ }>;
1307
+ value: z.ZodNumber;
1308
+ }, z.core.$strip>]>>>;
1309
+ }, z.core.$strict> | z.ZodObject<{
1310
+ key: z.ZodOptional<z.ZodString>;
1311
+ connectionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1312
+ }, z.core.$strict> | z.ZodObject<{
1313
+ sourceUrl: z.ZodOptional<z.ZodString>;
1314
+ path: z.ZodOptional<z.ZodString>;
1315
+ method: z.ZodOptional<z.ZodString>;
1316
+ serverUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1317
+ authentication: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1318
+ schemes: z.ZodArray<z.ZodString>;
1319
+ }, z.core.$strict>, z.ZodObject<{
1320
+ type: z.ZodEnum<{
1321
+ basic: "basic";
1322
+ bearer: "bearer";
1323
+ }>;
1324
+ }, z.core.$strict>, z.ZodObject<{
1325
+ type: z.ZodLiteral<"apiKey">;
1326
+ name: z.ZodString;
1327
+ in: z.ZodEnum<{
1328
+ header: "header";
1329
+ query: "query";
1330
+ }>;
1331
+ }, z.core.$strict>]>>>;
1332
+ }, z.core.$strict> | z.ZodObject<{
1333
+ match: z.ZodOptional<z.ZodEnum<{
1334
+ all: "all";
1335
+ first: "first";
1336
+ }>>;
1337
+ branches: z.ZodOptional<z.ZodArray<z.ZodObject<{
1338
+ name: z.ZodString;
1339
+ description: z.ZodOptional<z.ZodString>;
1340
+ when: z.ZodUnion<readonly [z.ZodObject<{
1341
+ left: z.ZodUnion<readonly [z.ZodObject<{
1342
+ kind: z.ZodLiteral<"value">;
1343
+ value: z.ZodOptional<z.ZodJSONSchema>;
1344
+ schema: z.ZodOptional<z.ZodJSONSchema>;
1345
+ }, z.core.$strict>, z.ZodObject<{
1346
+ kind: z.ZodLiteral<"output">;
1347
+ node: z.ZodString;
1348
+ port: z.ZodOptional<z.ZodString>;
1349
+ field: z.ZodOptional<z.ZodString>;
1350
+ }, z.core.$strict>, z.ZodObject<{
1351
+ kind: z.ZodLiteral<"variable">;
1352
+ name: z.ZodString;
1353
+ }, z.core.$strict>]>;
1354
+ operator: z.ZodEnum<{
1355
+ "!=": "!=";
1356
+ "<": "<";
1357
+ "<=": "<=";
1358
+ "==": "==";
1359
+ ">": ">";
1360
+ ">=": ">=";
1361
+ contains: "contains";
1362
+ endsWith: "endsWith";
1363
+ hasKey: "hasKey";
1364
+ hasValue: "hasValue";
1365
+ isEmpty: "isEmpty";
1366
+ isFalse: "isFalse";
1367
+ isNotEmpty: "isNotEmpty";
1368
+ isNotNull: "isNotNull";
1369
+ isNull: "isNull";
1370
+ isTrue: "isTrue";
1371
+ notContains: "notContains";
1372
+ notHasKey: "notHasKey";
1373
+ notHasValue: "notHasValue";
1374
+ startsWith: "startsWith";
1375
+ }>;
1376
+ right: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1377
+ kind: z.ZodLiteral<"value">;
1378
+ value: z.ZodOptional<z.ZodJSONSchema>;
1379
+ schema: z.ZodOptional<z.ZodJSONSchema>;
1380
+ }, z.core.$strict>, z.ZodObject<{
1381
+ kind: z.ZodLiteral<"output">;
1382
+ node: z.ZodString;
1383
+ port: z.ZodOptional<z.ZodString>;
1384
+ field: z.ZodOptional<z.ZodString>;
1385
+ }, z.core.$strict>, z.ZodObject<{
1386
+ kind: z.ZodLiteral<"variable">;
1387
+ name: z.ZodString;
1388
+ }, z.core.$strict>]>>;
1389
+ }, z.core.$strict>, z.ZodObject<{
1390
+ all: z.ZodArray<z.ZodObject<{
1391
+ left: z.ZodUnion<readonly [z.ZodObject<{
1392
+ kind: z.ZodLiteral<"value">;
1393
+ value: z.ZodOptional<z.ZodJSONSchema>;
1394
+ schema: z.ZodOptional<z.ZodJSONSchema>;
1395
+ }, z.core.$strict>, z.ZodObject<{
1396
+ kind: z.ZodLiteral<"output">;
1397
+ node: z.ZodString;
1398
+ port: z.ZodOptional<z.ZodString>;
1399
+ field: z.ZodOptional<z.ZodString>;
1400
+ }, z.core.$strict>, z.ZodObject<{
1401
+ kind: z.ZodLiteral<"variable">;
1402
+ name: z.ZodString;
1403
+ }, z.core.$strict>]>;
1404
+ operator: z.ZodEnum<{
1405
+ "!=": "!=";
1406
+ "<": "<";
1407
+ "<=": "<=";
1408
+ "==": "==";
1409
+ ">": ">";
1410
+ ">=": ">=";
1411
+ contains: "contains";
1412
+ endsWith: "endsWith";
1413
+ hasKey: "hasKey";
1414
+ hasValue: "hasValue";
1415
+ isEmpty: "isEmpty";
1416
+ isFalse: "isFalse";
1417
+ isNotEmpty: "isNotEmpty";
1418
+ isNotNull: "isNotNull";
1419
+ isNull: "isNull";
1420
+ isTrue: "isTrue";
1421
+ notContains: "notContains";
1422
+ notHasKey: "notHasKey";
1423
+ notHasValue: "notHasValue";
1424
+ startsWith: "startsWith";
1425
+ }>;
1426
+ right: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1427
+ kind: z.ZodLiteral<"value">;
1428
+ value: z.ZodOptional<z.ZodJSONSchema>;
1429
+ schema: z.ZodOptional<z.ZodJSONSchema>;
1430
+ }, z.core.$strict>, z.ZodObject<{
1431
+ kind: z.ZodLiteral<"output">;
1432
+ node: z.ZodString;
1433
+ port: z.ZodOptional<z.ZodString>;
1434
+ field: z.ZodOptional<z.ZodString>;
1435
+ }, z.core.$strict>, z.ZodObject<{
1436
+ kind: z.ZodLiteral<"variable">;
1437
+ name: z.ZodString;
1438
+ }, z.core.$strict>]>>;
1439
+ }, z.core.$strict>>;
1440
+ }, z.core.$strict>, z.ZodObject<{
1441
+ any: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1442
+ left: z.ZodUnion<readonly [z.ZodObject<{
1443
+ kind: z.ZodLiteral<"value">;
1444
+ value: z.ZodOptional<z.ZodJSONSchema>;
1445
+ schema: z.ZodOptional<z.ZodJSONSchema>;
1446
+ }, z.core.$strict>, z.ZodObject<{
1447
+ kind: z.ZodLiteral<"output">;
1448
+ node: z.ZodString;
1449
+ port: z.ZodOptional<z.ZodString>;
1450
+ field: z.ZodOptional<z.ZodString>;
1451
+ }, z.core.$strict>, z.ZodObject<{
1452
+ kind: z.ZodLiteral<"variable">;
1453
+ name: z.ZodString;
1454
+ }, z.core.$strict>]>;
1455
+ operator: z.ZodEnum<{
1456
+ "!=": "!=";
1457
+ "<": "<";
1458
+ "<=": "<=";
1459
+ "==": "==";
1460
+ ">": ">";
1461
+ ">=": ">=";
1462
+ contains: "contains";
1463
+ endsWith: "endsWith";
1464
+ hasKey: "hasKey";
1465
+ hasValue: "hasValue";
1466
+ isEmpty: "isEmpty";
1467
+ isFalse: "isFalse";
1468
+ isNotEmpty: "isNotEmpty";
1469
+ isNotNull: "isNotNull";
1470
+ isNull: "isNull";
1471
+ isTrue: "isTrue";
1472
+ notContains: "notContains";
1473
+ notHasKey: "notHasKey";
1474
+ notHasValue: "notHasValue";
1475
+ startsWith: "startsWith";
1476
+ }>;
1477
+ right: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1478
+ kind: z.ZodLiteral<"value">;
1479
+ value: z.ZodOptional<z.ZodJSONSchema>;
1480
+ schema: z.ZodOptional<z.ZodJSONSchema>;
1481
+ }, z.core.$strict>, z.ZodObject<{
1482
+ kind: z.ZodLiteral<"output">;
1483
+ node: z.ZodString;
1484
+ port: z.ZodOptional<z.ZodString>;
1485
+ field: z.ZodOptional<z.ZodString>;
1486
+ }, z.core.$strict>, z.ZodObject<{
1487
+ kind: z.ZodLiteral<"variable">;
1488
+ name: z.ZodString;
1489
+ }, z.core.$strict>]>>;
1490
+ }, z.core.$strict>, z.ZodObject<{
1491
+ all: z.ZodArray<z.ZodObject<{
1492
+ left: z.ZodUnion<readonly [z.ZodObject<{
1493
+ kind: z.ZodLiteral<"value">;
1494
+ value: z.ZodOptional<z.ZodJSONSchema>;
1495
+ schema: z.ZodOptional<z.ZodJSONSchema>;
1496
+ }, z.core.$strict>, z.ZodObject<{
1497
+ kind: z.ZodLiteral<"output">;
1498
+ node: z.ZodString;
1499
+ port: z.ZodOptional<z.ZodString>;
1500
+ field: z.ZodOptional<z.ZodString>;
1501
+ }, z.core.$strict>, z.ZodObject<{
1502
+ kind: z.ZodLiteral<"variable">;
1503
+ name: z.ZodString;
1504
+ }, z.core.$strict>]>;
1505
+ operator: z.ZodEnum<{
1506
+ "!=": "!=";
1507
+ "<": "<";
1508
+ "<=": "<=";
1509
+ "==": "==";
1510
+ ">": ">";
1511
+ ">=": ">=";
1512
+ contains: "contains";
1513
+ endsWith: "endsWith";
1514
+ hasKey: "hasKey";
1515
+ hasValue: "hasValue";
1516
+ isEmpty: "isEmpty";
1517
+ isFalse: "isFalse";
1518
+ isNotEmpty: "isNotEmpty";
1519
+ isNotNull: "isNotNull";
1520
+ isNull: "isNull";
1521
+ isTrue: "isTrue";
1522
+ notContains: "notContains";
1523
+ notHasKey: "notHasKey";
1524
+ notHasValue: "notHasValue";
1525
+ startsWith: "startsWith";
1526
+ }>;
1527
+ right: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1528
+ kind: z.ZodLiteral<"value">;
1529
+ value: z.ZodOptional<z.ZodJSONSchema>;
1530
+ schema: z.ZodOptional<z.ZodJSONSchema>;
1531
+ }, z.core.$strict>, z.ZodObject<{
1532
+ kind: z.ZodLiteral<"output">;
1533
+ node: z.ZodString;
1534
+ port: z.ZodOptional<z.ZodString>;
1535
+ field: z.ZodOptional<z.ZodString>;
1536
+ }, z.core.$strict>, z.ZodObject<{
1537
+ kind: z.ZodLiteral<"variable">;
1538
+ name: z.ZodString;
1539
+ }, z.core.$strict>]>>;
1540
+ }, z.core.$strict>>;
1541
+ }, z.core.$strict>]>>;
1542
+ }, z.core.$strict>]>;
1543
+ }, z.core.$strict>>>;
1544
+ }, z.core.$strict> | z.ZodObject<{
1545
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
1546
+ outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1547
+ schema: z.ZodOptional<z.ZodJSONSchema>;
1548
+ nullable: z.ZodOptional<z.ZodBoolean>;
1549
+ description: z.ZodOptional<z.ZodString>;
1550
+ }, z.core.$strict>>>;
1551
+ }, z.core.$strict> | z.ZodObject<{
1552
+ inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1553
+ schema: z.ZodOptional<z.ZodJSONSchema>;
1554
+ nullable: z.ZodOptional<z.ZodBoolean>;
1555
+ description: z.ZodOptional<z.ZodString>;
1556
+ default: z.ZodOptional<z.ZodJSONSchema>;
1557
+ }, z.core.$strict>>>;
1558
+ }, z.core.$strict> | z.ZodObject<{
1559
+ questions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1560
+ name: z.ZodString;
1561
+ instructions: z.ZodString;
1562
+ type: z.ZodLiteral<"noul">;
1563
+ criteria: z.ZodOptional<z.ZodObject<{
1564
+ true: z.ZodOptional<z.ZodString>;
1565
+ false: z.ZodOptional<z.ZodString>;
1566
+ }, z.core.$strict>>;
1567
+ }, z.core.$strict>, z.ZodObject<{
1568
+ name: z.ZodString;
1569
+ instructions: z.ZodString;
1570
+ type: z.ZodLiteral<"choice">;
1571
+ criteria: z.ZodArray<z.ZodObject<{
1572
+ name: z.ZodString;
1573
+ description: z.ZodString;
1574
+ }, z.core.$strict>>;
1575
+ }, z.core.$strict>, z.ZodObject<{
1576
+ name: z.ZodString;
1577
+ instructions: z.ZodString;
1578
+ type: z.ZodLiteral<"score">;
1579
+ criteria: z.ZodArray<z.ZodString>;
1580
+ }, z.core.$strict>], "type">>>;
1581
+ }, z.core.$strict> | z.ZodObject<{
1582
+ method: z.ZodOptional<z.ZodEnum<{
1583
+ DELETE: "DELETE";
1584
+ GET: "GET";
1585
+ PATCH: "PATCH";
1586
+ POST: "POST";
1587
+ PUT: "PUT";
1588
+ }>>;
1589
+ options: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1590
+ allowedMethods: z.ZodOptional<z.ZodNever>;
1591
+ allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
1592
+ noResponseBody: z.ZodOptional<z.ZodNever>;
1593
+ responseData: z.ZodOptional<z.ZodString>;
1594
+ responseHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1595
+ responseStatusCode: z.ZodOptional<z.ZodNumber>;
1596
+ }, z.core.$strip>>>;
1597
+ body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1598
+ schema: z.ZodOptional<z.ZodJSONSchema>;
1599
+ nullable: z.ZodOptional<z.ZodBoolean>;
1600
+ description: z.ZodOptional<z.ZodString>;
1601
+ default: z.ZodOptional<z.ZodJSONSchema>;
1602
+ }, z.core.$strict>>>;
1603
+ }, z.core.$strict> | z.ZodObject<{
1604
+ action: z.ZodOptional<z.ZodString>;
1605
+ connectionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1606
+ }, z.core.$strict>>;
1218
1607
  texts: string[];
1219
1608
  };
1220
1609
  export declare const authoringDiagnosticSchema: z.ZodObject<{
@@ -1281,7 +1670,7 @@ export declare const authoringSearchResponse: z.ZodObject<{
1281
1670
  revision: z.ZodString;
1282
1671
  data: z.ZodObject<{
1283
1672
  matches: z.ZodArray<z.ZodObject<{
1284
- node: z.ZodString;
1673
+ node: z.ZodOptional<z.ZodString>;
1285
1674
  field: z.ZodString;
1286
1675
  line: z.ZodOptional<z.ZodInt>;
1287
1676
  excerpt: z.ZodString;