@oomol-lab/open-flow 0.1.0-beta.69 → 0.1.0-beta.70

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 (49) hide show
  1. package/dist/browser/{ContentIcon-CsECY5id.js → ContentIcon-CUQHjQIw.js} +16 -8
  2. package/dist/browser/{FlowCanvas-C5X22xQ7.js → FlowCanvas-CqtUDPGj.js} +11 -26
  3. package/dist/browser/{createResourceDialog-Di5BBrQv.js → createResourceDialog-BAHYW9yu.js} +3 -3
  4. package/dist/browser/{dialog-Bjo-r9B0.js → dialog-DcGOzUP2.js} +162 -12
  5. package/dist/browser/{exportSvg-Cj6Spxx-.js → exportSvg-Dv5Qgrq7.js} +2 -2
  6. package/dist/browser/flow-authoring.js +95 -12
  7. package/dist/browser/flow-change-schema.d.ts +24 -1
  8. package/dist/browser/flow-change.d.ts +33 -4
  9. package/dist/browser/flow-change.js +96 -13
  10. package/dist/browser/{flowChanges-Dp-rcEJ6.js → flowChanges-CYyehKer.js} +2593 -2254
  11. package/dist/browser/{flowWorkspace-CB1QACku.js → flowWorkspace-qYUZPJHR.js} +1114 -392
  12. package/dist/browser/preview.css +225 -221
  13. package/dist/browser/preview.js +3781 -2655
  14. package/dist/browser/{tooltip-CJjYs_2I.js → tooltip-wZJRB9oP.js} +28 -1
  15. package/dist/browser/ui.css +8 -20
  16. package/dist/browser/workbench.css +225 -221
  17. package/dist/browser/workbench.js +31 -10
  18. package/dist/browser/{workbenchSelect-C3hxUcYm.js → workbenchSelect-D8_vP2p5.js} +2 -2
  19. package/dist/command/index.js +45 -45
  20. package/dist/common/authoring.d.ts +3 -3
  21. package/dist/common/authoringExamples.d.ts +3 -2
  22. package/dist/common/authoringSchema.d.ts +37 -374
  23. package/dist/common/control-api-conformance.js +151 -55
  24. package/dist/common/control-api.d.ts +12 -78
  25. package/dist/common/control-api.js +162 -39
  26. package/dist/common/control-requests.d.ts +3 -3
  27. package/dist/common/control-requests.js +221 -35
  28. package/dist/common/decision.js +85 -7
  29. package/dist/common/engine-contract.d.ts +4 -2
  30. package/dist/common/flow-encoding.js +110 -14
  31. package/dist/common/flow-graph.d.ts +3 -0
  32. package/dist/common/flow-semantics.js +273 -14
  33. package/dist/common/integration-trigger.js +85 -7
  34. package/dist/common/liveDetails.d.ts +15 -0
  35. package/dist/common/mcp.d.ts +3 -3
  36. package/dist/common/mcp.js +134 -38
  37. package/dist/common/openapi.js +85 -7
  38. package/dist/common/poll-trigger.js +85 -7
  39. package/dist/common/run-events.d.ts +2 -0
  40. package/dist/common/run-events.js +59 -2
  41. package/dist/common/runtime-contract.js +14 -4
  42. package/dist/common/scheduler.d.ts +6 -2
  43. package/dist/common/scheduler.js +178 -11
  44. package/dist/common/webhook-response.d.ts +43 -0
  45. package/dist/common/webhook-trigger.d.ts +12 -0
  46. package/dist/common/webhook-trigger.js +236 -9
  47. package/dist/common/workflow.js +85 -7
  48. package/package.json +1 -1
  49. package/skills/open-flow/references/flow-authoring.md +15 -10
@@ -10,7 +10,7 @@ export declare class AuthoringError extends Error {
10
10
  }
11
11
  export declare function authoringNode(content: RevisionContent, ref: string): {
12
12
  ref: string;
13
- type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "integration" | "llm" | "openapi" | "outputs" | "poll" | "start" | "value" | "wait" | "webhook" | "workflow";
13
+ type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "integration" | "llm" | "openapi" | "outputs" | "poll" | "start" | "value" | "wait" | "webhook" | "webhook-response" | "workflow";
14
14
  name: string;
15
15
  readOnly: boolean;
16
16
  description?: string | undefined;
@@ -98,7 +98,7 @@ export declare function readAuthoring(content: RevisionContent, query?: Authorin
98
98
  text?: undefined;
99
99
  nodes: {
100
100
  ref: string;
101
- type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "integration" | "llm" | "openapi" | "outputs" | "poll" | "start" | "value" | "wait" | "webhook" | "workflow";
101
+ type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "integration" | "llm" | "openapi" | "outputs" | "poll" | "start" | "value" | "wait" | "webhook" | "webhook-response" | "workflow";
102
102
  name: string;
103
103
  readOnly: boolean;
104
104
  description?: string | undefined;
@@ -174,7 +174,7 @@ export declare function readAuthoring(content: RevisionContent, query?: Authorin
174
174
  text?: undefined;
175
175
  nodes: {
176
176
  ref: string;
177
- type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "integration" | "llm" | "openapi" | "outputs" | "poll" | "start" | "value" | "wait" | "webhook" | "workflow";
177
+ type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "integration" | "llm" | "openapi" | "outputs" | "poll" | "start" | "value" | "wait" | "webhook" | "webhook-response" | "workflow";
178
178
  name: string;
179
179
  readOnly: boolean;
180
180
  inputHandles: string[];
@@ -3,6 +3,7 @@ declare const descriptions: {
3
3
  readonly start: 'A Start node with a required message parameter. Supply it through trigger.outputs.';
4
4
  readonly error: 'A Flow Error node. Select upstream Flows, then publish and enable this Flow to listen for failures in their automatic runs.';
5
5
  readonly webhook: 'A Webhook start node.';
6
+ readonly 'webhook-response': 'An HTTP response node with body, statusCode and headers inputs. Select it from a reachable Webhook.';
6
7
  readonly cron: 'An hourly scheduled start node.';
7
8
  readonly poll: 'Gmail polling by key; replace CONNECTION_ID with an active Gmail connection.';
8
9
  readonly integration: 'Telegram webhook integration by key; replace CONNECTION_ID with an active Telegram connection.';
@@ -21,8 +22,8 @@ declare const descriptions: {
21
22
  };
22
23
  export declare const authoringExampleNames: (keyof typeof descriptions)[];
23
24
  export declare const authoringExamples: {
24
- name: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "integration" | "llm-chat" | "llm-json" | "openapi" | "poll" | "poll-notification" | "start" | "value" | "wait" | "webhook";
25
- description: "A Connector Task and its node. Replace ACTION_ID, CONNECTION_ID and port definitions using connector_get / connector show. Set connectionId to an empty string to defer account configuration; execution will require an account." | "A Flow Error node. Select upstream Flows, then publish and enable this Flow to listen for failures in their automatic runs." | "A JavaScript module and its node. Use Code for custom computation; use Connector Tasks for existing actions." | "A Start node with a required message parameter. Supply it through trigger.outputs." | "A Wait with a continue action and a built-in notification output." | "A Webhook start node." | "A condition with true and false execution branches." | "A fixed JSON API operation. Replace the example document and URL before running." | "A fixed value node." | "AI Decision evaluates named questions against target and returns a complete answer object per output. Configure target before running." | "An Agent with code computation enabled. Configure a model available in the deployment." | "An Approval with approve and reject decision branches and a built-in notification output." | "An LLM JSON Task and its node; configure a model available in the deployment." | "An LLM chat Task and its node; configure a model available in the deployment." | "An hourly scheduled start node." | "Gmail events → JavaScript text formatting → Connector notification. Replace connection/action IDs and match the notification input ports." | "Gmail polling by key; replace CONNECTION_ID with an active Gmail connection." | "Telegram webhook integration by key; replace CONNECTION_ID with an active Telegram connection.";
25
+ name: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "integration" | "llm-chat" | "llm-json" | "openapi" | "poll" | "poll-notification" | "start" | "value" | "wait" | "webhook" | "webhook-response";
26
+ description: "A Connector Task and its node. Replace ACTION_ID, CONNECTION_ID and port definitions using connector_get / connector show. Set connectionId to an empty string to defer account configuration; execution will require an account." | "A Flow Error node. Select upstream Flows, then publish and enable this Flow to listen for failures in their automatic runs." | "A JavaScript module and its node. Use Code for custom computation; use Connector Tasks for existing actions." | "A Start node with a required message parameter. Supply it through trigger.outputs." | "A Wait with a continue action and a built-in notification output." | "A Webhook start node." | "A condition with true and false execution branches." | "A fixed JSON API operation. Replace the example document and URL before running." | "A fixed value node." | "AI Decision evaluates named questions against target and returns a complete answer object per output. Configure target before running." | "An Agent with code computation enabled. Configure a model available in the deployment." | "An Approval with approve and reject decision branches and a built-in notification output." | "An HTTP response node with body, statusCode and headers inputs. Select it from a reachable Webhook." | "An LLM JSON Task and its node; configure a model available in the deployment." | "An LLM chat Task and its node; configure a model available in the deployment." | "An hourly scheduled start node." | "Gmail events → JavaScript text formatting → Connector notification. Replace connection/action IDs and match the notification input ports." | "Gmail polling by key; replace CONNECTION_ID with an active Gmail connection." | "Telegram webhook integration by key; replace CONNECTION_ID with an active Telegram connection.";
26
27
  }[];
27
28
  export declare function authoringExample(name: string): {
28
29
  version: 1;
@@ -1,6 +1,6 @@
1
1
  import type { JsonValue } from '../index.js';
2
2
  import { z } from 'zod';
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
+ export declare const authoringTypes: readonly ['start', 'outputs', 'webhook-response', 'workflow', 'webhook', 'cron', 'error', 'poll', 'integration', 'code', 'connector', 'agent', 'llm', 'decision', 'openapi', 'condition', 'value', 'wait', 'approval'];
4
4
  declare const type: z.ZodEnum<{
5
5
  agent: "agent";
6
6
  approval: "approval";
@@ -19,6 +19,7 @@ declare const type: z.ZodEnum<{
19
19
  value: "value";
20
20
  wait: "wait";
21
21
  webhook: "webhook";
22
+ "webhook-response": "webhook-response";
22
23
  workflow: "workflow";
23
24
  }>;
24
25
  export type AuthoringType = z.infer<typeof type>;
@@ -75,6 +76,7 @@ export declare const flowInputFieldsView: z.ZodRecord<z.ZodString, z.ZodObject<{
75
76
  nullable: z.ZodBoolean;
76
77
  }, z.core.$strict>>;
77
78
  export declare const authoringConfigurations: {
79
+ 'webhook-response': z.ZodObject<{}, z.core.$strict>;
78
80
  workflow: z.ZodObject<{
79
81
  flowId: z.ZodString;
80
82
  }, z.core.$strict>;
@@ -107,9 +109,24 @@ export declare const authoringConfigurations: {
107
109
  allowedMethods: z.ZodOptional<z.ZodNever>;
108
110
  allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
109
111
  noResponseBody: z.ZodOptional<z.ZodNever>;
112
+ responseBody: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
113
+ kind: z.ZodLiteral<"workflow-outputs">;
114
+ output: z.ZodOptional<z.ZodString>;
115
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
116
+ }, z.core.$strict>, z.ZodObject<{
117
+ kind: z.ZodLiteral<"webhook-response">;
118
+ nodeId: z.ZodOptional<z.ZodString>;
119
+ timeoutMs: z.ZodOptional<z.ZodNumber>;
120
+ }, z.core.$strict>], "kind">>;
110
121
  responseData: z.ZodOptional<z.ZodString>;
111
122
  responseHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
123
+ responseHeadersSource: z.ZodOptional<z.ZodObject<{
124
+ kind: z.ZodLiteral<"workflow-outputs">;
125
+ output: z.ZodOptional<z.ZodString>;
126
+ }, z.core.$strict>>;
127
+ responseHeaderOutputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
112
128
  responseStatusCode: z.ZodOptional<z.ZodNumber>;
129
+ responseStatusCodeOutput: z.ZodOptional<z.ZodString>;
113
130
  }, z.core.$strip>>;
114
131
  body: z.ZodRecord<z.ZodString, z.ZodObject<{
115
132
  schema: z.ZodOptional<z.ZodJSONSchema>;
@@ -572,6 +589,14 @@ export declare const authoringConfigurations: {
572
589
  description: z.ZodOptional<z.ZodString>;
573
590
  default: z.ZodOptional<z.ZodJSONSchema>;
574
591
  }, z.core.$strict>>;
592
+ autoContinue: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
593
+ kind: z.ZodLiteral<"after">;
594
+ durationMs: z.ZodNumber;
595
+ }, z.core.$strict>, z.ZodObject<{
596
+ kind: z.ZodLiteral<"at">;
597
+ at: z.ZodISODateTime;
598
+ timezone: z.ZodOptional<z.ZodString>;
599
+ }, z.core.$strict>], "kind">>;
575
600
  }, z.core.$strict>;
576
601
  approval: z.ZodObject<{
577
602
  inputs: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -603,6 +628,7 @@ export declare const authoringEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
603
628
  value: "value";
604
629
  wait: "wait";
605
630
  webhook: "webhook";
631
+ "webhook-response": "webhook-response";
606
632
  workflow: "workflow";
607
633
  }>;
608
634
  name: z.ZodString;
@@ -771,6 +797,7 @@ export declare const authoringRequestSchema: z.ZodObject<{
771
797
  value: "value";
772
798
  wait: "wait";
773
799
  webhook: "webhook";
800
+ "webhook-response": "webhook-response";
774
801
  workflow: "workflow";
775
802
  }>;
776
803
  name: z.ZodString;
@@ -953,6 +980,7 @@ export declare const authoringSearchSchema: z.ZodObject<{
953
980
  value: "value";
954
981
  wait: "wait";
955
982
  webhook: "webhook";
983
+ "webhook-response": "webhook-response";
956
984
  workflow: "workflow";
957
985
  }>>;
958
986
  offset: z.ZodDefault<z.ZodInt>;
@@ -982,6 +1010,7 @@ export declare const authoringSchemaQuery: z.ZodObject<{
982
1010
  value: "value";
983
1011
  wait: "wait";
984
1012
  webhook: "webhook";
1013
+ "webhook-response": "webhook-response";
985
1014
  workflow: "workflow";
986
1015
  }>>;
987
1016
  action: z.ZodOptional<z.ZodString>;
@@ -1012,6 +1041,7 @@ export declare function authoringRequestContract(name: string): {
1012
1041
  value: "value";
1013
1042
  wait: "wait";
1014
1043
  webhook: "webhook";
1044
+ "webhook-response": "webhook-response";
1015
1045
  workflow: "workflow";
1016
1046
  }>;
1017
1047
  name: z.ZodString;
@@ -1191,6 +1221,7 @@ export declare function authoringRequestContract(name: string): {
1191
1221
  value: "value";
1192
1222
  wait: "wait";
1193
1223
  webhook: "webhook";
1224
+ "webhook-response": "webhook-response";
1194
1225
  workflow: "workflow";
1195
1226
  }>>;
1196
1227
  offset: z.ZodDefault<z.ZodInt>;
@@ -1279,7 +1310,7 @@ export declare function authoringRequestContract(name: string): {
1279
1310
  } | undefined;
1280
1311
  export declare function authoringSchema(kind?: AuthoringType): {
1281
1312
  type?: undefined;
1282
- types: readonly ["start", "outputs", "workflow", "webhook", "cron", "error", "poll", "integration", "code", "connector", "agent", "llm", "decision", "openapi", "condition", "value", "wait", "approval"];
1313
+ types: readonly ["start", "outputs", "webhook-response", "workflow", "webhook", "cron", "error", "poll", "integration", "code", "connector", "agent", "llm", "decision", "openapi", "condition", "value", "wait", "approval"];
1283
1314
  request: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
1284
1315
  baseRevision: z.ZodString;
1285
1316
  requestId: z.ZodString;
@@ -1304,6 +1335,7 @@ export declare function authoringSchema(kind?: AuthoringType): {
1304
1335
  value: "value";
1305
1336
  wait: "wait";
1306
1337
  webhook: "webhook";
1338
+ "webhook-response": "webhook-response";
1307
1339
  workflow: "workflow";
1308
1340
  }>;
1309
1341
  name: z.ZodString;
@@ -1460,7 +1492,7 @@ export declare function authoringSchema(kind?: AuthoringType): {
1460
1492
  } | {
1461
1493
  types?: undefined;
1462
1494
  request?: undefined;
1463
- type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "integration" | "llm" | "openapi" | "outputs" | "poll" | "start" | "value" | "wait" | "webhook" | "workflow";
1495
+ type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "integration" | "llm" | "openapi" | "outputs" | "poll" | "start" | "value" | "wait" | "webhook" | "webhook-response" | "workflow";
1464
1496
  onError: boolean | {
1465
1497
  enum: string[];
1466
1498
  };
@@ -1474,379 +1506,10 @@ export declare function authoringSchema(kind?: AuthoringType): {
1474
1506
  example: {
1475
1507
  op: string;
1476
1508
  as: string;
1477
- type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "integration" | "llm" | "openapi" | "outputs" | "poll" | "start" | "value" | "wait" | "webhook" | "workflow";
1509
+ type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "integration" | "llm" | "openapi" | "outputs" | "poll" | "start" | "value" | "wait" | "webhook" | "webhook-response" | "workflow";
1478
1510
  name: string;
1479
1511
  };
1480
- configuration: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
1481
- flowId: z.ZodOptional<z.ZodString>;
1482
- }, z.core.$strict> | z.ZodObject<{
1483
- inputDefs: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1484
- schema: z.ZodOptional<z.ZodJSONSchema>;
1485
- nullable: z.ZodOptional<z.ZodBoolean>;
1486
- description: z.ZodOptional<z.ZodString>;
1487
- }, z.core.$strict>>>>;
1488
- }, z.core.$strict> | z.ZodObject<{
1489
- outputDefs: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1490
- schema: z.ZodOptional<z.ZodJSONSchema>;
1491
- nullable: z.ZodOptional<z.ZodBoolean>;
1492
- description: z.ZodOptional<z.ZodString>;
1493
- }, z.core.$strict>>>>;
1494
- }, z.core.$strict> | z.ZodObject<{
1495
- sourceFlowIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
1496
- }, z.core.$strict> | z.ZodObject<{
1497
- schedule: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1498
- type: z.ZodLiteral<"cron">;
1499
- expression: z.ZodString;
1500
- timezone: z.ZodString;
1501
- }, z.core.$strip>, z.ZodObject<{
1502
- type: z.ZodLiteral<"every">;
1503
- unit: z.ZodEnum<{
1504
- day: "day";
1505
- hour: "hour";
1506
- minute: "minute";
1507
- month: "month";
1508
- week: "week";
1509
- }>;
1510
- value: z.ZodNumber;
1511
- }, z.core.$strip>]>>>;
1512
- }, z.core.$strict> | z.ZodObject<{
1513
- key: z.ZodOptional<z.ZodString>;
1514
- connectionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1515
- }, z.core.$strict> | z.ZodObject<{
1516
- sourceUrl: z.ZodOptional<z.ZodString>;
1517
- path: z.ZodOptional<z.ZodString>;
1518
- method: z.ZodOptional<z.ZodString>;
1519
- serverUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1520
- authentication: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1521
- schemes: z.ZodArray<z.ZodString>;
1522
- }, z.core.$strict>, z.ZodObject<{
1523
- type: z.ZodEnum<{
1524
- basic: "basic";
1525
- bearer: "bearer";
1526
- }>;
1527
- }, z.core.$strict>, z.ZodObject<{
1528
- type: z.ZodLiteral<"apiKey">;
1529
- name: z.ZodString;
1530
- in: z.ZodEnum<{
1531
- header: "header";
1532
- query: "query";
1533
- }>;
1534
- }, z.core.$strict>]>>>;
1535
- }, z.core.$strict> | z.ZodObject<{
1536
- match: z.ZodOptional<z.ZodEnum<{
1537
- all: "all";
1538
- first: "first";
1539
- }>>;
1540
- branches: z.ZodOptional<z.ZodArray<z.ZodObject<{
1541
- name: z.ZodString;
1542
- description: z.ZodOptional<z.ZodString>;
1543
- when: z.ZodUnion<readonly [z.ZodObject<{
1544
- left: z.ZodUnion<readonly [z.ZodObject<{
1545
- kind: z.ZodLiteral<"value">;
1546
- value: z.ZodOptional<z.ZodJSONSchema>;
1547
- schema: z.ZodOptional<z.ZodJSONSchema>;
1548
- }, z.core.$strict>, z.ZodObject<{
1549
- kind: z.ZodLiteral<"output">;
1550
- node: z.ZodString;
1551
- port: z.ZodOptional<z.ZodString>;
1552
- field: z.ZodOptional<z.ZodString>;
1553
- }, z.core.$strict>, z.ZodObject<{
1554
- kind: z.ZodLiteral<"system">;
1555
- node: z.ZodString;
1556
- port: z.ZodLiteral<"error">;
1557
- field: z.ZodOptional<z.ZodString>;
1558
- }, z.core.$strict>, z.ZodObject<{
1559
- kind: z.ZodLiteral<"variable">;
1560
- name: z.ZodString;
1561
- }, z.core.$strict>]>;
1562
- operator: z.ZodEnum<{
1563
- "!=": "!=";
1564
- "<": "<";
1565
- "<=": "<=";
1566
- "==": "==";
1567
- ">": ">";
1568
- ">=": ">=";
1569
- contains: "contains";
1570
- endsWith: "endsWith";
1571
- hasKey: "hasKey";
1572
- hasValue: "hasValue";
1573
- isEmpty: "isEmpty";
1574
- isFalse: "isFalse";
1575
- isNotEmpty: "isNotEmpty";
1576
- isNotNull: "isNotNull";
1577
- isNull: "isNull";
1578
- isTrue: "isTrue";
1579
- notContains: "notContains";
1580
- notHasKey: "notHasKey";
1581
- notHasValue: "notHasValue";
1582
- startsWith: "startsWith";
1583
- }>;
1584
- right: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1585
- kind: z.ZodLiteral<"value">;
1586
- value: z.ZodOptional<z.ZodJSONSchema>;
1587
- schema: z.ZodOptional<z.ZodJSONSchema>;
1588
- }, z.core.$strict>, z.ZodObject<{
1589
- kind: z.ZodLiteral<"output">;
1590
- node: z.ZodString;
1591
- port: z.ZodOptional<z.ZodString>;
1592
- field: z.ZodOptional<z.ZodString>;
1593
- }, z.core.$strict>, z.ZodObject<{
1594
- kind: z.ZodLiteral<"system">;
1595
- node: z.ZodString;
1596
- port: z.ZodLiteral<"error">;
1597
- field: z.ZodOptional<z.ZodString>;
1598
- }, z.core.$strict>, z.ZodObject<{
1599
- kind: z.ZodLiteral<"variable">;
1600
- name: z.ZodString;
1601
- }, z.core.$strict>]>>;
1602
- }, z.core.$strict>, z.ZodObject<{
1603
- all: z.ZodArray<z.ZodObject<{
1604
- left: z.ZodUnion<readonly [z.ZodObject<{
1605
- kind: z.ZodLiteral<"value">;
1606
- value: z.ZodOptional<z.ZodJSONSchema>;
1607
- schema: z.ZodOptional<z.ZodJSONSchema>;
1608
- }, z.core.$strict>, z.ZodObject<{
1609
- kind: z.ZodLiteral<"output">;
1610
- node: z.ZodString;
1611
- port: z.ZodOptional<z.ZodString>;
1612
- field: z.ZodOptional<z.ZodString>;
1613
- }, z.core.$strict>, z.ZodObject<{
1614
- kind: z.ZodLiteral<"system">;
1615
- node: z.ZodString;
1616
- port: z.ZodLiteral<"error">;
1617
- field: z.ZodOptional<z.ZodString>;
1618
- }, z.core.$strict>, z.ZodObject<{
1619
- kind: z.ZodLiteral<"variable">;
1620
- name: z.ZodString;
1621
- }, z.core.$strict>]>;
1622
- operator: z.ZodEnum<{
1623
- "!=": "!=";
1624
- "<": "<";
1625
- "<=": "<=";
1626
- "==": "==";
1627
- ">": ">";
1628
- ">=": ">=";
1629
- contains: "contains";
1630
- endsWith: "endsWith";
1631
- hasKey: "hasKey";
1632
- hasValue: "hasValue";
1633
- isEmpty: "isEmpty";
1634
- isFalse: "isFalse";
1635
- isNotEmpty: "isNotEmpty";
1636
- isNotNull: "isNotNull";
1637
- isNull: "isNull";
1638
- isTrue: "isTrue";
1639
- notContains: "notContains";
1640
- notHasKey: "notHasKey";
1641
- notHasValue: "notHasValue";
1642
- startsWith: "startsWith";
1643
- }>;
1644
- right: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1645
- kind: z.ZodLiteral<"value">;
1646
- value: z.ZodOptional<z.ZodJSONSchema>;
1647
- schema: z.ZodOptional<z.ZodJSONSchema>;
1648
- }, z.core.$strict>, z.ZodObject<{
1649
- kind: z.ZodLiteral<"output">;
1650
- node: z.ZodString;
1651
- port: z.ZodOptional<z.ZodString>;
1652
- field: z.ZodOptional<z.ZodString>;
1653
- }, z.core.$strict>, z.ZodObject<{
1654
- kind: z.ZodLiteral<"system">;
1655
- node: z.ZodString;
1656
- port: z.ZodLiteral<"error">;
1657
- field: z.ZodOptional<z.ZodString>;
1658
- }, z.core.$strict>, z.ZodObject<{
1659
- kind: z.ZodLiteral<"variable">;
1660
- name: z.ZodString;
1661
- }, z.core.$strict>]>>;
1662
- }, z.core.$strict>>;
1663
- }, z.core.$strict>, z.ZodObject<{
1664
- any: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1665
- left: z.ZodUnion<readonly [z.ZodObject<{
1666
- kind: z.ZodLiteral<"value">;
1667
- value: z.ZodOptional<z.ZodJSONSchema>;
1668
- schema: z.ZodOptional<z.ZodJSONSchema>;
1669
- }, z.core.$strict>, z.ZodObject<{
1670
- kind: z.ZodLiteral<"output">;
1671
- node: z.ZodString;
1672
- port: z.ZodOptional<z.ZodString>;
1673
- field: z.ZodOptional<z.ZodString>;
1674
- }, z.core.$strict>, z.ZodObject<{
1675
- kind: z.ZodLiteral<"system">;
1676
- node: z.ZodString;
1677
- port: z.ZodLiteral<"error">;
1678
- field: z.ZodOptional<z.ZodString>;
1679
- }, z.core.$strict>, z.ZodObject<{
1680
- kind: z.ZodLiteral<"variable">;
1681
- name: z.ZodString;
1682
- }, z.core.$strict>]>;
1683
- operator: z.ZodEnum<{
1684
- "!=": "!=";
1685
- "<": "<";
1686
- "<=": "<=";
1687
- "==": "==";
1688
- ">": ">";
1689
- ">=": ">=";
1690
- contains: "contains";
1691
- endsWith: "endsWith";
1692
- hasKey: "hasKey";
1693
- hasValue: "hasValue";
1694
- isEmpty: "isEmpty";
1695
- isFalse: "isFalse";
1696
- isNotEmpty: "isNotEmpty";
1697
- isNotNull: "isNotNull";
1698
- isNull: "isNull";
1699
- isTrue: "isTrue";
1700
- notContains: "notContains";
1701
- notHasKey: "notHasKey";
1702
- notHasValue: "notHasValue";
1703
- startsWith: "startsWith";
1704
- }>;
1705
- right: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1706
- kind: z.ZodLiteral<"value">;
1707
- value: z.ZodOptional<z.ZodJSONSchema>;
1708
- schema: z.ZodOptional<z.ZodJSONSchema>;
1709
- }, z.core.$strict>, z.ZodObject<{
1710
- kind: z.ZodLiteral<"output">;
1711
- node: z.ZodString;
1712
- port: z.ZodOptional<z.ZodString>;
1713
- field: z.ZodOptional<z.ZodString>;
1714
- }, z.core.$strict>, z.ZodObject<{
1715
- kind: z.ZodLiteral<"system">;
1716
- node: z.ZodString;
1717
- port: z.ZodLiteral<"error">;
1718
- field: z.ZodOptional<z.ZodString>;
1719
- }, z.core.$strict>, z.ZodObject<{
1720
- kind: z.ZodLiteral<"variable">;
1721
- name: z.ZodString;
1722
- }, z.core.$strict>]>>;
1723
- }, z.core.$strict>, z.ZodObject<{
1724
- all: z.ZodArray<z.ZodObject<{
1725
- left: z.ZodUnion<readonly [z.ZodObject<{
1726
- kind: z.ZodLiteral<"value">;
1727
- value: z.ZodOptional<z.ZodJSONSchema>;
1728
- schema: z.ZodOptional<z.ZodJSONSchema>;
1729
- }, z.core.$strict>, z.ZodObject<{
1730
- kind: z.ZodLiteral<"output">;
1731
- node: z.ZodString;
1732
- port: z.ZodOptional<z.ZodString>;
1733
- field: z.ZodOptional<z.ZodString>;
1734
- }, z.core.$strict>, z.ZodObject<{
1735
- kind: z.ZodLiteral<"system">;
1736
- node: z.ZodString;
1737
- port: z.ZodLiteral<"error">;
1738
- field: z.ZodOptional<z.ZodString>;
1739
- }, z.core.$strict>, z.ZodObject<{
1740
- kind: z.ZodLiteral<"variable">;
1741
- name: z.ZodString;
1742
- }, z.core.$strict>]>;
1743
- operator: z.ZodEnum<{
1744
- "!=": "!=";
1745
- "<": "<";
1746
- "<=": "<=";
1747
- "==": "==";
1748
- ">": ">";
1749
- ">=": ">=";
1750
- contains: "contains";
1751
- endsWith: "endsWith";
1752
- hasKey: "hasKey";
1753
- hasValue: "hasValue";
1754
- isEmpty: "isEmpty";
1755
- isFalse: "isFalse";
1756
- isNotEmpty: "isNotEmpty";
1757
- isNotNull: "isNotNull";
1758
- isNull: "isNull";
1759
- isTrue: "isTrue";
1760
- notContains: "notContains";
1761
- notHasKey: "notHasKey";
1762
- notHasValue: "notHasValue";
1763
- startsWith: "startsWith";
1764
- }>;
1765
- right: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1766
- kind: z.ZodLiteral<"value">;
1767
- value: z.ZodOptional<z.ZodJSONSchema>;
1768
- schema: z.ZodOptional<z.ZodJSONSchema>;
1769
- }, z.core.$strict>, z.ZodObject<{
1770
- kind: z.ZodLiteral<"output">;
1771
- node: z.ZodString;
1772
- port: z.ZodOptional<z.ZodString>;
1773
- field: z.ZodOptional<z.ZodString>;
1774
- }, z.core.$strict>, z.ZodObject<{
1775
- kind: z.ZodLiteral<"system">;
1776
- node: z.ZodString;
1777
- port: z.ZodLiteral<"error">;
1778
- field: z.ZodOptional<z.ZodString>;
1779
- }, z.core.$strict>, z.ZodObject<{
1780
- kind: z.ZodLiteral<"variable">;
1781
- name: z.ZodString;
1782
- }, z.core.$strict>]>>;
1783
- }, z.core.$strict>>;
1784
- }, z.core.$strict>]>>;
1785
- }, z.core.$strict>]>;
1786
- }, z.core.$strict>>>;
1787
- }, z.core.$strict> | z.ZodObject<{
1788
- values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
1789
- outputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1790
- schema: z.ZodOptional<z.ZodJSONSchema>;
1791
- nullable: z.ZodOptional<z.ZodBoolean>;
1792
- description: z.ZodOptional<z.ZodString>;
1793
- }, z.core.$strict>>>;
1794
- }, z.core.$strict> | z.ZodObject<{
1795
- inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1796
- schema: z.ZodOptional<z.ZodJSONSchema>;
1797
- nullable: z.ZodOptional<z.ZodBoolean>;
1798
- description: z.ZodOptional<z.ZodString>;
1799
- default: z.ZodOptional<z.ZodJSONSchema>;
1800
- }, z.core.$strict>>>;
1801
- }, z.core.$strict> | z.ZodObject<{
1802
- questions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1803
- name: z.ZodString;
1804
- instructions: z.ZodString;
1805
- type: z.ZodLiteral<"noul">;
1806
- criteria: z.ZodOptional<z.ZodObject<{
1807
- true: z.ZodOptional<z.ZodString>;
1808
- false: z.ZodOptional<z.ZodString>;
1809
- }, z.core.$strict>>;
1810
- }, z.core.$strict>, z.ZodObject<{
1811
- name: z.ZodString;
1812
- instructions: z.ZodString;
1813
- type: z.ZodLiteral<"choice">;
1814
- criteria: z.ZodArray<z.ZodObject<{
1815
- name: z.ZodString;
1816
- description: z.ZodString;
1817
- }, z.core.$strict>>;
1818
- }, z.core.$strict>, z.ZodObject<{
1819
- name: z.ZodString;
1820
- instructions: z.ZodString;
1821
- type: z.ZodLiteral<"score">;
1822
- criteria: z.ZodArray<z.ZodString>;
1823
- }, z.core.$strict>], "type">>>;
1824
- }, z.core.$strict> | z.ZodObject<{
1825
- method: z.ZodOptional<z.ZodEnum<{
1826
- DELETE: "DELETE";
1827
- GET: "GET";
1828
- PATCH: "PATCH";
1829
- POST: "POST";
1830
- PUT: "PUT";
1831
- }>>;
1832
- options: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1833
- allowedMethods: z.ZodOptional<z.ZodNever>;
1834
- allowedOrigins: z.ZodOptional<z.ZodArray<z.ZodString>>;
1835
- noResponseBody: z.ZodOptional<z.ZodNever>;
1836
- responseData: z.ZodOptional<z.ZodString>;
1837
- responseHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1838
- responseStatusCode: z.ZodOptional<z.ZodNumber>;
1839
- }, z.core.$strip>>>;
1840
- body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1841
- schema: z.ZodOptional<z.ZodJSONSchema>;
1842
- nullable: z.ZodOptional<z.ZodBoolean>;
1843
- description: z.ZodOptional<z.ZodString>;
1844
- default: z.ZodOptional<z.ZodJSONSchema>;
1845
- }, z.core.$strict>>>;
1846
- }, z.core.$strict> | z.ZodObject<{
1847
- action: z.ZodOptional<z.ZodString>;
1848
- connectionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1849
- }, z.core.$strict>>;
1512
+ configuration: z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{}, z.core.$strict>>;
1850
1513
  texts: string[];
1851
1514
  };
1852
1515
  export declare const authoringDiagnosticSchema: z.ZodObject<{