@bubblelab/bubble-core 0.1.99 → 0.1.101

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 (84) hide show
  1. package/dist/bubble-bundle.d.ts +166 -126
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +4 -0
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/agi-inc.d.ts +56 -56
  6. package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
  7. package/dist/bubbles/service-bubble/airtable.d.ts +98 -98
  8. package/dist/bubbles/service-bubble/apify/apify.d.ts +30 -30
  9. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +68 -68
  10. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +92 -92
  11. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +22 -22
  12. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +28 -28
  13. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +155 -155
  14. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +158 -158
  15. package/dist/bubbles/service-bubble/eleven-labs.d.ts +32 -32
  16. package/dist/bubbles/service-bubble/firecrawl.d.ts +388 -388
  17. package/dist/bubbles/service-bubble/followupboss.d.ts +376 -376
  18. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +78 -78
  19. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +108 -108
  20. package/dist/bubbles/service-bubble/github.d.ts +140 -140
  21. package/dist/bubbles/service-bubble/gmail.d.ts +172 -172
  22. package/dist/bubbles/service-bubble/google-calendar.d.ts +36 -36
  23. package/dist/bubbles/service-bubble/google-drive.d.ts +84 -84
  24. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +22 -22
  25. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +32 -32
  26. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  27. package/dist/bubbles/service-bubble/http.d.ts +8 -8
  28. package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
  29. package/dist/bubbles/service-bubble/jira/jira.d.ts +36 -36
  30. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +70 -70
  31. package/dist/bubbles/service-bubble/notion/notion.d.ts +126 -126
  32. package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
  33. package/dist/bubbles/service-bubble/resend.d.ts +12 -12
  34. package/dist/bubbles/service-bubble/slack/slack.d.ts +633 -633
  35. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  36. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +68 -68
  37. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +141 -141
  38. package/dist/bubbles/service-bubble/telegram.d.ts +976 -976
  39. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +22 -22
  40. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +15 -15
  41. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  42. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +10 -10
  43. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  44. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +52 -52
  45. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  46. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  47. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +40 -40
  48. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +38 -38
  49. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +4 -4
  50. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +2 -2
  51. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +475 -475
  52. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
  53. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
  54. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  55. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +166 -166
  56. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +42 -42
  57. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  58. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  59. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +68 -68
  60. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  61. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +194 -194
  62. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +18 -18
  63. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +12 -12
  64. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +14 -14
  65. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +14 -14
  66. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +516 -0
  67. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts.map +1 -0
  68. package/dist/bubbles/tool-bubble/yc-scraper-tool.js +317 -0
  69. package/dist/bubbles/tool-bubble/yc-scraper-tool.js.map +1 -0
  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 +244 -2
  80. package/dist/index.d.ts +2 -0
  81. package/dist/index.d.ts.map +1 -1
  82. package/dist/index.js +1 -0
  83. package/dist/index.js.map +1 -1
  84. 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
- mimeType: string;
47
46
  data: string;
47
+ mimeType: 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
- type: "url";
60
59
  url: string;
60
+ type: "url";
61
61
  description?: string | undefined;
62
62
  }, {
63
- type: "url";
64
63
  url: string;
64
+ type: "url";
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: Record<string, unknown> | z.ZodTypeAny;
164
+ schema: z.ZodTypeAny | Record<string, unknown>;
165
165
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
166
166
  }, {
167
167
  description: string;
168
168
  name: string;
169
- schema: Record<string, unknown> | z.ZodTypeAny;
169
+ schema: z.ZodTypeAny | Record<string, unknown>;
170
170
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
171
171
  }>, "many">>>;
172
172
  maxIterations: z.ZodDefault<z.ZodNumber>;
@@ -175,6 +175,16 @@ 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
+ })[];
178
188
  model: {
179
189
  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";
180
190
  temperature: number;
@@ -191,24 +201,14 @@ declare const AIAgentParamsSchema: z.ZodObject<{
191
201
  maxRetries?: number | undefined;
192
202
  } | undefined;
193
203
  };
194
- streaming: boolean;
204
+ systemPrompt: string;
195
205
  tools: {
196
206
  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";
197
207
  credentials?: Partial<Record<CredentialType, string>> | undefined;
198
208
  config?: Record<string, unknown> | undefined;
199
209
  }[];
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;
211
210
  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: Record<string, unknown> | z.ZodTypeAny;
223
+ schema: z.ZodTypeAny | Record<string, unknown>;
224
224
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
225
225
  }[] | undefined;
226
226
  expectedOutputSchema?: string | z.ZodTypeAny | undefined;
@@ -228,6 +228,16 @@ 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;
231
241
  model?: {
232
242
  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";
233
243
  temperature?: number | undefined;
@@ -244,22 +254,6 @@ declare const AIAgentParamsSchema: z.ZodObject<{
244
254
  maxRetries?: number | undefined;
245
255
  } | undefined;
246
256
  } | 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;
263
257
  conversationHistory?: {
264
258
  role: "user" | "assistant" | "tool";
265
259
  content: string;
@@ -267,13 +261,19 @@ declare const AIAgentParamsSchema: z.ZodObject<{
267
261
  name?: string | undefined;
268
262
  }[] | undefined;
269
263
  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;
270
269
  customTools?: {
271
270
  description: string;
272
271
  name: string;
273
- schema: Record<string, unknown> | z.ZodTypeAny;
272
+ schema: z.ZodTypeAny | Record<string, unknown>;
274
273
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
275
274
  }[] | undefined;
276
275
  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
- error: string;
301
300
  success: boolean;
301
+ error: string;
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
- error: string;
313
312
  success: boolean;
313
+ error: string;
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
- mimeType: string;
352
351
  data: string;
352
+ mimeType: 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
- type: "url";
365
364
  url: string;
365
+ type: "url";
366
366
  description?: string | undefined;
367
367
  }, {
368
- type: "url";
369
368
  url: string;
369
+ type: "url";
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: Record<string, unknown> | z.ZodTypeAny;
469
+ schema: z.ZodTypeAny | Record<string, unknown>;
470
470
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
471
471
  }, {
472
472
  description: string;
473
473
  name: string;
474
- schema: Record<string, unknown> | z.ZodTypeAny;
474
+ schema: z.ZodTypeAny | Record<string, unknown>;
475
475
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
476
476
  }>, "many">>>;
477
477
  maxIterations: z.ZodDefault<z.ZodNumber>;
@@ -480,6 +480,16 @@ 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
+ })[];
483
493
  model: {
484
494
  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";
485
495
  temperature: number;
@@ -496,24 +506,14 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
496
506
  maxRetries?: number | undefined;
497
507
  } | undefined;
498
508
  };
499
- streaming: boolean;
509
+ systemPrompt: string;
500
510
  tools: {
501
511
  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";
502
512
  credentials?: Partial<Record<CredentialType, string>> | undefined;
503
513
  config?: Record<string, unknown> | undefined;
504
514
  }[];
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;
516
515
  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: Record<string, unknown> | z.ZodTypeAny;
528
+ schema: z.ZodTypeAny | Record<string, unknown>;
529
529
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
530
530
  }[] | undefined;
531
531
  expectedOutputSchema?: string | z.ZodTypeAny | undefined;
@@ -533,6 +533,16 @@ 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;
536
546
  model?: {
537
547
  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";
538
548
  temperature?: number | undefined;
@@ -549,22 +559,6 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
549
559
  maxRetries?: number | undefined;
550
560
  } | undefined;
551
561
  } | 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;
568
562
  conversationHistory?: {
569
563
  role: "user" | "assistant" | "tool";
570
564
  content: string;
@@ -572,13 +566,19 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
572
566
  name?: string | undefined;
573
567
  }[] | undefined;
574
568
  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;
575
574
  customTools?: {
576
575
  description: string;
577
576
  name: string;
578
- schema: Record<string, unknown> | z.ZodTypeAny;
577
+ schema: z.ZodTypeAny | Record<string, unknown>;
579
578
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
580
579
  }[] | undefined;
581
580
  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
- error: string;
606
605
  success: boolean;
606
+ error: string;
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
- error: string;
618
617
  success: boolean;
618
+ error: string;
619
619
  response: string;
620
620
  toolCalls: {
621
621
  tool: string;