@bubblelab/bubble-core 0.1.101 → 0.1.103

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 (80) hide show
  1. package/dist/bubble-bundle.d.ts +113 -113
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +56 -56
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
  4. package/dist/bubbles/service-bubble/airtable.d.ts +98 -98
  5. package/dist/bubbles/service-bubble/apify/apify.d.ts +30 -30
  6. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +68 -68
  7. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +92 -92
  8. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +22 -22
  9. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +28 -28
  10. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +155 -155
  11. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +158 -158
  12. package/dist/bubbles/service-bubble/eleven-labs.d.ts +32 -32
  13. package/dist/bubbles/service-bubble/firecrawl.d.ts +388 -388
  14. package/dist/bubbles/service-bubble/followupboss.d.ts +376 -376
  15. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +78 -78
  16. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +108 -108
  17. package/dist/bubbles/service-bubble/github.d.ts +140 -140
  18. package/dist/bubbles/service-bubble/gmail.d.ts +172 -172
  19. package/dist/bubbles/service-bubble/google-calendar.d.ts +36 -36
  20. package/dist/bubbles/service-bubble/google-drive.d.ts +84 -84
  21. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +22 -22
  22. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +32 -32
  23. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  24. package/dist/bubbles/service-bubble/http.d.ts +8 -8
  25. package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
  26. package/dist/bubbles/service-bubble/jira/jira.d.ts +36 -36
  27. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +70 -70
  28. package/dist/bubbles/service-bubble/notion/notion.d.ts +126 -126
  29. package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
  30. package/dist/bubbles/service-bubble/resend.d.ts +12 -12
  31. package/dist/bubbles/service-bubble/slack/slack.d.ts +631 -631
  32. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  33. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +147 -68
  34. package/dist/bubbles/service-bubble/stripe/stripe.d.ts.map +1 -1
  35. package/dist/bubbles/service-bubble/stripe/stripe.js +74 -21
  36. package/dist/bubbles/service-bubble/stripe/stripe.js.map +1 -1
  37. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +219 -141
  38. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts.map +1 -1
  39. package/dist/bubbles/service-bubble/stripe/stripe.schema.js +48 -0
  40. package/dist/bubbles/service-bubble/stripe/stripe.schema.js.map +1 -1
  41. package/dist/bubbles/service-bubble/telegram.d.ts +968 -968
  42. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +22 -22
  43. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +15 -15
  44. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  45. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +10 -10
  46. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  47. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +52 -52
  48. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  49. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  50. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +40 -40
  51. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +38 -38
  52. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +4 -4
  53. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +2 -2
  54. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +471 -471
  55. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
  56. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
  57. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  58. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +166 -166
  59. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +42 -42
  60. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  61. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  62. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +68 -68
  63. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  64. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +194 -194
  65. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +18 -18
  66. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +12 -12
  67. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +14 -14
  68. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +14 -14
  69. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +88 -88
  70. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +38 -38
  71. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  72. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +16 -16
  73. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  74. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +40 -40
  75. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
  76. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +8 -8
  77. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +28 -28
  78. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  79. package/dist/bubbles.json +122 -2
  80. package/package.json +2 -2
@@ -43,8 +43,8 @@ declare const AIAgentParamsSchema: z.ZodObject<{
43
43
  description: z.ZodOptional<z.ZodString>;
44
44
  }, "strip", z.ZodTypeAny, {
45
45
  type: "base64";
46
- data: string;
47
46
  mimeType: string;
47
+ data: string;
48
48
  description?: string | undefined;
49
49
  }, {
50
50
  data: string;
@@ -56,12 +56,12 @@ declare const AIAgentParamsSchema: z.ZodObject<{
56
56
  url: z.ZodString;
57
57
  description: z.ZodOptional<z.ZodString>;
58
58
  }, "strip", z.ZodTypeAny, {
59
- url: string;
60
59
  type: "url";
60
+ url: string;
61
61
  description?: string | undefined;
62
62
  }, {
63
- url: string;
64
63
  type: "url";
64
+ url: string;
65
65
  description?: string | undefined;
66
66
  }>]>, "many">>;
67
67
  conversationHistory: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -161,12 +161,12 @@ declare const AIAgentParamsSchema: z.ZodObject<{
161
161
  }, "strip", z.ZodTypeAny, {
162
162
  description: string;
163
163
  name: string;
164
- schema: z.ZodTypeAny | Record<string, unknown>;
164
+ schema: Record<string, unknown> | z.ZodTypeAny;
165
165
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
166
166
  }, {
167
167
  description: string;
168
168
  name: string;
169
- schema: z.ZodTypeAny | Record<string, unknown>;
169
+ schema: Record<string, unknown> | z.ZodTypeAny;
170
170
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
171
171
  }>, "many">>>;
172
172
  maxIterations: z.ZodDefault<z.ZodNumber>;
@@ -175,16 +175,6 @@ declare const AIAgentParamsSchema: z.ZodObject<{
175
175
  expectedOutputSchema: z.ZodOptional<z.ZodUnion<[z.ZodType<z.ZodTypeAny, z.ZodTypeDef, z.ZodTypeAny>, z.ZodString]>>;
176
176
  }, "strip", z.ZodTypeAny, {
177
177
  message: string;
178
- images: ({
179
- type: "base64";
180
- data: string;
181
- mimeType: string;
182
- description?: string | undefined;
183
- } | {
184
- url: string;
185
- type: "url";
186
- description?: string | undefined;
187
- })[];
188
178
  model: {
189
179
  model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
190
180
  temperature: number;
@@ -201,14 +191,24 @@ declare const AIAgentParamsSchema: z.ZodObject<{
201
191
  maxRetries?: number | undefined;
202
192
  } | undefined;
203
193
  };
204
- systemPrompt: string;
194
+ streaming: boolean;
205
195
  tools: {
206
196
  name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
207
197
  credentials?: Partial<Record<CredentialType, string>> | undefined;
208
198
  config?: Record<string, unknown> | undefined;
209
199
  }[];
200
+ images: ({
201
+ type: "base64";
202
+ mimeType: string;
203
+ data: string;
204
+ description?: string | undefined;
205
+ } | {
206
+ type: "url";
207
+ url: string;
208
+ description?: string | undefined;
209
+ })[];
210
+ systemPrompt: string;
210
211
  maxIterations: number;
211
- streaming: boolean;
212
212
  name?: string | undefined;
213
213
  credentials?: Partial<Record<CredentialType, string>> | undefined;
214
214
  conversationHistory?: {
@@ -220,7 +220,7 @@ declare const AIAgentParamsSchema: z.ZodObject<{
220
220
  customTools?: {
221
221
  description: string;
222
222
  name: string;
223
- schema: z.ZodTypeAny | Record<string, unknown>;
223
+ schema: Record<string, unknown> | z.ZodTypeAny;
224
224
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
225
225
  }[] | undefined;
226
226
  expectedOutputSchema?: string | z.ZodTypeAny | undefined;
@@ -228,16 +228,6 @@ declare const AIAgentParamsSchema: z.ZodObject<{
228
228
  message: string;
229
229
  name?: string | undefined;
230
230
  credentials?: Partial<Record<CredentialType, string>> | undefined;
231
- images?: ({
232
- data: string;
233
- type?: "base64" | undefined;
234
- description?: string | undefined;
235
- mimeType?: string | undefined;
236
- } | {
237
- url: string;
238
- type: "url";
239
- description?: string | undefined;
240
- })[] | undefined;
241
231
  model?: {
242
232
  model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
243
233
  temperature?: number | undefined;
@@ -254,6 +244,22 @@ declare const AIAgentParamsSchema: z.ZodObject<{
254
244
  maxRetries?: number | undefined;
255
245
  } | undefined;
256
246
  } | undefined;
247
+ streaming?: boolean | undefined;
248
+ tools?: {
249
+ name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
250
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
251
+ config?: Record<string, unknown> | undefined;
252
+ }[] | undefined;
253
+ images?: ({
254
+ data: string;
255
+ type?: "base64" | undefined;
256
+ description?: string | undefined;
257
+ mimeType?: string | undefined;
258
+ } | {
259
+ type: "url";
260
+ url: string;
261
+ description?: string | undefined;
262
+ })[] | undefined;
257
263
  conversationHistory?: {
258
264
  role: "user" | "assistant" | "tool";
259
265
  content: string;
@@ -261,19 +267,13 @@ declare const AIAgentParamsSchema: z.ZodObject<{
261
267
  name?: string | undefined;
262
268
  }[] | undefined;
263
269
  systemPrompt?: string | undefined;
264
- tools?: {
265
- name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
266
- credentials?: Partial<Record<CredentialType, string>> | undefined;
267
- config?: Record<string, unknown> | undefined;
268
- }[] | undefined;
269
270
  customTools?: {
270
271
  description: string;
271
272
  name: string;
272
- schema: z.ZodTypeAny | Record<string, unknown>;
273
+ schema: Record<string, unknown> | z.ZodTypeAny;
273
274
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
274
275
  }[] | undefined;
275
276
  maxIterations?: number | undefined;
276
- streaming?: boolean | undefined;
277
277
  expectedOutputSchema?: string | z.ZodTypeAny | undefined;
278
278
  }>;
279
279
  declare const AIAgentResultSchema: z.ZodObject<{
@@ -297,8 +297,8 @@ declare const AIAgentResultSchema: z.ZodObject<{
297
297
  error: z.ZodString;
298
298
  success: z.ZodBoolean;
299
299
  }, "strip", z.ZodTypeAny, {
300
- success: boolean;
301
300
  error: string;
301
+ success: boolean;
302
302
  response: string;
303
303
  toolCalls: {
304
304
  tool: string;
@@ -309,8 +309,8 @@ declare const AIAgentResultSchema: z.ZodObject<{
309
309
  reasoning?: string | null | undefined;
310
310
  totalCost?: number | undefined;
311
311
  }, {
312
- success: boolean;
313
312
  error: string;
313
+ success: boolean;
314
314
  response: string;
315
315
  toolCalls: {
316
316
  tool: string;
@@ -348,8 +348,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
348
348
  description: z.ZodOptional<z.ZodString>;
349
349
  }, "strip", z.ZodTypeAny, {
350
350
  type: "base64";
351
- data: string;
352
351
  mimeType: string;
352
+ data: string;
353
353
  description?: string | undefined;
354
354
  }, {
355
355
  data: string;
@@ -361,12 +361,12 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
361
361
  url: z.ZodString;
362
362
  description: z.ZodOptional<z.ZodString>;
363
363
  }, "strip", z.ZodTypeAny, {
364
- url: string;
365
364
  type: "url";
365
+ url: string;
366
366
  description?: string | undefined;
367
367
  }, {
368
- url: string;
369
368
  type: "url";
369
+ url: string;
370
370
  description?: string | undefined;
371
371
  }>]>, "many">>;
372
372
  conversationHistory: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -466,12 +466,12 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
466
466
  }, "strip", z.ZodTypeAny, {
467
467
  description: string;
468
468
  name: string;
469
- schema: z.ZodTypeAny | Record<string, unknown>;
469
+ schema: Record<string, unknown> | z.ZodTypeAny;
470
470
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
471
471
  }, {
472
472
  description: string;
473
473
  name: string;
474
- schema: z.ZodTypeAny | Record<string, unknown>;
474
+ schema: Record<string, unknown> | z.ZodTypeAny;
475
475
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
476
476
  }>, "many">>>;
477
477
  maxIterations: z.ZodDefault<z.ZodNumber>;
@@ -480,16 +480,6 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
480
480
  expectedOutputSchema: z.ZodOptional<z.ZodUnion<[z.ZodType<z.ZodTypeAny, z.ZodTypeDef, z.ZodTypeAny>, z.ZodString]>>;
481
481
  }, "strip", z.ZodTypeAny, {
482
482
  message: string;
483
- images: ({
484
- type: "base64";
485
- data: string;
486
- mimeType: string;
487
- description?: string | undefined;
488
- } | {
489
- url: string;
490
- type: "url";
491
- description?: string | undefined;
492
- })[];
493
483
  model: {
494
484
  model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
495
485
  temperature: number;
@@ -506,14 +496,24 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
506
496
  maxRetries?: number | undefined;
507
497
  } | undefined;
508
498
  };
509
- systemPrompt: string;
499
+ streaming: boolean;
510
500
  tools: {
511
501
  name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
512
502
  credentials?: Partial<Record<CredentialType, string>> | undefined;
513
503
  config?: Record<string, unknown> | undefined;
514
504
  }[];
505
+ images: ({
506
+ type: "base64";
507
+ mimeType: string;
508
+ data: string;
509
+ description?: string | undefined;
510
+ } | {
511
+ type: "url";
512
+ url: string;
513
+ description?: string | undefined;
514
+ })[];
515
+ systemPrompt: string;
515
516
  maxIterations: number;
516
- streaming: boolean;
517
517
  name?: string | undefined;
518
518
  credentials?: Partial<Record<CredentialType, string>> | undefined;
519
519
  conversationHistory?: {
@@ -525,7 +525,7 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
525
525
  customTools?: {
526
526
  description: string;
527
527
  name: string;
528
- schema: z.ZodTypeAny | Record<string, unknown>;
528
+ schema: Record<string, unknown> | z.ZodTypeAny;
529
529
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
530
530
  }[] | undefined;
531
531
  expectedOutputSchema?: string | z.ZodTypeAny | undefined;
@@ -533,16 +533,6 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
533
533
  message: string;
534
534
  name?: string | undefined;
535
535
  credentials?: Partial<Record<CredentialType, string>> | undefined;
536
- images?: ({
537
- data: string;
538
- type?: "base64" | undefined;
539
- description?: string | undefined;
540
- mimeType?: string | undefined;
541
- } | {
542
- url: string;
543
- type: "url";
544
- description?: string | undefined;
545
- })[] | undefined;
546
536
  model?: {
547
537
  model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
548
538
  temperature?: number | undefined;
@@ -559,6 +549,22 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
559
549
  maxRetries?: number | undefined;
560
550
  } | undefined;
561
551
  } | undefined;
552
+ streaming?: boolean | undefined;
553
+ tools?: {
554
+ name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
555
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
556
+ config?: Record<string, unknown> | undefined;
557
+ }[] | undefined;
558
+ images?: ({
559
+ data: string;
560
+ type?: "base64" | undefined;
561
+ description?: string | undefined;
562
+ mimeType?: string | undefined;
563
+ } | {
564
+ type: "url";
565
+ url: string;
566
+ description?: string | undefined;
567
+ })[] | undefined;
562
568
  conversationHistory?: {
563
569
  role: "user" | "assistant" | "tool";
564
570
  content: string;
@@ -566,19 +572,13 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
566
572
  name?: string | undefined;
567
573
  }[] | undefined;
568
574
  systemPrompt?: string | undefined;
569
- tools?: {
570
- name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
571
- credentials?: Partial<Record<CredentialType, string>> | undefined;
572
- config?: Record<string, unknown> | undefined;
573
- }[] | undefined;
574
575
  customTools?: {
575
576
  description: string;
576
577
  name: string;
577
- schema: z.ZodTypeAny | Record<string, unknown>;
578
+ schema: Record<string, unknown> | z.ZodTypeAny;
578
579
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
579
580
  }[] | undefined;
580
581
  maxIterations?: number | undefined;
581
- streaming?: boolean | undefined;
582
582
  expectedOutputSchema?: string | z.ZodTypeAny | undefined;
583
583
  }>;
584
584
  static readonly resultSchema: z.ZodObject<{
@@ -602,8 +602,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
602
602
  error: z.ZodString;
603
603
  success: z.ZodBoolean;
604
604
  }, "strip", z.ZodTypeAny, {
605
- success: boolean;
606
605
  error: string;
606
+ success: boolean;
607
607
  response: string;
608
608
  toolCalls: {
609
609
  tool: string;
@@ -614,8 +614,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
614
614
  reasoning?: string | null | undefined;
615
615
  totalCost?: number | undefined;
616
616
  }, {
617
- success: boolean;
618
617
  error: string;
618
+ success: boolean;
619
619
  response: string;
620
620
  toolCalls: {
621
621
  tool: string;