@oomol-lab/open-flow 0.1.0-beta.68 → 0.1.0-beta.69
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/browser/{ContentIcon-Sx9bywU-.js → ContentIcon-CsECY5id.js} +14 -7
- package/dist/browser/{FlowCanvas-CXpaeurx.js → FlowCanvas-C5X22xQ7.js} +18 -18
- package/dist/browser/{createResourceDialog-BKmimKA_.js → createResourceDialog-Di5BBrQv.js} +2 -2
- package/dist/browser/{dialog-ZmfcwuMS.js → dialog-Bjo-r9B0.js} +85 -8
- package/dist/browser/event-sources.d.ts +4 -2
- package/dist/browser/{exportSvg-D4CqCcx2.js → exportSvg-Cj6Spxx-.js} +2 -2
- package/dist/browser/flow-authoring-node.d.ts +3 -1
- package/dist/browser/flow-authoring.js +68 -7
- package/dist/browser/flow-change-schema.d.ts +3 -1
- package/dist/browser/flow-change.d.ts +17 -2
- package/dist/browser/flow-change.js +82 -9
- package/dist/browser/{flowChanges-B5tZMcGr.js → flowChanges-Dp-rcEJ6.js} +737 -1180
- package/dist/browser/{flowWorkspace-zFBFtZPo.js → flowWorkspace-CB1QACku.js} +440 -70
- package/dist/browser/preview.css +49 -41
- package/dist/browser/preview.js +2229 -2359
- package/dist/browser/{typeScriptSession-D0bjYDeg.js → typeScriptSession-B0hC-C8y.js} +1 -1
- package/dist/browser/ui.css +8 -0
- package/dist/browser/workbench.css +53 -41
- package/dist/browser/workbench.js +74 -32
- package/dist/browser/{workbenchSelect-CChdgugI.js → workbenchSelect-C3hxUcYm.js} +1 -1
- package/dist/command/index.js +55 -51
- package/dist/common/authoring.d.ts +20 -0
- package/dist/common/authoringSchema.d.ts +243 -0
- package/dist/common/connector-proxy.d.ts +4 -0
- package/dist/common/control-api-conformance.js +147 -33
- package/dist/common/control-api.d.ts +14 -7
- package/dist/common/control-api.js +130 -15
- package/dist/common/control-requests.d.ts +32 -19
- package/dist/common/control-requests.js +2854 -152
- package/dist/common/decision.js +27 -3
- package/dist/common/engine-contract.d.ts +2 -2
- package/dist/common/event-source-definition.d.ts +34 -16
- package/dist/common/event-source.d.ts +63 -5
- package/dist/common/event-source.js +5744 -261
- package/dist/common/event-sources.d.ts +99 -6
- package/dist/common/flow-encoding.js +49 -10
- package/dist/common/flow-errorHandling.d.ts +36 -0
- package/dist/common/flow-graph.d.ts +4 -2
- package/dist/common/flow-retry.d.ts +19 -0
- package/dist/common/flow-semantics.js +94 -10
- package/dist/common/{fr-Du5gv3kM.js → fr-CNTSedYU.js} +259 -18
- package/dist/common/integration-trigger.d.ts +1 -1
- package/dist/common/integration-trigger.js +27 -3
- package/dist/common/{ja-D2wyPdTF.js → ja-CxQBHr2J.js} +259 -18
- package/dist/common/{ko-Cuu2AOaC.js → ko-D1Exiv1h.js} +259 -18
- package/dist/common/mcp.d.ts +30 -0
- package/dist/common/mcp.js +132 -17
- package/dist/common/openapi.js +27 -3
- package/dist/common/poll-trigger.js +27 -3
- package/dist/common/provider-triggers.d.ts +0 -2
- package/dist/common/provider-triggers.js +358 -155
- package/dist/common/{ru-BjI_JSsx.js → ru-BzLZv0B7.js} +259 -18
- package/dist/common/run-events.d.ts +2 -0
- package/dist/common/run-events.js +4 -2
- package/dist/common/runtime-contract.d.ts +1 -0
- package/dist/common/runtime-contract.js +4 -4
- package/dist/common/scheduler.d.ts +13 -2
- package/dist/common/scheduler.js +288 -98
- package/dist/common/webhook-trigger.js +27 -3
- package/dist/common/workflow.js +27 -3
- package/dist/common/{zh-CN-CnnXkzLh.js → zh-CN-Dg_xSGde.js} +259 -18
- package/dist/common/{zh-TW-CJnR2dgF.js → zh-TW-oxuLwsV0.js} +259 -18
- package/dist/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/common/event-source-feishu.d.ts +0 -3
- package/dist/common/feishu-events.d.ts +0 -19
- package/dist/common/feishu-subscriptions.d.ts +0 -6
|
@@ -17,6 +17,8 @@ export declare function authoringNode(content: RevisionContent, ref: string): {
|
|
|
17
17
|
icon?: string | undefined;
|
|
18
18
|
timeoutMs?: number | undefined;
|
|
19
19
|
maxExecutions?: number | undefined;
|
|
20
|
+
onError?: "error" | "stop" | undefined;
|
|
21
|
+
retry?: import('./flow-retry.js').RetryConfiguration | undefined;
|
|
20
22
|
config: JsonValue;
|
|
21
23
|
texts: {
|
|
22
24
|
[k: string]: {
|
|
@@ -33,6 +35,14 @@ export declare function authoringNode(content: RevisionContent, ref: string): {
|
|
|
33
35
|
default?: JsonValue | undefined;
|
|
34
36
|
};
|
|
35
37
|
};
|
|
38
|
+
systemOutputs?: {
|
|
39
|
+
[k: string]: {
|
|
40
|
+
schema: JsonValue;
|
|
41
|
+
nullable: boolean;
|
|
42
|
+
description?: string | undefined;
|
|
43
|
+
default?: JsonValue | undefined;
|
|
44
|
+
};
|
|
45
|
+
} | undefined;
|
|
36
46
|
outputPorts: {
|
|
37
47
|
[k: string]: {
|
|
38
48
|
schema: JsonValue;
|
|
@@ -95,6 +105,8 @@ export declare function readAuthoring(content: RevisionContent, query?: Authorin
|
|
|
95
105
|
icon?: string | undefined;
|
|
96
106
|
timeoutMs?: number | undefined;
|
|
97
107
|
maxExecutions?: number | undefined;
|
|
108
|
+
onError?: "error" | "stop" | undefined;
|
|
109
|
+
retry?: import('./flow-retry.js').RetryConfiguration | undefined;
|
|
98
110
|
config: JsonValue;
|
|
99
111
|
texts: {
|
|
100
112
|
[k: string]: {
|
|
@@ -111,6 +123,14 @@ export declare function readAuthoring(content: RevisionContent, query?: Authorin
|
|
|
111
123
|
default?: JsonValue | undefined;
|
|
112
124
|
};
|
|
113
125
|
};
|
|
126
|
+
systemOutputs?: {
|
|
127
|
+
[k: string]: {
|
|
128
|
+
schema: JsonValue;
|
|
129
|
+
nullable: boolean;
|
|
130
|
+
description?: string | undefined;
|
|
131
|
+
default?: JsonValue | undefined;
|
|
132
|
+
};
|
|
133
|
+
} | undefined;
|
|
114
134
|
outputPorts: {
|
|
115
135
|
[k: string]: {
|
|
116
136
|
schema: JsonValue;
|
|
@@ -27,6 +27,11 @@ export declare const authoringSourceSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
27
27
|
node: z.ZodString;
|
|
28
28
|
port: z.ZodOptional<z.ZodString>;
|
|
29
29
|
field: z.ZodOptional<z.ZodString>;
|
|
30
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
31
|
+
kind: z.ZodLiteral<"system">;
|
|
32
|
+
node: z.ZodString;
|
|
33
|
+
port: z.ZodLiteral<"error">;
|
|
34
|
+
field: z.ZodOptional<z.ZodString>;
|
|
30
35
|
}, z.core.$strict>, z.ZodObject<{
|
|
31
36
|
kind: z.ZodLiteral<"variable">;
|
|
32
37
|
name: z.ZodString;
|
|
@@ -44,6 +49,11 @@ export declare const authoringSourceSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
44
49
|
node: z.ZodString;
|
|
45
50
|
port: z.ZodOptional<z.ZodString>;
|
|
46
51
|
field: z.ZodOptional<z.ZodString>;
|
|
52
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
53
|
+
kind: z.ZodLiteral<"system">;
|
|
54
|
+
node: z.ZodString;
|
|
55
|
+
port: z.ZodLiteral<"error">;
|
|
56
|
+
field: z.ZodOptional<z.ZodString>;
|
|
47
57
|
}, z.core.$strict>, z.ZodObject<{
|
|
48
58
|
kind: z.ZodLiteral<"variable">;
|
|
49
59
|
name: z.ZodString;
|
|
@@ -312,6 +322,11 @@ export declare const authoringConfigurations: {
|
|
|
312
322
|
node: z.ZodString;
|
|
313
323
|
port: z.ZodOptional<z.ZodString>;
|
|
314
324
|
field: z.ZodOptional<z.ZodString>;
|
|
325
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
326
|
+
kind: z.ZodLiteral<"system">;
|
|
327
|
+
node: z.ZodString;
|
|
328
|
+
port: z.ZodLiteral<"error">;
|
|
329
|
+
field: z.ZodOptional<z.ZodString>;
|
|
315
330
|
}, z.core.$strict>, z.ZodObject<{
|
|
316
331
|
kind: z.ZodLiteral<"variable">;
|
|
317
332
|
name: z.ZodString;
|
|
@@ -347,6 +362,11 @@ export declare const authoringConfigurations: {
|
|
|
347
362
|
node: z.ZodString;
|
|
348
363
|
port: z.ZodOptional<z.ZodString>;
|
|
349
364
|
field: z.ZodOptional<z.ZodString>;
|
|
365
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
366
|
+
kind: z.ZodLiteral<"system">;
|
|
367
|
+
node: z.ZodString;
|
|
368
|
+
port: z.ZodLiteral<"error">;
|
|
369
|
+
field: z.ZodOptional<z.ZodString>;
|
|
350
370
|
}, z.core.$strict>, z.ZodObject<{
|
|
351
371
|
kind: z.ZodLiteral<"variable">;
|
|
352
372
|
name: z.ZodString;
|
|
@@ -362,6 +382,11 @@ export declare const authoringConfigurations: {
|
|
|
362
382
|
node: z.ZodString;
|
|
363
383
|
port: z.ZodOptional<z.ZodString>;
|
|
364
384
|
field: z.ZodOptional<z.ZodString>;
|
|
385
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
386
|
+
kind: z.ZodLiteral<"system">;
|
|
387
|
+
node: z.ZodString;
|
|
388
|
+
port: z.ZodLiteral<"error">;
|
|
389
|
+
field: z.ZodOptional<z.ZodString>;
|
|
365
390
|
}, z.core.$strict>, z.ZodObject<{
|
|
366
391
|
kind: z.ZodLiteral<"variable">;
|
|
367
392
|
name: z.ZodString;
|
|
@@ -397,6 +422,11 @@ export declare const authoringConfigurations: {
|
|
|
397
422
|
node: z.ZodString;
|
|
398
423
|
port: z.ZodOptional<z.ZodString>;
|
|
399
424
|
field: z.ZodOptional<z.ZodString>;
|
|
425
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
426
|
+
kind: z.ZodLiteral<"system">;
|
|
427
|
+
node: z.ZodString;
|
|
428
|
+
port: z.ZodLiteral<"error">;
|
|
429
|
+
field: z.ZodOptional<z.ZodString>;
|
|
400
430
|
}, z.core.$strict>, z.ZodObject<{
|
|
401
431
|
kind: z.ZodLiteral<"variable">;
|
|
402
432
|
name: z.ZodString;
|
|
@@ -413,6 +443,11 @@ export declare const authoringConfigurations: {
|
|
|
413
443
|
node: z.ZodString;
|
|
414
444
|
port: z.ZodOptional<z.ZodString>;
|
|
415
445
|
field: z.ZodOptional<z.ZodString>;
|
|
446
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
447
|
+
kind: z.ZodLiteral<"system">;
|
|
448
|
+
node: z.ZodString;
|
|
449
|
+
port: z.ZodLiteral<"error">;
|
|
450
|
+
field: z.ZodOptional<z.ZodString>;
|
|
416
451
|
}, z.core.$strict>, z.ZodObject<{
|
|
417
452
|
kind: z.ZodLiteral<"variable">;
|
|
418
453
|
name: z.ZodString;
|
|
@@ -448,6 +483,11 @@ export declare const authoringConfigurations: {
|
|
|
448
483
|
node: z.ZodString;
|
|
449
484
|
port: z.ZodOptional<z.ZodString>;
|
|
450
485
|
field: z.ZodOptional<z.ZodString>;
|
|
486
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
487
|
+
kind: z.ZodLiteral<"system">;
|
|
488
|
+
node: z.ZodString;
|
|
489
|
+
port: z.ZodLiteral<"error">;
|
|
490
|
+
field: z.ZodOptional<z.ZodString>;
|
|
451
491
|
}, z.core.$strict>, z.ZodObject<{
|
|
452
492
|
kind: z.ZodLiteral<"variable">;
|
|
453
493
|
name: z.ZodString;
|
|
@@ -463,6 +503,11 @@ export declare const authoringConfigurations: {
|
|
|
463
503
|
node: z.ZodString;
|
|
464
504
|
port: z.ZodOptional<z.ZodString>;
|
|
465
505
|
field: z.ZodOptional<z.ZodString>;
|
|
506
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
507
|
+
kind: z.ZodLiteral<"system">;
|
|
508
|
+
node: z.ZodString;
|
|
509
|
+
port: z.ZodLiteral<"error">;
|
|
510
|
+
field: z.ZodOptional<z.ZodString>;
|
|
466
511
|
}, z.core.$strict>, z.ZodObject<{
|
|
467
512
|
kind: z.ZodLiteral<"variable">;
|
|
468
513
|
name: z.ZodString;
|
|
@@ -498,6 +543,11 @@ export declare const authoringConfigurations: {
|
|
|
498
543
|
node: z.ZodString;
|
|
499
544
|
port: z.ZodOptional<z.ZodString>;
|
|
500
545
|
field: z.ZodOptional<z.ZodString>;
|
|
546
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
547
|
+
kind: z.ZodLiteral<"system">;
|
|
548
|
+
node: z.ZodString;
|
|
549
|
+
port: z.ZodLiteral<"error">;
|
|
550
|
+
field: z.ZodOptional<z.ZodString>;
|
|
501
551
|
}, z.core.$strict>, z.ZodObject<{
|
|
502
552
|
kind: z.ZodLiteral<"variable">;
|
|
503
553
|
name: z.ZodString;
|
|
@@ -556,12 +606,25 @@ export declare const authoringEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
556
606
|
workflow: "workflow";
|
|
557
607
|
}>;
|
|
558
608
|
name: z.ZodString;
|
|
609
|
+
onError: z.ZodOptional<z.ZodEnum<{
|
|
610
|
+
error: "error";
|
|
611
|
+
stop: "stop";
|
|
612
|
+
}>>;
|
|
613
|
+
retry: z.ZodOptional<z.ZodObject<{
|
|
614
|
+
maxRetries: z.ZodNumber;
|
|
615
|
+
intervalMs: z.ZodNumber;
|
|
616
|
+
}, z.core.$strict>>;
|
|
559
617
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
560
618
|
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
561
619
|
kind: z.ZodLiteral<"output">;
|
|
562
620
|
node: z.ZodString;
|
|
563
621
|
port: z.ZodOptional<z.ZodString>;
|
|
564
622
|
field: z.ZodOptional<z.ZodString>;
|
|
623
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
624
|
+
kind: z.ZodLiteral<"system">;
|
|
625
|
+
node: z.ZodString;
|
|
626
|
+
port: z.ZodLiteral<"error">;
|
|
627
|
+
field: z.ZodOptional<z.ZodString>;
|
|
565
628
|
}, z.core.$strict>, z.ZodObject<{
|
|
566
629
|
kind: z.ZodLiteral<"variable">;
|
|
567
630
|
name: z.ZodString;
|
|
@@ -579,6 +642,11 @@ export declare const authoringEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
579
642
|
node: z.ZodString;
|
|
580
643
|
port: z.ZodOptional<z.ZodString>;
|
|
581
644
|
field: z.ZodOptional<z.ZodString>;
|
|
645
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
646
|
+
kind: z.ZodLiteral<"system">;
|
|
647
|
+
node: z.ZodString;
|
|
648
|
+
port: z.ZodLiteral<"error">;
|
|
649
|
+
field: z.ZodOptional<z.ZodString>;
|
|
582
650
|
}, z.core.$strict>, z.ZodObject<{
|
|
583
651
|
kind: z.ZodLiteral<"variable">;
|
|
584
652
|
name: z.ZodString;
|
|
@@ -590,11 +658,19 @@ export declare const authoringEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
590
658
|
op: z.ZodLiteral<"node.update">;
|
|
591
659
|
node: z.ZodString;
|
|
592
660
|
set: z.ZodOptional<z.ZodObject<{
|
|
661
|
+
onError: z.ZodOptional<z.ZodEnum<{
|
|
662
|
+
error: "error";
|
|
663
|
+
stop: "stop";
|
|
664
|
+
}>>;
|
|
593
665
|
name: z.ZodOptional<z.ZodString>;
|
|
594
666
|
description: z.ZodOptional<z.ZodString>;
|
|
595
667
|
icon: z.ZodOptional<z.ZodString>;
|
|
596
668
|
maxExecutions: z.ZodOptional<z.ZodInt>;
|
|
597
669
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
670
|
+
retry: z.ZodOptional<z.ZodObject<{
|
|
671
|
+
maxRetries: z.ZodOptional<z.ZodNumber>;
|
|
672
|
+
intervalMs: z.ZodOptional<z.ZodNumber>;
|
|
673
|
+
}, z.core.$strict>>;
|
|
598
674
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
599
675
|
}, z.core.$strict>>;
|
|
600
676
|
clear: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
@@ -613,6 +689,11 @@ export declare const authoringEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
613
689
|
node: z.ZodString;
|
|
614
690
|
port: z.ZodOptional<z.ZodString>;
|
|
615
691
|
field: z.ZodOptional<z.ZodString>;
|
|
692
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
693
|
+
kind: z.ZodLiteral<"system">;
|
|
694
|
+
node: z.ZodString;
|
|
695
|
+
port: z.ZodLiteral<"error">;
|
|
696
|
+
field: z.ZodOptional<z.ZodString>;
|
|
616
697
|
}, z.core.$strict>, z.ZodObject<{
|
|
617
698
|
kind: z.ZodLiteral<"variable">;
|
|
618
699
|
name: z.ZodString;
|
|
@@ -630,6 +711,11 @@ export declare const authoringEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
630
711
|
node: z.ZodString;
|
|
631
712
|
port: z.ZodOptional<z.ZodString>;
|
|
632
713
|
field: z.ZodOptional<z.ZodString>;
|
|
714
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
715
|
+
kind: z.ZodLiteral<"system">;
|
|
716
|
+
node: z.ZodString;
|
|
717
|
+
port: z.ZodLiteral<"error">;
|
|
718
|
+
field: z.ZodOptional<z.ZodString>;
|
|
633
719
|
}, z.core.$strict>, z.ZodObject<{
|
|
634
720
|
kind: z.ZodLiteral<"variable">;
|
|
635
721
|
name: z.ZodString;
|
|
@@ -688,12 +774,25 @@ export declare const authoringRequestSchema: z.ZodObject<{
|
|
|
688
774
|
workflow: "workflow";
|
|
689
775
|
}>;
|
|
690
776
|
name: z.ZodString;
|
|
777
|
+
onError: z.ZodOptional<z.ZodEnum<{
|
|
778
|
+
error: "error";
|
|
779
|
+
stop: "stop";
|
|
780
|
+
}>>;
|
|
781
|
+
retry: z.ZodOptional<z.ZodObject<{
|
|
782
|
+
maxRetries: z.ZodNumber;
|
|
783
|
+
intervalMs: z.ZodNumber;
|
|
784
|
+
}, z.core.$strict>>;
|
|
691
785
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
692
786
|
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
693
787
|
kind: z.ZodLiteral<"output">;
|
|
694
788
|
node: z.ZodString;
|
|
695
789
|
port: z.ZodOptional<z.ZodString>;
|
|
696
790
|
field: z.ZodOptional<z.ZodString>;
|
|
791
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
792
|
+
kind: z.ZodLiteral<"system">;
|
|
793
|
+
node: z.ZodString;
|
|
794
|
+
port: z.ZodLiteral<"error">;
|
|
795
|
+
field: z.ZodOptional<z.ZodString>;
|
|
697
796
|
}, z.core.$strict>, z.ZodObject<{
|
|
698
797
|
kind: z.ZodLiteral<"variable">;
|
|
699
798
|
name: z.ZodString;
|
|
@@ -711,6 +810,11 @@ export declare const authoringRequestSchema: z.ZodObject<{
|
|
|
711
810
|
node: z.ZodString;
|
|
712
811
|
port: z.ZodOptional<z.ZodString>;
|
|
713
812
|
field: z.ZodOptional<z.ZodString>;
|
|
813
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
814
|
+
kind: z.ZodLiteral<"system">;
|
|
815
|
+
node: z.ZodString;
|
|
816
|
+
port: z.ZodLiteral<"error">;
|
|
817
|
+
field: z.ZodOptional<z.ZodString>;
|
|
714
818
|
}, z.core.$strict>, z.ZodObject<{
|
|
715
819
|
kind: z.ZodLiteral<"variable">;
|
|
716
820
|
name: z.ZodString;
|
|
@@ -722,11 +826,19 @@ export declare const authoringRequestSchema: z.ZodObject<{
|
|
|
722
826
|
op: z.ZodLiteral<"node.update">;
|
|
723
827
|
node: z.ZodString;
|
|
724
828
|
set: z.ZodOptional<z.ZodObject<{
|
|
829
|
+
onError: z.ZodOptional<z.ZodEnum<{
|
|
830
|
+
error: "error";
|
|
831
|
+
stop: "stop";
|
|
832
|
+
}>>;
|
|
725
833
|
name: z.ZodOptional<z.ZodString>;
|
|
726
834
|
description: z.ZodOptional<z.ZodString>;
|
|
727
835
|
icon: z.ZodOptional<z.ZodString>;
|
|
728
836
|
maxExecutions: z.ZodOptional<z.ZodInt>;
|
|
729
837
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
838
|
+
retry: z.ZodOptional<z.ZodObject<{
|
|
839
|
+
maxRetries: z.ZodOptional<z.ZodNumber>;
|
|
840
|
+
intervalMs: z.ZodOptional<z.ZodNumber>;
|
|
841
|
+
}, z.core.$strict>>;
|
|
730
842
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
731
843
|
}, z.core.$strict>>;
|
|
732
844
|
clear: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
@@ -745,6 +857,11 @@ export declare const authoringRequestSchema: z.ZodObject<{
|
|
|
745
857
|
node: z.ZodString;
|
|
746
858
|
port: z.ZodOptional<z.ZodString>;
|
|
747
859
|
field: z.ZodOptional<z.ZodString>;
|
|
860
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
861
|
+
kind: z.ZodLiteral<"system">;
|
|
862
|
+
node: z.ZodString;
|
|
863
|
+
port: z.ZodLiteral<"error">;
|
|
864
|
+
field: z.ZodOptional<z.ZodString>;
|
|
748
865
|
}, z.core.$strict>, z.ZodObject<{
|
|
749
866
|
kind: z.ZodLiteral<"variable">;
|
|
750
867
|
name: z.ZodString;
|
|
@@ -762,6 +879,11 @@ export declare const authoringRequestSchema: z.ZodObject<{
|
|
|
762
879
|
node: z.ZodString;
|
|
763
880
|
port: z.ZodOptional<z.ZodString>;
|
|
764
881
|
field: z.ZodOptional<z.ZodString>;
|
|
882
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
883
|
+
kind: z.ZodLiteral<"system">;
|
|
884
|
+
node: z.ZodString;
|
|
885
|
+
port: z.ZodLiteral<"error">;
|
|
886
|
+
field: z.ZodOptional<z.ZodString>;
|
|
765
887
|
}, z.core.$strict>, z.ZodObject<{
|
|
766
888
|
kind: z.ZodLiteral<"variable">;
|
|
767
889
|
name: z.ZodString;
|
|
@@ -893,12 +1015,25 @@ export declare function authoringRequestContract(name: string): {
|
|
|
893
1015
|
workflow: "workflow";
|
|
894
1016
|
}>;
|
|
895
1017
|
name: z.ZodString;
|
|
1018
|
+
onError: z.ZodOptional<z.ZodEnum<{
|
|
1019
|
+
error: "error";
|
|
1020
|
+
stop: "stop";
|
|
1021
|
+
}>>;
|
|
1022
|
+
retry: z.ZodOptional<z.ZodObject<{
|
|
1023
|
+
maxRetries: z.ZodNumber;
|
|
1024
|
+
intervalMs: z.ZodNumber;
|
|
1025
|
+
}, z.core.$strict>>;
|
|
896
1026
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
897
1027
|
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
898
1028
|
kind: z.ZodLiteral<"output">;
|
|
899
1029
|
node: z.ZodString;
|
|
900
1030
|
port: z.ZodOptional<z.ZodString>;
|
|
901
1031
|
field: z.ZodOptional<z.ZodString>;
|
|
1032
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1033
|
+
kind: z.ZodLiteral<"system">;
|
|
1034
|
+
node: z.ZodString;
|
|
1035
|
+
port: z.ZodLiteral<"error">;
|
|
1036
|
+
field: z.ZodOptional<z.ZodString>;
|
|
902
1037
|
}, z.core.$strict>, z.ZodObject<{
|
|
903
1038
|
kind: z.ZodLiteral<"variable">;
|
|
904
1039
|
name: z.ZodString;
|
|
@@ -916,6 +1051,11 @@ export declare function authoringRequestContract(name: string): {
|
|
|
916
1051
|
node: z.ZodString;
|
|
917
1052
|
port: z.ZodOptional<z.ZodString>;
|
|
918
1053
|
field: z.ZodOptional<z.ZodString>;
|
|
1054
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1055
|
+
kind: z.ZodLiteral<"system">;
|
|
1056
|
+
node: z.ZodString;
|
|
1057
|
+
port: z.ZodLiteral<"error">;
|
|
1058
|
+
field: z.ZodOptional<z.ZodString>;
|
|
919
1059
|
}, z.core.$strict>, z.ZodObject<{
|
|
920
1060
|
kind: z.ZodLiteral<"variable">;
|
|
921
1061
|
name: z.ZodString;
|
|
@@ -927,11 +1067,19 @@ export declare function authoringRequestContract(name: string): {
|
|
|
927
1067
|
op: z.ZodLiteral<"node.update">;
|
|
928
1068
|
node: z.ZodString;
|
|
929
1069
|
set: z.ZodOptional<z.ZodObject<{
|
|
1070
|
+
onError: z.ZodOptional<z.ZodEnum<{
|
|
1071
|
+
error: "error";
|
|
1072
|
+
stop: "stop";
|
|
1073
|
+
}>>;
|
|
930
1074
|
name: z.ZodOptional<z.ZodString>;
|
|
931
1075
|
description: z.ZodOptional<z.ZodString>;
|
|
932
1076
|
icon: z.ZodOptional<z.ZodString>;
|
|
933
1077
|
maxExecutions: z.ZodOptional<z.ZodInt>;
|
|
934
1078
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1079
|
+
retry: z.ZodOptional<z.ZodObject<{
|
|
1080
|
+
maxRetries: z.ZodOptional<z.ZodNumber>;
|
|
1081
|
+
intervalMs: z.ZodOptional<z.ZodNumber>;
|
|
1082
|
+
}, z.core.$strict>>;
|
|
935
1083
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
936
1084
|
}, z.core.$strict>>;
|
|
937
1085
|
clear: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
@@ -950,6 +1098,11 @@ export declare function authoringRequestContract(name: string): {
|
|
|
950
1098
|
node: z.ZodString;
|
|
951
1099
|
port: z.ZodOptional<z.ZodString>;
|
|
952
1100
|
field: z.ZodOptional<z.ZodString>;
|
|
1101
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1102
|
+
kind: z.ZodLiteral<"system">;
|
|
1103
|
+
node: z.ZodString;
|
|
1104
|
+
port: z.ZodLiteral<"error">;
|
|
1105
|
+
field: z.ZodOptional<z.ZodString>;
|
|
953
1106
|
}, z.core.$strict>, z.ZodObject<{
|
|
954
1107
|
kind: z.ZodLiteral<"variable">;
|
|
955
1108
|
name: z.ZodString;
|
|
@@ -967,6 +1120,11 @@ export declare function authoringRequestContract(name: string): {
|
|
|
967
1120
|
node: z.ZodString;
|
|
968
1121
|
port: z.ZodOptional<z.ZodString>;
|
|
969
1122
|
field: z.ZodOptional<z.ZodString>;
|
|
1123
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1124
|
+
kind: z.ZodLiteral<"system">;
|
|
1125
|
+
node: z.ZodString;
|
|
1126
|
+
port: z.ZodLiteral<"error">;
|
|
1127
|
+
field: z.ZodOptional<z.ZodString>;
|
|
970
1128
|
}, z.core.$strict>, z.ZodObject<{
|
|
971
1129
|
kind: z.ZodLiteral<"variable">;
|
|
972
1130
|
name: z.ZodString;
|
|
@@ -1149,12 +1307,25 @@ export declare function authoringSchema(kind?: AuthoringType): {
|
|
|
1149
1307
|
workflow: "workflow";
|
|
1150
1308
|
}>;
|
|
1151
1309
|
name: z.ZodString;
|
|
1310
|
+
onError: z.ZodOptional<z.ZodEnum<{
|
|
1311
|
+
error: "error";
|
|
1312
|
+
stop: "stop";
|
|
1313
|
+
}>>;
|
|
1314
|
+
retry: z.ZodOptional<z.ZodObject<{
|
|
1315
|
+
maxRetries: z.ZodNumber;
|
|
1316
|
+
intervalMs: z.ZodNumber;
|
|
1317
|
+
}, z.core.$strict>>;
|
|
1152
1318
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1153
1319
|
inputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
1154
1320
|
kind: z.ZodLiteral<"output">;
|
|
1155
1321
|
node: z.ZodString;
|
|
1156
1322
|
port: z.ZodOptional<z.ZodString>;
|
|
1157
1323
|
field: z.ZodOptional<z.ZodString>;
|
|
1324
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1325
|
+
kind: z.ZodLiteral<"system">;
|
|
1326
|
+
node: z.ZodString;
|
|
1327
|
+
port: z.ZodLiteral<"error">;
|
|
1328
|
+
field: z.ZodOptional<z.ZodString>;
|
|
1158
1329
|
}, z.core.$strict>, z.ZodObject<{
|
|
1159
1330
|
kind: z.ZodLiteral<"variable">;
|
|
1160
1331
|
name: z.ZodString;
|
|
@@ -1172,6 +1343,11 @@ export declare function authoringSchema(kind?: AuthoringType): {
|
|
|
1172
1343
|
node: z.ZodString;
|
|
1173
1344
|
port: z.ZodOptional<z.ZodString>;
|
|
1174
1345
|
field: z.ZodOptional<z.ZodString>;
|
|
1346
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1347
|
+
kind: z.ZodLiteral<"system">;
|
|
1348
|
+
node: z.ZodString;
|
|
1349
|
+
port: z.ZodLiteral<"error">;
|
|
1350
|
+
field: z.ZodOptional<z.ZodString>;
|
|
1175
1351
|
}, z.core.$strict>, z.ZodObject<{
|
|
1176
1352
|
kind: z.ZodLiteral<"variable">;
|
|
1177
1353
|
name: z.ZodString;
|
|
@@ -1183,11 +1359,19 @@ export declare function authoringSchema(kind?: AuthoringType): {
|
|
|
1183
1359
|
op: z.ZodLiteral<"node.update">;
|
|
1184
1360
|
node: z.ZodString;
|
|
1185
1361
|
set: z.ZodOptional<z.ZodObject<{
|
|
1362
|
+
onError: z.ZodOptional<z.ZodEnum<{
|
|
1363
|
+
error: "error";
|
|
1364
|
+
stop: "stop";
|
|
1365
|
+
}>>;
|
|
1186
1366
|
name: z.ZodOptional<z.ZodString>;
|
|
1187
1367
|
description: z.ZodOptional<z.ZodString>;
|
|
1188
1368
|
icon: z.ZodOptional<z.ZodString>;
|
|
1189
1369
|
maxExecutions: z.ZodOptional<z.ZodInt>;
|
|
1190
1370
|
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1371
|
+
retry: z.ZodOptional<z.ZodObject<{
|
|
1372
|
+
maxRetries: z.ZodOptional<z.ZodNumber>;
|
|
1373
|
+
intervalMs: z.ZodOptional<z.ZodNumber>;
|
|
1374
|
+
}, z.core.$strict>>;
|
|
1191
1375
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
1192
1376
|
}, z.core.$strict>>;
|
|
1193
1377
|
clear: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
|
|
@@ -1206,6 +1390,11 @@ export declare function authoringSchema(kind?: AuthoringType): {
|
|
|
1206
1390
|
node: z.ZodString;
|
|
1207
1391
|
port: z.ZodOptional<z.ZodString>;
|
|
1208
1392
|
field: z.ZodOptional<z.ZodString>;
|
|
1393
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1394
|
+
kind: z.ZodLiteral<"system">;
|
|
1395
|
+
node: z.ZodString;
|
|
1396
|
+
port: z.ZodLiteral<"error">;
|
|
1397
|
+
field: z.ZodOptional<z.ZodString>;
|
|
1209
1398
|
}, z.core.$strict>, z.ZodObject<{
|
|
1210
1399
|
kind: z.ZodLiteral<"variable">;
|
|
1211
1400
|
name: z.ZodString;
|
|
@@ -1223,6 +1412,11 @@ export declare function authoringSchema(kind?: AuthoringType): {
|
|
|
1223
1412
|
node: z.ZodString;
|
|
1224
1413
|
port: z.ZodOptional<z.ZodString>;
|
|
1225
1414
|
field: z.ZodOptional<z.ZodString>;
|
|
1415
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1416
|
+
kind: z.ZodLiteral<"system">;
|
|
1417
|
+
node: z.ZodString;
|
|
1418
|
+
port: z.ZodLiteral<"error">;
|
|
1419
|
+
field: z.ZodOptional<z.ZodString>;
|
|
1226
1420
|
}, z.core.$strict>, z.ZodObject<{
|
|
1227
1421
|
kind: z.ZodLiteral<"variable">;
|
|
1228
1422
|
name: z.ZodString;
|
|
@@ -1256,6 +1450,8 @@ export declare function authoringSchema(kind?: AuthoringType): {
|
|
|
1256
1450
|
}, z.core.$strict>], "op">>;
|
|
1257
1451
|
}, z.core.$strict>>;
|
|
1258
1452
|
guidance: string;
|
|
1453
|
+
onError?: undefined;
|
|
1454
|
+
retry?: undefined;
|
|
1259
1455
|
inputSources?: undefined;
|
|
1260
1456
|
extensibleInputs?: undefined;
|
|
1261
1457
|
example?: undefined;
|
|
@@ -1265,6 +1461,13 @@ export declare function authoringSchema(kind?: AuthoringType): {
|
|
|
1265
1461
|
types?: undefined;
|
|
1266
1462
|
request?: undefined;
|
|
1267
1463
|
type: "agent" | "approval" | "code" | "condition" | "connector" | "cron" | "decision" | "error" | "integration" | "llm" | "openapi" | "outputs" | "poll" | "start" | "value" | "wait" | "webhook" | "workflow";
|
|
1464
|
+
onError: boolean | {
|
|
1465
|
+
enum: string[];
|
|
1466
|
+
};
|
|
1467
|
+
retry: boolean | z.core.ZodStandardJSONSchemaPayload<z.ZodObject<{
|
|
1468
|
+
maxRetries: z.ZodNumber;
|
|
1469
|
+
intervalMs: z.ZodNumber;
|
|
1470
|
+
}, z.core.$strict>>;
|
|
1268
1471
|
inputSources: string[];
|
|
1269
1472
|
extensibleInputs: boolean;
|
|
1270
1473
|
guidance: string;
|
|
@@ -1347,6 +1550,11 @@ export declare function authoringSchema(kind?: AuthoringType): {
|
|
|
1347
1550
|
node: z.ZodString;
|
|
1348
1551
|
port: z.ZodOptional<z.ZodString>;
|
|
1349
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>;
|
|
1350
1558
|
}, z.core.$strict>, z.ZodObject<{
|
|
1351
1559
|
kind: z.ZodLiteral<"variable">;
|
|
1352
1560
|
name: z.ZodString;
|
|
@@ -1382,6 +1590,11 @@ export declare function authoringSchema(kind?: AuthoringType): {
|
|
|
1382
1590
|
node: z.ZodString;
|
|
1383
1591
|
port: z.ZodOptional<z.ZodString>;
|
|
1384
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>;
|
|
1385
1598
|
}, z.core.$strict>, z.ZodObject<{
|
|
1386
1599
|
kind: z.ZodLiteral<"variable">;
|
|
1387
1600
|
name: z.ZodString;
|
|
@@ -1397,6 +1610,11 @@ export declare function authoringSchema(kind?: AuthoringType): {
|
|
|
1397
1610
|
node: z.ZodString;
|
|
1398
1611
|
port: z.ZodOptional<z.ZodString>;
|
|
1399
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>;
|
|
1400
1618
|
}, z.core.$strict>, z.ZodObject<{
|
|
1401
1619
|
kind: z.ZodLiteral<"variable">;
|
|
1402
1620
|
name: z.ZodString;
|
|
@@ -1432,6 +1650,11 @@ export declare function authoringSchema(kind?: AuthoringType): {
|
|
|
1432
1650
|
node: z.ZodString;
|
|
1433
1651
|
port: z.ZodOptional<z.ZodString>;
|
|
1434
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>;
|
|
1435
1658
|
}, z.core.$strict>, z.ZodObject<{
|
|
1436
1659
|
kind: z.ZodLiteral<"variable">;
|
|
1437
1660
|
name: z.ZodString;
|
|
@@ -1448,6 +1671,11 @@ export declare function authoringSchema(kind?: AuthoringType): {
|
|
|
1448
1671
|
node: z.ZodString;
|
|
1449
1672
|
port: z.ZodOptional<z.ZodString>;
|
|
1450
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>;
|
|
1451
1679
|
}, z.core.$strict>, z.ZodObject<{
|
|
1452
1680
|
kind: z.ZodLiteral<"variable">;
|
|
1453
1681
|
name: z.ZodString;
|
|
@@ -1483,6 +1711,11 @@ export declare function authoringSchema(kind?: AuthoringType): {
|
|
|
1483
1711
|
node: z.ZodString;
|
|
1484
1712
|
port: z.ZodOptional<z.ZodString>;
|
|
1485
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>;
|
|
1486
1719
|
}, z.core.$strict>, z.ZodObject<{
|
|
1487
1720
|
kind: z.ZodLiteral<"variable">;
|
|
1488
1721
|
name: z.ZodString;
|
|
@@ -1498,6 +1731,11 @@ export declare function authoringSchema(kind?: AuthoringType): {
|
|
|
1498
1731
|
node: z.ZodString;
|
|
1499
1732
|
port: z.ZodOptional<z.ZodString>;
|
|
1500
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>;
|
|
1501
1739
|
}, z.core.$strict>, z.ZodObject<{
|
|
1502
1740
|
kind: z.ZodLiteral<"variable">;
|
|
1503
1741
|
name: z.ZodString;
|
|
@@ -1533,6 +1771,11 @@ export declare function authoringSchema(kind?: AuthoringType): {
|
|
|
1533
1771
|
node: z.ZodString;
|
|
1534
1772
|
port: z.ZodOptional<z.ZodString>;
|
|
1535
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>;
|
|
1536
1779
|
}, z.core.$strict>, z.ZodObject<{
|
|
1537
1780
|
kind: z.ZodLiteral<"variable">;
|
|
1538
1781
|
name: z.ZodString;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
+
import type { SourceOperation } from './event-source-definition.js';
|
|
1
2
|
import type { JsonValue } from '../browser/flow-change.js';
|
|
2
3
|
export type TriggerOperationRequest = {
|
|
4
|
+
readonly operation: 'source';
|
|
5
|
+
readonly request: SourceOperation;
|
|
6
|
+
} | {
|
|
3
7
|
readonly operation: 'read';
|
|
4
8
|
readonly config: Readonly<Record<string, JsonValue>>;
|
|
5
9
|
readonly checkpoint: JsonValue;
|