@bubblelab/bubble-core 0.1.5 → 0.1.8
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/bubble-bundle.d.ts +21 -21
- package/dist/bubbles/service-bubble/ai-agent.d.ts +42 -42
- package/dist/bubbles/service-bubble/gmail.d.ts +324 -324
- package/dist/bubbles/service-bubble/http.d.ts +12 -12
- package/dist/bubbles/service-bubble/resend.d.ts +4 -4
- package/dist/bubbles/service-bubble/slack.d.ts +8 -8
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +72 -72
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +44 -44
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +88 -88
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +40 -40
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +18 -18
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
- package/package.json +2 -2
|
@@ -237,19 +237,19 @@ declare const PDFOcrWorkflowResultSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
237
237
|
iterations: z.ZodNumber;
|
|
238
238
|
processingTime: z.ZodOptional<z.ZodNumber>;
|
|
239
239
|
}, "strip", z.ZodTypeAny, {
|
|
240
|
-
model: string;
|
|
241
240
|
iterations: number;
|
|
241
|
+
model: string;
|
|
242
242
|
processingTime?: number | undefined;
|
|
243
243
|
}, {
|
|
244
|
-
model: string;
|
|
245
244
|
iterations: number;
|
|
245
|
+
model: string;
|
|
246
246
|
processingTime?: number | undefined;
|
|
247
247
|
}>;
|
|
248
248
|
success: z.ZodBoolean;
|
|
249
249
|
error: z.ZodString;
|
|
250
250
|
}, "strip", z.ZodTypeAny, {
|
|
251
|
-
error: string;
|
|
252
251
|
success: boolean;
|
|
252
|
+
error: string;
|
|
253
253
|
mode: "identify";
|
|
254
254
|
imageData: {
|
|
255
255
|
format: string;
|
|
@@ -268,13 +268,13 @@ declare const PDFOcrWorkflowResultSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
268
268
|
fieldsWithCoordinates: number;
|
|
269
269
|
};
|
|
270
270
|
aiAnalysis: {
|
|
271
|
-
model: string;
|
|
272
271
|
iterations: number;
|
|
272
|
+
model: string;
|
|
273
273
|
processingTime?: number | undefined;
|
|
274
274
|
};
|
|
275
275
|
}, {
|
|
276
|
-
error: string;
|
|
277
276
|
success: boolean;
|
|
277
|
+
error: string;
|
|
278
278
|
mode: "identify";
|
|
279
279
|
imageData: {
|
|
280
280
|
format: string;
|
|
@@ -293,8 +293,8 @@ declare const PDFOcrWorkflowResultSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
293
293
|
fieldsWithCoordinates: number;
|
|
294
294
|
};
|
|
295
295
|
aiAnalysis: {
|
|
296
|
-
model: string;
|
|
297
296
|
iterations: number;
|
|
297
|
+
model: string;
|
|
298
298
|
processingTime?: number | undefined;
|
|
299
299
|
};
|
|
300
300
|
}>, z.ZodObject<{
|
|
@@ -353,12 +353,12 @@ declare const PDFOcrWorkflowResultSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
353
353
|
iterations: z.ZodNumber;
|
|
354
354
|
processingTime: z.ZodOptional<z.ZodNumber>;
|
|
355
355
|
}, "strip", z.ZodTypeAny, {
|
|
356
|
-
model: string;
|
|
357
356
|
iterations: number;
|
|
357
|
+
model: string;
|
|
358
358
|
processingTime?: number | undefined;
|
|
359
359
|
}, {
|
|
360
|
-
model: string;
|
|
361
360
|
iterations: number;
|
|
361
|
+
model: string;
|
|
362
362
|
processingTime?: number | undefined;
|
|
363
363
|
}>;
|
|
364
364
|
fillResults: z.ZodObject<{
|
|
@@ -374,8 +374,8 @@ declare const PDFOcrWorkflowResultSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
374
374
|
success: z.ZodBoolean;
|
|
375
375
|
error: z.ZodString;
|
|
376
376
|
}, "strip", z.ZodTypeAny, {
|
|
377
|
-
error: string;
|
|
378
377
|
success: boolean;
|
|
378
|
+
error: string;
|
|
379
379
|
mode: "autofill";
|
|
380
380
|
filledPdfData: string;
|
|
381
381
|
imageData: {
|
|
@@ -397,8 +397,8 @@ declare const PDFOcrWorkflowResultSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
397
397
|
fieldsWithCoordinates: number;
|
|
398
398
|
};
|
|
399
399
|
aiAnalysis: {
|
|
400
|
-
model: string;
|
|
401
400
|
iterations: number;
|
|
401
|
+
model: string;
|
|
402
402
|
processingTime?: number | undefined;
|
|
403
403
|
};
|
|
404
404
|
fillResults: {
|
|
@@ -406,8 +406,8 @@ declare const PDFOcrWorkflowResultSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
406
406
|
successfullyFilled: number;
|
|
407
407
|
};
|
|
408
408
|
}, {
|
|
409
|
-
error: string;
|
|
410
409
|
success: boolean;
|
|
410
|
+
error: string;
|
|
411
411
|
mode: "autofill";
|
|
412
412
|
filledPdfData: string;
|
|
413
413
|
imageData: {
|
|
@@ -429,8 +429,8 @@ declare const PDFOcrWorkflowResultSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
429
429
|
fieldsWithCoordinates: number;
|
|
430
430
|
};
|
|
431
431
|
aiAnalysis: {
|
|
432
|
-
model: string;
|
|
433
432
|
iterations: number;
|
|
433
|
+
model: string;
|
|
434
434
|
processingTime?: number | undefined;
|
|
435
435
|
};
|
|
436
436
|
fillResults: {
|
|
@@ -670,19 +670,19 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
670
670
|
iterations: z.ZodNumber;
|
|
671
671
|
processingTime: z.ZodOptional<z.ZodNumber>;
|
|
672
672
|
}, "strip", z.ZodTypeAny, {
|
|
673
|
-
model: string;
|
|
674
673
|
iterations: number;
|
|
674
|
+
model: string;
|
|
675
675
|
processingTime?: number | undefined;
|
|
676
676
|
}, {
|
|
677
|
-
model: string;
|
|
678
677
|
iterations: number;
|
|
678
|
+
model: string;
|
|
679
679
|
processingTime?: number | undefined;
|
|
680
680
|
}>;
|
|
681
681
|
success: z.ZodBoolean;
|
|
682
682
|
error: z.ZodString;
|
|
683
683
|
}, "strip", z.ZodTypeAny, {
|
|
684
|
-
error: string;
|
|
685
684
|
success: boolean;
|
|
685
|
+
error: string;
|
|
686
686
|
mode: "identify";
|
|
687
687
|
imageData: {
|
|
688
688
|
format: string;
|
|
@@ -701,13 +701,13 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
701
701
|
fieldsWithCoordinates: number;
|
|
702
702
|
};
|
|
703
703
|
aiAnalysis: {
|
|
704
|
-
model: string;
|
|
705
704
|
iterations: number;
|
|
705
|
+
model: string;
|
|
706
706
|
processingTime?: number | undefined;
|
|
707
707
|
};
|
|
708
708
|
}, {
|
|
709
|
-
error: string;
|
|
710
709
|
success: boolean;
|
|
710
|
+
error: string;
|
|
711
711
|
mode: "identify";
|
|
712
712
|
imageData: {
|
|
713
713
|
format: string;
|
|
@@ -726,8 +726,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
726
726
|
fieldsWithCoordinates: number;
|
|
727
727
|
};
|
|
728
728
|
aiAnalysis: {
|
|
729
|
-
model: string;
|
|
730
729
|
iterations: number;
|
|
730
|
+
model: string;
|
|
731
731
|
processingTime?: number | undefined;
|
|
732
732
|
};
|
|
733
733
|
}>, z.ZodObject<{
|
|
@@ -786,12 +786,12 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
786
786
|
iterations: z.ZodNumber;
|
|
787
787
|
processingTime: z.ZodOptional<z.ZodNumber>;
|
|
788
788
|
}, "strip", z.ZodTypeAny, {
|
|
789
|
-
model: string;
|
|
790
789
|
iterations: number;
|
|
790
|
+
model: string;
|
|
791
791
|
processingTime?: number | undefined;
|
|
792
792
|
}, {
|
|
793
|
-
model: string;
|
|
794
793
|
iterations: number;
|
|
794
|
+
model: string;
|
|
795
795
|
processingTime?: number | undefined;
|
|
796
796
|
}>;
|
|
797
797
|
fillResults: z.ZodObject<{
|
|
@@ -807,8 +807,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
807
807
|
success: z.ZodBoolean;
|
|
808
808
|
error: z.ZodString;
|
|
809
809
|
}, "strip", z.ZodTypeAny, {
|
|
810
|
-
error: string;
|
|
811
810
|
success: boolean;
|
|
811
|
+
error: string;
|
|
812
812
|
mode: "autofill";
|
|
813
813
|
filledPdfData: string;
|
|
814
814
|
imageData: {
|
|
@@ -830,8 +830,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
830
830
|
fieldsWithCoordinates: number;
|
|
831
831
|
};
|
|
832
832
|
aiAnalysis: {
|
|
833
|
-
model: string;
|
|
834
833
|
iterations: number;
|
|
834
|
+
model: string;
|
|
835
835
|
processingTime?: number | undefined;
|
|
836
836
|
};
|
|
837
837
|
fillResults: {
|
|
@@ -839,8 +839,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
839
839
|
successfullyFilled: number;
|
|
840
840
|
};
|
|
841
841
|
}, {
|
|
842
|
-
error: string;
|
|
843
842
|
success: boolean;
|
|
843
|
+
error: string;
|
|
844
844
|
mode: "autofill";
|
|
845
845
|
filledPdfData: string;
|
|
846
846
|
imageData: {
|
|
@@ -862,8 +862,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
862
862
|
fieldsWithCoordinates: number;
|
|
863
863
|
};
|
|
864
864
|
aiAnalysis: {
|
|
865
|
-
model: string;
|
|
866
865
|
iterations: number;
|
|
866
|
+
model: string;
|
|
867
867
|
processingTime?: number | undefined;
|
|
868
868
|
};
|
|
869
869
|
fillResults: {
|
|
@@ -37,32 +37,39 @@ declare const SlackDataAssistantParamsSchema: z.ZodObject<{
|
|
|
37
37
|
name: string;
|
|
38
38
|
temperature: number;
|
|
39
39
|
verbosity: "1" | "2" | "3" | "4" | "5";
|
|
40
|
+
dataSourceType: "postgresql" | "mysql" | "sqlite" | "mssql" | "mariadb";
|
|
41
|
+
ignoreSSLErrors: boolean;
|
|
40
42
|
aiModel: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929";
|
|
41
43
|
technicality: "1" | "2" | "3" | "4" | "5";
|
|
42
44
|
includeQuery: boolean;
|
|
43
45
|
includeExplanation: boolean;
|
|
44
46
|
slackChannel: string;
|
|
45
47
|
userQuestion: string;
|
|
46
|
-
dataSourceType: "postgresql" | "mysql" | "sqlite" | "mariadb" | "mssql";
|
|
47
|
-
ignoreSSLErrors: boolean;
|
|
48
48
|
maxQueries: number;
|
|
49
49
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
50
|
-
additionalContext?: string | undefined;
|
|
51
|
-
slackThreadTs?: string | undefined;
|
|
52
|
-
userName?: string | undefined;
|
|
53
|
-
databaseUrl?: string | undefined;
|
|
54
50
|
injectedMetadata?: {
|
|
55
51
|
tables?: Record<string, Record<string, string>> | undefined;
|
|
56
52
|
tableNotes?: Record<string, string> | undefined;
|
|
57
53
|
rules?: string[] | undefined;
|
|
58
54
|
} | undefined;
|
|
55
|
+
additionalContext?: string | undefined;
|
|
56
|
+
slackThreadTs?: string | undefined;
|
|
57
|
+
userName?: string | undefined;
|
|
58
|
+
databaseUrl?: string | undefined;
|
|
59
59
|
}, {
|
|
60
60
|
slackChannel: string;
|
|
61
61
|
userQuestion: string;
|
|
62
62
|
name?: string | undefined;
|
|
63
|
-
temperature?: number | undefined;
|
|
64
63
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
64
|
+
temperature?: number | undefined;
|
|
65
65
|
verbosity?: "1" | "2" | "3" | "4" | "5" | undefined;
|
|
66
|
+
dataSourceType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "mariadb" | undefined;
|
|
67
|
+
ignoreSSLErrors?: boolean | undefined;
|
|
68
|
+
injectedMetadata?: {
|
|
69
|
+
tables?: Record<string, Record<string, string>> | undefined;
|
|
70
|
+
tableNotes?: Record<string, string> | undefined;
|
|
71
|
+
rules?: string[] | undefined;
|
|
72
|
+
} | undefined;
|
|
66
73
|
aiModel?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929" | undefined;
|
|
67
74
|
technicality?: "1" | "2" | "3" | "4" | "5" | undefined;
|
|
68
75
|
includeQuery?: boolean | undefined;
|
|
@@ -70,14 +77,7 @@ declare const SlackDataAssistantParamsSchema: z.ZodObject<{
|
|
|
70
77
|
additionalContext?: string | undefined;
|
|
71
78
|
slackThreadTs?: string | undefined;
|
|
72
79
|
userName?: string | undefined;
|
|
73
|
-
dataSourceType?: "postgresql" | "mysql" | "sqlite" | "mariadb" | "mssql" | undefined;
|
|
74
80
|
databaseUrl?: string | undefined;
|
|
75
|
-
ignoreSSLErrors?: boolean | undefined;
|
|
76
|
-
injectedMetadata?: {
|
|
77
|
-
tables?: Record<string, Record<string, string>> | undefined;
|
|
78
|
-
tableNotes?: Record<string, string> | undefined;
|
|
79
|
-
rules?: string[] | undefined;
|
|
80
|
-
} | undefined;
|
|
81
81
|
maxQueries?: number | undefined;
|
|
82
82
|
}>;
|
|
83
83
|
declare const SlackDataAssistantResultSchema: z.ZodObject<{
|
|
@@ -96,20 +96,20 @@ declare const SlackDataAssistantResultSchema: z.ZodObject<{
|
|
|
96
96
|
wordCount: z.ZodOptional<z.ZodNumber>;
|
|
97
97
|
}, "strip", z.ZodTypeAny, {
|
|
98
98
|
executionTime: number;
|
|
99
|
-
wordCount?: number | undefined;
|
|
100
99
|
rowCount?: number | undefined;
|
|
100
|
+
wordCount?: number | undefined;
|
|
101
101
|
}, {
|
|
102
102
|
executionTime: number;
|
|
103
|
-
wordCount?: number | undefined;
|
|
104
103
|
rowCount?: number | undefined;
|
|
104
|
+
wordCount?: number | undefined;
|
|
105
105
|
}>>;
|
|
106
106
|
}, "strip", z.ZodTypeAny, {
|
|
107
|
-
error: string;
|
|
108
107
|
success: boolean;
|
|
108
|
+
error: string;
|
|
109
109
|
metadata?: {
|
|
110
110
|
executionTime: number;
|
|
111
|
-
wordCount?: number | undefined;
|
|
112
111
|
rowCount?: number | undefined;
|
|
112
|
+
wordCount?: number | undefined;
|
|
113
113
|
} | undefined;
|
|
114
114
|
query?: string | undefined;
|
|
115
115
|
queryExplanation?: string | undefined;
|
|
@@ -119,12 +119,12 @@ declare const SlackDataAssistantResultSchema: z.ZodObject<{
|
|
|
119
119
|
slackMessageTs?: string | undefined;
|
|
120
120
|
isDataQuestion?: boolean | undefined;
|
|
121
121
|
}, {
|
|
122
|
-
error: string;
|
|
123
122
|
success: boolean;
|
|
123
|
+
error: string;
|
|
124
124
|
metadata?: {
|
|
125
125
|
executionTime: number;
|
|
126
|
-
wordCount?: number | undefined;
|
|
127
126
|
rowCount?: number | undefined;
|
|
127
|
+
wordCount?: number | undefined;
|
|
128
128
|
} | undefined;
|
|
129
129
|
query?: string | undefined;
|
|
130
130
|
queryExplanation?: string | undefined;
|
|
@@ -175,32 +175,39 @@ export declare class SlackDataAssistantWorkflow extends WorkflowBubble<SlackData
|
|
|
175
175
|
name: string;
|
|
176
176
|
temperature: number;
|
|
177
177
|
verbosity: "1" | "2" | "3" | "4" | "5";
|
|
178
|
+
dataSourceType: "postgresql" | "mysql" | "sqlite" | "mssql" | "mariadb";
|
|
179
|
+
ignoreSSLErrors: boolean;
|
|
178
180
|
aiModel: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929";
|
|
179
181
|
technicality: "1" | "2" | "3" | "4" | "5";
|
|
180
182
|
includeQuery: boolean;
|
|
181
183
|
includeExplanation: boolean;
|
|
182
184
|
slackChannel: string;
|
|
183
185
|
userQuestion: string;
|
|
184
|
-
dataSourceType: "postgresql" | "mysql" | "sqlite" | "mariadb" | "mssql";
|
|
185
|
-
ignoreSSLErrors: boolean;
|
|
186
186
|
maxQueries: number;
|
|
187
187
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
188
|
-
additionalContext?: string | undefined;
|
|
189
|
-
slackThreadTs?: string | undefined;
|
|
190
|
-
userName?: string | undefined;
|
|
191
|
-
databaseUrl?: string | undefined;
|
|
192
188
|
injectedMetadata?: {
|
|
193
189
|
tables?: Record<string, Record<string, string>> | undefined;
|
|
194
190
|
tableNotes?: Record<string, string> | undefined;
|
|
195
191
|
rules?: string[] | undefined;
|
|
196
192
|
} | undefined;
|
|
193
|
+
additionalContext?: string | undefined;
|
|
194
|
+
slackThreadTs?: string | undefined;
|
|
195
|
+
userName?: string | undefined;
|
|
196
|
+
databaseUrl?: string | undefined;
|
|
197
197
|
}, {
|
|
198
198
|
slackChannel: string;
|
|
199
199
|
userQuestion: string;
|
|
200
200
|
name?: string | undefined;
|
|
201
|
-
temperature?: number | undefined;
|
|
202
201
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
202
|
+
temperature?: number | undefined;
|
|
203
203
|
verbosity?: "1" | "2" | "3" | "4" | "5" | undefined;
|
|
204
|
+
dataSourceType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "mariadb" | undefined;
|
|
205
|
+
ignoreSSLErrors?: boolean | undefined;
|
|
206
|
+
injectedMetadata?: {
|
|
207
|
+
tables?: Record<string, Record<string, string>> | undefined;
|
|
208
|
+
tableNotes?: Record<string, string> | undefined;
|
|
209
|
+
rules?: string[] | undefined;
|
|
210
|
+
} | undefined;
|
|
204
211
|
aiModel?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929" | undefined;
|
|
205
212
|
technicality?: "1" | "2" | "3" | "4" | "5" | undefined;
|
|
206
213
|
includeQuery?: boolean | undefined;
|
|
@@ -208,14 +215,7 @@ export declare class SlackDataAssistantWorkflow extends WorkflowBubble<SlackData
|
|
|
208
215
|
additionalContext?: string | undefined;
|
|
209
216
|
slackThreadTs?: string | undefined;
|
|
210
217
|
userName?: string | undefined;
|
|
211
|
-
dataSourceType?: "postgresql" | "mysql" | "sqlite" | "mariadb" | "mssql" | undefined;
|
|
212
218
|
databaseUrl?: string | undefined;
|
|
213
|
-
ignoreSSLErrors?: boolean | undefined;
|
|
214
|
-
injectedMetadata?: {
|
|
215
|
-
tables?: Record<string, Record<string, string>> | undefined;
|
|
216
|
-
tableNotes?: Record<string, string> | undefined;
|
|
217
|
-
rules?: string[] | undefined;
|
|
218
|
-
} | undefined;
|
|
219
219
|
maxQueries?: number | undefined;
|
|
220
220
|
}>;
|
|
221
221
|
static readonly resultSchema: z.ZodObject<{
|
|
@@ -234,20 +234,20 @@ export declare class SlackDataAssistantWorkflow extends WorkflowBubble<SlackData
|
|
|
234
234
|
wordCount: z.ZodOptional<z.ZodNumber>;
|
|
235
235
|
}, "strip", z.ZodTypeAny, {
|
|
236
236
|
executionTime: number;
|
|
237
|
-
wordCount?: number | undefined;
|
|
238
237
|
rowCount?: number | undefined;
|
|
238
|
+
wordCount?: number | undefined;
|
|
239
239
|
}, {
|
|
240
240
|
executionTime: number;
|
|
241
|
-
wordCount?: number | undefined;
|
|
242
241
|
rowCount?: number | undefined;
|
|
242
|
+
wordCount?: number | undefined;
|
|
243
243
|
}>>;
|
|
244
244
|
}, "strip", z.ZodTypeAny, {
|
|
245
|
-
error: string;
|
|
246
245
|
success: boolean;
|
|
246
|
+
error: string;
|
|
247
247
|
metadata?: {
|
|
248
248
|
executionTime: number;
|
|
249
|
-
wordCount?: number | undefined;
|
|
250
249
|
rowCount?: number | undefined;
|
|
250
|
+
wordCount?: number | undefined;
|
|
251
251
|
} | undefined;
|
|
252
252
|
query?: string | undefined;
|
|
253
253
|
queryExplanation?: string | undefined;
|
|
@@ -257,12 +257,12 @@ export declare class SlackDataAssistantWorkflow extends WorkflowBubble<SlackData
|
|
|
257
257
|
slackMessageTs?: string | undefined;
|
|
258
258
|
isDataQuestion?: boolean | undefined;
|
|
259
259
|
}, {
|
|
260
|
-
error: string;
|
|
261
260
|
success: boolean;
|
|
261
|
+
error: string;
|
|
262
262
|
metadata?: {
|
|
263
263
|
executionTime: number;
|
|
264
|
-
wordCount?: number | undefined;
|
|
265
264
|
rowCount?: number | undefined;
|
|
265
|
+
wordCount?: number | undefined;
|
|
266
266
|
} | undefined;
|
|
267
267
|
query?: string | undefined;
|
|
268
268
|
queryExplanation?: string | undefined;
|
|
@@ -61,12 +61,12 @@ declare const SlackFormatterAgentParamsSchema: z.ZodObject<{
|
|
|
61
61
|
additionalContext?: string | undefined;
|
|
62
62
|
}, {
|
|
63
63
|
message: string;
|
|
64
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
64
65
|
model?: {
|
|
65
66
|
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929" | undefined;
|
|
66
67
|
temperature?: number | undefined;
|
|
67
68
|
maxTokens?: number | undefined;
|
|
68
69
|
} | undefined;
|
|
69
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
70
70
|
tools?: {
|
|
71
71
|
name: string;
|
|
72
72
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -182,9 +182,9 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
182
182
|
verbatim?: boolean | undefined;
|
|
183
183
|
}[] | undefined;
|
|
184
184
|
alt_text?: string | undefined;
|
|
185
|
+
element?: unknown;
|
|
185
186
|
block_id?: string | undefined;
|
|
186
187
|
accessory?: unknown;
|
|
187
|
-
element?: unknown;
|
|
188
188
|
hint?: unknown;
|
|
189
189
|
}, {
|
|
190
190
|
type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions";
|
|
@@ -215,9 +215,9 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
215
215
|
verbatim?: boolean | undefined;
|
|
216
216
|
}[] | undefined;
|
|
217
217
|
alt_text?: string | undefined;
|
|
218
|
+
element?: unknown;
|
|
218
219
|
block_id?: string | undefined;
|
|
219
220
|
accessory?: unknown;
|
|
220
|
-
element?: unknown;
|
|
221
221
|
hint?: unknown;
|
|
222
222
|
}>, "many">>;
|
|
223
223
|
metadata: z.ZodObject<{
|
|
@@ -253,10 +253,10 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
253
253
|
error: z.ZodString;
|
|
254
254
|
success: z.ZodBoolean;
|
|
255
255
|
}, "strip", z.ZodTypeAny, {
|
|
256
|
+
success: boolean;
|
|
257
|
+
error: string;
|
|
256
258
|
response: string;
|
|
257
259
|
iterations: number;
|
|
258
|
-
error: string;
|
|
259
|
-
success: boolean;
|
|
260
260
|
metadata: {
|
|
261
261
|
verbosityLevel: string;
|
|
262
262
|
technicalityLevel: string;
|
|
@@ -297,16 +297,16 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
297
297
|
verbatim?: boolean | undefined;
|
|
298
298
|
}[] | undefined;
|
|
299
299
|
alt_text?: string | undefined;
|
|
300
|
+
element?: unknown;
|
|
300
301
|
block_id?: string | undefined;
|
|
301
302
|
accessory?: unknown;
|
|
302
|
-
element?: unknown;
|
|
303
303
|
hint?: unknown;
|
|
304
304
|
}[] | undefined;
|
|
305
305
|
}, {
|
|
306
|
+
success: boolean;
|
|
307
|
+
error: string;
|
|
306
308
|
response: string;
|
|
307
309
|
iterations: number;
|
|
308
|
-
error: string;
|
|
309
|
-
success: boolean;
|
|
310
310
|
metadata: {
|
|
311
311
|
verbosityLevel: string;
|
|
312
312
|
technicalityLevel: string;
|
|
@@ -347,9 +347,9 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
347
347
|
verbatim?: boolean | undefined;
|
|
348
348
|
}[] | undefined;
|
|
349
349
|
alt_text?: string | undefined;
|
|
350
|
+
element?: unknown;
|
|
350
351
|
block_id?: string | undefined;
|
|
351
352
|
accessory?: unknown;
|
|
352
|
-
element?: unknown;
|
|
353
353
|
hint?: unknown;
|
|
354
354
|
}[] | undefined;
|
|
355
355
|
}>;
|
|
@@ -419,12 +419,12 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
419
419
|
additionalContext?: string | undefined;
|
|
420
420
|
}, {
|
|
421
421
|
message: string;
|
|
422
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
422
423
|
model?: {
|
|
423
424
|
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929" | undefined;
|
|
424
425
|
temperature?: number | undefined;
|
|
425
426
|
maxTokens?: number | undefined;
|
|
426
427
|
} | undefined;
|
|
427
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
428
428
|
tools?: {
|
|
429
429
|
name: string;
|
|
430
430
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -540,9 +540,9 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
540
540
|
verbatim?: boolean | undefined;
|
|
541
541
|
}[] | undefined;
|
|
542
542
|
alt_text?: string | undefined;
|
|
543
|
+
element?: unknown;
|
|
543
544
|
block_id?: string | undefined;
|
|
544
545
|
accessory?: unknown;
|
|
545
|
-
element?: unknown;
|
|
546
546
|
hint?: unknown;
|
|
547
547
|
}, {
|
|
548
548
|
type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions";
|
|
@@ -573,9 +573,9 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
573
573
|
verbatim?: boolean | undefined;
|
|
574
574
|
}[] | undefined;
|
|
575
575
|
alt_text?: string | undefined;
|
|
576
|
+
element?: unknown;
|
|
576
577
|
block_id?: string | undefined;
|
|
577
578
|
accessory?: unknown;
|
|
578
|
-
element?: unknown;
|
|
579
579
|
hint?: unknown;
|
|
580
580
|
}>, "many">>;
|
|
581
581
|
metadata: z.ZodObject<{
|
|
@@ -611,10 +611,10 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
611
611
|
error: z.ZodString;
|
|
612
612
|
success: z.ZodBoolean;
|
|
613
613
|
}, "strip", z.ZodTypeAny, {
|
|
614
|
+
success: boolean;
|
|
615
|
+
error: string;
|
|
614
616
|
response: string;
|
|
615
617
|
iterations: number;
|
|
616
|
-
error: string;
|
|
617
|
-
success: boolean;
|
|
618
618
|
metadata: {
|
|
619
619
|
verbosityLevel: string;
|
|
620
620
|
technicalityLevel: string;
|
|
@@ -655,16 +655,16 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
655
655
|
verbatim?: boolean | undefined;
|
|
656
656
|
}[] | undefined;
|
|
657
657
|
alt_text?: string | undefined;
|
|
658
|
+
element?: unknown;
|
|
658
659
|
block_id?: string | undefined;
|
|
659
660
|
accessory?: unknown;
|
|
660
|
-
element?: unknown;
|
|
661
661
|
hint?: unknown;
|
|
662
662
|
}[] | undefined;
|
|
663
663
|
}, {
|
|
664
|
+
success: boolean;
|
|
665
|
+
error: string;
|
|
664
666
|
response: string;
|
|
665
667
|
iterations: number;
|
|
666
|
-
error: string;
|
|
667
|
-
success: boolean;
|
|
668
668
|
metadata: {
|
|
669
669
|
verbosityLevel: string;
|
|
670
670
|
technicalityLevel: string;
|
|
@@ -705,9 +705,9 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
705
705
|
verbatim?: boolean | undefined;
|
|
706
706
|
}[] | undefined;
|
|
707
707
|
alt_text?: string | undefined;
|
|
708
|
+
element?: unknown;
|
|
708
709
|
block_id?: string | undefined;
|
|
709
710
|
accessory?: unknown;
|
|
710
|
-
element?: unknown;
|
|
711
711
|
hint?: unknown;
|
|
712
712
|
}[] | undefined;
|
|
713
713
|
}>;
|
|
@@ -148,8 +148,8 @@ declare const SlackNotifierResultSchema: z.ZodObject<{
|
|
|
148
148
|
originalLength?: number | undefined;
|
|
149
149
|
}>>;
|
|
150
150
|
}, "strip", z.ZodTypeAny, {
|
|
151
|
-
error: string;
|
|
152
151
|
success: boolean;
|
|
152
|
+
error: string;
|
|
153
153
|
messageInfo?: {
|
|
154
154
|
messageTimestamp?: string | undefined;
|
|
155
155
|
channelId?: string | undefined;
|
|
@@ -163,8 +163,8 @@ declare const SlackNotifierResultSchema: z.ZodObject<{
|
|
|
163
163
|
originalLength?: number | undefined;
|
|
164
164
|
} | undefined;
|
|
165
165
|
}, {
|
|
166
|
-
error: string;
|
|
167
166
|
success: boolean;
|
|
167
|
+
error: string;
|
|
168
168
|
messageInfo?: {
|
|
169
169
|
messageTimestamp?: string | undefined;
|
|
170
170
|
channelId?: string | undefined;
|
|
@@ -344,8 +344,8 @@ export declare class SlackNotifierWorkflowBubble extends WorkflowBubble<SlackNot
|
|
|
344
344
|
originalLength?: number | undefined;
|
|
345
345
|
}>>;
|
|
346
346
|
}, "strip", z.ZodTypeAny, {
|
|
347
|
-
error: string;
|
|
348
347
|
success: boolean;
|
|
348
|
+
error: string;
|
|
349
349
|
messageInfo?: {
|
|
350
350
|
messageTimestamp?: string | undefined;
|
|
351
351
|
channelId?: string | undefined;
|
|
@@ -359,8 +359,8 @@ export declare class SlackNotifierWorkflowBubble extends WorkflowBubble<SlackNot
|
|
|
359
359
|
originalLength?: number | undefined;
|
|
360
360
|
} | undefined;
|
|
361
361
|
}, {
|
|
362
|
-
error: string;
|
|
363
362
|
success: boolean;
|
|
363
|
+
error: string;
|
|
364
364
|
messageInfo?: {
|
|
365
365
|
messageTimestamp?: string | undefined;
|
|
366
366
|
channelId?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bubblelab/bubble-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"resend": "^4.8.0",
|
|
40
40
|
"zod": "^3.24.1",
|
|
41
41
|
"zod-to-json-schema": "^3.24.6",
|
|
42
|
-
"@bubblelab/shared-schemas": "0.1.
|
|
42
|
+
"@bubblelab/shared-schemas": "0.1.8"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/node": "^20.12.12",
|