@bubblelab/shared-schemas 0.1.11 → 0.1.12
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/agent-memory.d.ts +4 -4
- package/dist/bubble-definition-schema.d.ts +38 -38
- package/dist/bubble-definition-schema.d.ts.map +1 -1
- package/dist/bubble-definition-schema.js +2 -0
- package/dist/bubble-definition-schema.js.map +1 -1
- package/dist/bubbleflow-execution-schema.d.ts +102 -66
- package/dist/bubbleflow-execution-schema.d.ts.map +1 -1
- package/dist/bubbleflow-execution-schema.js +10 -4
- package/dist/bubbleflow-execution-schema.js.map +1 -1
- package/dist/bubbleflow-generation-prompts.d.ts +3 -20
- package/dist/bubbleflow-generation-prompts.d.ts.map +1 -1
- package/dist/bubbleflow-generation-prompts.js +3 -412
- package/dist/bubbleflow-generation-prompts.js.map +1 -1
- package/dist/bubbleflow-schema.d.ts +162 -162
- package/dist/coffee.d.ts +145 -145
- package/dist/coffee.d.ts.map +1 -1
- package/dist/coffee.js +3 -4
- package/dist/coffee.js.map +1 -1
- package/dist/credential-schema.d.ts +169 -14
- package/dist/credential-schema.d.ts.map +1 -1
- package/dist/credential-schema.js +372 -1
- package/dist/credential-schema.js.map +1 -1
- package/dist/generate-bubbleflow-schema.d.ts +127 -127
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/milk-tea.d.ts +12 -12
- package/dist/oauth-schema.d.ts +4 -4
- package/dist/pearl.d.ts +32 -32
- package/dist/rice.d.ts +100 -0
- package/dist/rice.d.ts.map +1 -0
- package/dist/rice.js +65 -0
- package/dist/rice.js.map +1 -0
- package/dist/streaming-events.d.ts +9 -1
- package/dist/streaming-events.d.ts.map +1 -1
- package/dist/types.d.ts +4 -2
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +4 -0
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
|
@@ -82,12 +82,12 @@ export declare const ExecutionSummarySchema: z.ZodObject<{
|
|
|
82
82
|
message: z.ZodString;
|
|
83
83
|
}, "strip", z.ZodTypeAny, {
|
|
84
84
|
message: string;
|
|
85
|
-
lineNumber: number;
|
|
86
85
|
duration: number;
|
|
86
|
+
lineNumber: number;
|
|
87
87
|
}, {
|
|
88
88
|
message: string;
|
|
89
|
-
lineNumber: number;
|
|
90
89
|
duration: number;
|
|
90
|
+
lineNumber: number;
|
|
91
91
|
}>, "many">>;
|
|
92
92
|
memoryPeakUsage: z.ZodOptional<z.ZodAny>;
|
|
93
93
|
startTime: z.ZodOptional<z.ZodNumber>;
|
|
@@ -163,8 +163,8 @@ export declare const ExecutionSummarySchema: z.ZodObject<{
|
|
|
163
163
|
averageLineExecutionTime?: number | undefined;
|
|
164
164
|
slowestLines?: {
|
|
165
165
|
message: string;
|
|
166
|
-
lineNumber: number;
|
|
167
166
|
duration: number;
|
|
167
|
+
lineNumber: number;
|
|
168
168
|
}[] | undefined;
|
|
169
169
|
memoryPeakUsage?: any;
|
|
170
170
|
startTime?: number | undefined;
|
|
@@ -212,8 +212,8 @@ export declare const ExecutionSummarySchema: z.ZodObject<{
|
|
|
212
212
|
averageLineExecutionTime?: number | undefined;
|
|
213
213
|
slowestLines?: {
|
|
214
214
|
message: string;
|
|
215
|
-
lineNumber: number;
|
|
216
215
|
duration: number;
|
|
216
|
+
lineNumber: number;
|
|
217
217
|
}[] | undefined;
|
|
218
218
|
memoryPeakUsage?: any;
|
|
219
219
|
startTime?: number | undefined;
|
|
@@ -247,24 +247,24 @@ export declare const bubbleFlowExecutionSchema: z.ZodObject<{
|
|
|
247
247
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
248
248
|
code: z.ZodOptional<z.ZodString>;
|
|
249
249
|
}, "strip", z.ZodTypeAny, {
|
|
250
|
-
status: "
|
|
250
|
+
status: "running" | "success" | "error";
|
|
251
251
|
id: number;
|
|
252
252
|
payload: Record<string, any>;
|
|
253
253
|
startedAt: string;
|
|
254
254
|
webhook_url: string;
|
|
255
255
|
code?: string | undefined;
|
|
256
|
-
error?: string | undefined;
|
|
257
256
|
result?: any;
|
|
257
|
+
error?: string | undefined;
|
|
258
258
|
completedAt?: string | undefined;
|
|
259
259
|
}, {
|
|
260
|
-
status: "
|
|
260
|
+
status: "running" | "success" | "error";
|
|
261
261
|
id: number;
|
|
262
262
|
payload: Record<string, any>;
|
|
263
263
|
startedAt: string;
|
|
264
264
|
webhook_url: string;
|
|
265
265
|
code?: string | undefined;
|
|
266
|
-
error?: string | undefined;
|
|
267
266
|
result?: any;
|
|
267
|
+
error?: string | undefined;
|
|
268
268
|
completedAt?: string | undefined;
|
|
269
269
|
}>;
|
|
270
270
|
export declare const listBubbleFlowExecutionsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
@@ -278,27 +278,63 @@ export declare const listBubbleFlowExecutionsResponseSchema: z.ZodArray<z.ZodObj
|
|
|
278
278
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
279
279
|
code: z.ZodOptional<z.ZodString>;
|
|
280
280
|
}, "strip", z.ZodTypeAny, {
|
|
281
|
-
status: "
|
|
281
|
+
status: "running" | "success" | "error";
|
|
282
282
|
id: number;
|
|
283
283
|
payload: Record<string, any>;
|
|
284
284
|
startedAt: string;
|
|
285
285
|
webhook_url: string;
|
|
286
286
|
code?: string | undefined;
|
|
287
|
-
error?: string | undefined;
|
|
288
287
|
result?: any;
|
|
288
|
+
error?: string | undefined;
|
|
289
289
|
completedAt?: string | undefined;
|
|
290
290
|
}, {
|
|
291
|
-
status: "
|
|
291
|
+
status: "running" | "success" | "error";
|
|
292
292
|
id: number;
|
|
293
293
|
payload: Record<string, any>;
|
|
294
294
|
startedAt: string;
|
|
295
295
|
webhook_url: string;
|
|
296
296
|
code?: string | undefined;
|
|
297
|
-
error?: string | undefined;
|
|
298
297
|
result?: any;
|
|
298
|
+
error?: string | undefined;
|
|
299
299
|
completedAt?: string | undefined;
|
|
300
300
|
}>, "many">;
|
|
301
301
|
export type ListBubbleFlowExecutionsResponse = z.infer<typeof listBubbleFlowExecutionsResponseSchema>;
|
|
302
|
+
export declare const bubbleFlowExecutionDetailSchema: z.ZodObject<{
|
|
303
|
+
id: z.ZodNumber;
|
|
304
|
+
status: z.ZodEnum<["running", "success", "error"]>;
|
|
305
|
+
payload: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
306
|
+
result: z.ZodOptional<z.ZodAny>;
|
|
307
|
+
error: z.ZodOptional<z.ZodString>;
|
|
308
|
+
startedAt: z.ZodString;
|
|
309
|
+
webhook_url: z.ZodString;
|
|
310
|
+
completedAt: z.ZodOptional<z.ZodString>;
|
|
311
|
+
code: z.ZodOptional<z.ZodString>;
|
|
312
|
+
} & {
|
|
313
|
+
executionLogs: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
314
|
+
}, "strip", z.ZodTypeAny, {
|
|
315
|
+
status: "running" | "success" | "error";
|
|
316
|
+
id: number;
|
|
317
|
+
payload: Record<string, any>;
|
|
318
|
+
startedAt: string;
|
|
319
|
+
webhook_url: string;
|
|
320
|
+
code?: string | undefined;
|
|
321
|
+
result?: any;
|
|
322
|
+
error?: string | undefined;
|
|
323
|
+
completedAt?: string | undefined;
|
|
324
|
+
executionLogs?: any[] | undefined;
|
|
325
|
+
}, {
|
|
326
|
+
status: "running" | "success" | "error";
|
|
327
|
+
id: number;
|
|
328
|
+
payload: Record<string, any>;
|
|
329
|
+
startedAt: string;
|
|
330
|
+
webhook_url: string;
|
|
331
|
+
code?: string | undefined;
|
|
332
|
+
result?: any;
|
|
333
|
+
error?: string | undefined;
|
|
334
|
+
completedAt?: string | undefined;
|
|
335
|
+
executionLogs?: any[] | undefined;
|
|
336
|
+
}>;
|
|
337
|
+
export type BubbleFlowExecutionDetail = z.infer<typeof bubbleFlowExecutionDetailSchema>;
|
|
302
338
|
export declare const executeBubbleFlowResponseSchema: z.ZodObject<{
|
|
303
339
|
executionId: z.ZodNumber;
|
|
304
340
|
success: z.ZodBoolean;
|
|
@@ -362,12 +398,12 @@ export declare const executeBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
362
398
|
message: z.ZodString;
|
|
363
399
|
}, "strip", z.ZodTypeAny, {
|
|
364
400
|
message: string;
|
|
365
|
-
lineNumber: number;
|
|
366
401
|
duration: number;
|
|
402
|
+
lineNumber: number;
|
|
367
403
|
}, {
|
|
368
404
|
message: string;
|
|
369
|
-
lineNumber: number;
|
|
370
405
|
duration: number;
|
|
406
|
+
lineNumber: number;
|
|
371
407
|
}>, "many">>;
|
|
372
408
|
memoryPeakUsage: z.ZodOptional<z.ZodAny>;
|
|
373
409
|
startTime: z.ZodOptional<z.ZodNumber>;
|
|
@@ -443,8 +479,8 @@ export declare const executeBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
443
479
|
averageLineExecutionTime?: number | undefined;
|
|
444
480
|
slowestLines?: {
|
|
445
481
|
message: string;
|
|
446
|
-
lineNumber: number;
|
|
447
482
|
duration: number;
|
|
483
|
+
lineNumber: number;
|
|
448
484
|
}[] | undefined;
|
|
449
485
|
memoryPeakUsage?: any;
|
|
450
486
|
startTime?: number | undefined;
|
|
@@ -492,8 +528,8 @@ export declare const executeBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
492
528
|
averageLineExecutionTime?: number | undefined;
|
|
493
529
|
slowestLines?: {
|
|
494
530
|
message: string;
|
|
495
|
-
lineNumber: number;
|
|
496
531
|
duration: number;
|
|
532
|
+
lineNumber: number;
|
|
497
533
|
}[] | undefined;
|
|
498
534
|
memoryPeakUsage?: any;
|
|
499
535
|
startTime?: number | undefined;
|
|
@@ -548,8 +584,8 @@ export declare const executeBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
548
584
|
averageLineExecutionTime?: number | undefined;
|
|
549
585
|
slowestLines?: {
|
|
550
586
|
message: string;
|
|
551
|
-
lineNumber: number;
|
|
552
587
|
duration: number;
|
|
588
|
+
lineNumber: number;
|
|
553
589
|
}[] | undefined;
|
|
554
590
|
memoryPeakUsage?: any;
|
|
555
591
|
startTime?: number | undefined;
|
|
@@ -603,8 +639,8 @@ export declare const executeBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
603
639
|
averageLineExecutionTime?: number | undefined;
|
|
604
640
|
slowestLines?: {
|
|
605
641
|
message: string;
|
|
606
|
-
lineNumber: number;
|
|
607
642
|
duration: number;
|
|
643
|
+
lineNumber: number;
|
|
608
644
|
}[] | undefined;
|
|
609
645
|
memoryPeakUsage?: any;
|
|
610
646
|
startTime?: number | undefined;
|
|
@@ -705,9 +741,9 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
705
741
|
type: z.ZodNativeEnum<typeof import("./bubble-definition-schema").BubbleParameterType>;
|
|
706
742
|
source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>;
|
|
707
743
|
}, "strip", z.ZodTypeAny, {
|
|
708
|
-
name: string;
|
|
709
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
710
744
|
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
745
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
746
|
+
name: string;
|
|
711
747
|
location?: {
|
|
712
748
|
startLine: number;
|
|
713
749
|
startCol: number;
|
|
@@ -717,9 +753,9 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
717
753
|
variableId?: number | undefined;
|
|
718
754
|
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
719
755
|
}, {
|
|
720
|
-
name: string;
|
|
721
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
722
756
|
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
757
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
758
|
+
name: string;
|
|
723
759
|
location?: {
|
|
724
760
|
startLine: number;
|
|
725
761
|
startCol: number;
|
|
@@ -765,12 +801,12 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
765
801
|
};
|
|
766
802
|
variableId: number;
|
|
767
803
|
variableName: string;
|
|
768
|
-
nodeType: "
|
|
804
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
769
805
|
className: string;
|
|
770
806
|
parameters: {
|
|
771
|
-
name: string;
|
|
772
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
773
807
|
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
808
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
809
|
+
name: string;
|
|
774
810
|
location?: {
|
|
775
811
|
startLine: number;
|
|
776
812
|
startCol: number;
|
|
@@ -799,12 +835,12 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
799
835
|
};
|
|
800
836
|
variableId: number;
|
|
801
837
|
variableName: string;
|
|
802
|
-
nodeType: "
|
|
838
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
803
839
|
className: string;
|
|
804
840
|
parameters: {
|
|
805
|
-
name: string;
|
|
806
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
807
841
|
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
842
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
843
|
+
name: string;
|
|
808
844
|
location?: {
|
|
809
845
|
startLine: number;
|
|
810
846
|
startCol: number;
|
|
@@ -854,9 +890,9 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
854
890
|
type: z.ZodNativeEnum<typeof import("./bubble-definition-schema").BubbleParameterType>;
|
|
855
891
|
source: z.ZodOptional<z.ZodEnum<["object-property", "first-arg", "spread"]>>;
|
|
856
892
|
}, "strip", z.ZodTypeAny, {
|
|
857
|
-
name: string;
|
|
858
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
859
893
|
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
894
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
895
|
+
name: string;
|
|
860
896
|
location?: {
|
|
861
897
|
startLine: number;
|
|
862
898
|
startCol: number;
|
|
@@ -866,9 +902,9 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
866
902
|
variableId?: number | undefined;
|
|
867
903
|
source?: "object-property" | "first-arg" | "spread" | undefined;
|
|
868
904
|
}, {
|
|
869
|
-
name: string;
|
|
870
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
871
905
|
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
906
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
907
|
+
name: string;
|
|
872
908
|
location?: {
|
|
873
909
|
startLine: number;
|
|
874
910
|
startCol: number;
|
|
@@ -914,12 +950,12 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
914
950
|
};
|
|
915
951
|
variableId: number;
|
|
916
952
|
variableName: string;
|
|
917
|
-
nodeType: "
|
|
953
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
918
954
|
className: string;
|
|
919
955
|
parameters: {
|
|
920
|
-
name: string;
|
|
921
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
922
956
|
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
957
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
958
|
+
name: string;
|
|
923
959
|
location?: {
|
|
924
960
|
startLine: number;
|
|
925
961
|
startCol: number;
|
|
@@ -948,12 +984,12 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
948
984
|
};
|
|
949
985
|
variableId: number;
|
|
950
986
|
variableName: string;
|
|
951
|
-
nodeType: "
|
|
987
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
952
988
|
className: string;
|
|
953
989
|
parameters: {
|
|
954
|
-
name: string;
|
|
955
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
956
990
|
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
991
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
992
|
+
name: string;
|
|
957
993
|
location?: {
|
|
958
994
|
startLine: number;
|
|
959
995
|
startCol: number;
|
|
@@ -985,12 +1021,12 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
985
1021
|
};
|
|
986
1022
|
variableId: number;
|
|
987
1023
|
variableName: string;
|
|
988
|
-
nodeType: "
|
|
1024
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
989
1025
|
className: string;
|
|
990
1026
|
parameters: {
|
|
991
|
-
name: string;
|
|
992
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
993
1027
|
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
1028
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1029
|
+
name: string;
|
|
994
1030
|
location?: {
|
|
995
1031
|
startLine: number;
|
|
996
1032
|
startCol: number;
|
|
@@ -1022,12 +1058,12 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
1022
1058
|
};
|
|
1023
1059
|
variableId: number;
|
|
1024
1060
|
variableName: string;
|
|
1025
|
-
nodeType: "
|
|
1061
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
1026
1062
|
className: string;
|
|
1027
1063
|
parameters: {
|
|
1028
|
-
name: string;
|
|
1029
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1030
1064
|
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
1065
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1066
|
+
name: string;
|
|
1031
1067
|
location?: {
|
|
1032
1068
|
startLine: number;
|
|
1033
1069
|
startCol: number;
|
|
@@ -1073,17 +1109,17 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
1073
1109
|
error: z.ZodString;
|
|
1074
1110
|
}, "strip", z.ZodTypeAny, {
|
|
1075
1111
|
valid: boolean;
|
|
1076
|
-
error: string;
|
|
1077
|
-
success: boolean;
|
|
1078
|
-
eventType: string;
|
|
1079
|
-
webhookPath: string;
|
|
1080
|
-
inputSchema: Record<string, unknown>;
|
|
1081
1112
|
metadata: {
|
|
1082
1113
|
strictMode: boolean;
|
|
1083
1114
|
validatedAt: string;
|
|
1084
1115
|
codeLength: number;
|
|
1085
1116
|
flowUpdated?: boolean | undefined;
|
|
1086
1117
|
};
|
|
1118
|
+
success: boolean;
|
|
1119
|
+
error: string;
|
|
1120
|
+
eventType: string;
|
|
1121
|
+
webhookPath: string;
|
|
1122
|
+
inputSchema: Record<string, unknown>;
|
|
1087
1123
|
workflow?: {
|
|
1088
1124
|
root: import("./bubble-definition-schema").WorkflowNode[];
|
|
1089
1125
|
bubbles: Record<number, {
|
|
@@ -1095,12 +1131,12 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
1095
1131
|
};
|
|
1096
1132
|
variableId: number;
|
|
1097
1133
|
variableName: string;
|
|
1098
|
-
nodeType: "
|
|
1134
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
1099
1135
|
className: string;
|
|
1100
1136
|
parameters: {
|
|
1101
|
-
name: string;
|
|
1102
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1103
1137
|
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
1138
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1139
|
+
name: string;
|
|
1104
1140
|
location?: {
|
|
1105
1141
|
startLine: number;
|
|
1106
1142
|
startCol: number;
|
|
@@ -1131,12 +1167,12 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
1131
1167
|
};
|
|
1132
1168
|
variableId: number;
|
|
1133
1169
|
variableName: string;
|
|
1134
|
-
nodeType: "
|
|
1170
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
1135
1171
|
className: string;
|
|
1136
1172
|
parameters: {
|
|
1137
|
-
name: string;
|
|
1138
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1139
1173
|
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
1174
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1175
|
+
name: string;
|
|
1140
1176
|
location?: {
|
|
1141
1177
|
startLine: number;
|
|
1142
1178
|
startCol: number;
|
|
@@ -1165,17 +1201,17 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
1165
1201
|
cronActive?: boolean | undefined;
|
|
1166
1202
|
}, {
|
|
1167
1203
|
valid: boolean;
|
|
1168
|
-
error: string;
|
|
1169
|
-
success: boolean;
|
|
1170
|
-
eventType: string;
|
|
1171
|
-
webhookPath: string;
|
|
1172
|
-
inputSchema: Record<string, unknown>;
|
|
1173
1204
|
metadata: {
|
|
1174
1205
|
strictMode: boolean;
|
|
1175
1206
|
validatedAt: string;
|
|
1176
1207
|
codeLength: number;
|
|
1177
1208
|
flowUpdated?: boolean | undefined;
|
|
1178
1209
|
};
|
|
1210
|
+
success: boolean;
|
|
1211
|
+
error: string;
|
|
1212
|
+
eventType: string;
|
|
1213
|
+
webhookPath: string;
|
|
1214
|
+
inputSchema: Record<string, unknown>;
|
|
1179
1215
|
workflow?: {
|
|
1180
1216
|
root: import("./bubble-definition-schema").WorkflowNode[];
|
|
1181
1217
|
bubbles: Record<number, {
|
|
@@ -1187,12 +1223,12 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
1187
1223
|
};
|
|
1188
1224
|
variableId: number;
|
|
1189
1225
|
variableName: string;
|
|
1190
|
-
nodeType: "
|
|
1226
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
1191
1227
|
className: string;
|
|
1192
1228
|
parameters: {
|
|
1193
|
-
name: string;
|
|
1194
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1195
1229
|
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
1230
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1231
|
+
name: string;
|
|
1196
1232
|
location?: {
|
|
1197
1233
|
startLine: number;
|
|
1198
1234
|
startCol: number;
|
|
@@ -1223,12 +1259,12 @@ export declare const validateBubbleFlowCodeResponseSchema: z.ZodObject<{
|
|
|
1223
1259
|
};
|
|
1224
1260
|
variableId: number;
|
|
1225
1261
|
variableName: string;
|
|
1226
|
-
nodeType: "
|
|
1262
|
+
nodeType: "unknown" | "tool" | "service" | "workflow";
|
|
1227
1263
|
className: string;
|
|
1228
1264
|
parameters: {
|
|
1229
|
-
name: string;
|
|
1230
|
-
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1231
1265
|
type: import("./bubble-definition-schema").BubbleParameterType;
|
|
1266
|
+
value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
1267
|
+
name: string;
|
|
1232
1268
|
location?: {
|
|
1233
1269
|
startLine: number;
|
|
1234
1270
|
startCol: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bubbleflow-execution-schema.d.ts","sourceRoot":"","sources":["../src/bubbleflow-execution-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AAKtC,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;EA2BL,CAAC;AAE3B,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4IL,CAAC;AAE/B,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4E/C,CAAC;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,oCAAoC,CAC5C,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -183,10 +183,7 @@ export const bubbleFlowExecutionSchema = z.object({
|
|
|
183
183
|
.string()
|
|
184
184
|
.optional()
|
|
185
185
|
.openapi({ description: 'Execution completion timestamp' }),
|
|
186
|
-
code: z
|
|
187
|
-
.string()
|
|
188
|
-
.optional()
|
|
189
|
-
.openapi({
|
|
186
|
+
code: z.string().optional().openapi({
|
|
190
187
|
description: 'The code that was executed (snapshot of the code at execution time)',
|
|
191
188
|
}),
|
|
192
189
|
});
|
|
@@ -194,6 +191,15 @@ export const bubbleFlowExecutionSchema = z.object({
|
|
|
194
191
|
export const listBubbleFlowExecutionsResponseSchema = z
|
|
195
192
|
.array(bubbleFlowExecutionSchema)
|
|
196
193
|
.openapi('ListBubbleFlowExecutionsResponse');
|
|
194
|
+
// GET /bubble-flow/:id/executions/:executionId - Single execution with logs
|
|
195
|
+
export const bubbleFlowExecutionDetailSchema = bubbleFlowExecutionSchema.extend({
|
|
196
|
+
executionLogs: z
|
|
197
|
+
.array(z.any())
|
|
198
|
+
.optional()
|
|
199
|
+
.openapi({
|
|
200
|
+
description: 'Array of streaming log events from the execution',
|
|
201
|
+
}),
|
|
202
|
+
});
|
|
197
203
|
export const executeBubbleFlowResponseSchema = z
|
|
198
204
|
.object({
|
|
199
205
|
executionId: z.number().openapi({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bubbleflow-execution-schema.js","sourceRoot":"","sources":["../src/bubbleflow-execution-schema.ts"],"names":[],"mappings":"AAAA,OAAO,E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C1D,OAAO,EAAE;YACP,OAAO,EAAE,aAAa;YACtB,OAAO,EAAE,UAAU;SACpB;KACF,CAAC;IACJ,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;IACpB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC"}
|
|
@@ -1,25 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* Recommended AI models for BubbleFlow code generation
|
|
3
|
+
* This file is kept in shared-schemas for backwards compatibility
|
|
4
|
+
* The full prompts have been moved to apps/bubblelab-api/src/config/bubbleflow-generation-prompts.ts
|
|
4
5
|
*/
|
|
5
6
|
import { AvailableModel } from './ai-models.js';
|
|
6
7
|
export declare const RECOMMENDED_MODELS: Record<string, AvailableModel>;
|
|
7
|
-
export declare const CRITICAL_INSTRUCTIONS = "CRITICAL INSTRUCTIONS:\n1. Start with the exact boilerplate template above (it has all the correct imports and class structure), come up with a name for the flow based on the user's request, export class [name] extends BubbleFlow\n2. CRITICAL: Only ONE class extending BubbleFlow is allowed per file. Do NOT create multiple BubbleFlow classes (e.g., a webhook flow and a cron flow).\n3. Properly type the payload import and output interface based on the user's request, create typescript interfaces for them\n4. BEFORE writing any code, identify which bubbles you plan to use from the available list, prioritize choosing tools over services unless the user specifically requests a service. \n5. For EACH bubble you plan to use, ALWAYS call get-bubble-details-tool first to understand:\n - The correct input parameters and their types\n - The expected output structure in result.data\n - How to properly handle success/error cases\n6. IMPLEMENTATION ARCHITECTURE (CRITICAL):\n - Break the workflow into atomic PRIVATE methods (do NOT call them \"steps\" or use \"step\" terminology).\n - Types of methods:\n a) Transformation Methods: Pure functions for data cleaning, validation, or formatting. NO Bubble usage here.\n b) Bubble Methods: Async functions that instantiate and run SINGLE Bubble (or logically grouped Bubbles).\n - The 'handle()' method must be a CLEAN orchestrator:\n - ONLY call private methods sequentially.\n - Use 'if' statements and 'for' loops inside handle() to control execution flow.\n - NO switch statements.\n - NO direct Bubble instantiation inside handle().\n - NO try-catch blocks inside handle() (handle errors inside private methods if needed, otherwise let them bubble up).\n - NO complex logic inside handle() - use Transformation Methods instead.\n - CRITICAL: Each private method MUST have a ONE-LINE comment describing WHAT the method does in specific, concrete terms (not generic phrases like \"processes data\" or \"transforms input\").\n ONLY add a second \"Condition:\" line if the method is CONDITIONALLY executed (e.g., inside an if-statement, only runs when X is true). Do NOT add \"Condition: Always runs\" - if it always runs, omit the Condition line entirely.\n - Example:\n // Sanitizes raw webhook input by trimming whitespace and converting to uppercase\n private transformData(input: string): string { ... }\n\n // Sends cleaned input to AI for natural language processing\n // Only runs when input length is greater than 3 characters\n private async processWithAI(input: string): Promise<string> { ... }\n7. Use the exact parameter structures shown in the bubble details\n8. If deterministic tool calls and branch logic are possible, there is no need to use AI agent.\n9. Access bubble outputs safely using result.data with null checking (e.g., result.data?.someProperty or check if result.data exists first)\n10. Return meaningful data from the handle method, this is the data that will be shown to the user.\n11. DO NOT include credentials in bubble parameters - credentials are handled automatically\n12. CRITICAL: In Bubble methods, always use the pattern: const result = await new SomeBubble({params}).action() - NEVER use runBubble, this.runBubble, or any other method.\n13. When using AI Agent, ensure your prompt includes comprehensive context and explicitly pass in all relevant information needed for the task. Be thorough in providing complete data rather than expecting the AI to infer or assume missing details (unless the information must be retrieved from an online source)\n14. When generating and dealing with images, process them one at a time to ensure proper handling and avoid overwhelming the system\n15. If the location of the output is unknown or not specified by the user, use this.logger?.info(message:string) to print the output to the console.\n16. DO NOT repeat the user's request in your response or thinking process. Do not include \"The user says: <user's request>\" in your response.\n17. Write short and concise comments throughout the code. Name methods clearly (e.g., 'transformInput', 'performResearch', 'formatOutput'). The variable name for bubble should describe the bubble's purpose and its role in the workflow. NEVER use the word \"step\" in method names, comments, or variable names.\n18. If user does not specify a communication channel to get the result, use email sending via resend and do not set the 'from' parameter, it will be set automatically and use bubble lab's default email, unless the user has their own resend setup and account domain verified.\n19. When importing JSON workflows from other platforms, focus on capturing the ESSENCE and INTENT of the workflow, not the exact architecture. Convert to appropriate BubbleFlow patterns - use deterministic workflows when the logic is linear and predictable, only use AI agents when dynamic decision-making is truly needed.\n20. NEVER generate placeholder values like \"YOUR_API_KEY_HERE\", \"YOUR_FOLDER_ID\", \"REPLACE_THIS\", etc. in constants. ALL user-specific or environment-specific values MUST be defined in the payload interface and passed as inputs. Constants should only contain truly static values that never change (like MIME types, fixed strings, enum values, etc.). If a value needs to be configured by the user, it belongs in the payload interface, NOT in a constant.\n21. NEVER use the 'any' type. TypeScript's type inference is powerful - let it work for you:\n - For bubble results: DO NOT annotate the type. Just write `const result = await new GmailBubble({...}).readEmail()` and TypeScript will infer the correct type automatically.\n - For function return types: Omit return type annotations when the return value is obvious from the implementation. TypeScript infers them correctly.\n - When you MUST annotate: Use the specific type (e.g., `BubbleResult<GmailReadEmailData>`), generic parameters, or `unknown` if truly unknown.\n - WRONG: `const result: any = await bubble.action()` or `function transform(data: any)`\n - RIGHT: `const result = await bubble.action()` (let TypeScript infer) or `function transform(data: EmailData)` (use specific type)\n\nCRITICAL: You MUST use get-bubble-details-tool for every bubble before using it in your code!";
|
|
8
|
-
export declare const BUBBLE_STUDIO_INSTRUCTIONS: string;
|
|
9
|
-
/**
|
|
10
|
-
* Validation process instructions for ensuring generated code is valid
|
|
11
|
-
*/
|
|
12
|
-
export declare const VALIDATION_PROCESS = "CRITICAL VALIDATION PROCESS:\n1. After generating the initial code, ALWAYS use the bubbleflow-validation to validate it\n2. If validation fails, you MUST analyze ALL errors carefully and fix EVERY single one\n3. Use the bubbleflow-validation again to validate the fixed code\n4. If there are still errors, fix them ALL and validate again\n5. Repeat this validation-fix cycle until the code passes validation with NO ERRORS (valid: true)\n6. Do NOT stop until you get a successful validation result with valid: true and no errors\n7. NEVER provide code that has validation errors - keep fixing until it's completely error-free\n8. IMPORTANT: Use .action() on the to call the bubble, (this is the only way to run a bubble) - NEVER use runBubble() or any other method\n\nOnly return the final TypeScript code that passes validation. No explanations or markdown formatting.";
|
|
13
|
-
/**
|
|
14
|
-
* Additional instructions for input schema handling
|
|
15
|
-
*/
|
|
16
|
-
export declare const INPUT_SCHEMA_INSTRUCTIONS = "For input schema, ie. the interface passed to the handle method. Decide based on how\nthe workflow should typically be ran (if it should be variable or fixed). If all\ninputs are fixed take out the interface and just use handle() without the payload.\n\nCRITICAL: EVERY input field MUST have a helpful, user-friendly comment that explains:\n1. WHAT the field means (what information it represents)\n2. WHERE to find the information (specific location, URL, settings page, etc.)\n3. HOW to provide the input (format, extraction steps)\n\nWrite comments in plain, conversational language as if explaining to a non-technical user.\nDO NOT include example values in comments - example values should ONLY be provided as default values in the destructuring assignment using the = operator.\n\nFILE UPLOAD CONTROL (@canBeFile):\nFor each string field, decide if it makes sense to upload file content. Use the @canBeFile JSDoc tag to control whether the file upload icon appears in the UI.\n\nALLOW file uploads (@canBeFile true or omit the tag - default behavior) for:\n- Fields that hold document/media CONTENT (body, text, document, attachment, content, data, fileContent)\n- Fields where pasting large text content would be cumbersome\n- Fields that semantically represent file data to be processed\n\nDISABLE file uploads (@canBeFile false) for:\n- Identifiers and references (IDs, names, paths, URLs, emails, usernames)\n- Configuration values (settings, options, formats, modes)\n- Short user inputs (prompts, queries, search terms, titles)\n- Credential-like values (API keys, tokens, secrets)\n\nExample usage:\n```typescript\nexport interface DocumentProcessorPayload extends WebhookEvent {\n /**\n * Email address where the results should be sent.\n * @canBeFile false\n */\n email: string;\n \n /**\n * The document content to process. Paste text or upload a file.\n * @canBeFile true\n */\n documentContent: string;\n \n /**\n * Google Drive folder ID where files will be saved.\n * @canBeFile false\n */\n folderId: string;\n \n /**\n * File to attach to the email. Upload any document, image, or file.\n */\n attachment?: string; // @canBeFile defaults to true, so no need to specify\n}\n```\n\nUse your judgment based on what the field semantically represents, not just its name.\n\nExamples of EXCELLENT field comments (note: example values go in destructuring, not in comments):\n\n// The spreadsheet ID is the long string in the URL right after /d/ and before the next / in the URL.\nspreadsheetId: string;\n\n// Slack: Right-click channel \u2192 \"View channel details\" \u2192 Copy the \"Channel ID\" (starts with 'C')\nchannelId: string;\n\n// Email address where notifications should be sent.\nrecipientEmail: string;\n\n// Folder path using forward slashes to separate directories.\noutputFolderPath: string;\n\n// API key from Dashboard > Settings > API Keys. Generate new key and copy the full string (32-64 chars).\napiKey: string;\n\n// Priority level: 'low' (non-urgent), 'medium' (normal), 'high' (urgent)\npriority?: 'low' | 'medium' | 'high';\n\nCOMMENT PATTERNS BY TYPE:\n\n- URLs/IDs: Explain exact location in URL (after /d/, in query params) - describe the format, not show examples\n- UI IDs: Explain steps to find it (right-click menu, settings page) and format (length, prefix)\n- File paths: Explain format (forward slashes, relative vs absolute) - describe the structure\n- API keys: Explain where to generate (dashboard location) and format (length, appearance)\n- Emails/strings: Explain the format and any validation requirements\n- Enums: List all valid values with brief descriptions\n- Dates: Explain format (ISO 8601, Unix timestamp) and timezone if relevant\n- Arrays: Explain what each item represents and the structure\n\nRemember: Example values go in the destructuring default values, NOT in comments!\n\nExamples of BAD comments (DO NOT USE):\n// The spreadsheet ID \u274C Too vague\n// User email \u274C No format/explanation\n// API key for authentication \u274C Doesn't tell where to get it\n// Priority level. Defaults to 'medium' \u274C Don't mention defaults in comments\n// Email address. Example: \"user@example.com\" \u274C Don't include examples in comments - put them in destructuring defaults\n\nFor example, for a workflow that processes user data and sends notifications:\n \nexport interface UserNotificationPayload extends WebhookEvent {\n /**\n * Email address where notifications should be sent.\n * @canBeFile false\n */\n email: string;\n /** Custom message content to include in the notification. */\n message?: string;\n /** Priority level: 'low' (non-urgent), 'medium' (normal), 'high' (urgent) */\n priority?: 'low' | 'medium' | 'high';\n /** Whether to send SMS in addition to email. Set to true to enable SMS notifications, false to only send email. */\n includeSMS?: boolean;\n /**\n * The spreadsheet ID is the long string in the URL right after /d/ and before the next / in the URL.\n * @canBeFile false\n */\n spreadsheetId: string;\n}\n\nconst { \n email = 'user@example.com', \n message = 'Welcome to our platform! Thanks for signing up.', \n priority = 'medium',\n spreadsheetId = '1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms',\n includeSMS = false \n} = payload;\n\nCRITICAL: ALWAYS provide example values as default values using the = operator in the destructuring assignment.\nThese example values help users understand the expected format. For instance:\n- Google Sheets ID: spreadsheetId = '1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms'\n- Email: email = 'user@example.com'\n- Channel ID: channelId = 'C01234567AB'\n\nREQUIRED vs OPTIONAL FIELD DECISION:\n1. User specified a value in their request \u2192 OPTIONAL with that value as default\n (e.g., user says \"research AI agents\" \u2192 topic?: string with default \"AI Agents\")\n2. Value must change per execution \u2192 REQUIRED\n (e.g., recipient email when user says \"send me\" but doesn't provide one, target URL that varies each run)\n3. Nice-to-have configuration \u2192 OPTIONAL\n (e.g., output format preferences, depth settings)\n\nThe goal is to minimize required fields. If the user already told you what they want, don't make them type it again - use their value as the default.\nWhen setting schedule, you must take into account of the timezone of the user (don't worry about daylight time, just whatever the current timezone currently) and convert it to UTC offset! The cron expression is in UTC timezone.\nIf no particular trigger is specified, use the webhook/http trigger.\n\nREMEMBER: Users should be able to fill out inputs without asking questions or looking up documentation. Be thorough and specific!";
|
|
17
|
-
export declare const COMMON_DEBUGGING_INSTRUCTIONS = "\nWhen an error occurs, the issue is most likely with misconfiguration, using the wrong task / model / technique.\nYou should carefully observe the data flow and the context to understand what happened.\n\nRegarding 404 error for google drive files, remind the user to recreate a new credential and check the \"allow all files permission\", since by default bubble lab only allows access to files that the user has created on bubble lab.\nRegarding errors reading gmail emails, remind the user to recreate a new credential and check the \"allow access to all your email\", since by default bubble lab only can only send emails to the user's own email address.\nRegarding JSON parsing for ai-agent, if JSON mode is enabled in ai-agent, the response should be a valid JSON object unless the user's request cannot be fulfilled, then the response should be a text output explaining why it can't perform the task and make it unable to be parsed as JSON.\nRegarding variables not found errors, it is because the system does not yet support complex syntaxes like mapping multiple arrow functions inside loops, etc. Tell the user why and attempt to fix the issue by simplifying the code.\n";
|
|
18
|
-
export declare const BUBBLE_SPECIFIC_INSTRUCTIONS: string;
|
|
19
|
-
export declare const DEBUGGING_INSTRUCTIONS = "\n**WORKFLOW ANALYSIS:**\n- Examine the data flow through each bubble in the workflow\n- Identify bottlenecks where data quality or detail is being lost\n- Trace execution outputs to understand why results are generic vs specific\n- Look for mismatched expectations between data extraction and content generation\n\n**QUALITY DETECTION PATTERNS:**\n- Generic language detection: Look for phrases like 'transform', 'leverage', 'paradigm shift' without concrete examples\n- Data density analysis: Check if source material contains sufficient detail for the intended output\n- Schema mismatch: Verify if data extraction schemas are too narrow (e.g., only 'summary' instead of full content)\n- Content specificity: Determine if outputs include concrete examples, technical details, or quantifiable data\n\n**ROOT CAUSE ANALYSIS:**\n- When content is generic, trace back to: (1) insufficient source data, (2) poor extraction parameters, or (3) vague prompts\n- Identify if research tools are only pulling URLs/titles/summaries instead of full detailed content\n- Check if AI agent system prompts have enough specificity requirements\n\n**PROACTIVE ISSUE IDENTIFICATION:**\n- Before suggesting fixes, analyze: Is the problem in data gathering, processing, or generation?\n- Look for patterns in execution outputs that indicate quality degradation\n- Identify when workflows are producing 'minimum viable content' instead of comprehensive analysis\n\n";
|
|
20
|
-
/**
|
|
21
|
-
* AI Agent behavior and model selection guide
|
|
22
|
-
* Instructions for when to use research-agent-tool and how to select appropriate models
|
|
23
|
-
*/
|
|
24
|
-
export declare const AI_AGENT_BEHAVIOR_INSTRUCTIONS: string;
|
|
25
8
|
//# sourceMappingURL=bubbleflow-generation-prompts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bubbleflow-generation-prompts.d.ts","sourceRoot":"","sources":["../src/bubbleflow-generation-prompts.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"bubbleflow-generation-prompts.d.ts","sourceRoot":"","sources":["../src/bubbleflow-generation-prompts.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,eAAO,MAAM,kBAAkB,EAS1B,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC"}
|