@bubblelab/bubble-core 0.1.60 → 0.1.62

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.
Files changed (69) hide show
  1. package/dist/bubble-bundle.d.ts +85 -85
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +148 -148
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +80 -80
  4. package/dist/bubbles/service-bubble/airtable.d.ts +214 -214
  5. package/dist/bubbles/service-bubble/apify/apify.d.ts +24 -24
  6. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +84 -84
  7. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +204 -77
  8. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts.map +1 -1
  9. package/dist/bubbles/service-bubble/browserbase/browserbase.js +103 -7
  10. package/dist/bubbles/service-bubble/browserbase/browserbase.js.map +1 -1
  11. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +349 -88
  12. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts.map +1 -1
  13. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js +79 -0
  14. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.js.map +1 -1
  15. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +138 -138
  16. package/dist/bubbles/service-bubble/eleven-labs.d.ts +52 -52
  17. package/dist/bubbles/service-bubble/firecrawl.d.ts +862 -862
  18. package/dist/bubbles/service-bubble/followupboss.d.ts +270 -270
  19. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +88 -88
  20. package/dist/bubbles/service-bubble/github.d.ts +268 -268
  21. package/dist/bubbles/service-bubble/gmail.d.ts +416 -416
  22. package/dist/bubbles/service-bubble/google-calendar.d.ts +162 -162
  23. package/dist/bubbles/service-bubble/google-drive.d.ts +128 -128
  24. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +54 -54
  25. package/dist/bubbles/service-bubble/hello-world.d.ts +6 -6
  26. package/dist/bubbles/service-bubble/http.d.ts +12 -12
  27. package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
  28. package/dist/bubbles/service-bubble/jira/jira.d.ts +74 -74
  29. package/dist/bubbles/service-bubble/notion/notion.d.ts +1923 -1923
  30. package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
  31. package/dist/bubbles/service-bubble/resend.d.ts +44 -44
  32. package/dist/bubbles/service-bubble/slack/slack.d.ts +464 -464
  33. package/dist/bubbles/service-bubble/storage.d.ts +40 -40
  34. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +141 -141
  35. package/dist/bubbles/service-bubble/telegram.d.ts +1600 -1600
  36. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +29 -29
  37. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +28 -28
  38. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +20 -20
  39. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +8 -8
  40. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +88 -88
  41. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  42. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  43. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +8 -8
  44. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +18 -18
  45. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +4 -4
  46. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +334 -334
  47. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +12 -12
  48. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +130 -130
  49. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +24 -24
  50. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  51. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +12 -12
  52. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +80 -80
  53. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  54. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +182 -182
  55. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +22 -22
  56. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  57. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  58. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
  59. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +32 -32
  60. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  61. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +44 -44
  62. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
  63. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +114 -114
  64. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
  65. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +32 -32
  66. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +56 -56
  67. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
  68. package/dist/bubbles.json +120 -2
  69. package/package.json +2 -2
@@ -27,6 +27,19 @@ interface ActiveSession {
27
27
  * - Cookie injection for authenticated sessions
28
28
  * - Full page automation (click, type, evaluate)
29
29
  * - Screenshot and content extraction
30
+ * - Stealth mode for anti-bot avoidance
31
+ * - Automatic CAPTCHA solving
32
+ * - Proxy support (built-in and custom)
33
+ *
34
+ * Stealth Mode:
35
+ * - Basic Stealth: Automatic fingerprint randomization
36
+ * - Advanced Stealth: Custom Chromium for better anti-bot avoidance (Scale Plan)
37
+ * - CAPTCHA Solving: Automatic detection and solving (enabled by default)
38
+ *
39
+ * Proxy Options:
40
+ * - Built-in proxies: Residential proxies with geolocation support
41
+ * - Custom proxies: Use your own HTTP/HTTPS proxies
42
+ * - Routing rules: Route different domains through different proxies
30
43
  *
31
44
  * Use cases:
32
45
  * - Automated shopping workflows (Amazon, etc.)
@@ -58,18 +71,18 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
58
71
  httpOnly: import("zod").ZodBoolean;
59
72
  secure: import("zod").ZodBoolean;
60
73
  }, "strip", import("zod").ZodTypeAny, {
61
- value: string;
62
- path: string;
63
74
  name: string;
75
+ value: string;
64
76
  domain: string;
77
+ path: string;
65
78
  expires: number;
66
79
  httpOnly: boolean;
67
80
  secure: boolean;
68
81
  }, {
69
- value: string;
70
- path: string;
71
82
  name: string;
83
+ value: string;
72
84
  domain: string;
85
+ path: string;
73
86
  expires: number;
74
87
  httpOnly: boolean;
75
88
  secure: boolean;
@@ -77,29 +90,116 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
77
90
  viewport_width: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
78
91
  viewport_height: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
79
92
  credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
93
+ proxies: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<true>, import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
94
+ type: import("zod").ZodLiteral<"browserbase">;
95
+ geolocation: import("zod").ZodOptional<import("zod").ZodObject<{
96
+ city: import("zod").ZodOptional<import("zod").ZodString>;
97
+ state: import("zod").ZodOptional<import("zod").ZodString>;
98
+ country: import("zod").ZodString;
99
+ }, "strip", import("zod").ZodTypeAny, {
100
+ country: string;
101
+ city?: string | undefined;
102
+ state?: string | undefined;
103
+ }, {
104
+ country: string;
105
+ city?: string | undefined;
106
+ state?: string | undefined;
107
+ }>>;
108
+ domainPattern: import("zod").ZodOptional<import("zod").ZodString>;
109
+ }, "strip", import("zod").ZodTypeAny, {
110
+ type: "browserbase";
111
+ geolocation?: {
112
+ country: string;
113
+ city?: string | undefined;
114
+ state?: string | undefined;
115
+ } | undefined;
116
+ domainPattern?: string | undefined;
117
+ }, {
118
+ type: "browserbase";
119
+ geolocation?: {
120
+ country: string;
121
+ city?: string | undefined;
122
+ state?: string | undefined;
123
+ } | undefined;
124
+ domainPattern?: string | undefined;
125
+ }>, import("zod").ZodObject<{
126
+ type: import("zod").ZodLiteral<"external">;
127
+ server: import("zod").ZodString;
128
+ username: import("zod").ZodOptional<import("zod").ZodString>;
129
+ password: import("zod").ZodOptional<import("zod").ZodString>;
130
+ domainPattern: import("zod").ZodOptional<import("zod").ZodString>;
131
+ }, "strip", import("zod").ZodTypeAny, {
132
+ type: "external";
133
+ server: string;
134
+ password?: string | undefined;
135
+ domainPattern?: string | undefined;
136
+ username?: string | undefined;
137
+ }, {
138
+ type: "external";
139
+ server: string;
140
+ password?: string | undefined;
141
+ domainPattern?: string | undefined;
142
+ username?: string | undefined;
143
+ }>]>, "many">]>>;
144
+ stealth: import("zod").ZodOptional<import("zod").ZodObject<{
145
+ advancedStealth: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
146
+ solveCaptchas: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
147
+ captchaImageSelector: import("zod").ZodOptional<import("zod").ZodString>;
148
+ captchaInputSelector: import("zod").ZodOptional<import("zod").ZodString>;
149
+ }, "strip", import("zod").ZodTypeAny, {
150
+ advancedStealth: boolean;
151
+ solveCaptchas: boolean;
152
+ captchaImageSelector?: string | undefined;
153
+ captchaInputSelector?: string | undefined;
154
+ }, {
155
+ advancedStealth?: boolean | undefined;
156
+ solveCaptchas?: boolean | undefined;
157
+ captchaImageSelector?: string | undefined;
158
+ captchaInputSelector?: string | undefined;
159
+ }>>;
80
160
  }, "strip", import("zod").ZodTypeAny, {
81
161
  operation: "start_session";
82
162
  viewport_width: number;
83
163
  viewport_height: number;
84
- credentials?: Partial<Record<CredentialType, string>> | undefined;
85
164
  cookies?: {
86
- value: string;
87
- path: string;
88
165
  name: string;
166
+ value: string;
89
167
  domain: string;
168
+ path: string;
90
169
  expires: number;
91
170
  httpOnly: boolean;
92
171
  secure: boolean;
93
172
  }[] | undefined;
94
173
  context_id?: string | undefined;
174
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
175
+ proxies?: true | ({
176
+ type: "browserbase";
177
+ geolocation?: {
178
+ country: string;
179
+ city?: string | undefined;
180
+ state?: string | undefined;
181
+ } | undefined;
182
+ domainPattern?: string | undefined;
183
+ } | {
184
+ type: "external";
185
+ server: string;
186
+ password?: string | undefined;
187
+ domainPattern?: string | undefined;
188
+ username?: string | undefined;
189
+ })[] | undefined;
190
+ stealth?: {
191
+ advancedStealth: boolean;
192
+ solveCaptchas: boolean;
193
+ captchaImageSelector?: string | undefined;
194
+ captchaInputSelector?: string | undefined;
195
+ } | undefined;
95
196
  }, {
96
197
  operation: "start_session";
97
- credentials?: Partial<Record<CredentialType, string>> | undefined;
98
198
  cookies?: {
99
- value: string;
100
- path: string;
101
199
  name: string;
200
+ value: string;
102
201
  domain: string;
202
+ path: string;
103
203
  expires: number;
104
204
  httpOnly: boolean;
105
205
  secure: boolean;
@@ -107,6 +207,28 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
107
207
  context_id?: string | undefined;
108
208
  viewport_width?: number | undefined;
109
209
  viewport_height?: number | undefined;
210
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
211
+ proxies?: true | ({
212
+ type: "browserbase";
213
+ geolocation?: {
214
+ country: string;
215
+ city?: string | undefined;
216
+ state?: string | undefined;
217
+ } | undefined;
218
+ domainPattern?: string | undefined;
219
+ } | {
220
+ type: "external";
221
+ server: string;
222
+ password?: string | undefined;
223
+ domainPattern?: string | undefined;
224
+ username?: string | undefined;
225
+ })[] | undefined;
226
+ stealth?: {
227
+ advancedStealth?: boolean | undefined;
228
+ solveCaptchas?: boolean | undefined;
229
+ captchaImageSelector?: string | undefined;
230
+ captchaInputSelector?: string | undefined;
231
+ } | undefined;
110
232
  }>, import("zod").ZodObject<{
111
233
  operation: import("zod").ZodLiteral<"navigate">;
112
234
  session_id: import("zod").ZodString;
@@ -115,19 +237,19 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
115
237
  timeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
116
238
  credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
117
239
  }, "strip", import("zod").ZodTypeAny, {
118
- url: string;
119
- timeout: number;
120
240
  operation: "navigate";
241
+ url: string;
121
242
  session_id: string;
122
243
  wait_until: "load" | "domcontentloaded" | "networkidle0" | "networkidle2";
244
+ timeout: number;
123
245
  credentials?: Partial<Record<CredentialType, string>> | undefined;
124
246
  }, {
125
- url: string;
126
247
  operation: "navigate";
248
+ url: string;
127
249
  session_id: string;
128
250
  credentials?: Partial<Record<CredentialType, string>> | undefined;
129
- timeout?: number | undefined;
130
251
  wait_until?: "load" | "domcontentloaded" | "networkidle0" | "networkidle2" | undefined;
252
+ timeout?: number | undefined;
131
253
  }>, import("zod").ZodObject<{
132
254
  operation: import("zod").ZodLiteral<"click">;
133
255
  session_id: import("zod").ZodString;
@@ -136,9 +258,9 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
136
258
  timeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
137
259
  credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
138
260
  }, "strip", import("zod").ZodTypeAny, {
139
- timeout: number;
140
261
  operation: "click";
141
262
  session_id: string;
263
+ timeout: number;
142
264
  selector: string;
143
265
  wait_for_navigation: boolean;
144
266
  credentials?: Partial<Record<CredentialType, string>> | undefined;
@@ -158,35 +280,35 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
158
280
  delay: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
159
281
  credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
160
282
  }, "strip", import("zod").ZodTypeAny, {
161
- text: string;
162
283
  operation: "type";
163
284
  session_id: string;
164
285
  selector: string;
165
- delay: number;
286
+ text: string;
166
287
  clear_first: boolean;
288
+ delay: number;
167
289
  credentials?: Partial<Record<CredentialType, string>> | undefined;
168
290
  }, {
169
- text: string;
170
291
  operation: "type";
171
292
  session_id: string;
172
293
  selector: string;
294
+ text: string;
173
295
  credentials?: Partial<Record<CredentialType, string>> | undefined;
174
- delay?: number | undefined;
175
296
  clear_first?: boolean | undefined;
297
+ delay?: number | undefined;
176
298
  }>, import("zod").ZodObject<{
177
299
  operation: import("zod").ZodLiteral<"evaluate">;
178
300
  session_id: import("zod").ZodString;
179
301
  script: import("zod").ZodString;
180
302
  credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
181
303
  }, "strip", import("zod").ZodTypeAny, {
182
- script: string;
183
304
  operation: "evaluate";
184
305
  session_id: string;
306
+ script: string;
185
307
  credentials?: Partial<Record<CredentialType, string>> | undefined;
186
308
  }, {
187
- script: string;
188
309
  operation: "evaluate";
189
310
  session_id: string;
311
+ script: string;
190
312
  credentials?: Partial<Record<CredentialType, string>> | undefined;
191
313
  }>, import("zod").ZodObject<{
192
314
  operation: import("zod").ZodLiteral<"get_content">;
@@ -196,16 +318,16 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
196
318
  credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
197
319
  }, "strip", import("zod").ZodTypeAny, {
198
320
  operation: "get_content";
199
- content_type: "text" | "html" | "outer_html";
200
321
  session_id: string;
322
+ content_type: "text" | "html" | "outer_html";
201
323
  credentials?: Partial<Record<CredentialType, string>> | undefined;
202
324
  selector?: string | undefined;
203
325
  }, {
204
326
  operation: "get_content";
205
327
  session_id: string;
206
328
  credentials?: Partial<Record<CredentialType, string>> | undefined;
207
- content_type?: "text" | "html" | "outer_html" | undefined;
208
329
  selector?: string | undefined;
330
+ content_type?: "text" | "html" | "outer_html" | undefined;
209
331
  }>, import("zod").ZodObject<{
210
332
  operation: import("zod").ZodLiteral<"screenshot">;
211
333
  session_id: import("zod").ZodString;
@@ -220,16 +342,16 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
220
342
  session_id: string;
221
343
  full_page: boolean;
222
344
  credentials?: Partial<Record<CredentialType, string>> | undefined;
223
- quality?: number | undefined;
224
345
  selector?: string | undefined;
346
+ quality?: number | undefined;
225
347
  }, {
226
348
  operation: "screenshot";
227
349
  session_id: string;
228
350
  format?: "png" | "jpeg" | "webp" | undefined;
229
351
  credentials?: Partial<Record<CredentialType, string>> | undefined;
230
- quality?: number | undefined;
231
352
  selector?: string | undefined;
232
353
  full_page?: boolean | undefined;
354
+ quality?: number | undefined;
233
355
  }>, import("zod").ZodObject<{
234
356
  operation: import("zod").ZodLiteral<"wait">;
235
357
  session_id: import("zod").ZodString;
@@ -238,9 +360,9 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
238
360
  timeout: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
239
361
  credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
240
362
  }, "strip", import("zod").ZodTypeAny, {
241
- timeout: number;
242
363
  operation: "wait";
243
364
  session_id: string;
365
+ timeout: number;
244
366
  wait_type: "timeout" | "selector" | "navigation";
245
367
  credentials?: Partial<Record<CredentialType, string>> | undefined;
246
368
  selector?: string | undefined;
@@ -287,18 +409,18 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
287
409
  debug_url: import("zod").ZodOptional<import("zod").ZodString>;
288
410
  error: import("zod").ZodString;
289
411
  }, "strip", import("zod").ZodTypeAny, {
290
- error: string;
291
- success: boolean;
292
412
  operation: "start_session";
293
- session_id?: string | undefined;
413
+ success: boolean;
414
+ error: string;
294
415
  context_id?: string | undefined;
416
+ session_id?: string | undefined;
295
417
  debug_url?: string | undefined;
296
418
  }, {
297
- error: string;
298
- success: boolean;
299
419
  operation: "start_session";
300
- session_id?: string | undefined;
420
+ success: boolean;
421
+ error: string;
301
422
  context_id?: string | undefined;
423
+ session_id?: string | undefined;
302
424
  debug_url?: string | undefined;
303
425
  }>, import("zod").ZodObject<{
304
426
  operation: import("zod").ZodLiteral<"navigate">;
@@ -306,53 +428,53 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
306
428
  url: import("zod").ZodOptional<import("zod").ZodString>;
307
429
  error: import("zod").ZodString;
308
430
  }, "strip", import("zod").ZodTypeAny, {
309
- error: string;
310
- success: boolean;
311
431
  operation: "navigate";
432
+ success: boolean;
433
+ error: string;
312
434
  url?: string | undefined;
313
435
  }, {
314
- error: string;
315
- success: boolean;
316
436
  operation: "navigate";
437
+ success: boolean;
438
+ error: string;
317
439
  url?: string | undefined;
318
440
  }>, import("zod").ZodObject<{
319
441
  operation: import("zod").ZodLiteral<"click">;
320
442
  success: import("zod").ZodBoolean;
321
443
  error: import("zod").ZodString;
322
444
  }, "strip", import("zod").ZodTypeAny, {
323
- error: string;
324
- success: boolean;
325
445
  operation: "click";
326
- }, {
327
- error: string;
328
446
  success: boolean;
447
+ error: string;
448
+ }, {
329
449
  operation: "click";
450
+ success: boolean;
451
+ error: string;
330
452
  }>, import("zod").ZodObject<{
331
453
  operation: import("zod").ZodLiteral<"type">;
332
454
  success: import("zod").ZodBoolean;
333
455
  error: import("zod").ZodString;
334
456
  }, "strip", import("zod").ZodTypeAny, {
335
- error: string;
336
- success: boolean;
337
457
  operation: "type";
338
- }, {
339
- error: string;
340
458
  success: boolean;
459
+ error: string;
460
+ }, {
341
461
  operation: "type";
462
+ success: boolean;
463
+ error: string;
342
464
  }>, import("zod").ZodObject<{
343
465
  operation: import("zod").ZodLiteral<"evaluate">;
344
466
  success: import("zod").ZodBoolean;
345
467
  result: import("zod").ZodOptional<import("zod").ZodUnknown>;
346
468
  error: import("zod").ZodString;
347
469
  }, "strip", import("zod").ZodTypeAny, {
348
- error: string;
349
- success: boolean;
350
470
  operation: "evaluate";
471
+ success: boolean;
472
+ error: string;
351
473
  result?: unknown;
352
474
  }, {
353
- error: string;
354
- success: boolean;
355
475
  operation: "evaluate";
476
+ success: boolean;
477
+ error: string;
356
478
  result?: unknown;
357
479
  }>, import("zod").ZodObject<{
358
480
  operation: import("zod").ZodLiteral<"get_content">;
@@ -360,14 +482,14 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
360
482
  content: import("zod").ZodOptional<import("zod").ZodString>;
361
483
  error: import("zod").ZodString;
362
484
  }, "strip", import("zod").ZodTypeAny, {
363
- error: string;
364
- success: boolean;
365
485
  operation: "get_content";
486
+ success: boolean;
487
+ error: string;
366
488
  content?: string | undefined;
367
489
  }, {
368
- error: string;
369
- success: boolean;
370
490
  operation: "get_content";
491
+ success: boolean;
492
+ error: string;
371
493
  content?: string | undefined;
372
494
  }>, import("zod").ZodObject<{
373
495
  operation: import("zod").ZodLiteral<"screenshot">;
@@ -376,15 +498,15 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
376
498
  format: import("zod").ZodOptional<import("zod").ZodString>;
377
499
  error: import("zod").ZodString;
378
500
  }, "strip", import("zod").ZodTypeAny, {
379
- error: string;
380
- success: boolean;
381
501
  operation: "screenshot";
502
+ success: boolean;
503
+ error: string;
382
504
  format?: string | undefined;
383
505
  data?: string | undefined;
384
506
  }, {
385
- error: string;
386
- success: boolean;
387
507
  operation: "screenshot";
508
+ success: boolean;
509
+ error: string;
388
510
  format?: string | undefined;
389
511
  data?: string | undefined;
390
512
  }>, import("zod").ZodObject<{
@@ -392,13 +514,13 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
392
514
  success: import("zod").ZodBoolean;
393
515
  error: import("zod").ZodString;
394
516
  }, "strip", import("zod").ZodTypeAny, {
395
- error: string;
396
- success: boolean;
397
517
  operation: "wait";
398
- }, {
399
- error: string;
400
518
  success: boolean;
519
+ error: string;
520
+ }, {
401
521
  operation: "wait";
522
+ success: boolean;
523
+ error: string;
402
524
  }>, import("zod").ZodObject<{
403
525
  operation: import("zod").ZodLiteral<"get_cookies">;
404
526
  success: import("zod").ZodBoolean;
@@ -411,45 +533,45 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
411
533
  httpOnly: import("zod").ZodBoolean;
412
534
  secure: import("zod").ZodBoolean;
413
535
  }, "strip", import("zod").ZodTypeAny, {
414
- value: string;
415
- path: string;
416
536
  name: string;
537
+ value: string;
417
538
  domain: string;
539
+ path: string;
418
540
  expires: number;
419
541
  httpOnly: boolean;
420
542
  secure: boolean;
421
543
  }, {
422
- value: string;
423
- path: string;
424
544
  name: string;
545
+ value: string;
425
546
  domain: string;
547
+ path: string;
426
548
  expires: number;
427
549
  httpOnly: boolean;
428
550
  secure: boolean;
429
551
  }>, "many">>;
430
552
  error: import("zod").ZodString;
431
553
  }, "strip", import("zod").ZodTypeAny, {
432
- error: string;
433
- success: boolean;
434
554
  operation: "get_cookies";
555
+ success: boolean;
556
+ error: string;
435
557
  cookies?: {
436
- value: string;
437
- path: string;
438
558
  name: string;
559
+ value: string;
439
560
  domain: string;
561
+ path: string;
440
562
  expires: number;
441
563
  httpOnly: boolean;
442
564
  secure: boolean;
443
565
  }[] | undefined;
444
566
  }, {
445
- error: string;
446
- success: boolean;
447
567
  operation: "get_cookies";
568
+ success: boolean;
569
+ error: string;
448
570
  cookies?: {
449
- value: string;
450
- path: string;
451
571
  name: string;
572
+ value: string;
452
573
  domain: string;
574
+ path: string;
453
575
  expires: number;
454
576
  httpOnly: boolean;
455
577
  secure: boolean;
@@ -459,16 +581,16 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
459
581
  success: import("zod").ZodBoolean;
460
582
  error: import("zod").ZodString;
461
583
  }, "strip", import("zod").ZodTypeAny, {
462
- error: string;
463
- success: boolean;
464
584
  operation: "end_session";
465
- }, {
466
- error: string;
467
585
  success: boolean;
586
+ error: string;
587
+ }, {
468
588
  operation: "end_session";
589
+ success: boolean;
590
+ error: string;
469
591
  }>]>;
470
592
  static readonly shortDescription = "Browser automation service using BrowserBase cloud browsers";
471
- static readonly longDescription = "\n BrowserBase service integration for cloud-based browser automation.\n\n Features:\n - Cloud-based browser sessions\n - Session persistence via context IDs\n - Cookie injection for authenticated sessions\n - Full page automation (click, type, evaluate)\n - Screenshot and content extraction\n - Cross-browser support\n\n Use cases:\n - Automated shopping workflows (Amazon, etc.)\n - Web scraping with authentication\n - Form automation and submission\n - Browser-based testing\n\n Security Features:\n - Sessions are isolated in BrowserBase cloud\n - Credentials are handled securely\n - Sessions are properly closed and cleaned up\n ";
593
+ static readonly longDescription = "\n BrowserBase service integration for cloud-based browser automation.\n\n Features:\n - Cloud-based browser sessions\n - Session persistence via context IDs\n - Cookie injection for authenticated sessions\n - Full page automation (click, type, evaluate)\n - Screenshot and content extraction\n - Stealth mode for anti-bot avoidance\n - Automatic CAPTCHA solving\n - Built-in and custom proxy support\n\n Stealth Mode Options:\n - Basic Stealth: Automatic browser fingerprint randomization (default)\n - Advanced Stealth: Custom Chromium browser for better anti-bot avoidance (Scale Plan only)\n - CAPTCHA Solving: Automatic detection and solving (enabled by default, can be disabled)\n - Custom CAPTCHA selectors: For non-standard CAPTCHA providers\n\n Proxy Options:\n - Built-in proxies: Set proxies=true for residential proxies with geolocation\n - Geolocation: Specify city, state (US only), and country for proxy location\n - Custom proxies: Use your own HTTP/HTTPS proxies with authentication\n - Routing rules: Route different domains through different proxies using domainPattern\n\n Use cases:\n - Automated shopping workflows (Amazon, etc.)\n - Web scraping with authentication\n - Form automation and submission\n - Browser-based testing\n\n Security Features:\n - Sessions are isolated in BrowserBase cloud\n - Credentials are handled securely\n - Sessions are properly closed and cleaned up\n ";
472
594
  static readonly alias = "browser";
473
595
  private static activeSessions;
474
596
  constructor(params?: T, context?: BubbleContext, instanceId?: string);
@@ -485,6 +607,11 @@ export declare class BrowserBaseBubble<T extends BrowserBaseParamsInput = Browse
485
607
  * Credential is base64-encoded JSON to avoid escaping issues
486
608
  */
487
609
  private parseBrowserSessionCredential;
610
+ /**
611
+ * Build proxy configuration for BrowserBase API
612
+ * Converts our schema format to the API format
613
+ */
614
+ private buildProxyConfig;
488
615
  testCredential(): Promise<boolean>;
489
616
  protected performAction(context?: BubbleContext): Promise<Extract<BrowserBaseResult, {
490
617
  operation: T['operation'];
@@ -1 +1 @@
1
- {"version":3,"file":"browserbase.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/browserbase/browserbase.ts"],"names":[],"mappings":"AAAA,OAAkB,EAAE,KAAK,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAKL,KAAK,sBAAsB,EAC3B,KAAK,iBAAiB,EAGvB,MAAM,yBAAyB,CAAC;AAWjC;;GAEG;AACH,UAAU,aAAa;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,IAAI,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAgDD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qBAAa,iBAAiB,CAC5B,CAAC,SAAS,sBAAsB,GAAG,sBAAsB,CACzD,SAAQ,aAAa,CACrB,CAAC,EACD,OAAO,CAAC,iBA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