@fungi.computer/oyster 0.36.0 → 0.37.0
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/boot-host-script.js +1 -1
- package/dist/build/candidate-cli.mjs +45 -15
- package/dist/catalog-frame.js +8 -0
- package/dist/embed-metafiles.js +2 -2
- package/dist/embed-scripts.js +1 -1
- package/dist/hello-app-script.js +1 -1
- package/dist/host.js +1 -1
- package/dist/page-script.js +2 -2
- package/dist/standalone/agent-self.d.ts +19 -0
- package/dist/standalone/agent-self.js +72 -0
- package/dist/standalone/agents.d.ts +2 -2
- package/dist/standalone/agents.js +30 -8
- package/dist/standalone/workflow-host.d.ts +54 -24
- package/dist/standalone/workflow-trigger-host.d.ts +192 -72
- package/dist/standalone/workflows.d.ts +54 -24
- package/docs/api/build-contract.md +27 -27
- package/docs/api/build.md +51 -60
- package/docs/api/host.md +18 -34
- package/package.json +18 -18
|
@@ -45,18 +45,20 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
45
45
|
readonly title: string;
|
|
46
46
|
readonly format: "fungi.workflow/v1";
|
|
47
47
|
readonly nodes: readonly ({
|
|
48
|
-
readonly
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
readonly values: {
|
|
49
|
+
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
50
|
+
};
|
|
51
51
|
readonly input: {
|
|
52
52
|
readonly [x: string]: import("effect/Schema").Json;
|
|
53
53
|
};
|
|
54
|
+
readonly id: string;
|
|
55
|
+
readonly source: string;
|
|
54
56
|
readonly output: {
|
|
55
57
|
readonly [x: string]: import("effect/Schema").Json;
|
|
56
58
|
};
|
|
57
|
-
readonly
|
|
58
|
-
|
|
59
|
-
|
|
59
|
+
readonly kind: "code";
|
|
60
|
+
readonly title?: string;
|
|
61
|
+
readonly note?: string;
|
|
60
62
|
} | {
|
|
61
63
|
readonly values: {
|
|
62
64
|
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
@@ -66,6 +68,8 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
66
68
|
readonly kind: "app";
|
|
67
69
|
readonly app: string;
|
|
68
70
|
readonly methodDigest: string;
|
|
71
|
+
readonly title?: string;
|
|
72
|
+
readonly note?: string;
|
|
69
73
|
readonly gitAccess?: {
|
|
70
74
|
binding: string;
|
|
71
75
|
repository: string;
|
|
@@ -89,6 +93,7 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
89
93
|
readonly kind: "review";
|
|
90
94
|
readonly reviewers: "runner" | "owners";
|
|
91
95
|
readonly detail?: string;
|
|
96
|
+
readonly note?: string;
|
|
92
97
|
readonly choices?: readonly {
|
|
93
98
|
readonly id: string;
|
|
94
99
|
readonly label: string;
|
|
@@ -98,32 +103,42 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
98
103
|
readonly id: string;
|
|
99
104
|
readonly kind: "condition";
|
|
100
105
|
readonly test: import("@fungi.computer/braid").Predicate;
|
|
106
|
+
readonly title?: string;
|
|
107
|
+
readonly note?: string;
|
|
101
108
|
} | {
|
|
102
109
|
readonly id: string;
|
|
110
|
+
readonly body: string;
|
|
103
111
|
readonly kind: "map";
|
|
112
|
+
readonly maxItems: number;
|
|
104
113
|
readonly over: {
|
|
105
114
|
readonly node: string;
|
|
106
115
|
readonly port: string;
|
|
107
116
|
};
|
|
108
|
-
readonly body: string;
|
|
109
117
|
readonly concurrency: number;
|
|
110
|
-
readonly
|
|
118
|
+
readonly title?: string;
|
|
119
|
+
readonly note?: string;
|
|
111
120
|
} | {
|
|
112
121
|
readonly id: string;
|
|
113
|
-
readonly kind: "repeat";
|
|
114
122
|
readonly body: string;
|
|
123
|
+
readonly kind: "repeat";
|
|
115
124
|
readonly maxRounds: number;
|
|
116
125
|
readonly until: import("@fungi.computer/braid").Predicate;
|
|
126
|
+
readonly title?: string;
|
|
127
|
+
readonly note?: string;
|
|
117
128
|
} | {
|
|
118
129
|
readonly id: string;
|
|
119
130
|
readonly kind: "wait";
|
|
120
131
|
readonly for: number;
|
|
132
|
+
readonly title?: string;
|
|
133
|
+
readonly note?: string;
|
|
121
134
|
} | {
|
|
122
135
|
readonly id: string;
|
|
123
136
|
readonly kind: "transform";
|
|
124
137
|
readonly fields: {
|
|
125
138
|
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
126
139
|
};
|
|
140
|
+
readonly title?: string;
|
|
141
|
+
readonly note?: string;
|
|
127
142
|
})[];
|
|
128
143
|
readonly edges: readonly {
|
|
129
144
|
readonly from: {
|
|
@@ -148,18 +163,20 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
148
163
|
readonly [x: string]: import("effect/Schema").Json;
|
|
149
164
|
};
|
|
150
165
|
readonly nodes: readonly ({
|
|
151
|
-
readonly
|
|
152
|
-
|
|
153
|
-
|
|
166
|
+
readonly values: {
|
|
167
|
+
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
168
|
+
};
|
|
154
169
|
readonly input: {
|
|
155
170
|
readonly [x: string]: import("effect/Schema").Json;
|
|
156
171
|
};
|
|
172
|
+
readonly id: string;
|
|
173
|
+
readonly source: string;
|
|
157
174
|
readonly output: {
|
|
158
175
|
readonly [x: string]: import("effect/Schema").Json;
|
|
159
176
|
};
|
|
160
|
-
readonly
|
|
161
|
-
|
|
162
|
-
|
|
177
|
+
readonly kind: "code";
|
|
178
|
+
readonly title?: string;
|
|
179
|
+
readonly note?: string;
|
|
163
180
|
} | {
|
|
164
181
|
readonly values: {
|
|
165
182
|
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
@@ -169,6 +186,8 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
169
186
|
readonly kind: "app";
|
|
170
187
|
readonly app: string;
|
|
171
188
|
readonly methodDigest: string;
|
|
189
|
+
readonly title?: string;
|
|
190
|
+
readonly note?: string;
|
|
172
191
|
readonly gitAccess?: {
|
|
173
192
|
binding: string;
|
|
174
193
|
repository: string;
|
|
@@ -192,6 +211,7 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
192
211
|
readonly kind: "review";
|
|
193
212
|
readonly reviewers: "runner" | "owners";
|
|
194
213
|
readonly detail?: string;
|
|
214
|
+
readonly note?: string;
|
|
195
215
|
readonly choices?: readonly {
|
|
196
216
|
readonly id: string;
|
|
197
217
|
readonly label: string;
|
|
@@ -201,32 +221,42 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
201
221
|
readonly id: string;
|
|
202
222
|
readonly kind: "condition";
|
|
203
223
|
readonly test: import("@fungi.computer/braid").Predicate;
|
|
224
|
+
readonly title?: string;
|
|
225
|
+
readonly note?: string;
|
|
204
226
|
} | {
|
|
205
227
|
readonly id: string;
|
|
228
|
+
readonly body: string;
|
|
206
229
|
readonly kind: "map";
|
|
230
|
+
readonly maxItems: number;
|
|
207
231
|
readonly over: {
|
|
208
232
|
readonly node: string;
|
|
209
233
|
readonly port: string;
|
|
210
234
|
};
|
|
211
|
-
readonly body: string;
|
|
212
235
|
readonly concurrency: number;
|
|
213
|
-
readonly
|
|
236
|
+
readonly title?: string;
|
|
237
|
+
readonly note?: string;
|
|
214
238
|
} | {
|
|
215
239
|
readonly id: string;
|
|
216
|
-
readonly kind: "repeat";
|
|
217
240
|
readonly body: string;
|
|
241
|
+
readonly kind: "repeat";
|
|
218
242
|
readonly maxRounds: number;
|
|
219
243
|
readonly until: import("@fungi.computer/braid").Predicate;
|
|
244
|
+
readonly title?: string;
|
|
245
|
+
readonly note?: string;
|
|
220
246
|
} | {
|
|
221
247
|
readonly id: string;
|
|
222
248
|
readonly kind: "wait";
|
|
223
249
|
readonly for: number;
|
|
250
|
+
readonly title?: string;
|
|
251
|
+
readonly note?: string;
|
|
224
252
|
} | {
|
|
225
253
|
readonly id: string;
|
|
226
254
|
readonly kind: "transform";
|
|
227
255
|
readonly fields: {
|
|
228
256
|
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
229
257
|
};
|
|
258
|
+
readonly title?: string;
|
|
259
|
+
readonly note?: string;
|
|
230
260
|
})[];
|
|
231
261
|
readonly edges: readonly {
|
|
232
262
|
readonly from: {
|
|
@@ -549,18 +579,20 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
549
579
|
readonly title: string;
|
|
550
580
|
readonly format: "fungi.workflow/v1";
|
|
551
581
|
readonly nodes: readonly ({
|
|
552
|
-
readonly
|
|
553
|
-
|
|
554
|
-
|
|
582
|
+
readonly values: {
|
|
583
|
+
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
584
|
+
};
|
|
555
585
|
readonly input: {
|
|
556
586
|
readonly [x: string]: import("effect/Schema").Json;
|
|
557
587
|
};
|
|
588
|
+
readonly id: string;
|
|
589
|
+
readonly source: string;
|
|
558
590
|
readonly output: {
|
|
559
591
|
readonly [x: string]: import("effect/Schema").Json;
|
|
560
592
|
};
|
|
561
|
-
readonly
|
|
562
|
-
|
|
563
|
-
|
|
593
|
+
readonly kind: "code";
|
|
594
|
+
readonly title?: string;
|
|
595
|
+
readonly note?: string;
|
|
564
596
|
} | {
|
|
565
597
|
readonly values: {
|
|
566
598
|
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
@@ -570,6 +602,8 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
570
602
|
readonly kind: "app";
|
|
571
603
|
readonly app: string;
|
|
572
604
|
readonly methodDigest: string;
|
|
605
|
+
readonly title?: string;
|
|
606
|
+
readonly note?: string;
|
|
573
607
|
readonly gitAccess?: {
|
|
574
608
|
binding: string;
|
|
575
609
|
repository: string;
|
|
@@ -593,6 +627,7 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
593
627
|
readonly kind: "review";
|
|
594
628
|
readonly reviewers: "runner" | "owners";
|
|
595
629
|
readonly detail?: string;
|
|
630
|
+
readonly note?: string;
|
|
596
631
|
readonly choices?: readonly {
|
|
597
632
|
readonly id: string;
|
|
598
633
|
readonly label: string;
|
|
@@ -602,32 +637,42 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
602
637
|
readonly id: string;
|
|
603
638
|
readonly kind: "condition";
|
|
604
639
|
readonly test: import("@fungi.computer/braid").Predicate;
|
|
640
|
+
readonly title?: string;
|
|
641
|
+
readonly note?: string;
|
|
605
642
|
} | {
|
|
606
643
|
readonly id: string;
|
|
644
|
+
readonly body: string;
|
|
607
645
|
readonly kind: "map";
|
|
646
|
+
readonly maxItems: number;
|
|
608
647
|
readonly over: {
|
|
609
648
|
readonly node: string;
|
|
610
649
|
readonly port: string;
|
|
611
650
|
};
|
|
612
|
-
readonly body: string;
|
|
613
651
|
readonly concurrency: number;
|
|
614
|
-
readonly
|
|
652
|
+
readonly title?: string;
|
|
653
|
+
readonly note?: string;
|
|
615
654
|
} | {
|
|
616
655
|
readonly id: string;
|
|
617
|
-
readonly kind: "repeat";
|
|
618
656
|
readonly body: string;
|
|
657
|
+
readonly kind: "repeat";
|
|
619
658
|
readonly maxRounds: number;
|
|
620
659
|
readonly until: import("@fungi.computer/braid").Predicate;
|
|
660
|
+
readonly title?: string;
|
|
661
|
+
readonly note?: string;
|
|
621
662
|
} | {
|
|
622
663
|
readonly id: string;
|
|
623
664
|
readonly kind: "wait";
|
|
624
665
|
readonly for: number;
|
|
666
|
+
readonly title?: string;
|
|
667
|
+
readonly note?: string;
|
|
625
668
|
} | {
|
|
626
669
|
readonly id: string;
|
|
627
670
|
readonly kind: "transform";
|
|
628
671
|
readonly fields: {
|
|
629
672
|
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
630
673
|
};
|
|
674
|
+
readonly title?: string;
|
|
675
|
+
readonly note?: string;
|
|
631
676
|
})[];
|
|
632
677
|
readonly edges: readonly {
|
|
633
678
|
readonly from: {
|
|
@@ -652,18 +697,20 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
652
697
|
readonly [x: string]: import("effect/Schema").Json;
|
|
653
698
|
};
|
|
654
699
|
readonly nodes: readonly ({
|
|
655
|
-
readonly
|
|
656
|
-
|
|
657
|
-
|
|
700
|
+
readonly values: {
|
|
701
|
+
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
702
|
+
};
|
|
658
703
|
readonly input: {
|
|
659
704
|
readonly [x: string]: import("effect/Schema").Json;
|
|
660
705
|
};
|
|
706
|
+
readonly id: string;
|
|
707
|
+
readonly source: string;
|
|
661
708
|
readonly output: {
|
|
662
709
|
readonly [x: string]: import("effect/Schema").Json;
|
|
663
710
|
};
|
|
664
|
-
readonly
|
|
665
|
-
|
|
666
|
-
|
|
711
|
+
readonly kind: "code";
|
|
712
|
+
readonly title?: string;
|
|
713
|
+
readonly note?: string;
|
|
667
714
|
} | {
|
|
668
715
|
readonly values: {
|
|
669
716
|
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
@@ -673,6 +720,8 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
673
720
|
readonly kind: "app";
|
|
674
721
|
readonly app: string;
|
|
675
722
|
readonly methodDigest: string;
|
|
723
|
+
readonly title?: string;
|
|
724
|
+
readonly note?: string;
|
|
676
725
|
readonly gitAccess?: {
|
|
677
726
|
binding: string;
|
|
678
727
|
repository: string;
|
|
@@ -696,6 +745,7 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
696
745
|
readonly kind: "review";
|
|
697
746
|
readonly reviewers: "runner" | "owners";
|
|
698
747
|
readonly detail?: string;
|
|
748
|
+
readonly note?: string;
|
|
699
749
|
readonly choices?: readonly {
|
|
700
750
|
readonly id: string;
|
|
701
751
|
readonly label: string;
|
|
@@ -705,32 +755,42 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
705
755
|
readonly id: string;
|
|
706
756
|
readonly kind: "condition";
|
|
707
757
|
readonly test: import("@fungi.computer/braid").Predicate;
|
|
758
|
+
readonly title?: string;
|
|
759
|
+
readonly note?: string;
|
|
708
760
|
} | {
|
|
709
761
|
readonly id: string;
|
|
762
|
+
readonly body: string;
|
|
710
763
|
readonly kind: "map";
|
|
764
|
+
readonly maxItems: number;
|
|
711
765
|
readonly over: {
|
|
712
766
|
readonly node: string;
|
|
713
767
|
readonly port: string;
|
|
714
768
|
};
|
|
715
|
-
readonly body: string;
|
|
716
769
|
readonly concurrency: number;
|
|
717
|
-
readonly
|
|
770
|
+
readonly title?: string;
|
|
771
|
+
readonly note?: string;
|
|
718
772
|
} | {
|
|
719
773
|
readonly id: string;
|
|
720
|
-
readonly kind: "repeat";
|
|
721
774
|
readonly body: string;
|
|
775
|
+
readonly kind: "repeat";
|
|
722
776
|
readonly maxRounds: number;
|
|
723
777
|
readonly until: import("@fungi.computer/braid").Predicate;
|
|
778
|
+
readonly title?: string;
|
|
779
|
+
readonly note?: string;
|
|
724
780
|
} | {
|
|
725
781
|
readonly id: string;
|
|
726
782
|
readonly kind: "wait";
|
|
727
783
|
readonly for: number;
|
|
784
|
+
readonly title?: string;
|
|
785
|
+
readonly note?: string;
|
|
728
786
|
} | {
|
|
729
787
|
readonly id: string;
|
|
730
788
|
readonly kind: "transform";
|
|
731
789
|
readonly fields: {
|
|
732
790
|
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
733
791
|
};
|
|
792
|
+
readonly title?: string;
|
|
793
|
+
readonly note?: string;
|
|
734
794
|
})[];
|
|
735
795
|
readonly edges: readonly {
|
|
736
796
|
readonly from: {
|
|
@@ -931,18 +991,20 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
931
991
|
readonly title: string;
|
|
932
992
|
readonly format: "fungi.workflow/v1";
|
|
933
993
|
readonly nodes: readonly ({
|
|
934
|
-
readonly
|
|
935
|
-
|
|
936
|
-
|
|
994
|
+
readonly values: {
|
|
995
|
+
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
996
|
+
};
|
|
937
997
|
readonly input: {
|
|
938
998
|
readonly [x: string]: import("effect/Schema").Json;
|
|
939
999
|
};
|
|
1000
|
+
readonly id: string;
|
|
1001
|
+
readonly source: string;
|
|
940
1002
|
readonly output: {
|
|
941
1003
|
readonly [x: string]: import("effect/Schema").Json;
|
|
942
1004
|
};
|
|
943
|
-
readonly
|
|
944
|
-
|
|
945
|
-
|
|
1005
|
+
readonly kind: "code";
|
|
1006
|
+
readonly title?: string;
|
|
1007
|
+
readonly note?: string;
|
|
946
1008
|
} | {
|
|
947
1009
|
readonly values: {
|
|
948
1010
|
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
@@ -952,6 +1014,8 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
952
1014
|
readonly kind: "app";
|
|
953
1015
|
readonly app: string;
|
|
954
1016
|
readonly methodDigest: string;
|
|
1017
|
+
readonly title?: string;
|
|
1018
|
+
readonly note?: string;
|
|
955
1019
|
readonly gitAccess?: {
|
|
956
1020
|
binding: string;
|
|
957
1021
|
repository: string;
|
|
@@ -975,6 +1039,7 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
975
1039
|
readonly kind: "review";
|
|
976
1040
|
readonly reviewers: "runner" | "owners";
|
|
977
1041
|
readonly detail?: string;
|
|
1042
|
+
readonly note?: string;
|
|
978
1043
|
readonly choices?: readonly {
|
|
979
1044
|
readonly id: string;
|
|
980
1045
|
readonly label: string;
|
|
@@ -984,32 +1049,42 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
984
1049
|
readonly id: string;
|
|
985
1050
|
readonly kind: "condition";
|
|
986
1051
|
readonly test: import("@fungi.computer/braid").Predicate;
|
|
1052
|
+
readonly title?: string;
|
|
1053
|
+
readonly note?: string;
|
|
987
1054
|
} | {
|
|
988
1055
|
readonly id: string;
|
|
1056
|
+
readonly body: string;
|
|
989
1057
|
readonly kind: "map";
|
|
1058
|
+
readonly maxItems: number;
|
|
990
1059
|
readonly over: {
|
|
991
1060
|
readonly node: string;
|
|
992
1061
|
readonly port: string;
|
|
993
1062
|
};
|
|
994
|
-
readonly body: string;
|
|
995
1063
|
readonly concurrency: number;
|
|
996
|
-
readonly
|
|
1064
|
+
readonly title?: string;
|
|
1065
|
+
readonly note?: string;
|
|
997
1066
|
} | {
|
|
998
1067
|
readonly id: string;
|
|
999
|
-
readonly kind: "repeat";
|
|
1000
1068
|
readonly body: string;
|
|
1069
|
+
readonly kind: "repeat";
|
|
1001
1070
|
readonly maxRounds: number;
|
|
1002
1071
|
readonly until: import("@fungi.computer/braid").Predicate;
|
|
1072
|
+
readonly title?: string;
|
|
1073
|
+
readonly note?: string;
|
|
1003
1074
|
} | {
|
|
1004
1075
|
readonly id: string;
|
|
1005
1076
|
readonly kind: "wait";
|
|
1006
1077
|
readonly for: number;
|
|
1078
|
+
readonly title?: string;
|
|
1079
|
+
readonly note?: string;
|
|
1007
1080
|
} | {
|
|
1008
1081
|
readonly id: string;
|
|
1009
1082
|
readonly kind: "transform";
|
|
1010
1083
|
readonly fields: {
|
|
1011
1084
|
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
1012
1085
|
};
|
|
1086
|
+
readonly title?: string;
|
|
1087
|
+
readonly note?: string;
|
|
1013
1088
|
})[];
|
|
1014
1089
|
readonly edges: readonly {
|
|
1015
1090
|
readonly from: {
|
|
@@ -1034,18 +1109,20 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
1034
1109
|
readonly [x: string]: import("effect/Schema").Json;
|
|
1035
1110
|
};
|
|
1036
1111
|
readonly nodes: readonly ({
|
|
1037
|
-
readonly
|
|
1038
|
-
|
|
1039
|
-
|
|
1112
|
+
readonly values: {
|
|
1113
|
+
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
1114
|
+
};
|
|
1040
1115
|
readonly input: {
|
|
1041
1116
|
readonly [x: string]: import("effect/Schema").Json;
|
|
1042
1117
|
};
|
|
1118
|
+
readonly id: string;
|
|
1119
|
+
readonly source: string;
|
|
1043
1120
|
readonly output: {
|
|
1044
1121
|
readonly [x: string]: import("effect/Schema").Json;
|
|
1045
1122
|
};
|
|
1046
|
-
readonly
|
|
1047
|
-
|
|
1048
|
-
|
|
1123
|
+
readonly kind: "code";
|
|
1124
|
+
readonly title?: string;
|
|
1125
|
+
readonly note?: string;
|
|
1049
1126
|
} | {
|
|
1050
1127
|
readonly values: {
|
|
1051
1128
|
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
@@ -1055,6 +1132,8 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
1055
1132
|
readonly kind: "app";
|
|
1056
1133
|
readonly app: string;
|
|
1057
1134
|
readonly methodDigest: string;
|
|
1135
|
+
readonly title?: string;
|
|
1136
|
+
readonly note?: string;
|
|
1058
1137
|
readonly gitAccess?: {
|
|
1059
1138
|
binding: string;
|
|
1060
1139
|
repository: string;
|
|
@@ -1078,6 +1157,7 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
1078
1157
|
readonly kind: "review";
|
|
1079
1158
|
readonly reviewers: "runner" | "owners";
|
|
1080
1159
|
readonly detail?: string;
|
|
1160
|
+
readonly note?: string;
|
|
1081
1161
|
readonly choices?: readonly {
|
|
1082
1162
|
readonly id: string;
|
|
1083
1163
|
readonly label: string;
|
|
@@ -1087,32 +1167,42 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
1087
1167
|
readonly id: string;
|
|
1088
1168
|
readonly kind: "condition";
|
|
1089
1169
|
readonly test: import("@fungi.computer/braid").Predicate;
|
|
1170
|
+
readonly title?: string;
|
|
1171
|
+
readonly note?: string;
|
|
1090
1172
|
} | {
|
|
1091
1173
|
readonly id: string;
|
|
1174
|
+
readonly body: string;
|
|
1092
1175
|
readonly kind: "map";
|
|
1176
|
+
readonly maxItems: number;
|
|
1093
1177
|
readonly over: {
|
|
1094
1178
|
readonly node: string;
|
|
1095
1179
|
readonly port: string;
|
|
1096
1180
|
};
|
|
1097
|
-
readonly body: string;
|
|
1098
1181
|
readonly concurrency: number;
|
|
1099
|
-
readonly
|
|
1182
|
+
readonly title?: string;
|
|
1183
|
+
readonly note?: string;
|
|
1100
1184
|
} | {
|
|
1101
1185
|
readonly id: string;
|
|
1102
|
-
readonly kind: "repeat";
|
|
1103
1186
|
readonly body: string;
|
|
1187
|
+
readonly kind: "repeat";
|
|
1104
1188
|
readonly maxRounds: number;
|
|
1105
1189
|
readonly until: import("@fungi.computer/braid").Predicate;
|
|
1190
|
+
readonly title?: string;
|
|
1191
|
+
readonly note?: string;
|
|
1106
1192
|
} | {
|
|
1107
1193
|
readonly id: string;
|
|
1108
1194
|
readonly kind: "wait";
|
|
1109
1195
|
readonly for: number;
|
|
1196
|
+
readonly title?: string;
|
|
1197
|
+
readonly note?: string;
|
|
1110
1198
|
} | {
|
|
1111
1199
|
readonly id: string;
|
|
1112
1200
|
readonly kind: "transform";
|
|
1113
1201
|
readonly fields: {
|
|
1114
1202
|
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
1115
1203
|
};
|
|
1204
|
+
readonly title?: string;
|
|
1205
|
+
readonly note?: string;
|
|
1116
1206
|
})[];
|
|
1117
1207
|
readonly edges: readonly {
|
|
1118
1208
|
readonly from: {
|
|
@@ -1521,18 +1611,20 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
1521
1611
|
readonly title: string;
|
|
1522
1612
|
readonly format: "fungi.workflow/v1";
|
|
1523
1613
|
readonly nodes: readonly ({
|
|
1524
|
-
readonly
|
|
1525
|
-
|
|
1526
|
-
|
|
1614
|
+
readonly values: {
|
|
1615
|
+
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
1616
|
+
};
|
|
1527
1617
|
readonly input: {
|
|
1528
1618
|
readonly [x: string]: import("effect/Schema").Json;
|
|
1529
1619
|
};
|
|
1620
|
+
readonly id: string;
|
|
1621
|
+
readonly source: string;
|
|
1530
1622
|
readonly output: {
|
|
1531
1623
|
readonly [x: string]: import("effect/Schema").Json;
|
|
1532
1624
|
};
|
|
1533
|
-
readonly
|
|
1534
|
-
|
|
1535
|
-
|
|
1625
|
+
readonly kind: "code";
|
|
1626
|
+
readonly title?: string;
|
|
1627
|
+
readonly note?: string;
|
|
1536
1628
|
} | {
|
|
1537
1629
|
readonly values: {
|
|
1538
1630
|
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
@@ -1542,6 +1634,8 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
1542
1634
|
readonly kind: "app";
|
|
1543
1635
|
readonly app: string;
|
|
1544
1636
|
readonly methodDigest: string;
|
|
1637
|
+
readonly title?: string;
|
|
1638
|
+
readonly note?: string;
|
|
1545
1639
|
readonly gitAccess?: {
|
|
1546
1640
|
binding: string;
|
|
1547
1641
|
repository: string;
|
|
@@ -1565,6 +1659,7 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
1565
1659
|
readonly kind: "review";
|
|
1566
1660
|
readonly reviewers: "runner" | "owners";
|
|
1567
1661
|
readonly detail?: string;
|
|
1662
|
+
readonly note?: string;
|
|
1568
1663
|
readonly choices?: readonly {
|
|
1569
1664
|
readonly id: string;
|
|
1570
1665
|
readonly label: string;
|
|
@@ -1574,32 +1669,42 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
1574
1669
|
readonly id: string;
|
|
1575
1670
|
readonly kind: "condition";
|
|
1576
1671
|
readonly test: import("@fungi.computer/braid").Predicate;
|
|
1672
|
+
readonly title?: string;
|
|
1673
|
+
readonly note?: string;
|
|
1577
1674
|
} | {
|
|
1578
1675
|
readonly id: string;
|
|
1676
|
+
readonly body: string;
|
|
1579
1677
|
readonly kind: "map";
|
|
1678
|
+
readonly maxItems: number;
|
|
1580
1679
|
readonly over: {
|
|
1581
1680
|
readonly node: string;
|
|
1582
1681
|
readonly port: string;
|
|
1583
1682
|
};
|
|
1584
|
-
readonly body: string;
|
|
1585
1683
|
readonly concurrency: number;
|
|
1586
|
-
readonly
|
|
1684
|
+
readonly title?: string;
|
|
1685
|
+
readonly note?: string;
|
|
1587
1686
|
} | {
|
|
1588
1687
|
readonly id: string;
|
|
1589
|
-
readonly kind: "repeat";
|
|
1590
1688
|
readonly body: string;
|
|
1689
|
+
readonly kind: "repeat";
|
|
1591
1690
|
readonly maxRounds: number;
|
|
1592
1691
|
readonly until: import("@fungi.computer/braid").Predicate;
|
|
1692
|
+
readonly title?: string;
|
|
1693
|
+
readonly note?: string;
|
|
1593
1694
|
} | {
|
|
1594
1695
|
readonly id: string;
|
|
1595
1696
|
readonly kind: "wait";
|
|
1596
1697
|
readonly for: number;
|
|
1698
|
+
readonly title?: string;
|
|
1699
|
+
readonly note?: string;
|
|
1597
1700
|
} | {
|
|
1598
1701
|
readonly id: string;
|
|
1599
1702
|
readonly kind: "transform";
|
|
1600
1703
|
readonly fields: {
|
|
1601
1704
|
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
1602
1705
|
};
|
|
1706
|
+
readonly title?: string;
|
|
1707
|
+
readonly note?: string;
|
|
1603
1708
|
})[];
|
|
1604
1709
|
readonly edges: readonly {
|
|
1605
1710
|
readonly from: {
|
|
@@ -1624,18 +1729,20 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
1624
1729
|
readonly [x: string]: import("effect/Schema").Json;
|
|
1625
1730
|
};
|
|
1626
1731
|
readonly nodes: readonly ({
|
|
1627
|
-
readonly
|
|
1628
|
-
|
|
1629
|
-
|
|
1732
|
+
readonly values: {
|
|
1733
|
+
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
1734
|
+
};
|
|
1630
1735
|
readonly input: {
|
|
1631
1736
|
readonly [x: string]: import("effect/Schema").Json;
|
|
1632
1737
|
};
|
|
1738
|
+
readonly id: string;
|
|
1739
|
+
readonly source: string;
|
|
1633
1740
|
readonly output: {
|
|
1634
1741
|
readonly [x: string]: import("effect/Schema").Json;
|
|
1635
1742
|
};
|
|
1636
|
-
readonly
|
|
1637
|
-
|
|
1638
|
-
|
|
1743
|
+
readonly kind: "code";
|
|
1744
|
+
readonly title?: string;
|
|
1745
|
+
readonly note?: string;
|
|
1639
1746
|
} | {
|
|
1640
1747
|
readonly values: {
|
|
1641
1748
|
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
@@ -1645,6 +1752,8 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
1645
1752
|
readonly kind: "app";
|
|
1646
1753
|
readonly app: string;
|
|
1647
1754
|
readonly methodDigest: string;
|
|
1755
|
+
readonly title?: string;
|
|
1756
|
+
readonly note?: string;
|
|
1648
1757
|
readonly gitAccess?: {
|
|
1649
1758
|
binding: string;
|
|
1650
1759
|
repository: string;
|
|
@@ -1668,6 +1777,7 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
1668
1777
|
readonly kind: "review";
|
|
1669
1778
|
readonly reviewers: "runner" | "owners";
|
|
1670
1779
|
readonly detail?: string;
|
|
1780
|
+
readonly note?: string;
|
|
1671
1781
|
readonly choices?: readonly {
|
|
1672
1782
|
readonly id: string;
|
|
1673
1783
|
readonly label: string;
|
|
@@ -1677,32 +1787,42 @@ export declare function createStandaloneWorkflowTriggerHost(options: {
|
|
|
1677
1787
|
readonly id: string;
|
|
1678
1788
|
readonly kind: "condition";
|
|
1679
1789
|
readonly test: import("@fungi.computer/braid").Predicate;
|
|
1790
|
+
readonly title?: string;
|
|
1791
|
+
readonly note?: string;
|
|
1680
1792
|
} | {
|
|
1681
1793
|
readonly id: string;
|
|
1794
|
+
readonly body: string;
|
|
1682
1795
|
readonly kind: "map";
|
|
1796
|
+
readonly maxItems: number;
|
|
1683
1797
|
readonly over: {
|
|
1684
1798
|
readonly node: string;
|
|
1685
1799
|
readonly port: string;
|
|
1686
1800
|
};
|
|
1687
|
-
readonly body: string;
|
|
1688
1801
|
readonly concurrency: number;
|
|
1689
|
-
readonly
|
|
1802
|
+
readonly title?: string;
|
|
1803
|
+
readonly note?: string;
|
|
1690
1804
|
} | {
|
|
1691
1805
|
readonly id: string;
|
|
1692
|
-
readonly kind: "repeat";
|
|
1693
1806
|
readonly body: string;
|
|
1807
|
+
readonly kind: "repeat";
|
|
1694
1808
|
readonly maxRounds: number;
|
|
1695
1809
|
readonly until: import("@fungi.computer/braid").Predicate;
|
|
1810
|
+
readonly title?: string;
|
|
1811
|
+
readonly note?: string;
|
|
1696
1812
|
} | {
|
|
1697
1813
|
readonly id: string;
|
|
1698
1814
|
readonly kind: "wait";
|
|
1699
1815
|
readonly for: number;
|
|
1816
|
+
readonly title?: string;
|
|
1817
|
+
readonly note?: string;
|
|
1700
1818
|
} | {
|
|
1701
1819
|
readonly id: string;
|
|
1702
1820
|
readonly kind: "transform";
|
|
1703
1821
|
readonly fields: {
|
|
1704
1822
|
readonly [x: string]: import("@fungi.computer/braid").Mapping;
|
|
1705
1823
|
};
|
|
1824
|
+
readonly title?: string;
|
|
1825
|
+
readonly note?: string;
|
|
1706
1826
|
})[];
|
|
1707
1827
|
readonly edges: readonly {
|
|
1708
1828
|
readonly from: {
|