@bubblelab/bubble-core 0.1.219 → 0.1.220

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 (75) hide show
  1. package/dist/bubble-bundle.d.ts +100 -100
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +19 -46
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/agi-inc.d.ts +20 -20
  6. package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
  7. package/dist/bubbles/service-bubble/airtable.d.ts +76 -76
  8. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
  9. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
  10. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
  11. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +22 -22
  12. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +38 -38
  13. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +52 -52
  14. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +6 -6
  15. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +12 -12
  16. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
  17. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +126 -126
  18. package/dist/bubbles/service-bubble/apify/apify.d.ts +18 -18
  19. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +2 -2
  20. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +2 -2
  21. package/dist/bubbles/service-bubble/assembled/assembled.d.ts +6 -6
  22. package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +6 -6
  23. package/dist/bubbles/service-bubble/attio/attio.d.ts +6 -6
  24. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +6 -6
  25. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +1 -1
  26. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +1 -1
  27. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +4 -4
  28. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +8 -8
  29. package/dist/bubbles/service-bubble/firecrawl.d.ts +334 -334
  30. package/dist/bubbles/service-bubble/followupboss.d.ts +4 -4
  31. package/dist/bubbles/service-bubble/github.d.ts +60 -60
  32. package/dist/bubbles/service-bubble/gmail.d.ts +164 -164
  33. package/dist/bubbles/service-bubble/google-calendar.d.ts +6 -6
  34. package/dist/bubbles/service-bubble/google-drive.d.ts +4 -4
  35. package/dist/bubbles/service-bubble/http.d.ts +2 -2
  36. package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
  37. package/dist/bubbles/service-bubble/jira/jira.d.ts +30 -30
  38. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +36 -36
  39. package/dist/bubbles/service-bubble/notion/notion.d.ts +168 -168
  40. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
  41. package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
  42. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +10 -10
  43. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +14 -14
  44. package/dist/bubbles/service-bubble/resend.d.ts +4 -4
  45. package/dist/bubbles/service-bubble/slack/slack-table-blocks.d.ts +1 -0
  46. package/dist/bubbles/service-bubble/slack/slack-table-blocks.d.ts.map +1 -1
  47. package/dist/bubbles/service-bubble/slack/slack-table-blocks.js +1 -0
  48. package/dist/bubbles/service-bubble/slack/slack-table-blocks.js.map +1 -1
  49. package/dist/bubbles/service-bubble/slack/slack.d.ts +392 -392
  50. package/dist/bubbles/service-bubble/slack/slack.d.ts.map +1 -1
  51. package/dist/bubbles/service-bubble/slack/slack.js +23 -22
  52. package/dist/bubbles/service-bubble/slack/slack.js.map +1 -1
  53. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +24 -24
  54. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +28 -28
  55. package/dist/bubbles/service-bubble/xero/xero.d.ts +2 -2
  56. package/dist/bubbles/service-bubble/xero/xero.schema.d.ts +2 -2
  57. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +6 -6
  58. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +8 -8
  59. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  60. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +20 -20
  61. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +380 -380
  62. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +44 -44
  63. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
  64. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  65. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  66. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +60 -60
  67. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +134 -134
  68. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
  69. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +20 -20
  70. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
  71. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +8 -8
  72. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +2 -2
  73. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +26 -26
  74. package/dist/bubbles.json +1 -1
  75. package/package.json +2 -2
@@ -46,8 +46,8 @@ declare const AIAgentParamsSchema: z.ZodObject<{
46
46
  description: z.ZodOptional<z.ZodString>;
47
47
  }, "strip", z.ZodTypeAny, {
48
48
  type: "base64";
49
- mimeType: string;
50
49
  data: string;
50
+ mimeType: string;
51
51
  description?: string | undefined;
52
52
  }, {
53
53
  data: string;
@@ -164,12 +164,12 @@ declare const AIAgentParamsSchema: z.ZodObject<{
164
164
  }, "strip", z.ZodTypeAny, {
165
165
  description: string;
166
166
  name: string;
167
- schema: Record<string, unknown> | z.ZodTypeAny;
167
+ schema: z.ZodTypeAny | Record<string, unknown>;
168
168
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
169
169
  }, {
170
170
  description: string;
171
171
  name: string;
172
- schema: Record<string, unknown> | z.ZodTypeAny;
172
+ schema: z.ZodTypeAny | Record<string, unknown>;
173
173
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
174
174
  }>, "many">>>;
175
175
  maxIterations: z.ZodDefault<z.ZodNumber>;
@@ -196,6 +196,17 @@ declare const AIAgentParamsSchema: z.ZodObject<{
196
196
  enableSlackHistory: z.ZodDefault<z.ZodBoolean>;
197
197
  }, "strip", z.ZodTypeAny, {
198
198
  message: string;
199
+ images: ({
200
+ type: "base64";
201
+ data: string;
202
+ mimeType: string;
203
+ description?: string | undefined;
204
+ } | {
205
+ type: "url";
206
+ url: string;
207
+ description?: string | undefined;
208
+ })[];
209
+ systemPrompt: string;
199
210
  model: {
200
211
  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" | "google/gemini-3.1-pro-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";
201
212
  temperature: number;
@@ -212,38 +223,27 @@ declare const AIAgentParamsSchema: z.ZodObject<{
212
223
  maxRetries?: number | undefined;
213
224
  } | undefined;
214
225
  };
215
- streaming: boolean;
216
226
  tools: {
217
227
  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";
218
228
  credentials?: Partial<Record<CredentialType, string>> | undefined;
219
229
  config?: Record<string, unknown> | undefined;
220
230
  }[];
221
- images: ({
222
- type: "base64";
223
- mimeType: string;
224
- data: string;
225
- description?: string | undefined;
226
- } | {
227
- type: "url";
228
- url: string;
229
- description?: string | undefined;
230
- })[];
231
- systemPrompt: string;
232
231
  maxIterations: number;
232
+ streaming: boolean;
233
233
  memoryEnabled: boolean;
234
234
  enableSlackHistory: boolean;
235
235
  name?: string | undefined;
236
- credentials?: Partial<Record<CredentialType, string>> | undefined;
237
236
  conversationHistory?: {
238
237
  role: "user" | "assistant" | "tool";
239
238
  content: string;
240
239
  toolCallId?: string | undefined;
241
240
  name?: string | undefined;
242
241
  }[] | undefined;
242
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
243
243
  customTools?: {
244
244
  description: string;
245
245
  name: string;
246
- schema: Record<string, unknown> | z.ZodTypeAny;
246
+ schema: z.ZodTypeAny | Record<string, unknown>;
247
247
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
248
248
  }[] | undefined;
249
249
  capabilities?: {
@@ -256,7 +256,23 @@ declare const AIAgentParamsSchema: z.ZodObject<{
256
256
  }, {
257
257
  message: string;
258
258
  name?: string | undefined;
259
- credentials?: Partial<Record<CredentialType, string>> | undefined;
259
+ images?: ({
260
+ data: string;
261
+ type?: "base64" | undefined;
262
+ description?: string | undefined;
263
+ mimeType?: string | undefined;
264
+ } | {
265
+ type: "url";
266
+ url: string;
267
+ description?: string | undefined;
268
+ })[] | undefined;
269
+ conversationHistory?: {
270
+ role: "user" | "assistant" | "tool";
271
+ content: string;
272
+ toolCallId?: string | undefined;
273
+ name?: string | undefined;
274
+ }[] | undefined;
275
+ systemPrompt?: string | undefined;
260
276
  model?: {
261
277
  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" | "google/gemini-3.1-pro-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";
262
278
  temperature?: number | undefined;
@@ -273,36 +289,20 @@ declare const AIAgentParamsSchema: z.ZodObject<{
273
289
  maxRetries?: number | undefined;
274
290
  } | undefined;
275
291
  } | undefined;
276
- streaming?: boolean | undefined;
292
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
277
293
  tools?: {
278
294
  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";
279
295
  credentials?: Partial<Record<CredentialType, string>> | undefined;
280
296
  config?: Record<string, unknown> | undefined;
281
297
  }[] | undefined;
282
- images?: ({
283
- data: string;
284
- type?: "base64" | undefined;
285
- description?: string | undefined;
286
- mimeType?: string | undefined;
287
- } | {
288
- type: "url";
289
- url: string;
290
- description?: string | undefined;
291
- })[] | undefined;
292
- conversationHistory?: {
293
- role: "user" | "assistant" | "tool";
294
- content: string;
295
- toolCallId?: string | undefined;
296
- name?: string | undefined;
297
- }[] | undefined;
298
- systemPrompt?: string | undefined;
299
298
  customTools?: {
300
299
  description: string;
301
300
  name: string;
302
- schema: Record<string, unknown> | z.ZodTypeAny;
301
+ schema: z.ZodTypeAny | Record<string, unknown>;
303
302
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
304
303
  }[] | undefined;
305
304
  maxIterations?: number | undefined;
305
+ streaming?: boolean | undefined;
306
306
  capabilities?: {
307
307
  id: string;
308
308
  credentials?: Partial<Record<CredentialType, string>> | undefined;
@@ -385,8 +385,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
385
385
  description: z.ZodOptional<z.ZodString>;
386
386
  }, "strip", z.ZodTypeAny, {
387
387
  type: "base64";
388
- mimeType: string;
389
388
  data: string;
389
+ mimeType: string;
390
390
  description?: string | undefined;
391
391
  }, {
392
392
  data: string;
@@ -503,12 +503,12 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
503
503
  }, "strip", z.ZodTypeAny, {
504
504
  description: string;
505
505
  name: string;
506
- schema: Record<string, unknown> | z.ZodTypeAny;
506
+ schema: z.ZodTypeAny | Record<string, unknown>;
507
507
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
508
508
  }, {
509
509
  description: string;
510
510
  name: string;
511
- schema: Record<string, unknown> | z.ZodTypeAny;
511
+ schema: z.ZodTypeAny | Record<string, unknown>;
512
512
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
513
513
  }>, "many">>>;
514
514
  maxIterations: z.ZodDefault<z.ZodNumber>;
@@ -535,6 +535,17 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
535
535
  enableSlackHistory: z.ZodDefault<z.ZodBoolean>;
536
536
  }, "strip", z.ZodTypeAny, {
537
537
  message: string;
538
+ images: ({
539
+ type: "base64";
540
+ data: string;
541
+ mimeType: string;
542
+ description?: string | undefined;
543
+ } | {
544
+ type: "url";
545
+ url: string;
546
+ description?: string | undefined;
547
+ })[];
548
+ systemPrompt: string;
538
549
  model: {
539
550
  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" | "google/gemini-3.1-pro-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";
540
551
  temperature: number;
@@ -551,38 +562,27 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
551
562
  maxRetries?: number | undefined;
552
563
  } | undefined;
553
564
  };
554
- streaming: boolean;
555
565
  tools: {
556
566
  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";
557
567
  credentials?: Partial<Record<CredentialType, string>> | undefined;
558
568
  config?: Record<string, unknown> | undefined;
559
569
  }[];
560
- images: ({
561
- type: "base64";
562
- mimeType: string;
563
- data: string;
564
- description?: string | undefined;
565
- } | {
566
- type: "url";
567
- url: string;
568
- description?: string | undefined;
569
- })[];
570
- systemPrompt: string;
571
570
  maxIterations: number;
571
+ streaming: boolean;
572
572
  memoryEnabled: boolean;
573
573
  enableSlackHistory: boolean;
574
574
  name?: string | undefined;
575
- credentials?: Partial<Record<CredentialType, string>> | undefined;
576
575
  conversationHistory?: {
577
576
  role: "user" | "assistant" | "tool";
578
577
  content: string;
579
578
  toolCallId?: string | undefined;
580
579
  name?: string | undefined;
581
580
  }[] | undefined;
581
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
582
582
  customTools?: {
583
583
  description: string;
584
584
  name: string;
585
- schema: Record<string, unknown> | z.ZodTypeAny;
585
+ schema: z.ZodTypeAny | Record<string, unknown>;
586
586
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
587
587
  }[] | undefined;
588
588
  capabilities?: {
@@ -595,7 +595,23 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
595
595
  }, {
596
596
  message: string;
597
597
  name?: string | undefined;
598
- credentials?: Partial<Record<CredentialType, string>> | undefined;
598
+ images?: ({
599
+ data: string;
600
+ type?: "base64" | undefined;
601
+ description?: string | undefined;
602
+ mimeType?: string | undefined;
603
+ } | {
604
+ type: "url";
605
+ url: string;
606
+ description?: string | undefined;
607
+ })[] | undefined;
608
+ conversationHistory?: {
609
+ role: "user" | "assistant" | "tool";
610
+ content: string;
611
+ toolCallId?: string | undefined;
612
+ name?: string | undefined;
613
+ }[] | undefined;
614
+ systemPrompt?: string | undefined;
599
615
  model?: {
600
616
  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" | "google/gemini-3.1-pro-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";
601
617
  temperature?: number | undefined;
@@ -612,36 +628,20 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
612
628
  maxRetries?: number | undefined;
613
629
  } | undefined;
614
630
  } | undefined;
615
- streaming?: boolean | undefined;
631
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
616
632
  tools?: {
617
633
  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";
618
634
  credentials?: Partial<Record<CredentialType, string>> | undefined;
619
635
  config?: Record<string, unknown> | undefined;
620
636
  }[] | undefined;
621
- images?: ({
622
- data: string;
623
- type?: "base64" | undefined;
624
- description?: string | undefined;
625
- mimeType?: string | undefined;
626
- } | {
627
- type: "url";
628
- url: string;
629
- description?: string | undefined;
630
- })[] | undefined;
631
- conversationHistory?: {
632
- role: "user" | "assistant" | "tool";
633
- content: string;
634
- toolCallId?: string | undefined;
635
- name?: string | undefined;
636
- }[] | undefined;
637
- systemPrompt?: string | undefined;
638
637
  customTools?: {
639
638
  description: string;
640
639
  name: string;
641
- schema: Record<string, unknown> | z.ZodTypeAny;
640
+ schema: z.ZodTypeAny | Record<string, unknown>;
642
641
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
643
642
  }[] | undefined;
644
643
  maxIterations?: number | undefined;
644
+ streaming?: boolean | undefined;
645
645
  capabilities?: {
646
646
  id: string;
647
647
  credentials?: Partial<Record<CredentialType, string>> | undefined;