@bubblelab/bubble-core 0.1.12 → 0.1.14

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 (72) hide show
  1. package/dist/bubble-bundle.d.ts +122 -99
  2. package/dist/bubble-factory.d.ts +2 -3
  3. package/dist/bubble-factory.d.ts.map +1 -1
  4. package/dist/bubble-factory.js +23 -96
  5. package/dist/bubble-factory.js.map +1 -1
  6. package/dist/bubbles/service-bubble/agi-inc.d.ts +112 -112
  7. package/dist/bubbles/service-bubble/ai-agent.d.ts +62 -62
  8. package/dist/bubbles/service-bubble/airtable.d.ts +152 -152
  9. package/dist/bubbles/service-bubble/apify/apify.d.ts +26 -26
  10. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +51 -51
  11. package/dist/bubbles/service-bubble/eleven-labs.d.ts +52 -52
  12. package/dist/bubbles/service-bubble/firecrawl.d.ts +202 -202
  13. package/dist/bubbles/service-bubble/followupboss.d.ts +260 -260
  14. package/dist/bubbles/service-bubble/github.d.ts +168 -168
  15. package/dist/bubbles/service-bubble/gmail.d.ts +352 -352
  16. package/dist/bubbles/service-bubble/google-calendar.d.ts +148 -148
  17. package/dist/bubbles/service-bubble/google-drive.d.ts +130 -130
  18. package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
  19. package/dist/bubbles/service-bubble/google-drive.js +55 -17
  20. package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
  21. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +62 -62
  22. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  23. package/dist/bubbles/service-bubble/http.d.ts +16 -16
  24. package/dist/bubbles/service-bubble/insforge-db.d.ts +18 -18
  25. package/dist/bubbles/service-bubble/notion/notion.d.ts +152 -152
  26. package/dist/bubbles/service-bubble/postgresql.d.ts +18 -18
  27. package/dist/bubbles/service-bubble/resend.d.ts +20 -20
  28. package/dist/bubbles/service-bubble/slack.d.ts +318 -318
  29. package/dist/bubbles/service-bubble/storage.d.ts +40 -40
  30. package/dist/bubbles/service-bubble/telegram.d.ts +256 -256
  31. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +33 -33
  32. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  33. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  34. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  35. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  36. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +146 -0
  37. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts.map +1 -0
  38. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.js +128 -0
  39. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.js.map +1 -0
  40. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +8 -8
  41. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +8 -8
  42. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +294 -294
  43. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  44. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +14 -14
  45. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  46. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +16 -16
  47. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +60 -60
  48. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  49. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +104 -104
  50. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
  51. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  52. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  53. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
  54. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
  55. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  56. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +4 -4
  57. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  58. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +50 -50
  59. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +8 -8
  60. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +8 -8
  61. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +36 -36
  62. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  63. package/dist/bubbles.json +18 -4
  64. package/dist/index.d.ts +1 -0
  65. package/dist/index.d.ts.map +1 -1
  66. package/dist/index.js +1 -0
  67. package/dist/index.js.map +1 -1
  68. package/dist/types/available-tools.d.ts +1 -1
  69. package/dist/types/available-tools.d.ts.map +1 -1
  70. package/dist/types/available-tools.js +1 -0
  71. package/dist/types/available-tools.js.map +1 -1
  72. package/package.json +2 -2
@@ -43,8 +43,8 @@ declare const AIAgentParamsSchema: z.ZodObject<{
43
43
  description: z.ZodOptional<z.ZodString>;
44
44
  }, "strip", z.ZodTypeAny, {
45
45
  type: "base64";
46
- data: string;
47
46
  mimeType: string;
47
+ data: string;
48
48
  description?: string | undefined;
49
49
  }, {
50
50
  data: string;
@@ -70,15 +70,15 @@ declare const AIAgentParamsSchema: z.ZodObject<{
70
70
  toolCallId: z.ZodOptional<z.ZodString>;
71
71
  name: z.ZodOptional<z.ZodString>;
72
72
  }, "strip", z.ZodTypeAny, {
73
- content: string;
74
73
  role: "user" | "assistant" | "tool";
75
- name?: string | undefined;
74
+ content: string;
76
75
  toolCallId?: string | undefined;
76
+ name?: string | undefined;
77
77
  }, {
78
- content: string;
79
78
  role: "user" | "assistant" | "tool";
80
- name?: string | undefined;
79
+ content: string;
81
80
  toolCallId?: string | undefined;
81
+ name?: string | undefined;
82
82
  }>, "many">>;
83
83
  systemPrompt: z.ZodDefault<z.ZodString>;
84
84
  name: z.ZodOptional<z.ZodDefault<z.ZodString>>;
@@ -141,15 +141,15 @@ declare const AIAgentParamsSchema: z.ZodObject<{
141
141
  } | undefined;
142
142
  }>>;
143
143
  tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
144
- name: z.ZodEnum<["web-search-tool", "web-scrape-tool", "web-crawl-tool", "web-extract-tool", "research-agent-tool", "reddit-scrape-tool", "instagram-tool", "list-bubbles-tool", "get-bubble-details-tool", "bubbleflow-validation-tool", "code-edit-tool", "chart-js-tool", "amazon-shopping-tool", "linkedin-tool", "tiktok-tool", "twitter-tool", "google-maps-tool", "youtube-tool", "sql-query-tool"]>;
144
+ name: z.ZodEnum<["web-search-tool", "web-scrape-tool", "web-crawl-tool", "web-extract-tool", "research-agent-tool", "reddit-scrape-tool", "instagram-tool", "list-bubbles-tool", "get-bubble-details-tool", "get-trigger-detail-tool", "bubbleflow-validation-tool", "code-edit-tool", "chart-js-tool", "amazon-shopping-tool", "linkedin-tool", "tiktok-tool", "twitter-tool", "google-maps-tool", "youtube-tool", "sql-query-tool"]>;
145
145
  credentials: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>>;
146
146
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
147
147
  }, "strip", z.ZodTypeAny, {
148
- name: "get-bubble-details-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";
148
+ 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";
149
149
  credentials?: Partial<Record<CredentialType, string>> | undefined;
150
150
  config?: Record<string, unknown> | undefined;
151
151
  }, {
152
- name: "get-bubble-details-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";
152
+ 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";
153
153
  credentials?: Partial<Record<CredentialType, string>> | undefined;
154
154
  config?: Record<string, unknown> | undefined;
155
155
  }>, "many">>;
@@ -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>;
@@ -191,16 +191,10 @@ declare const AIAgentParamsSchema: z.ZodObject<{
191
191
  maxRetries?: number | undefined;
192
192
  } | undefined;
193
193
  };
194
- streaming: boolean;
195
- tools: {
196
- name: "get-bubble-details-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";
197
- credentials?: Partial<Record<CredentialType, string>> | undefined;
198
- config?: Record<string, unknown> | undefined;
199
- }[];
200
194
  images: ({
201
195
  type: "base64";
202
- data: string;
203
196
  mimeType: string;
197
+ data: string;
204
198
  description?: string | undefined;
205
199
  } | {
206
200
  type: "url";
@@ -208,19 +202,25 @@ declare const AIAgentParamsSchema: z.ZodObject<{
208
202
  description?: string | undefined;
209
203
  })[];
210
204
  systemPrompt: string;
205
+ tools: {
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";
207
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
208
+ config?: Record<string, unknown> | undefined;
209
+ }[];
211
210
  maxIterations: number;
211
+ streaming: boolean;
212
212
  name?: string | undefined;
213
213
  credentials?: Partial<Record<CredentialType, string>> | undefined;
214
214
  conversationHistory?: {
215
- content: string;
216
215
  role: "user" | "assistant" | "tool";
217
- name?: string | undefined;
216
+ content: string;
218
217
  toolCallId?: string | undefined;
218
+ name?: string | undefined;
219
219
  }[] | undefined;
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;
@@ -244,12 +244,6 @@ declare const AIAgentParamsSchema: z.ZodObject<{
244
244
  maxRetries?: number | undefined;
245
245
  } | undefined;
246
246
  } | undefined;
247
- streaming?: boolean | undefined;
248
- tools?: {
249
- name: "get-bubble-details-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";
250
- credentials?: Partial<Record<CredentialType, string>> | undefined;
251
- config?: Record<string, unknown> | undefined;
252
- }[] | undefined;
253
247
  images?: ({
254
248
  data: string;
255
249
  type?: "base64" | undefined;
@@ -261,19 +255,25 @@ declare const AIAgentParamsSchema: z.ZodObject<{
261
255
  description?: string | undefined;
262
256
  })[] | undefined;
263
257
  conversationHistory?: {
264
- content: string;
265
258
  role: "user" | "assistant" | "tool";
266
- name?: string | undefined;
259
+ content: string;
267
260
  toolCallId?: string | undefined;
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";
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<{
@@ -295,8 +295,8 @@ declare const AIAgentResultSchema: z.ZodObject<{
295
295
  error: z.ZodString;
296
296
  success: z.ZodBoolean;
297
297
  }, "strip", z.ZodTypeAny, {
298
- error: string;
299
298
  success: boolean;
299
+ error: string;
300
300
  response: string;
301
301
  toolCalls: {
302
302
  tool: string;
@@ -305,8 +305,8 @@ declare const AIAgentResultSchema: z.ZodObject<{
305
305
  }[];
306
306
  iterations: number;
307
307
  }, {
308
- error: string;
309
308
  success: boolean;
309
+ error: string;
310
310
  response: string;
311
311
  toolCalls: {
312
312
  tool: string;
@@ -342,8 +342,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
342
342
  description: z.ZodOptional<z.ZodString>;
343
343
  }, "strip", z.ZodTypeAny, {
344
344
  type: "base64";
345
- data: string;
346
345
  mimeType: string;
346
+ data: string;
347
347
  description?: string | undefined;
348
348
  }, {
349
349
  data: string;
@@ -369,15 +369,15 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
369
369
  toolCallId: z.ZodOptional<z.ZodString>;
370
370
  name: z.ZodOptional<z.ZodString>;
371
371
  }, "strip", z.ZodTypeAny, {
372
- content: string;
373
372
  role: "user" | "assistant" | "tool";
374
- name?: string | undefined;
373
+ content: string;
375
374
  toolCallId?: string | undefined;
375
+ name?: string | undefined;
376
376
  }, {
377
- content: string;
378
377
  role: "user" | "assistant" | "tool";
379
- name?: string | undefined;
378
+ content: string;
380
379
  toolCallId?: string | undefined;
380
+ name?: string | undefined;
381
381
  }>, "many">>;
382
382
  systemPrompt: z.ZodDefault<z.ZodString>;
383
383
  name: z.ZodOptional<z.ZodDefault<z.ZodString>>;
@@ -440,15 +440,15 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
440
440
  } | undefined;
441
441
  }>>;
442
442
  tools: z.ZodDefault<z.ZodArray<z.ZodObject<{
443
- name: z.ZodEnum<["web-search-tool", "web-scrape-tool", "web-crawl-tool", "web-extract-tool", "research-agent-tool", "reddit-scrape-tool", "instagram-tool", "list-bubbles-tool", "get-bubble-details-tool", "bubbleflow-validation-tool", "code-edit-tool", "chart-js-tool", "amazon-shopping-tool", "linkedin-tool", "tiktok-tool", "twitter-tool", "google-maps-tool", "youtube-tool", "sql-query-tool"]>;
443
+ name: z.ZodEnum<["web-search-tool", "web-scrape-tool", "web-crawl-tool", "web-extract-tool", "research-agent-tool", "reddit-scrape-tool", "instagram-tool", "list-bubbles-tool", "get-bubble-details-tool", "get-trigger-detail-tool", "bubbleflow-validation-tool", "code-edit-tool", "chart-js-tool", "amazon-shopping-tool", "linkedin-tool", "tiktok-tool", "twitter-tool", "google-maps-tool", "youtube-tool", "sql-query-tool"]>;
444
444
  credentials: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>>;
445
445
  config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
446
446
  }, "strip", z.ZodTypeAny, {
447
- name: "get-bubble-details-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";
447
+ 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";
448
448
  credentials?: Partial<Record<CredentialType, string>> | undefined;
449
449
  config?: Record<string, unknown> | undefined;
450
450
  }, {
451
- name: "get-bubble-details-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";
451
+ 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";
452
452
  credentials?: Partial<Record<CredentialType, string>> | undefined;
453
453
  config?: Record<string, unknown> | undefined;
454
454
  }>, "many">>;
@@ -460,12 +460,12 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
460
460
  }, "strip", z.ZodTypeAny, {
461
461
  description: string;
462
462
  name: string;
463
- schema: Record<string, unknown> | z.ZodTypeAny;
463
+ schema: z.ZodTypeAny | Record<string, unknown>;
464
464
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
465
465
  }, {
466
466
  description: string;
467
467
  name: string;
468
- schema: Record<string, unknown> | z.ZodTypeAny;
468
+ schema: z.ZodTypeAny | Record<string, unknown>;
469
469
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
470
470
  }>, "many">>>;
471
471
  maxIterations: z.ZodDefault<z.ZodNumber>;
@@ -490,16 +490,10 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
490
490
  maxRetries?: number | undefined;
491
491
  } | undefined;
492
492
  };
493
- streaming: boolean;
494
- tools: {
495
- name: "get-bubble-details-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";
496
- credentials?: Partial<Record<CredentialType, string>> | undefined;
497
- config?: Record<string, unknown> | undefined;
498
- }[];
499
493
  images: ({
500
494
  type: "base64";
501
- data: string;
502
495
  mimeType: string;
496
+ data: string;
503
497
  description?: string | undefined;
504
498
  } | {
505
499
  type: "url";
@@ -507,19 +501,25 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
507
501
  description?: string | undefined;
508
502
  })[];
509
503
  systemPrompt: string;
504
+ tools: {
505
+ 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";
506
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
507
+ config?: Record<string, unknown> | undefined;
508
+ }[];
510
509
  maxIterations: number;
510
+ streaming: boolean;
511
511
  name?: string | undefined;
512
512
  credentials?: Partial<Record<CredentialType, string>> | undefined;
513
513
  conversationHistory?: {
514
- content: string;
515
514
  role: "user" | "assistant" | "tool";
516
- name?: string | undefined;
515
+ content: string;
517
516
  toolCallId?: string | undefined;
517
+ name?: string | undefined;
518
518
  }[] | undefined;
519
519
  customTools?: {
520
520
  description: string;
521
521
  name: string;
522
- schema: Record<string, unknown> | z.ZodTypeAny;
522
+ schema: z.ZodTypeAny | Record<string, unknown>;
523
523
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
524
524
  }[] | undefined;
525
525
  expectedOutputSchema?: string | z.ZodTypeAny | undefined;
@@ -543,12 +543,6 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
543
543
  maxRetries?: number | undefined;
544
544
  } | undefined;
545
545
  } | undefined;
546
- streaming?: boolean | undefined;
547
- tools?: {
548
- name: "get-bubble-details-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";
549
- credentials?: Partial<Record<CredentialType, string>> | undefined;
550
- config?: Record<string, unknown> | undefined;
551
- }[] | undefined;
552
546
  images?: ({
553
547
  data: string;
554
548
  type?: "base64" | undefined;
@@ -560,19 +554,25 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
560
554
  description?: string | undefined;
561
555
  })[] | undefined;
562
556
  conversationHistory?: {
563
- content: string;
564
557
  role: "user" | "assistant" | "tool";
565
- name?: string | undefined;
558
+ content: string;
566
559
  toolCallId?: string | undefined;
560
+ name?: string | undefined;
567
561
  }[] | undefined;
568
562
  systemPrompt?: string | undefined;
563
+ tools?: {
564
+ 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";
565
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
566
+ config?: Record<string, unknown> | undefined;
567
+ }[] | undefined;
569
568
  customTools?: {
570
569
  description: string;
571
570
  name: string;
572
- schema: Record<string, unknown> | z.ZodTypeAny;
571
+ schema: z.ZodTypeAny | Record<string, unknown>;
573
572
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
574
573
  }[] | undefined;
575
574
  maxIterations?: number | undefined;
575
+ streaming?: boolean | undefined;
576
576
  expectedOutputSchema?: string | z.ZodTypeAny | undefined;
577
577
  }>;
578
578
  static readonly resultSchema: z.ZodObject<{
@@ -594,8 +594,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
594
594
  error: z.ZodString;
595
595
  success: z.ZodBoolean;
596
596
  }, "strip", z.ZodTypeAny, {
597
- error: string;
598
597
  success: boolean;
598
+ error: string;
599
599
  response: string;
600
600
  toolCalls: {
601
601
  tool: string;
@@ -604,8 +604,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
604
604
  }[];
605
605
  iterations: number;
606
606
  }, {
607
- error: string;
608
607
  success: boolean;
608
+ error: string;
609
609
  response: string;
610
610
  toolCalls: {
611
611
  tool: string;