@bubblelab/bubble-core 0.1.184 → 0.1.186

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 +90 -90
  2. package/dist/bubbles/service-bubble/ai-agent.d.ts +84 -84
  3. package/dist/bubbles/service-bubble/airtable.d.ts +104 -104
  4. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
  5. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
  6. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
  7. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +22 -22
  8. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +38 -38
  9. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +52 -52
  10. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +6 -6
  11. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +12 -12
  12. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
  13. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +126 -126
  14. package/dist/bubbles/service-bubble/apify/apify.d.ts +22 -22
  15. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +114 -114
  16. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +2 -2
  17. package/dist/bubbles/service-bubble/attio/attio.d.ts +2 -2
  18. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +6 -6
  19. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +5 -5
  20. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +1 -1
  21. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +78 -78
  22. package/dist/bubbles/service-bubble/firecrawl.d.ts +282 -282
  23. package/dist/bubbles/service-bubble/followupboss.d.ts +4 -4
  24. package/dist/bubbles/service-bubble/github.d.ts +12 -12
  25. package/dist/bubbles/service-bubble/gmail.d.ts +108 -108
  26. package/dist/bubbles/service-bubble/google-calendar.d.ts +80 -80
  27. package/dist/bubbles/service-bubble/google-drive.d.ts +40 -40
  28. package/dist/bubbles/service-bubble/http.d.ts +10 -10
  29. package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
  30. package/dist/bubbles/service-bubble/jira/jira.d.ts +16 -16
  31. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +36 -36
  32. package/dist/bubbles/service-bubble/linear/linear.d.ts +1 -1
  33. package/dist/bubbles/service-bubble/notion/notion.d.ts +28 -28
  34. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
  35. package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
  36. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +11 -11
  37. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +14 -14
  38. package/dist/bubbles/service-bubble/resend.d.ts +4 -4
  39. package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +4 -4
  40. package/dist/bubbles/service-bubble/slack/slack-table-blocks.d.ts +11 -0
  41. package/dist/bubbles/service-bubble/slack/slack-table-blocks.d.ts.map +1 -0
  42. package/dist/bubbles/service-bubble/slack/slack-table-blocks.js +19 -0
  43. package/dist/bubbles/service-bubble/slack/slack-table-blocks.js.map +1 -0
  44. package/dist/bubbles/service-bubble/slack/slack.d.ts +412 -412
  45. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +39 -39
  46. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +28 -28
  47. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +8 -8
  48. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +8 -8
  49. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +10 -10
  50. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +418 -418
  51. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +8 -8
  52. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +10 -10
  53. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  54. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  55. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +60 -60
  56. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +134 -134
  57. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
  58. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
  59. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  60. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +2 -2
  61. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
  62. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +20 -20
  63. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
  64. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +52 -52
  65. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
  66. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +2 -2
  67. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +50 -50
  68. package/dist/bubbles.json +1 -1
  69. package/package.json +2 -2
@@ -46,14 +46,14 @@ declare const AIAgentParamsSchema: z.ZodObject<{
46
46
  description: z.ZodOptional<z.ZodString>;
47
47
  }, "strip", z.ZodTypeAny, {
48
48
  type: "base64";
49
- data: string;
50
49
  mimeType: string;
50
+ data: string;
51
51
  description?: string | undefined;
52
52
  }, {
53
53
  data: string;
54
54
  type?: "base64" | undefined;
55
- mimeType?: string | undefined;
56
55
  description?: string | undefined;
56
+ mimeType?: string | undefined;
57
57
  }>, z.ZodObject<{
58
58
  type: z.ZodLiteral<"url">;
59
59
  url: z.ZodString;
@@ -164,12 +164,12 @@ declare const AIAgentParamsSchema: z.ZodObject<{
164
164
  }, "strip", z.ZodTypeAny, {
165
165
  description: string;
166
166
  name: string;
167
- schema: z.ZodTypeAny | Record<string, unknown>;
167
+ schema: Record<string, unknown> | z.ZodTypeAny;
168
168
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
169
169
  }, {
170
170
  description: string;
171
171
  name: string;
172
- schema: z.ZodTypeAny | Record<string, unknown>;
172
+ schema: Record<string, unknown> | z.ZodTypeAny;
173
173
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
174
174
  }>, "many">>>;
175
175
  maxIterations: z.ZodDefault<z.ZodNumber>;
@@ -193,17 +193,6 @@ declare const AIAgentParamsSchema: z.ZodObject<{
193
193
  enableSlackHistory: z.ZodDefault<z.ZodBoolean>;
194
194
  }, "strip", z.ZodTypeAny, {
195
195
  message: string;
196
- images: ({
197
- type: "base64";
198
- data: string;
199
- mimeType: string;
200
- description?: string | undefined;
201
- } | {
202
- type: "url";
203
- url: string;
204
- description?: string | undefined;
205
- })[];
206
- systemPrompt: string;
207
196
  model: {
208
197
  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-sonnet-4-6" | "anthropic/claude-opus-4-5" | "anthropic/claude-opus-4-6" | "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-sonnet-4.6" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/anthropic/claude-opus-4.6" | "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";
209
198
  temperature: number;
@@ -220,27 +209,38 @@ declare const AIAgentParamsSchema: z.ZodObject<{
220
209
  maxRetries?: number | undefined;
221
210
  } | undefined;
222
211
  };
212
+ streaming: boolean;
223
213
  tools: {
224
214
  name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "list-capabilities-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";
225
215
  credentials?: Partial<Record<CredentialType, string>> | undefined;
226
216
  config?: Record<string, unknown> | undefined;
227
217
  }[];
218
+ images: ({
219
+ type: "base64";
220
+ mimeType: string;
221
+ data: string;
222
+ description?: string | undefined;
223
+ } | {
224
+ type: "url";
225
+ url: string;
226
+ description?: string | undefined;
227
+ })[];
228
+ systemPrompt: string;
228
229
  maxIterations: number;
229
- streaming: boolean;
230
230
  memoryEnabled: boolean;
231
231
  enableSlackHistory: boolean;
232
232
  name?: string | undefined;
233
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
233
234
  conversationHistory?: {
234
235
  role: "user" | "assistant" | "tool";
235
236
  content: string;
236
237
  toolCallId?: string | undefined;
237
238
  name?: string | undefined;
238
239
  }[] | undefined;
239
- credentials?: Partial<Record<CredentialType, string>> | undefined;
240
240
  customTools?: {
241
241
  description: string;
242
242
  name: string;
243
- schema: z.ZodTypeAny | Record<string, unknown>;
243
+ schema: Record<string, unknown> | z.ZodTypeAny;
244
244
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
245
245
  }[] | undefined;
246
246
  capabilities?: {
@@ -252,23 +252,7 @@ declare const AIAgentParamsSchema: z.ZodObject<{
252
252
  }, {
253
253
  message: string;
254
254
  name?: string | undefined;
255
- images?: ({
256
- data: string;
257
- type?: "base64" | undefined;
258
- mimeType?: string | undefined;
259
- description?: string | undefined;
260
- } | {
261
- type: "url";
262
- url: string;
263
- description?: string | undefined;
264
- })[] | undefined;
265
- conversationHistory?: {
266
- role: "user" | "assistant" | "tool";
267
- content: string;
268
- toolCallId?: string | undefined;
269
- name?: string | undefined;
270
- }[] | undefined;
271
- systemPrompt?: string | undefined;
255
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
272
256
  model?: {
273
257
  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-sonnet-4-6" | "anthropic/claude-opus-4-5" | "anthropic/claude-opus-4-6" | "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-sonnet-4.6" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/anthropic/claude-opus-4.6" | "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";
274
258
  temperature?: number | undefined;
@@ -285,20 +269,36 @@ declare const AIAgentParamsSchema: z.ZodObject<{
285
269
  maxRetries?: number | undefined;
286
270
  } | undefined;
287
271
  } | undefined;
288
- credentials?: Partial<Record<CredentialType, string>> | undefined;
272
+ streaming?: boolean | undefined;
289
273
  tools?: {
290
274
  name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "list-capabilities-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";
291
275
  credentials?: Partial<Record<CredentialType, string>> | undefined;
292
276
  config?: Record<string, unknown> | undefined;
293
277
  }[] | undefined;
278
+ images?: ({
279
+ data: string;
280
+ type?: "base64" | undefined;
281
+ description?: string | undefined;
282
+ mimeType?: string | undefined;
283
+ } | {
284
+ type: "url";
285
+ url: string;
286
+ description?: string | undefined;
287
+ })[] | undefined;
288
+ conversationHistory?: {
289
+ role: "user" | "assistant" | "tool";
290
+ content: string;
291
+ toolCallId?: string | undefined;
292
+ name?: string | undefined;
293
+ }[] | undefined;
294
+ systemPrompt?: string | undefined;
294
295
  customTools?: {
295
296
  description: string;
296
297
  name: string;
297
- schema: z.ZodTypeAny | Record<string, unknown>;
298
+ schema: Record<string, unknown> | z.ZodTypeAny;
298
299
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
299
300
  }[] | undefined;
300
301
  maxIterations?: number | undefined;
301
- streaming?: boolean | undefined;
302
302
  capabilities?: {
303
303
  id: string;
304
304
  credentials?: Partial<Record<CredentialType, string>> | undefined;
@@ -329,6 +329,8 @@ declare const AIAgentResultSchema: z.ZodObject<{
329
329
  error: z.ZodString;
330
330
  success: z.ZodBoolean;
331
331
  }, "strip", z.ZodTypeAny, {
332
+ error: string;
333
+ success: boolean;
332
334
  response: string;
333
335
  toolCalls: {
334
336
  tool: string;
@@ -336,11 +338,11 @@ declare const AIAgentResultSchema: z.ZodObject<{
336
338
  output?: unknown;
337
339
  }[];
338
340
  iterations: number;
339
- error: string;
340
- success: boolean;
341
341
  reasoning?: string | null | undefined;
342
342
  totalCost?: number | undefined;
343
343
  }, {
344
+ error: string;
345
+ success: boolean;
344
346
  response: string;
345
347
  toolCalls: {
346
348
  tool: string;
@@ -348,8 +350,6 @@ declare const AIAgentResultSchema: z.ZodObject<{
348
350
  output?: unknown;
349
351
  }[];
350
352
  iterations: number;
351
- error: string;
352
- success: boolean;
353
353
  reasoning?: string | null | undefined;
354
354
  totalCost?: number | undefined;
355
355
  }>;
@@ -380,14 +380,14 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
380
380
  description: z.ZodOptional<z.ZodString>;
381
381
  }, "strip", z.ZodTypeAny, {
382
382
  type: "base64";
383
- data: string;
384
383
  mimeType: string;
384
+ data: string;
385
385
  description?: string | undefined;
386
386
  }, {
387
387
  data: string;
388
388
  type?: "base64" | undefined;
389
- mimeType?: string | undefined;
390
389
  description?: string | undefined;
390
+ mimeType?: string | undefined;
391
391
  }>, z.ZodObject<{
392
392
  type: z.ZodLiteral<"url">;
393
393
  url: z.ZodString;
@@ -498,12 +498,12 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
498
498
  }, "strip", z.ZodTypeAny, {
499
499
  description: string;
500
500
  name: string;
501
- schema: z.ZodTypeAny | Record<string, unknown>;
501
+ schema: Record<string, unknown> | z.ZodTypeAny;
502
502
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
503
503
  }, {
504
504
  description: string;
505
505
  name: string;
506
- schema: z.ZodTypeAny | Record<string, unknown>;
506
+ schema: Record<string, unknown> | z.ZodTypeAny;
507
507
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
508
508
  }>, "many">>>;
509
509
  maxIterations: z.ZodDefault<z.ZodNumber>;
@@ -527,17 +527,6 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
527
527
  enableSlackHistory: z.ZodDefault<z.ZodBoolean>;
528
528
  }, "strip", z.ZodTypeAny, {
529
529
  message: string;
530
- images: ({
531
- type: "base64";
532
- data: string;
533
- mimeType: string;
534
- description?: string | undefined;
535
- } | {
536
- type: "url";
537
- url: string;
538
- description?: string | undefined;
539
- })[];
540
- systemPrompt: string;
541
530
  model: {
542
531
  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-sonnet-4-6" | "anthropic/claude-opus-4-5" | "anthropic/claude-opus-4-6" | "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-sonnet-4.6" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/anthropic/claude-opus-4.6" | "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";
543
532
  temperature: number;
@@ -554,27 +543,38 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
554
543
  maxRetries?: number | undefined;
555
544
  } | undefined;
556
545
  };
546
+ streaming: boolean;
557
547
  tools: {
558
548
  name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "list-capabilities-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";
559
549
  credentials?: Partial<Record<CredentialType, string>> | undefined;
560
550
  config?: Record<string, unknown> | undefined;
561
551
  }[];
552
+ images: ({
553
+ type: "base64";
554
+ mimeType: string;
555
+ data: string;
556
+ description?: string | undefined;
557
+ } | {
558
+ type: "url";
559
+ url: string;
560
+ description?: string | undefined;
561
+ })[];
562
+ systemPrompt: string;
562
563
  maxIterations: number;
563
- streaming: boolean;
564
564
  memoryEnabled: boolean;
565
565
  enableSlackHistory: boolean;
566
566
  name?: string | undefined;
567
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
567
568
  conversationHistory?: {
568
569
  role: "user" | "assistant" | "tool";
569
570
  content: string;
570
571
  toolCallId?: string | undefined;
571
572
  name?: string | undefined;
572
573
  }[] | undefined;
573
- credentials?: Partial<Record<CredentialType, string>> | undefined;
574
574
  customTools?: {
575
575
  description: string;
576
576
  name: string;
577
- schema: z.ZodTypeAny | Record<string, unknown>;
577
+ schema: Record<string, unknown> | z.ZodTypeAny;
578
578
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
579
579
  }[] | undefined;
580
580
  capabilities?: {
@@ -586,23 +586,7 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
586
586
  }, {
587
587
  message: string;
588
588
  name?: string | undefined;
589
- images?: ({
590
- data: string;
591
- type?: "base64" | undefined;
592
- mimeType?: string | undefined;
593
- description?: string | undefined;
594
- } | {
595
- type: "url";
596
- url: string;
597
- description?: string | undefined;
598
- })[] | undefined;
599
- conversationHistory?: {
600
- role: "user" | "assistant" | "tool";
601
- content: string;
602
- toolCallId?: string | undefined;
603
- name?: string | undefined;
604
- }[] | undefined;
605
- systemPrompt?: string | undefined;
589
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
606
590
  model?: {
607
591
  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-sonnet-4-6" | "anthropic/claude-opus-4-5" | "anthropic/claude-opus-4-6" | "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-sonnet-4.6" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/anthropic/claude-opus-4.6" | "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";
608
592
  temperature?: number | undefined;
@@ -619,20 +603,36 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
619
603
  maxRetries?: number | undefined;
620
604
  } | undefined;
621
605
  } | undefined;
622
- credentials?: Partial<Record<CredentialType, string>> | undefined;
606
+ streaming?: boolean | undefined;
623
607
  tools?: {
624
608
  name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "list-capabilities-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";
625
609
  credentials?: Partial<Record<CredentialType, string>> | undefined;
626
610
  config?: Record<string, unknown> | undefined;
627
611
  }[] | undefined;
612
+ images?: ({
613
+ data: string;
614
+ type?: "base64" | undefined;
615
+ description?: string | undefined;
616
+ mimeType?: string | undefined;
617
+ } | {
618
+ type: "url";
619
+ url: string;
620
+ description?: string | undefined;
621
+ })[] | undefined;
622
+ conversationHistory?: {
623
+ role: "user" | "assistant" | "tool";
624
+ content: string;
625
+ toolCallId?: string | undefined;
626
+ name?: string | undefined;
627
+ }[] | undefined;
628
+ systemPrompt?: string | undefined;
628
629
  customTools?: {
629
630
  description: string;
630
631
  name: string;
631
- schema: z.ZodTypeAny | Record<string, unknown>;
632
+ schema: Record<string, unknown> | z.ZodTypeAny;
632
633
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
633
634
  }[] | undefined;
634
635
  maxIterations?: number | undefined;
635
- streaming?: boolean | undefined;
636
636
  capabilities?: {
637
637
  id: string;
638
638
  credentials?: Partial<Record<CredentialType, string>> | undefined;
@@ -663,6 +663,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
663
663
  error: z.ZodString;
664
664
  success: z.ZodBoolean;
665
665
  }, "strip", z.ZodTypeAny, {
666
+ error: string;
667
+ success: boolean;
666
668
  response: string;
667
669
  toolCalls: {
668
670
  tool: string;
@@ -670,11 +672,11 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
670
672
  output?: unknown;
671
673
  }[];
672
674
  iterations: number;
673
- error: string;
674
- success: boolean;
675
675
  reasoning?: string | null | undefined;
676
676
  totalCost?: number | undefined;
677
677
  }, {
678
+ error: string;
679
+ success: boolean;
678
680
  response: string;
679
681
  toolCalls: {
680
682
  tool: string;
@@ -682,8 +684,6 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
682
684
  output?: unknown;
683
685
  }[];
684
686
  iterations: number;
685
- error: string;
686
- success: boolean;
687
687
  reasoning?: string | null | undefined;
688
688
  totalCost?: number | undefined;
689
689
  }>;