@bubblelab/bubble-core 0.1.113 → 0.1.114

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 +94 -94
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +132 -132
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +70 -70
  4. package/dist/bubbles/service-bubble/airtable.d.ts +250 -250
  5. package/dist/bubbles/service-bubble/apify/apify.d.ts +24 -24
  6. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +228 -228
  7. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +57 -57
  8. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +84 -84
  9. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +87 -87
  10. package/dist/bubbles/service-bubble/confluence/confluence.schema.js +1 -1
  11. package/dist/bubbles/service-bubble/confluence/confluence.schema.js.map +1 -1
  12. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +102 -102
  13. package/dist/bubbles/service-bubble/eleven-labs.d.ts +56 -56
  14. package/dist/bubbles/service-bubble/firecrawl.d.ts +298 -298
  15. package/dist/bubbles/service-bubble/followupboss.d.ts +322 -322
  16. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +44 -44
  17. package/dist/bubbles/service-bubble/github.d.ts +298 -298
  18. package/dist/bubbles/service-bubble/gmail.d.ts +650 -650
  19. package/dist/bubbles/service-bubble/google-calendar.d.ts +66 -66
  20. package/dist/bubbles/service-bubble/google-drive.d.ts +152 -152
  21. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +44 -44
  22. package/dist/bubbles/service-bubble/hello-world.d.ts +6 -6
  23. package/dist/bubbles/service-bubble/http.d.ts +16 -16
  24. package/dist/bubbles/service-bubble/insforge-db.d.ts +4 -4
  25. package/dist/bubbles/service-bubble/jira/jira.d.ts +91 -91
  26. package/dist/bubbles/service-bubble/notion/notion.d.ts +1651 -1651
  27. package/dist/bubbles/service-bubble/postgresql.d.ts +4 -4
  28. package/dist/bubbles/service-bubble/resend.d.ts +24 -24
  29. package/dist/bubbles/service-bubble/slack/slack.d.ts +368 -368
  30. package/dist/bubbles/service-bubble/storage.d.ts +44 -44
  31. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +157 -157
  32. package/dist/bubbles/service-bubble/telegram.d.ts +254 -254
  33. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +26 -26
  34. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +16 -16
  35. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  36. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  37. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +54 -54
  38. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  39. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  40. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +12 -12
  41. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +12 -12
  42. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +4 -4
  43. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +66 -66
  44. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +12 -12
  45. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +36 -36
  46. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +12 -12
  47. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +62 -62
  48. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +16 -16
  49. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
  50. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  51. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +12 -12
  52. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  53. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +82 -82
  54. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +16 -16
  55. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +12 -12
  56. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +12 -12
  57. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +20 -20
  58. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +64 -64
  59. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +38 -38
  60. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  61. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
  62. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +36 -36
  63. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +142 -142
  64. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +32 -32
  65. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +6 -6
  66. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +14 -14
  67. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  68. package/dist/bubbles.json +4 -2
  69. package/package.json +2 -2
@@ -159,13 +159,13 @@ declare const AIAgentParamsSchema: z.ZodObject<{
159
159
  schema: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodType<z.ZodTypeAny, z.ZodTypeDef, z.ZodTypeAny>]>;
160
160
  func: z.ZodFunction<z.ZodTuple<[z.ZodRecord<z.ZodString, z.ZodUnknown>], z.ZodUnknown>, z.ZodPromise<z.ZodUnknown>>;
161
161
  }, "strip", z.ZodTypeAny, {
162
- description: string;
163
162
  name: string;
163
+ description: string;
164
164
  schema: z.ZodTypeAny | Record<string, unknown>;
165
165
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
166
166
  }, {
167
- description: string;
168
167
  name: string;
168
+ description: string;
169
169
  schema: z.ZodTypeAny | Record<string, unknown>;
170
170
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
171
171
  }>, "many">>>;
@@ -188,17 +188,6 @@ declare const AIAgentParamsSchema: z.ZodObject<{
188
188
  expectedOutputSchema: z.ZodOptional<z.ZodUnion<[z.ZodType<z.ZodTypeAny, z.ZodTypeDef, z.ZodTypeAny>, z.ZodString]>>;
189
189
  }, "strip", z.ZodTypeAny, {
190
190
  message: string;
191
- images: ({
192
- type: "base64";
193
- data: string;
194
- mimeType: string;
195
- description?: string | undefined;
196
- } | {
197
- type: "url";
198
- url: string;
199
- description?: string | undefined;
200
- })[];
201
- systemPrompt: string;
202
191
  model: {
203
192
  model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
204
193
  temperature: number;
@@ -215,6 +204,17 @@ declare const AIAgentParamsSchema: z.ZodObject<{
215
204
  maxRetries?: number | undefined;
216
205
  } | undefined;
217
206
  };
207
+ images: ({
208
+ type: "base64";
209
+ data: string;
210
+ mimeType: string;
211
+ description?: string | undefined;
212
+ } | {
213
+ type: "url";
214
+ url: string;
215
+ description?: string | undefined;
216
+ })[];
217
+ systemPrompt: string;
218
218
  tools: {
219
219
  name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
220
220
  credentials?: Partial<Record<CredentialType, string>> | undefined;
@@ -223,16 +223,16 @@ declare const AIAgentParamsSchema: z.ZodObject<{
223
223
  maxIterations: number;
224
224
  streaming: boolean;
225
225
  name?: string | undefined;
226
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
226
227
  conversationHistory?: {
227
228
  role: "user" | "assistant" | "tool";
228
229
  content: string;
229
230
  toolCallId?: string | undefined;
230
231
  name?: string | undefined;
231
232
  }[] | undefined;
232
- credentials?: Partial<Record<CredentialType, string>> | undefined;
233
233
  customTools?: {
234
- description: string;
235
234
  name: string;
235
+ description: string;
236
236
  schema: z.ZodTypeAny | Record<string, unknown>;
237
237
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
238
238
  }[] | undefined;
@@ -245,6 +245,23 @@ declare const AIAgentParamsSchema: z.ZodObject<{
245
245
  }, {
246
246
  message: string;
247
247
  name?: string | undefined;
248
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
249
+ model?: {
250
+ model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
251
+ temperature?: number | undefined;
252
+ maxTokens?: number | undefined;
253
+ reasoningEffort?: "low" | "medium" | "high" | undefined;
254
+ maxRetries?: number | undefined;
255
+ provider?: string[] | undefined;
256
+ jsonMode?: boolean | undefined;
257
+ backupModel?: {
258
+ model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
259
+ temperature?: number | undefined;
260
+ maxTokens?: number | undefined;
261
+ reasoningEffort?: "low" | "medium" | "high" | undefined;
262
+ maxRetries?: number | undefined;
263
+ } | undefined;
264
+ } | undefined;
248
265
  images?: ({
249
266
  data: string;
250
267
  type?: "base64" | undefined;
@@ -262,31 +279,14 @@ declare const AIAgentParamsSchema: z.ZodObject<{
262
279
  name?: string | undefined;
263
280
  }[] | undefined;
264
281
  systemPrompt?: string | undefined;
265
- model?: {
266
- model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
267
- temperature?: number | undefined;
268
- maxTokens?: number | undefined;
269
- reasoningEffort?: "low" | "medium" | "high" | undefined;
270
- maxRetries?: number | undefined;
271
- provider?: string[] | undefined;
272
- jsonMode?: boolean | undefined;
273
- backupModel?: {
274
- model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
275
- temperature?: number | undefined;
276
- maxTokens?: number | undefined;
277
- reasoningEffort?: "low" | "medium" | "high" | undefined;
278
- maxRetries?: number | undefined;
279
- } | undefined;
280
- } | undefined;
281
- credentials?: Partial<Record<CredentialType, string>> | undefined;
282
282
  tools?: {
283
283
  name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
284
284
  credentials?: Partial<Record<CredentialType, string>> | undefined;
285
285
  config?: Record<string, unknown> | undefined;
286
286
  }[] | undefined;
287
287
  customTools?: {
288
- description: string;
289
288
  name: string;
289
+ description: string;
290
290
  schema: z.ZodTypeAny | Record<string, unknown>;
291
291
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
292
292
  }[] | undefined;
@@ -320,8 +320,8 @@ declare const AIAgentResultSchema: z.ZodObject<{
320
320
  error: z.ZodString;
321
321
  success: z.ZodBoolean;
322
322
  }, "strip", z.ZodTypeAny, {
323
- error: string;
324
323
  success: boolean;
324
+ error: string;
325
325
  response: string;
326
326
  toolCalls: {
327
327
  tool: string;
@@ -332,8 +332,8 @@ declare const AIAgentResultSchema: z.ZodObject<{
332
332
  reasoning?: string | null | undefined;
333
333
  totalCost?: number | undefined;
334
334
  }, {
335
- error: string;
336
335
  success: boolean;
336
+ error: string;
337
337
  response: string;
338
338
  toolCalls: {
339
339
  tool: string;
@@ -487,13 +487,13 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
487
487
  schema: z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodType<z.ZodTypeAny, z.ZodTypeDef, z.ZodTypeAny>]>;
488
488
  func: z.ZodFunction<z.ZodTuple<[z.ZodRecord<z.ZodString, z.ZodUnknown>], z.ZodUnknown>, z.ZodPromise<z.ZodUnknown>>;
489
489
  }, "strip", z.ZodTypeAny, {
490
- description: string;
491
490
  name: string;
491
+ description: string;
492
492
  schema: z.ZodTypeAny | Record<string, unknown>;
493
493
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
494
494
  }, {
495
- description: string;
496
495
  name: string;
496
+ description: string;
497
497
  schema: z.ZodTypeAny | Record<string, unknown>;
498
498
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
499
499
  }>, "many">>>;
@@ -516,17 +516,6 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
516
516
  expectedOutputSchema: z.ZodOptional<z.ZodUnion<[z.ZodType<z.ZodTypeAny, z.ZodTypeDef, z.ZodTypeAny>, z.ZodString]>>;
517
517
  }, "strip", z.ZodTypeAny, {
518
518
  message: string;
519
- images: ({
520
- type: "base64";
521
- data: string;
522
- mimeType: string;
523
- description?: string | undefined;
524
- } | {
525
- type: "url";
526
- url: string;
527
- description?: string | undefined;
528
- })[];
529
- systemPrompt: string;
530
519
  model: {
531
520
  model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
532
521
  temperature: number;
@@ -543,6 +532,17 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
543
532
  maxRetries?: number | undefined;
544
533
  } | undefined;
545
534
  };
535
+ images: ({
536
+ type: "base64";
537
+ data: string;
538
+ mimeType: string;
539
+ description?: string | undefined;
540
+ } | {
541
+ type: "url";
542
+ url: string;
543
+ description?: string | undefined;
544
+ })[];
545
+ systemPrompt: string;
546
546
  tools: {
547
547
  name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
548
548
  credentials?: Partial<Record<CredentialType, string>> | undefined;
@@ -551,16 +551,16 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
551
551
  maxIterations: number;
552
552
  streaming: boolean;
553
553
  name?: string | undefined;
554
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
554
555
  conversationHistory?: {
555
556
  role: "user" | "assistant" | "tool";
556
557
  content: string;
557
558
  toolCallId?: string | undefined;
558
559
  name?: string | undefined;
559
560
  }[] | undefined;
560
- credentials?: Partial<Record<CredentialType, string>> | undefined;
561
561
  customTools?: {
562
- description: string;
563
562
  name: string;
563
+ description: string;
564
564
  schema: z.ZodTypeAny | Record<string, unknown>;
565
565
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
566
566
  }[] | undefined;
@@ -573,6 +573,23 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
573
573
  }, {
574
574
  message: string;
575
575
  name?: string | undefined;
576
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
577
+ model?: {
578
+ model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
579
+ temperature?: number | undefined;
580
+ maxTokens?: number | undefined;
581
+ reasoningEffort?: "low" | "medium" | "high" | undefined;
582
+ maxRetries?: number | undefined;
583
+ provider?: string[] | undefined;
584
+ jsonMode?: boolean | undefined;
585
+ backupModel?: {
586
+ model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
587
+ temperature?: number | undefined;
588
+ maxTokens?: number | undefined;
589
+ reasoningEffort?: "low" | "medium" | "high" | undefined;
590
+ maxRetries?: number | undefined;
591
+ } | undefined;
592
+ } | undefined;
576
593
  images?: ({
577
594
  data: string;
578
595
  type?: "base64" | undefined;
@@ -590,31 +607,14 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
590
607
  name?: string | undefined;
591
608
  }[] | undefined;
592
609
  systemPrompt?: string | undefined;
593
- model?: {
594
- model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
595
- temperature?: number | undefined;
596
- maxTokens?: number | undefined;
597
- reasoningEffort?: "low" | "medium" | "high" | undefined;
598
- maxRetries?: number | undefined;
599
- provider?: string[] | undefined;
600
- jsonMode?: boolean | undefined;
601
- backupModel?: {
602
- model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
603
- temperature?: number | undefined;
604
- maxTokens?: number | undefined;
605
- reasoningEffort?: "low" | "medium" | "high" | undefined;
606
- maxRetries?: number | undefined;
607
- } | undefined;
608
- } | undefined;
609
- credentials?: Partial<Record<CredentialType, string>> | undefined;
610
610
  tools?: {
611
611
  name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
612
612
  credentials?: Partial<Record<CredentialType, string>> | undefined;
613
613
  config?: Record<string, unknown> | undefined;
614
614
  }[] | undefined;
615
615
  customTools?: {
616
- description: string;
617
616
  name: string;
617
+ description: string;
618
618
  schema: z.ZodTypeAny | Record<string, unknown>;
619
619
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
620
620
  }[] | undefined;
@@ -648,8 +648,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
648
648
  error: z.ZodString;
649
649
  success: z.ZodBoolean;
650
650
  }, "strip", z.ZodTypeAny, {
651
- error: string;
652
651
  success: boolean;
652
+ error: string;
653
653
  response: string;
654
654
  toolCalls: {
655
655
  tool: string;
@@ -660,8 +660,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
660
660
  reasoning?: string | null | undefined;
661
661
  totalCost?: number | undefined;
662
662
  }, {
663
- error: string;
664
663
  success: boolean;
664
+ error: string;
665
665
  response: string;
666
666
  toolCalls: {
667
667
  tool: string;