@bubblelab/bubble-core 0.1.60 → 0.1.61
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 +85 -85
- package/dist/bubbles/service-bubble/agi-inc.d.ts +148 -148
- package/dist/bubbles/service-bubble/ai-agent.d.ts +80 -80
- package/dist/bubbles/service-bubble/airtable.d.ts +214 -214
- package/dist/bubbles/service-bubble/apify/apify.d.ts +24 -24
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +84 -84
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +204 -77
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.js +103 -7
- package/dist/bubbles/service-bubble/browserbase/browserbase.js.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +349 -88
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js +79 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +138 -138
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +52 -52
- package/dist/bubbles/service-bubble/firecrawl.d.ts +862 -862
- package/dist/bubbles/service-bubble/followupboss.d.ts +270 -270
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +88 -88
- package/dist/bubbles/service-bubble/github.d.ts +268 -268
- package/dist/bubbles/service-bubble/gmail.d.ts +416 -416
- package/dist/bubbles/service-bubble/google-calendar.d.ts +162 -162
- package/dist/bubbles/service-bubble/google-drive.d.ts +128 -128
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +54 -54
- package/dist/bubbles/service-bubble/hello-world.d.ts +6 -6
- package/dist/bubbles/service-bubble/http.d.ts +12 -12
- package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
- package/dist/bubbles/service-bubble/jira/jira.d.ts +74 -74
- package/dist/bubbles/service-bubble/notion/notion.d.ts +1923 -1923
- package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
- package/dist/bubbles/service-bubble/resend.d.ts +44 -44
- package/dist/bubbles/service-bubble/slack/slack.d.ts +464 -464
- package/dist/bubbles/service-bubble/storage.d.ts +40 -40
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +141 -141
- package/dist/bubbles/service-bubble/telegram.d.ts +1600 -1600
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +29 -29
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +28 -28
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +20 -20
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +88 -88
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +334 -334
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +130 -130
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +80 -80
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +182 -182
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +22 -22
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +44 -44
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +114 -114
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +56 -56
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
- package/dist/bubbles.json +120 -2
- package/package.json +2 -2
|
@@ -54,9 +54,9 @@ declare const SlackFormatterAgentParamsSchema: z.ZodObject<{
|
|
|
54
54
|
maxIterations: number;
|
|
55
55
|
verbosity: "1" | "2" | "3" | "4" | "5";
|
|
56
56
|
technicality: "1" | "2" | "3" | "4" | "5";
|
|
57
|
-
includeBlockKit: boolean;
|
|
58
57
|
includeQuery: boolean;
|
|
59
58
|
includeExplanation: boolean;
|
|
59
|
+
includeBlockKit: boolean;
|
|
60
60
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
61
61
|
additionalContext?: string | undefined;
|
|
62
62
|
}, {
|
|
@@ -75,10 +75,10 @@ declare const SlackFormatterAgentParamsSchema: z.ZodObject<{
|
|
|
75
75
|
maxIterations?: number | undefined;
|
|
76
76
|
verbosity?: "1" | "2" | "3" | "4" | "5" | undefined;
|
|
77
77
|
technicality?: "1" | "2" | "3" | "4" | "5" | undefined;
|
|
78
|
-
includeBlockKit?: boolean | undefined;
|
|
79
78
|
includeQuery?: boolean | undefined;
|
|
80
79
|
includeExplanation?: boolean | undefined;
|
|
81
80
|
additionalContext?: string | undefined;
|
|
81
|
+
includeBlockKit?: boolean | undefined;
|
|
82
82
|
}>;
|
|
83
83
|
declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
84
84
|
response: z.ZodString;
|
|
@@ -166,14 +166,13 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
166
166
|
emoji?: boolean | undefined;
|
|
167
167
|
verbatim?: boolean | undefined;
|
|
168
168
|
} | undefined;
|
|
169
|
-
image_url?: string | undefined;
|
|
170
|
-
optional?: boolean | undefined;
|
|
171
169
|
fields?: {
|
|
172
170
|
type: "plain_text" | "mrkdwn";
|
|
173
171
|
text: string;
|
|
174
172
|
emoji?: boolean | undefined;
|
|
175
173
|
verbatim?: boolean | undefined;
|
|
176
174
|
}[] | undefined;
|
|
175
|
+
image_url?: string | undefined;
|
|
177
176
|
alt_text?: string | undefined;
|
|
178
177
|
elements?: {
|
|
179
178
|
type: "plain_text" | "mrkdwn";
|
|
@@ -181,10 +180,11 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
181
180
|
emoji?: boolean | undefined;
|
|
182
181
|
verbatim?: boolean | undefined;
|
|
183
182
|
}[] | undefined;
|
|
183
|
+
label?: unknown;
|
|
184
|
+
optional?: boolean | undefined;
|
|
185
|
+
element?: unknown;
|
|
184
186
|
block_id?: string | undefined;
|
|
185
187
|
accessory?: unknown;
|
|
186
|
-
element?: unknown;
|
|
187
|
-
label?: unknown;
|
|
188
188
|
hint?: unknown;
|
|
189
189
|
}, {
|
|
190
190
|
type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions";
|
|
@@ -199,14 +199,13 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
199
199
|
emoji?: boolean | undefined;
|
|
200
200
|
verbatim?: boolean | undefined;
|
|
201
201
|
} | undefined;
|
|
202
|
-
image_url?: string | undefined;
|
|
203
|
-
optional?: boolean | undefined;
|
|
204
202
|
fields?: {
|
|
205
203
|
type: "plain_text" | "mrkdwn";
|
|
206
204
|
text: string;
|
|
207
205
|
emoji?: boolean | undefined;
|
|
208
206
|
verbatim?: boolean | undefined;
|
|
209
207
|
}[] | undefined;
|
|
208
|
+
image_url?: string | undefined;
|
|
210
209
|
alt_text?: string | undefined;
|
|
211
210
|
elements?: {
|
|
212
211
|
type: "plain_text" | "mrkdwn";
|
|
@@ -214,10 +213,11 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
214
213
|
emoji?: boolean | undefined;
|
|
215
214
|
verbatim?: boolean | undefined;
|
|
216
215
|
}[] | undefined;
|
|
216
|
+
label?: unknown;
|
|
217
|
+
optional?: boolean | undefined;
|
|
218
|
+
element?: unknown;
|
|
217
219
|
block_id?: string | undefined;
|
|
218
220
|
accessory?: unknown;
|
|
219
|
-
element?: unknown;
|
|
220
|
-
label?: unknown;
|
|
221
221
|
hint?: unknown;
|
|
222
222
|
}>, "many">>;
|
|
223
223
|
metadata: z.ZodObject<{
|
|
@@ -226,14 +226,14 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
226
226
|
wordCount: z.ZodNumber;
|
|
227
227
|
blockCount: z.ZodOptional<z.ZodNumber>;
|
|
228
228
|
}, "strip", z.ZodTypeAny, {
|
|
229
|
+
wordCount: number;
|
|
229
230
|
verbosityLevel: string;
|
|
230
231
|
technicalityLevel: string;
|
|
231
|
-
wordCount: number;
|
|
232
232
|
blockCount?: number | undefined;
|
|
233
233
|
}, {
|
|
234
|
+
wordCount: number;
|
|
234
235
|
verbosityLevel: string;
|
|
235
236
|
technicalityLevel: string;
|
|
236
|
-
wordCount: number;
|
|
237
237
|
blockCount?: number | undefined;
|
|
238
238
|
}>;
|
|
239
239
|
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -253,16 +253,16 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
253
253
|
error: z.ZodString;
|
|
254
254
|
success: z.ZodBoolean;
|
|
255
255
|
}, "strip", z.ZodTypeAny, {
|
|
256
|
-
error: string;
|
|
257
256
|
success: boolean;
|
|
257
|
+
error: string;
|
|
258
|
+
response: string;
|
|
259
|
+
iterations: number;
|
|
258
260
|
metadata: {
|
|
261
|
+
wordCount: number;
|
|
259
262
|
verbosityLevel: string;
|
|
260
263
|
technicalityLevel: string;
|
|
261
|
-
wordCount: number;
|
|
262
264
|
blockCount?: number | undefined;
|
|
263
265
|
};
|
|
264
|
-
response: string;
|
|
265
|
-
iterations: number;
|
|
266
266
|
toolCalls?: {
|
|
267
267
|
tool: string;
|
|
268
268
|
input?: unknown;
|
|
@@ -281,14 +281,13 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
281
281
|
emoji?: boolean | undefined;
|
|
282
282
|
verbatim?: boolean | undefined;
|
|
283
283
|
} | undefined;
|
|
284
|
-
image_url?: string | undefined;
|
|
285
|
-
optional?: boolean | undefined;
|
|
286
284
|
fields?: {
|
|
287
285
|
type: "plain_text" | "mrkdwn";
|
|
288
286
|
text: string;
|
|
289
287
|
emoji?: boolean | undefined;
|
|
290
288
|
verbatim?: boolean | undefined;
|
|
291
289
|
}[] | undefined;
|
|
290
|
+
image_url?: string | undefined;
|
|
292
291
|
alt_text?: string | undefined;
|
|
293
292
|
elements?: {
|
|
294
293
|
type: "plain_text" | "mrkdwn";
|
|
@@ -296,23 +295,24 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
296
295
|
emoji?: boolean | undefined;
|
|
297
296
|
verbatim?: boolean | undefined;
|
|
298
297
|
}[] | undefined;
|
|
298
|
+
label?: unknown;
|
|
299
|
+
optional?: boolean | undefined;
|
|
300
|
+
element?: unknown;
|
|
299
301
|
block_id?: string | undefined;
|
|
300
302
|
accessory?: unknown;
|
|
301
|
-
element?: unknown;
|
|
302
|
-
label?: unknown;
|
|
303
303
|
hint?: unknown;
|
|
304
304
|
}[] | undefined;
|
|
305
305
|
}, {
|
|
306
|
-
error: string;
|
|
307
306
|
success: boolean;
|
|
307
|
+
error: string;
|
|
308
|
+
response: string;
|
|
309
|
+
iterations: number;
|
|
308
310
|
metadata: {
|
|
311
|
+
wordCount: number;
|
|
309
312
|
verbosityLevel: string;
|
|
310
313
|
technicalityLevel: string;
|
|
311
|
-
wordCount: number;
|
|
312
314
|
blockCount?: number | undefined;
|
|
313
315
|
};
|
|
314
|
-
response: string;
|
|
315
|
-
iterations: number;
|
|
316
316
|
toolCalls?: {
|
|
317
317
|
tool: string;
|
|
318
318
|
input?: unknown;
|
|
@@ -331,14 +331,13 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
331
331
|
emoji?: boolean | undefined;
|
|
332
332
|
verbatim?: boolean | undefined;
|
|
333
333
|
} | undefined;
|
|
334
|
-
image_url?: string | undefined;
|
|
335
|
-
optional?: boolean | undefined;
|
|
336
334
|
fields?: {
|
|
337
335
|
type: "plain_text" | "mrkdwn";
|
|
338
336
|
text: string;
|
|
339
337
|
emoji?: boolean | undefined;
|
|
340
338
|
verbatim?: boolean | undefined;
|
|
341
339
|
}[] | undefined;
|
|
340
|
+
image_url?: string | undefined;
|
|
342
341
|
alt_text?: string | undefined;
|
|
343
342
|
elements?: {
|
|
344
343
|
type: "plain_text" | "mrkdwn";
|
|
@@ -346,10 +345,11 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
346
345
|
emoji?: boolean | undefined;
|
|
347
346
|
verbatim?: boolean | undefined;
|
|
348
347
|
}[] | undefined;
|
|
348
|
+
label?: unknown;
|
|
349
|
+
optional?: boolean | undefined;
|
|
350
|
+
element?: unknown;
|
|
349
351
|
block_id?: string | undefined;
|
|
350
352
|
accessory?: unknown;
|
|
351
|
-
element?: unknown;
|
|
352
|
-
label?: unknown;
|
|
353
353
|
hint?: unknown;
|
|
354
354
|
}[] | undefined;
|
|
355
355
|
}>;
|
|
@@ -412,9 +412,9 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
412
412
|
maxIterations: number;
|
|
413
413
|
verbosity: "1" | "2" | "3" | "4" | "5";
|
|
414
414
|
technicality: "1" | "2" | "3" | "4" | "5";
|
|
415
|
-
includeBlockKit: boolean;
|
|
416
415
|
includeQuery: boolean;
|
|
417
416
|
includeExplanation: boolean;
|
|
417
|
+
includeBlockKit: boolean;
|
|
418
418
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
419
419
|
additionalContext?: string | undefined;
|
|
420
420
|
}, {
|
|
@@ -433,10 +433,10 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
433
433
|
maxIterations?: number | undefined;
|
|
434
434
|
verbosity?: "1" | "2" | "3" | "4" | "5" | undefined;
|
|
435
435
|
technicality?: "1" | "2" | "3" | "4" | "5" | undefined;
|
|
436
|
-
includeBlockKit?: boolean | undefined;
|
|
437
436
|
includeQuery?: boolean | undefined;
|
|
438
437
|
includeExplanation?: boolean | undefined;
|
|
439
438
|
additionalContext?: string | undefined;
|
|
439
|
+
includeBlockKit?: boolean | undefined;
|
|
440
440
|
}>;
|
|
441
441
|
static readonly resultSchema: z.ZodObject<{
|
|
442
442
|
response: z.ZodString;
|
|
@@ -524,14 +524,13 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
524
524
|
emoji?: boolean | undefined;
|
|
525
525
|
verbatim?: boolean | undefined;
|
|
526
526
|
} | undefined;
|
|
527
|
-
image_url?: string | undefined;
|
|
528
|
-
optional?: boolean | undefined;
|
|
529
527
|
fields?: {
|
|
530
528
|
type: "plain_text" | "mrkdwn";
|
|
531
529
|
text: string;
|
|
532
530
|
emoji?: boolean | undefined;
|
|
533
531
|
verbatim?: boolean | undefined;
|
|
534
532
|
}[] | undefined;
|
|
533
|
+
image_url?: string | undefined;
|
|
535
534
|
alt_text?: string | undefined;
|
|
536
535
|
elements?: {
|
|
537
536
|
type: "plain_text" | "mrkdwn";
|
|
@@ -539,10 +538,11 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
539
538
|
emoji?: boolean | undefined;
|
|
540
539
|
verbatim?: boolean | undefined;
|
|
541
540
|
}[] | undefined;
|
|
541
|
+
label?: unknown;
|
|
542
|
+
optional?: boolean | undefined;
|
|
543
|
+
element?: unknown;
|
|
542
544
|
block_id?: string | undefined;
|
|
543
545
|
accessory?: unknown;
|
|
544
|
-
element?: unknown;
|
|
545
|
-
label?: unknown;
|
|
546
546
|
hint?: unknown;
|
|
547
547
|
}, {
|
|
548
548
|
type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions";
|
|
@@ -557,14 +557,13 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
557
557
|
emoji?: boolean | undefined;
|
|
558
558
|
verbatim?: boolean | undefined;
|
|
559
559
|
} | undefined;
|
|
560
|
-
image_url?: string | undefined;
|
|
561
|
-
optional?: boolean | undefined;
|
|
562
560
|
fields?: {
|
|
563
561
|
type: "plain_text" | "mrkdwn";
|
|
564
562
|
text: string;
|
|
565
563
|
emoji?: boolean | undefined;
|
|
566
564
|
verbatim?: boolean | undefined;
|
|
567
565
|
}[] | undefined;
|
|
566
|
+
image_url?: string | undefined;
|
|
568
567
|
alt_text?: string | undefined;
|
|
569
568
|
elements?: {
|
|
570
569
|
type: "plain_text" | "mrkdwn";
|
|
@@ -572,10 +571,11 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
572
571
|
emoji?: boolean | undefined;
|
|
573
572
|
verbatim?: boolean | undefined;
|
|
574
573
|
}[] | undefined;
|
|
574
|
+
label?: unknown;
|
|
575
|
+
optional?: boolean | undefined;
|
|
576
|
+
element?: unknown;
|
|
575
577
|
block_id?: string | undefined;
|
|
576
578
|
accessory?: unknown;
|
|
577
|
-
element?: unknown;
|
|
578
|
-
label?: unknown;
|
|
579
579
|
hint?: unknown;
|
|
580
580
|
}>, "many">>;
|
|
581
581
|
metadata: z.ZodObject<{
|
|
@@ -584,14 +584,14 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
584
584
|
wordCount: z.ZodNumber;
|
|
585
585
|
blockCount: z.ZodOptional<z.ZodNumber>;
|
|
586
586
|
}, "strip", z.ZodTypeAny, {
|
|
587
|
+
wordCount: number;
|
|
587
588
|
verbosityLevel: string;
|
|
588
589
|
technicalityLevel: string;
|
|
589
|
-
wordCount: number;
|
|
590
590
|
blockCount?: number | undefined;
|
|
591
591
|
}, {
|
|
592
|
+
wordCount: number;
|
|
592
593
|
verbosityLevel: string;
|
|
593
594
|
technicalityLevel: string;
|
|
594
|
-
wordCount: number;
|
|
595
595
|
blockCount?: number | undefined;
|
|
596
596
|
}>;
|
|
597
597
|
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -611,16 +611,16 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
611
611
|
error: z.ZodString;
|
|
612
612
|
success: z.ZodBoolean;
|
|
613
613
|
}, "strip", z.ZodTypeAny, {
|
|
614
|
-
error: string;
|
|
615
614
|
success: boolean;
|
|
615
|
+
error: string;
|
|
616
|
+
response: string;
|
|
617
|
+
iterations: number;
|
|
616
618
|
metadata: {
|
|
619
|
+
wordCount: number;
|
|
617
620
|
verbosityLevel: string;
|
|
618
621
|
technicalityLevel: string;
|
|
619
|
-
wordCount: number;
|
|
620
622
|
blockCount?: number | undefined;
|
|
621
623
|
};
|
|
622
|
-
response: string;
|
|
623
|
-
iterations: number;
|
|
624
624
|
toolCalls?: {
|
|
625
625
|
tool: string;
|
|
626
626
|
input?: unknown;
|
|
@@ -639,14 +639,13 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
639
639
|
emoji?: boolean | undefined;
|
|
640
640
|
verbatim?: boolean | undefined;
|
|
641
641
|
} | undefined;
|
|
642
|
-
image_url?: string | undefined;
|
|
643
|
-
optional?: boolean | undefined;
|
|
644
642
|
fields?: {
|
|
645
643
|
type: "plain_text" | "mrkdwn";
|
|
646
644
|
text: string;
|
|
647
645
|
emoji?: boolean | undefined;
|
|
648
646
|
verbatim?: boolean | undefined;
|
|
649
647
|
}[] | undefined;
|
|
648
|
+
image_url?: string | undefined;
|
|
650
649
|
alt_text?: string | undefined;
|
|
651
650
|
elements?: {
|
|
652
651
|
type: "plain_text" | "mrkdwn";
|
|
@@ -654,23 +653,24 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
654
653
|
emoji?: boolean | undefined;
|
|
655
654
|
verbatim?: boolean | undefined;
|
|
656
655
|
}[] | undefined;
|
|
656
|
+
label?: unknown;
|
|
657
|
+
optional?: boolean | undefined;
|
|
658
|
+
element?: unknown;
|
|
657
659
|
block_id?: string | undefined;
|
|
658
660
|
accessory?: unknown;
|
|
659
|
-
element?: unknown;
|
|
660
|
-
label?: unknown;
|
|
661
661
|
hint?: unknown;
|
|
662
662
|
}[] | undefined;
|
|
663
663
|
}, {
|
|
664
|
-
error: string;
|
|
665
664
|
success: boolean;
|
|
665
|
+
error: string;
|
|
666
|
+
response: string;
|
|
667
|
+
iterations: number;
|
|
666
668
|
metadata: {
|
|
669
|
+
wordCount: number;
|
|
667
670
|
verbosityLevel: string;
|
|
668
671
|
technicalityLevel: string;
|
|
669
|
-
wordCount: number;
|
|
670
672
|
blockCount?: number | undefined;
|
|
671
673
|
};
|
|
672
|
-
response: string;
|
|
673
|
-
iterations: number;
|
|
674
674
|
toolCalls?: {
|
|
675
675
|
tool: string;
|
|
676
676
|
input?: unknown;
|
|
@@ -689,14 +689,13 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
689
689
|
emoji?: boolean | undefined;
|
|
690
690
|
verbatim?: boolean | undefined;
|
|
691
691
|
} | undefined;
|
|
692
|
-
image_url?: string | undefined;
|
|
693
|
-
optional?: boolean | undefined;
|
|
694
692
|
fields?: {
|
|
695
693
|
type: "plain_text" | "mrkdwn";
|
|
696
694
|
text: string;
|
|
697
695
|
emoji?: boolean | undefined;
|
|
698
696
|
verbatim?: boolean | undefined;
|
|
699
697
|
}[] | undefined;
|
|
698
|
+
image_url?: string | undefined;
|
|
700
699
|
alt_text?: string | undefined;
|
|
701
700
|
elements?: {
|
|
702
701
|
type: "plain_text" | "mrkdwn";
|
|
@@ -704,10 +703,11 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
704
703
|
emoji?: boolean | undefined;
|
|
705
704
|
verbatim?: boolean | undefined;
|
|
706
705
|
}[] | undefined;
|
|
706
|
+
label?: unknown;
|
|
707
|
+
optional?: boolean | undefined;
|
|
708
|
+
element?: unknown;
|
|
707
709
|
block_id?: string | undefined;
|
|
708
710
|
accessory?: unknown;
|
|
709
|
-
element?: unknown;
|
|
710
|
-
label?: unknown;
|
|
711
711
|
hint?: unknown;
|
|
712
712
|
}[] | undefined;
|
|
713
713
|
}>;
|
|
@@ -54,7 +54,7 @@ declare const SlackNotifierParamsSchema: z.ZodObject<{
|
|
|
54
54
|
}, "strip", z.ZodTypeAny, {
|
|
55
55
|
contentToFormat: string;
|
|
56
56
|
targetChannel: string;
|
|
57
|
-
messageStyle: "
|
|
57
|
+
messageStyle: "professional" | "casual" | "technical" | "concise" | "detailed";
|
|
58
58
|
includeFormatting: boolean;
|
|
59
59
|
maxMessageLength: number;
|
|
60
60
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -71,7 +71,7 @@ declare const SlackNotifierParamsSchema: z.ZodObject<{
|
|
|
71
71
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
72
72
|
originalUserQuery?: string | undefined;
|
|
73
73
|
messageTitle?: string | undefined;
|
|
74
|
-
messageStyle?: "
|
|
74
|
+
messageStyle?: "professional" | "casual" | "technical" | "concise" | "detailed" | undefined;
|
|
75
75
|
includeFormatting?: boolean | undefined;
|
|
76
76
|
maxMessageLength?: number | undefined;
|
|
77
77
|
aiModel?: {
|
|
@@ -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
|
channelName?: string | undefined;
|
|
155
155
|
messageTimestamp?: 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
|
channelName?: string | undefined;
|
|
170
170
|
messageTimestamp?: string | undefined;
|
|
@@ -252,7 +252,7 @@ export declare class SlackNotifierWorkflowBubble extends WorkflowBubble<SlackNot
|
|
|
252
252
|
}, "strip", z.ZodTypeAny, {
|
|
253
253
|
contentToFormat: string;
|
|
254
254
|
targetChannel: string;
|
|
255
|
-
messageStyle: "
|
|
255
|
+
messageStyle: "professional" | "casual" | "technical" | "concise" | "detailed";
|
|
256
256
|
includeFormatting: boolean;
|
|
257
257
|
maxMessageLength: number;
|
|
258
258
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -269,7 +269,7 @@ export declare class SlackNotifierWorkflowBubble extends WorkflowBubble<SlackNot
|
|
|
269
269
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
270
270
|
originalUserQuery?: string | undefined;
|
|
271
271
|
messageTitle?: string | undefined;
|
|
272
|
-
messageStyle?: "
|
|
272
|
+
messageStyle?: "professional" | "casual" | "technical" | "concise" | "detailed" | undefined;
|
|
273
273
|
includeFormatting?: boolean | undefined;
|
|
274
274
|
maxMessageLength?: number | undefined;
|
|
275
275
|
aiModel?: {
|
|
@@ -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
|
channelName?: string | undefined;
|
|
351
351
|
messageTimestamp?: 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
|
channelName?: string | undefined;
|
|
366
366
|
messageTimestamp?: string | undefined;
|
package/dist/bubbles.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "2.0.0",
|
|
3
|
-
"generatedAt": "2026-01-
|
|
3
|
+
"generatedAt": "2026-01-29T20:55:54.010Z",
|
|
4
4
|
"totalCount": 58,
|
|
5
5
|
"bubbles": [
|
|
6
6
|
{
|
|
@@ -48827,6 +48827,124 @@
|
|
|
48827
48827
|
"type": "string"
|
|
48828
48828
|
},
|
|
48829
48829
|
"description": "Credentials including AMAZON_CRED for browser session data"
|
|
48830
|
+
},
|
|
48831
|
+
"proxies": {
|
|
48832
|
+
"anyOf": [
|
|
48833
|
+
{
|
|
48834
|
+
"type": "boolean",
|
|
48835
|
+
"enum": [
|
|
48836
|
+
true
|
|
48837
|
+
]
|
|
48838
|
+
},
|
|
48839
|
+
{
|
|
48840
|
+
"type": "array",
|
|
48841
|
+
"items": {
|
|
48842
|
+
"anyOf": [
|
|
48843
|
+
{
|
|
48844
|
+
"type": "object",
|
|
48845
|
+
"properties": {
|
|
48846
|
+
"type": {
|
|
48847
|
+
"type": "string",
|
|
48848
|
+
"enum": [
|
|
48849
|
+
"browserbase"
|
|
48850
|
+
],
|
|
48851
|
+
"description": "Use BrowserBase built-in proxies"
|
|
48852
|
+
},
|
|
48853
|
+
"geolocation": {
|
|
48854
|
+
"type": "object",
|
|
48855
|
+
"properties": {
|
|
48856
|
+
"city": {
|
|
48857
|
+
"type": "string",
|
|
48858
|
+
"description": "City name (e.g., \"NEW_YORK\", \"LONDON\")"
|
|
48859
|
+
},
|
|
48860
|
+
"state": {
|
|
48861
|
+
"type": "string",
|
|
48862
|
+
"description": "State code for US locations (e.g., \"NY\", \"CA\")"
|
|
48863
|
+
},
|
|
48864
|
+
"country": {
|
|
48865
|
+
"type": "string",
|
|
48866
|
+
"description": "ISO 3166-1 alpha-2 country code (e.g., \"US\", \"GB\", \"JP\")"
|
|
48867
|
+
}
|
|
48868
|
+
},
|
|
48869
|
+
"required": [
|
|
48870
|
+
"country"
|
|
48871
|
+
],
|
|
48872
|
+
"additionalProperties": false,
|
|
48873
|
+
"description": "Proxy geolocation settings"
|
|
48874
|
+
},
|
|
48875
|
+
"domainPattern": {
|
|
48876
|
+
"type": "string",
|
|
48877
|
+
"description": "Regex pattern for domains to route through this proxy"
|
|
48878
|
+
}
|
|
48879
|
+
},
|
|
48880
|
+
"required": [
|
|
48881
|
+
"type"
|
|
48882
|
+
],
|
|
48883
|
+
"additionalProperties": false
|
|
48884
|
+
},
|
|
48885
|
+
{
|
|
48886
|
+
"type": "object",
|
|
48887
|
+
"properties": {
|
|
48888
|
+
"type": {
|
|
48889
|
+
"type": "string",
|
|
48890
|
+
"enum": [
|
|
48891
|
+
"external"
|
|
48892
|
+
],
|
|
48893
|
+
"description": "Use custom external proxy"
|
|
48894
|
+
},
|
|
48895
|
+
"server": {
|
|
48896
|
+
"type": "string",
|
|
48897
|
+
"description": "Proxy server URL (e.g., \"http://proxy.example.com:8080\")"
|
|
48898
|
+
},
|
|
48899
|
+
"username": {
|
|
48900
|
+
"type": "string",
|
|
48901
|
+
"description": "Proxy authentication username"
|
|
48902
|
+
},
|
|
48903
|
+
"password": {
|
|
48904
|
+
"type": "string",
|
|
48905
|
+
"description": "Proxy authentication password"
|
|
48906
|
+
},
|
|
48907
|
+
"domainPattern": {
|
|
48908
|
+
"type": "string",
|
|
48909
|
+
"description": "Regex pattern for domains to route through this proxy"
|
|
48910
|
+
}
|
|
48911
|
+
},
|
|
48912
|
+
"required": [
|
|
48913
|
+
"type",
|
|
48914
|
+
"server"
|
|
48915
|
+
],
|
|
48916
|
+
"additionalProperties": false
|
|
48917
|
+
}
|
|
48918
|
+
]
|
|
48919
|
+
}
|
|
48920
|
+
}
|
|
48921
|
+
],
|
|
48922
|
+
"description": "Proxy configuration: true for built-in proxies, or array of proxy configs with routing rules"
|
|
48923
|
+
},
|
|
48924
|
+
"stealth": {
|
|
48925
|
+
"type": "object",
|
|
48926
|
+
"properties": {
|
|
48927
|
+
"advancedStealth": {
|
|
48928
|
+
"type": "boolean",
|
|
48929
|
+
"default": false,
|
|
48930
|
+
"description": "Enable Advanced Stealth Mode with custom Chromium for better anti-bot avoidance (Scale Plan only)"
|
|
48931
|
+
},
|
|
48932
|
+
"solveCaptchas": {
|
|
48933
|
+
"type": "boolean",
|
|
48934
|
+
"default": true,
|
|
48935
|
+
"description": "Enable automatic CAPTCHA solving (enabled by default)"
|
|
48936
|
+
},
|
|
48937
|
+
"captchaImageSelector": {
|
|
48938
|
+
"type": "string",
|
|
48939
|
+
"description": "CSS selector for custom CAPTCHA image element"
|
|
48940
|
+
},
|
|
48941
|
+
"captchaInputSelector": {
|
|
48942
|
+
"type": "string",
|
|
48943
|
+
"description": "CSS selector for custom CAPTCHA input field"
|
|
48944
|
+
}
|
|
48945
|
+
},
|
|
48946
|
+
"additionalProperties": false,
|
|
48947
|
+
"description": "Stealth mode configuration for anti-bot avoidance and CAPTCHA solving"
|
|
48830
48948
|
}
|
|
48831
48949
|
},
|
|
48832
48950
|
"required": [
|
|
@@ -49560,7 +49678,7 @@
|
|
|
49560
49678
|
}
|
|
49561
49679
|
]
|
|
49562
49680
|
},
|
|
49563
|
-
"usageExample": "// Start Session example\nconst browserbase_start_session = new BrowserBaseBubble({\n operation: \"start_session\", // Create a new BrowserBase browser session\n context_id: \"example string\", // Existing context ID for session persistence\n cookies: [{ name: \"example string\" // Cookie name, value: \"example string\" // Cookie value, domain: \"example string\" // Cookie domain, path: \"example string\" // Cookie path, expires: 42 // Expiration timestamp, httpOnly: true // HTTP only flag, secure: true // Secure flag }], // Cookies to inject into the session\n viewport_width: 1280 // default, // Browser viewport width\n viewport_height: 900 // default, // Browser viewport height\n});\n\nconst result = await browserbase_start_session.action();\n// outputSchema for result.data when operation === 'start_session':\n// {\n// operation: \"start_session\",\n// success: boolean // Whether the operation was successful,\n// session_id: string | undefined // Created session ID,\n// context_id: string | undefined // Context ID for persistence,\n// debug_url: string | undefined // Debug URL for live viewing,\n// error: string // Error message if operation failed\n// }\n\n\n// Navigate example\nconst browserbase_navigate = new BrowserBaseBubble({\n operation: \"navigate\", // Navigate to a URL\n session_id: \"example string\", // Active browser session ID\n url: \"example string\", // URL to navigate to\n wait_until: \"load\" // options: \"load\", \"domcontentloaded\", \"networkidle0\", \"networkidle2\", // Wait condition for navigation\n timeout: 30000 // default, // Navigation timeout in milliseconds\n});\n\nconst result = await browserbase_navigate.action();\n// outputSchema for result.data when operation === 'navigate':\n// {\n// operation: \"navigate\",\n// success: boolean // Whether the operation was successful,\n// url: string | undefined // Final URL after navigation,\n// error: string // Error message if operation failed\n// }\n\n\n// Click example\nconst browserbase_click = new BrowserBaseBubble({\n operation: \"click\", // Click an element on the page\n session_id: \"example string\", // Active browser session ID\n selector: \"example string\", // CSS selector of element to click\n wait_for_navigation: false // default, // Wait for navigation after click\n timeout: 5000 // default, // Element wait timeout in milliseconds\n});\n\nconst result = await browserbase_click.action();\n// outputSchema for result.data when operation === 'click':\n// {\n// operation: \"click\",\n// success: boolean // Whether the operation was successful,\n// error: string // Error message if operation failed\n// }\n\n\n// Type example\nconst browserbase_type = new BrowserBaseBubble({\n operation: \"type\", // Type text into an input element\n session_id: \"example string\", // Active browser session ID\n selector: \"example string\", // CSS selector of input element\n text: \"example string\", // Text to type\n clear_first: false // default, // Clear the input before typing\n delay: 0 // default, // Delay between keystrokes in milliseconds\n});\n\nconst result = await browserbase_type.action();\n// outputSchema for result.data when operation === 'type':\n// {\n// operation: \"type\",\n// success: boolean // Whether the operation was successful,\n// error: string // Error message if operation failed\n// }\n\n\n// Evaluate example\nconst browserbase_evaluate = new BrowserBaseBubble({\n operation: \"evaluate\", // Execute JavaScript in page context\n session_id: \"example string\", // Active browser session ID\n script: \"example string\", // JavaScript code to execute (will be wrapped in a function)\n});\n\nconst result = await browserbase_evaluate.action();\n// outputSchema for result.data when operation === 'evaluate':\n// {\n// operation: \"evaluate\",\n// success: boolean // Whether the operation was successful,\n// result: unknown | undefined // Result of JavaScript execution,\n// error: string // Error message if operation failed\n// }\n\n\n// Get Content example\nconst browserbase_get_content = new BrowserBaseBubble({\n operation: \"get_content\", // Get page or element content\n session_id: \"example string\", // Active browser session ID\n selector: \"example string\", // CSS selector for specific element (optional, defaults to body)\n content_type: \"html\" // options: \"html\", \"text\", \"outer_html\", // Type of content to retrieve\n});\n\nconst result = await browserbase_get_content.action();\n// outputSchema for result.data when operation === 'get_content':\n// {\n// operation: \"get_content\",\n// success: boolean // Whether the operation was successful,\n// content: string | undefined // Retrieved content,\n// error: string // Error message if operation failed\n// }\n\n\n// Screenshot example\nconst browserbase_screenshot = new BrowserBaseBubble({\n operation: \"screenshot\", // Take a screenshot of the page\n session_id: \"example string\", // Active browser session ID\n selector: \"example string\", // CSS selector for specific element (optional, defaults to full page)\n full_page: false // default, // Capture full scrollable page\n format: \"png\" // options: \"png\", \"jpeg\", \"webp\", // Screenshot image format\n quality: 42, // Image quality for jpeg/webp (0-100)\n});\n\nconst result = await browserbase_screenshot.action();\n// outputSchema for result.data when operation === 'screenshot':\n// {\n// operation: \"screenshot\",\n// success: boolean // Whether the operation was successful,\n// data: string | undefined // Base64-encoded screenshot data,\n// format: string | undefined // Image format,\n// error: string // Error message if operation failed\n// }\n\n\n// Wait example\nconst browserbase_wait = new BrowserBaseBubble({\n operation: \"wait\", // Wait for a condition\n session_id: \"example string\", // Active browser session ID\n wait_type: \"selector\" // options: \"selector\", \"timeout\", \"navigation\", // Type of wait condition\n selector: \"example string\", // CSS selector to wait for (for selector wait_type)\n timeout: 5000 // default, // Wait timeout in milliseconds\n});\n\nconst result = await browserbase_wait.action();\n// outputSchema for result.data when operation === 'wait':\n// {\n// operation: \"wait\",\n// success: boolean // Whether the operation was successful,\n// error: string // Error message if operation failed\n// }\n\n\n// Get Cookies example\nconst browserbase_get_cookies = new BrowserBaseBubble({\n operation: \"get_cookies\", // Get cookies from the browser\n session_id: \"example string\", // Active browser session ID\n domain_filter: \"example string\", // Filter cookies by domain (partial match)\n});\n\nconst result = await browserbase_get_cookies.action();\n// outputSchema for result.data when operation === 'get_cookies':\n// {\n// operation: \"get_cookies\",\n// success: boolean // Whether the operation was successful,\n// cookies: { name: string // Cookie name, value: string // Cookie value, domain: string // Cookie domain, path: string // Cookie path, expires: number // Expiration timestamp, httpOnly: boolean // HTTP only flag, secure: boolean // Secure flag }[] | undefined // Retrieved cookies,\n// error: string // Error message if operation failed\n// }\n\n\n// End Session example\nconst browserbase_end_session = new BrowserBaseBubble({\n operation: \"end_session\", // Close browser session and release resources\n session_id: \"example string\", // Session ID to close\n});\n\nconst result = await browserbase_end_session.action();\n// outputSchema for result.data when operation === 'end_session':\n// {\n// operation: \"end_session\",\n// success: boolean // Whether the operation was successful,\n// error: string // Error message if operation failed\n// }\n\n\n// Always check success status before using data\nif (!result.success) {\n throw new Error(`browserbase failed: ${result.error}`);\n}\n\n// Access the actual data\nconst actualData = result.data;\nconsole.log(actualData);",
|
|
49681
|
+
"usageExample": "// Start Session example\nconst browserbase_start_session = new BrowserBaseBubble({\n operation: \"start_session\", // Create a new BrowserBase browser session\n context_id: \"example string\", // Existing context ID for session persistence\n cookies: [{ name: \"example string\" // Cookie name, value: \"example string\" // Cookie value, domain: \"example string\" // Cookie domain, path: \"example string\" // Cookie path, expires: 42 // Expiration timestamp, httpOnly: true // HTTP only flag, secure: true // Secure flag }], // Cookies to inject into the session\n viewport_width: 1280 // default, // Browser viewport width\n viewport_height: 900 // default, // Browser viewport height\n proxies: [{ type: \"browserbase\", geolocation: { city: \"example string\" // City name (e.g., \"NEW_YORK\", \"LONDON\"), state: \"example string\" // State code for US locations (e.g., \"NY\", \"CA\"), country: \"example string\" // ISO 3166-1 alpha-2 country code (e.g., \"US\", \"GB\", \"JP\") }, domainPattern: \"example string\" }], // Proxy configuration: true for built-in proxies, or array of proxy configs with routing rules\n stealth: { advancedStealth: false // default // Enable Advanced Stealth Mode with custom Chromium for better anti-bot avoidance (Scale Plan only), solveCaptchas: true // default // Enable automatic CAPTCHA solving (enabled by default), captchaImageSelector: \"example string\" // CSS selector for custom CAPTCHA image element, captchaInputSelector: \"example string\" // CSS selector for custom CAPTCHA input field }, // Stealth mode configuration for anti-bot avoidance and CAPTCHA solving\n});\n\nconst result = await browserbase_start_session.action();\n// outputSchema for result.data when operation === 'start_session':\n// {\n// operation: \"start_session\",\n// success: boolean // Whether the operation was successful,\n// session_id: string | undefined // Created session ID,\n// context_id: string | undefined // Context ID for persistence,\n// debug_url: string | undefined // Debug URL for live viewing,\n// error: string // Error message if operation failed\n// }\n\n\n// Navigate example\nconst browserbase_navigate = new BrowserBaseBubble({\n operation: \"navigate\", // Navigate to a URL\n session_id: \"example string\", // Active browser session ID\n url: \"example string\", // URL to navigate to\n wait_until: \"load\" // options: \"load\", \"domcontentloaded\", \"networkidle0\", \"networkidle2\", // Wait condition for navigation\n timeout: 30000 // default, // Navigation timeout in milliseconds\n});\n\nconst result = await browserbase_navigate.action();\n// outputSchema for result.data when operation === 'navigate':\n// {\n// operation: \"navigate\",\n// success: boolean // Whether the operation was successful,\n// url: string | undefined // Final URL after navigation,\n// error: string // Error message if operation failed\n// }\n\n\n// Click example\nconst browserbase_click = new BrowserBaseBubble({\n operation: \"click\", // Click an element on the page\n session_id: \"example string\", // Active browser session ID\n selector: \"example string\", // CSS selector of element to click\n wait_for_navigation: false // default, // Wait for navigation after click\n timeout: 5000 // default, // Element wait timeout in milliseconds\n});\n\nconst result = await browserbase_click.action();\n// outputSchema for result.data when operation === 'click':\n// {\n// operation: \"click\",\n// success: boolean // Whether the operation was successful,\n// error: string // Error message if operation failed\n// }\n\n\n// Type example\nconst browserbase_type = new BrowserBaseBubble({\n operation: \"type\", // Type text into an input element\n session_id: \"example string\", // Active browser session ID\n selector: \"example string\", // CSS selector of input element\n text: \"example string\", // Text to type\n clear_first: false // default, // Clear the input before typing\n delay: 0 // default, // Delay between keystrokes in milliseconds\n});\n\nconst result = await browserbase_type.action();\n// outputSchema for result.data when operation === 'type':\n// {\n// operation: \"type\",\n// success: boolean // Whether the operation was successful,\n// error: string // Error message if operation failed\n// }\n\n\n// Evaluate example\nconst browserbase_evaluate = new BrowserBaseBubble({\n operation: \"evaluate\", // Execute JavaScript in page context\n session_id: \"example string\", // Active browser session ID\n script: \"example string\", // JavaScript code to execute (will be wrapped in a function)\n});\n\nconst result = await browserbase_evaluate.action();\n// outputSchema for result.data when operation === 'evaluate':\n// {\n// operation: \"evaluate\",\n// success: boolean // Whether the operation was successful,\n// result: unknown | undefined // Result of JavaScript execution,\n// error: string // Error message if operation failed\n// }\n\n\n// Get Content example\nconst browserbase_get_content = new BrowserBaseBubble({\n operation: \"get_content\", // Get page or element content\n session_id: \"example string\", // Active browser session ID\n selector: \"example string\", // CSS selector for specific element (optional, defaults to body)\n content_type: \"html\" // options: \"html\", \"text\", \"outer_html\", // Type of content to retrieve\n});\n\nconst result = await browserbase_get_content.action();\n// outputSchema for result.data when operation === 'get_content':\n// {\n// operation: \"get_content\",\n// success: boolean // Whether the operation was successful,\n// content: string | undefined // Retrieved content,\n// error: string // Error message if operation failed\n// }\n\n\n// Screenshot example\nconst browserbase_screenshot = new BrowserBaseBubble({\n operation: \"screenshot\", // Take a screenshot of the page\n session_id: \"example string\", // Active browser session ID\n selector: \"example string\", // CSS selector for specific element (optional, defaults to full page)\n full_page: false // default, // Capture full scrollable page\n format: \"png\" // options: \"png\", \"jpeg\", \"webp\", // Screenshot image format\n quality: 42, // Image quality for jpeg/webp (0-100)\n});\n\nconst result = await browserbase_screenshot.action();\n// outputSchema for result.data when operation === 'screenshot':\n// {\n// operation: \"screenshot\",\n// success: boolean // Whether the operation was successful,\n// data: string | undefined // Base64-encoded screenshot data,\n// format: string | undefined // Image format,\n// error: string // Error message if operation failed\n// }\n\n\n// Wait example\nconst browserbase_wait = new BrowserBaseBubble({\n operation: \"wait\", // Wait for a condition\n session_id: \"example string\", // Active browser session ID\n wait_type: \"selector\" // options: \"selector\", \"timeout\", \"navigation\", // Type of wait condition\n selector: \"example string\", // CSS selector to wait for (for selector wait_type)\n timeout: 5000 // default, // Wait timeout in milliseconds\n});\n\nconst result = await browserbase_wait.action();\n// outputSchema for result.data when operation === 'wait':\n// {\n// operation: \"wait\",\n// success: boolean // Whether the operation was successful,\n// error: string // Error message if operation failed\n// }\n\n\n// Get Cookies example\nconst browserbase_get_cookies = new BrowserBaseBubble({\n operation: \"get_cookies\", // Get cookies from the browser\n session_id: \"example string\", // Active browser session ID\n domain_filter: \"example string\", // Filter cookies by domain (partial match)\n});\n\nconst result = await browserbase_get_cookies.action();\n// outputSchema for result.data when operation === 'get_cookies':\n// {\n// operation: \"get_cookies\",\n// success: boolean // Whether the operation was successful,\n// cookies: { name: string // Cookie name, value: string // Cookie value, domain: string // Cookie domain, path: string // Cookie path, expires: number // Expiration timestamp, httpOnly: boolean // HTTP only flag, secure: boolean // Secure flag }[] | undefined // Retrieved cookies,\n// error: string // Error message if operation failed\n// }\n\n\n// End Session example\nconst browserbase_end_session = new BrowserBaseBubble({\n operation: \"end_session\", // Close browser session and release resources\n session_id: \"example string\", // Session ID to close\n});\n\nconst result = await browserbase_end_session.action();\n// outputSchema for result.data when operation === 'end_session':\n// {\n// operation: \"end_session\",\n// success: boolean // Whether the operation was successful,\n// error: string // Error message if operation failed\n// }\n\n\n// Always check success status before using data\nif (!result.success) {\n throw new Error(`browserbase failed: ${result.error}`);\n}\n\n// Access the actual data\nconst actualData = result.data;\nconsole.log(actualData);",
|
|
49564
49682
|
"requiredCredentials": [
|
|
49565
49683
|
"AMAZON_CRED",
|
|
49566
49684
|
"CLOUDFLARE_R2_ACCESS_KEY",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bubblelab/bubble-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.61",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"puppeteer-core": "^24.10.0",
|
|
41
41
|
"resend": "^4.8.0",
|
|
42
42
|
"zod": "^3.24.1",
|
|
43
|
-
"@bubblelab/shared-schemas": "0.1.
|
|
43
|
+
"@bubblelab/shared-schemas": "0.1.62"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"zod-to-json-schema": "^3.24.6",
|