@bubblelab/bubble-core 0.1.212 → 0.1.213

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 (95) hide show
  1. package/dist/bubble-bundle.d.ts +150 -150
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +112 -112
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +72 -72
  4. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  5. package/dist/bubbles/service-bubble/ai-agent.js +192 -25
  6. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  7. package/dist/bubbles/service-bubble/airtable.d.ts +158 -158
  8. package/dist/bubbles/service-bubble/apify/apify.d.ts +26 -26
  9. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +90 -90
  10. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +70 -70
  11. package/dist/bubbles/service-bubble/assembled/assembled.d.ts +55 -55
  12. package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +24 -24
  13. package/dist/bubbles/service-bubble/attio/attio.d.ts +66 -66
  14. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +2 -2
  15. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +58 -58
  16. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +12 -12
  17. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +43 -43
  18. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +4 -4
  19. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +94 -94
  20. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +158 -158
  21. package/dist/bubbles/service-bubble/eleven-labs.d.ts +48 -48
  22. package/dist/bubbles/service-bubble/firecrawl.d.ts +284 -284
  23. package/dist/bubbles/service-bubble/followupboss.d.ts +260 -260
  24. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +44 -44
  25. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +124 -124
  26. package/dist/bubbles/service-bubble/github.d.ts +102 -102
  27. package/dist/bubbles/service-bubble/gmail.d.ts +238 -238
  28. package/dist/bubbles/service-bubble/google-calendar.d.ts +132 -132
  29. package/dist/bubbles/service-bubble/google-drive.d.ts +146 -146
  30. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +52 -52
  31. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +26 -26
  32. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  33. package/dist/bubbles/service-bubble/http.d.ts +10 -10
  34. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +20 -20
  35. package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
  36. package/dist/bubbles/service-bubble/jira/jira.d.ts +62 -62
  37. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +31 -31
  38. package/dist/bubbles/service-bubble/linear/linear.d.ts +44 -44
  39. package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +15 -15
  40. package/dist/bubbles/service-bubble/notion/notion.d.ts +184 -184
  41. package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
  42. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +33 -33
  43. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +30 -30
  44. package/dist/bubbles/service-bubble/resend.d.ts +24 -24
  45. package/dist/bubbles/service-bubble/s3/s3.d.ts +44 -44
  46. package/dist/bubbles/service-bubble/s3/s3.schema.d.ts +14 -14
  47. package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +18 -18
  48. package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +6 -6
  49. package/dist/bubbles/service-bubble/slack/slack.d.ts +224 -224
  50. package/dist/bubbles/service-bubble/storage.d.ts +88 -88
  51. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +123 -123
  52. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +87 -87
  53. package/dist/bubbles/service-bubble/telegram.d.ts +120 -120
  54. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +28 -28
  55. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +5 -5
  56. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +4 -4
  57. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +4 -4
  58. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +4 -4
  59. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +4 -4
  60. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  61. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +8 -8
  62. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  63. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +4 -4
  64. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  65. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  66. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +8 -8
  67. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +8 -8
  68. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +345 -345
  69. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
  70. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
  71. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  72. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +4 -4
  73. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +4 -4
  74. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +4 -4
  75. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  76. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  77. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +60 -60
  78. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  79. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +132 -132
  80. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
  81. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  82. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  83. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
  84. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +12 -12
  85. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +28 -28
  86. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  87. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +16 -16
  88. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
  89. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +58 -58
  90. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +8 -8
  91. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +4 -4
  92. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +12 -12
  93. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  94. package/dist/bubbles.json +1 -1
  95. package/package.json +2 -2
@@ -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>;
@@ -196,17 +196,6 @@ 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;
210
199
  model: {
211
200
  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";
212
201
  temperature: number;
@@ -223,13 +212,24 @@ declare const AIAgentParamsSchema: z.ZodObject<{
223
212
  maxRetries?: number | undefined;
224
213
  } | undefined;
225
214
  };
215
+ streaming: boolean;
226
216
  tools: {
227
217
  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";
228
218
  credentials?: Partial<Record<CredentialType, string>> | undefined;
229
219
  config?: Record<string, unknown> | undefined;
230
220
  }[];
221
+ images: ({
222
+ type: "base64";
223
+ data: string;
224
+ mimeType: string;
225
+ description?: string | undefined;
226
+ } | {
227
+ type: "url";
228
+ url: string;
229
+ description?: string | undefined;
230
+ })[];
231
+ systemPrompt: string;
231
232
  maxIterations: number;
232
- streaming: boolean;
233
233
  memoryEnabled: boolean;
234
234
  enableSlackHistory: boolean;
235
235
  name?: string | undefined;
@@ -243,7 +243,7 @@ declare const AIAgentParamsSchema: z.ZodObject<{
243
243
  customTools?: {
244
244
  description: string;
245
245
  name: string;
246
- schema: z.ZodTypeAny | Record<string, unknown>;
246
+ schema: Record<string, unknown> | z.ZodTypeAny;
247
247
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
248
248
  }[] | undefined;
249
249
  capabilities?: {
@@ -257,23 +257,6 @@ declare const AIAgentParamsSchema: z.ZodObject<{
257
257
  message: string;
258
258
  name?: string | undefined;
259
259
  credentials?: Partial<Record<CredentialType, string>> | undefined;
260
- images?: ({
261
- data: string;
262
- type?: "base64" | undefined;
263
- description?: string | undefined;
264
- mimeType?: string | undefined;
265
- } | {
266
- type: "url";
267
- url: string;
268
- description?: string | undefined;
269
- })[] | undefined;
270
- conversationHistory?: {
271
- role: "user" | "assistant" | "tool";
272
- content: string;
273
- toolCallId?: string | undefined;
274
- name?: string | undefined;
275
- }[] | undefined;
276
- systemPrompt?: string | undefined;
277
260
  model?: {
278
261
  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";
279
262
  temperature?: number | undefined;
@@ -290,19 +273,36 @@ declare const AIAgentParamsSchema: z.ZodObject<{
290
273
  maxRetries?: number | undefined;
291
274
  } | undefined;
292
275
  } | undefined;
276
+ streaming?: boolean | undefined;
293
277
  tools?: {
294
278
  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";
295
279
  credentials?: Partial<Record<CredentialType, string>> | undefined;
296
280
  config?: Record<string, unknown> | undefined;
297
281
  }[] | 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;
298
299
  customTools?: {
299
300
  description: string;
300
301
  name: string;
301
- schema: z.ZodTypeAny | Record<string, unknown>;
302
+ schema: Record<string, unknown> | z.ZodTypeAny;
302
303
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
303
304
  }[] | undefined;
304
305
  maxIterations?: number | undefined;
305
- streaming?: boolean | undefined;
306
306
  capabilities?: {
307
307
  id: string;
308
308
  credentials?: Partial<Record<CredentialType, string>> | undefined;
@@ -334,8 +334,8 @@ declare const AIAgentResultSchema: z.ZodObject<{
334
334
  error: z.ZodString;
335
335
  success: z.ZodBoolean;
336
336
  }, "strip", z.ZodTypeAny, {
337
- success: boolean;
338
337
  error: string;
338
+ success: boolean;
339
339
  response: string;
340
340
  toolCalls: {
341
341
  tool: string;
@@ -346,8 +346,8 @@ declare const AIAgentResultSchema: z.ZodObject<{
346
346
  reasoning?: string | null | undefined;
347
347
  totalCost?: number | undefined;
348
348
  }, {
349
- success: boolean;
350
349
  error: string;
350
+ success: boolean;
351
351
  response: string;
352
352
  toolCalls: {
353
353
  tool: 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: 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
  }, {
509
509
  description: string;
510
510
  name: string;
511
- schema: z.ZodTypeAny | Record<string, unknown>;
511
+ schema: Record<string, unknown> | z.ZodTypeAny;
512
512
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
513
513
  }>, "many">>>;
514
514
  maxIterations: z.ZodDefault<z.ZodNumber>;
@@ -535,17 +535,6 @@ 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;
549
538
  model: {
550
539
  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";
551
540
  temperature: number;
@@ -562,13 +551,24 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
562
551
  maxRetries?: number | undefined;
563
552
  } | undefined;
564
553
  };
554
+ streaming: boolean;
565
555
  tools: {
566
556
  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";
567
557
  credentials?: Partial<Record<CredentialType, string>> | undefined;
568
558
  config?: Record<string, unknown> | undefined;
569
559
  }[];
560
+ images: ({
561
+ type: "base64";
562
+ data: string;
563
+ mimeType: string;
564
+ description?: string | undefined;
565
+ } | {
566
+ type: "url";
567
+ url: string;
568
+ description?: string | undefined;
569
+ })[];
570
+ systemPrompt: string;
570
571
  maxIterations: number;
571
- streaming: boolean;
572
572
  memoryEnabled: boolean;
573
573
  enableSlackHistory: boolean;
574
574
  name?: string | undefined;
@@ -582,7 +582,7 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
582
582
  customTools?: {
583
583
  description: string;
584
584
  name: string;
585
- schema: z.ZodTypeAny | Record<string, unknown>;
585
+ schema: Record<string, unknown> | z.ZodTypeAny;
586
586
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
587
587
  }[] | undefined;
588
588
  capabilities?: {
@@ -596,23 +596,6 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
596
596
  message: string;
597
597
  name?: string | undefined;
598
598
  credentials?: Partial<Record<CredentialType, string>> | undefined;
599
- images?: ({
600
- data: string;
601
- type?: "base64" | undefined;
602
- description?: string | undefined;
603
- mimeType?: string | undefined;
604
- } | {
605
- type: "url";
606
- url: string;
607
- description?: string | undefined;
608
- })[] | undefined;
609
- conversationHistory?: {
610
- role: "user" | "assistant" | "tool";
611
- content: string;
612
- toolCallId?: string | undefined;
613
- name?: string | undefined;
614
- }[] | undefined;
615
- systemPrompt?: string | undefined;
616
599
  model?: {
617
600
  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";
618
601
  temperature?: number | undefined;
@@ -629,19 +612,36 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
629
612
  maxRetries?: number | undefined;
630
613
  } | undefined;
631
614
  } | undefined;
615
+ streaming?: boolean | undefined;
632
616
  tools?: {
633
617
  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";
634
618
  credentials?: Partial<Record<CredentialType, string>> | undefined;
635
619
  config?: Record<string, unknown> | undefined;
636
620
  }[] | 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;
637
638
  customTools?: {
638
639
  description: string;
639
640
  name: string;
640
- schema: z.ZodTypeAny | Record<string, unknown>;
641
+ schema: Record<string, unknown> | z.ZodTypeAny;
641
642
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
642
643
  }[] | undefined;
643
644
  maxIterations?: number | undefined;
644
- streaming?: boolean | undefined;
645
645
  capabilities?: {
646
646
  id: string;
647
647
  credentials?: Partial<Record<CredentialType, string>> | undefined;
@@ -673,8 +673,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
673
673
  error: z.ZodString;
674
674
  success: z.ZodBoolean;
675
675
  }, "strip", z.ZodTypeAny, {
676
- success: boolean;
677
676
  error: string;
677
+ success: boolean;
678
678
  response: string;
679
679
  toolCalls: {
680
680
  tool: string;
@@ -685,8 +685,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
685
685
  reasoning?: string | null | undefined;
686
686
  totalCost?: number | undefined;
687
687
  }, {
688
- success: boolean;
689
688
  error: string;
689
+ success: boolean;
690
690
  response: string;
691
691
  toolCalls: {
692
692
  tool: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ai-agent.d.ts","sourceRoot":"","sources":["../../../src/bubbles/service-bubble/ai-agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAmB,MAAM,KAAK,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EACL,cAAc,EAGf,MAAM,2BAA2B,CAAC;AAInC,OAAO,EAEL,SAAS,EAGT,cAAc,EACf,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAM5D,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,gCAAgC,CAAC;AAExC,OAAO,KAA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