@bubblelab/bubble-core 0.1.95 → 0.1.97

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 (80) hide show
  1. package/dist/bubble-bundle.d.ts +112 -112
  2. package/dist/bubble-factory.d.ts +10 -0
  3. package/dist/bubble-factory.d.ts.map +1 -1
  4. package/dist/bubble-factory.js +30 -0
  5. package/dist/bubble-factory.js.map +1 -1
  6. package/dist/bubbles/service-bubble/agi-inc.d.ts +140 -140
  7. package/dist/bubbles/service-bubble/ai-agent.d.ts +72 -72
  8. package/dist/bubbles/service-bubble/airtable.d.ts +154 -154
  9. package/dist/bubbles/service-bubble/apify/apify.d.ts +30 -30
  10. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +88 -88
  11. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +18 -18
  12. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +51 -51
  13. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +20 -20
  14. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +134 -134
  15. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +16 -16
  16. package/dist/bubbles/service-bubble/eleven-labs.d.ts +56 -56
  17. package/dist/bubbles/service-bubble/firecrawl.d.ts +760 -760
  18. package/dist/bubbles/service-bubble/followupboss.d.ts +282 -282
  19. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +84 -84
  20. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +12 -12
  21. package/dist/bubbles/service-bubble/github.d.ts +196 -196
  22. package/dist/bubbles/service-bubble/gmail.d.ts +344 -344
  23. package/dist/bubbles/service-bubble/gmail.d.ts.map +1 -1
  24. package/dist/bubbles/service-bubble/gmail.js +10 -4
  25. package/dist/bubbles/service-bubble/gmail.js.map +1 -1
  26. package/dist/bubbles/service-bubble/google-calendar.d.ts +164 -164
  27. package/dist/bubbles/service-bubble/google-drive.d.ts +152 -152
  28. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +62 -62
  29. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +22 -22
  30. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  31. package/dist/bubbles/service-bubble/http.d.ts +14 -14
  32. package/dist/bubbles/service-bubble/insforge-db.d.ts +16 -16
  33. package/dist/bubbles/service-bubble/jira/jira.d.ts +78 -78
  34. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +36 -36
  35. package/dist/bubbles/service-bubble/notion/notion.d.ts +999 -999
  36. package/dist/bubbles/service-bubble/postgresql.d.ts +20 -20
  37. package/dist/bubbles/service-bubble/resend.d.ts +50 -50
  38. package/dist/bubbles/service-bubble/slack/slack.d.ts +594 -594
  39. package/dist/bubbles/service-bubble/storage.d.ts +40 -40
  40. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +121 -121
  41. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +38 -38
  42. package/dist/bubbles/service-bubble/telegram.d.ts +1600 -1600
  43. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +29 -29
  44. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +14 -14
  45. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +24 -24
  46. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +22 -22
  47. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +12 -12
  48. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +62 -62
  49. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  50. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  51. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +8 -8
  52. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +18 -18
  53. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +4 -4
  54. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +2 -2
  55. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +349 -349
  56. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
  57. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
  58. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  59. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +122 -122
  60. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +28 -28
  61. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  62. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +12 -12
  63. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +80 -80
  64. package/dist/bubbles/tool-bubble/tool-template.d.ts +8 -8
  65. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +164 -164
  66. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +22 -22
  67. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  68. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  69. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +12 -12
  70. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +28 -28
  71. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  72. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +40 -40
  73. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +12 -12
  74. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +98 -98
  75. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +32 -32
  76. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +32 -32
  77. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +92 -92
  78. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
  79. package/dist/bubbles.json +6 -6
  80. package/package.json +2 -2
@@ -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>;
@@ -175,6 +175,17 @@ declare const AIAgentParamsSchema: z.ZodObject<{
175
175
  expectedOutputSchema: z.ZodOptional<z.ZodUnion<[z.ZodType<z.ZodTypeAny, z.ZodTypeDef, z.ZodTypeAny>, z.ZodString]>>;
176
176
  }, "strip", z.ZodTypeAny, {
177
177
  message: string;
178
+ images: ({
179
+ type: "base64";
180
+ mimeType: string;
181
+ data: string;
182
+ description?: string | undefined;
183
+ } | {
184
+ type: "url";
185
+ url: string;
186
+ description?: string | undefined;
187
+ })[];
188
+ systemPrompt: string;
178
189
  model: {
179
190
  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";
180
191
  temperature: number;
@@ -191,24 +202,13 @@ declare const AIAgentParamsSchema: z.ZodObject<{
191
202
  maxRetries?: number | undefined;
192
203
  } | undefined;
193
204
  };
194
- streaming: boolean;
195
205
  tools: {
196
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" | "people-search-tool";
197
207
  credentials?: Partial<Record<CredentialType, string>> | undefined;
198
208
  config?: Record<string, unknown> | undefined;
199
209
  }[];
200
- images: ({
201
- type: "base64";
202
- mimeType: string;
203
- data: string;
204
- description?: string | undefined;
205
- } | {
206
- type: "url";
207
- url: string;
208
- description?: string | undefined;
209
- })[];
210
- systemPrompt: string;
211
210
  maxIterations: number;
211
+ streaming: boolean;
212
212
  name?: string | undefined;
213
213
  credentials?: Partial<Record<CredentialType, string>> | undefined;
214
214
  conversationHistory?: {
@@ -220,7 +220,7 @@ declare const AIAgentParamsSchema: z.ZodObject<{
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;
@@ -228,6 +228,23 @@ declare const AIAgentParamsSchema: z.ZodObject<{
228
228
  message: string;
229
229
  name?: string | undefined;
230
230
  credentials?: Partial<Record<CredentialType, string>> | undefined;
231
+ images?: ({
232
+ data: string;
233
+ type?: "base64" | undefined;
234
+ description?: string | undefined;
235
+ mimeType?: string | undefined;
236
+ } | {
237
+ type: "url";
238
+ url: string;
239
+ description?: string | undefined;
240
+ })[] | undefined;
241
+ conversationHistory?: {
242
+ role: "user" | "assistant" | "tool";
243
+ content: string;
244
+ toolCallId?: string | undefined;
245
+ name?: string | undefined;
246
+ }[] | undefined;
247
+ systemPrompt?: string | undefined;
231
248
  model?: {
232
249
  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";
233
250
  temperature?: number | undefined;
@@ -244,36 +261,19 @@ declare const AIAgentParamsSchema: z.ZodObject<{
244
261
  maxRetries?: number | undefined;
245
262
  } | undefined;
246
263
  } | undefined;
247
- streaming?: boolean | undefined;
248
264
  tools?: {
249
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" | "people-search-tool";
250
266
  credentials?: Partial<Record<CredentialType, string>> | undefined;
251
267
  config?: Record<string, unknown> | undefined;
252
268
  }[] | undefined;
253
- images?: ({
254
- data: string;
255
- type?: "base64" | undefined;
256
- description?: string | undefined;
257
- mimeType?: string | undefined;
258
- } | {
259
- type: "url";
260
- url: string;
261
- description?: string | undefined;
262
- })[] | undefined;
263
- conversationHistory?: {
264
- role: "user" | "assistant" | "tool";
265
- content: string;
266
- toolCallId?: string | undefined;
267
- name?: string | undefined;
268
- }[] | undefined;
269
- systemPrompt?: string | 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<{
@@ -297,8 +297,8 @@ declare const AIAgentResultSchema: z.ZodObject<{
297
297
  error: z.ZodString;
298
298
  success: z.ZodBoolean;
299
299
  }, "strip", z.ZodTypeAny, {
300
- error: string;
301
300
  success: boolean;
301
+ error: string;
302
302
  response: string;
303
303
  toolCalls: {
304
304
  tool: string;
@@ -309,8 +309,8 @@ declare const AIAgentResultSchema: z.ZodObject<{
309
309
  reasoning?: string | null | undefined;
310
310
  totalCost?: number | undefined;
311
311
  }, {
312
- error: string;
313
312
  success: boolean;
313
+ error: string;
314
314
  response: string;
315
315
  toolCalls: {
316
316
  tool: string;
@@ -466,12 +466,12 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
466
466
  }, "strip", z.ZodTypeAny, {
467
467
  description: string;
468
468
  name: string;
469
- schema: Record<string, unknown> | z.ZodTypeAny;
469
+ schema: z.ZodTypeAny | Record<string, unknown>;
470
470
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
471
471
  }, {
472
472
  description: string;
473
473
  name: string;
474
- schema: Record<string, unknown> | z.ZodTypeAny;
474
+ schema: z.ZodTypeAny | Record<string, unknown>;
475
475
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
476
476
  }>, "many">>>;
477
477
  maxIterations: z.ZodDefault<z.ZodNumber>;
@@ -480,6 +480,17 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
480
480
  expectedOutputSchema: z.ZodOptional<z.ZodUnion<[z.ZodType<z.ZodTypeAny, z.ZodTypeDef, z.ZodTypeAny>, z.ZodString]>>;
481
481
  }, "strip", z.ZodTypeAny, {
482
482
  message: string;
483
+ images: ({
484
+ type: "base64";
485
+ mimeType: string;
486
+ data: string;
487
+ description?: string | undefined;
488
+ } | {
489
+ type: "url";
490
+ url: string;
491
+ description?: string | undefined;
492
+ })[];
493
+ systemPrompt: string;
483
494
  model: {
484
495
  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";
485
496
  temperature: number;
@@ -496,24 +507,13 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
496
507
  maxRetries?: number | undefined;
497
508
  } | undefined;
498
509
  };
499
- streaming: boolean;
500
510
  tools: {
501
511
  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";
502
512
  credentials?: Partial<Record<CredentialType, string>> | undefined;
503
513
  config?: Record<string, unknown> | undefined;
504
514
  }[];
505
- images: ({
506
- type: "base64";
507
- mimeType: string;
508
- data: string;
509
- description?: string | undefined;
510
- } | {
511
- type: "url";
512
- url: string;
513
- description?: string | undefined;
514
- })[];
515
- systemPrompt: string;
516
515
  maxIterations: number;
516
+ streaming: boolean;
517
517
  name?: string | undefined;
518
518
  credentials?: Partial<Record<CredentialType, string>> | undefined;
519
519
  conversationHistory?: {
@@ -525,7 +525,7 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
525
525
  customTools?: {
526
526
  description: string;
527
527
  name: string;
528
- schema: Record<string, unknown> | z.ZodTypeAny;
528
+ schema: z.ZodTypeAny | Record<string, unknown>;
529
529
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
530
530
  }[] | undefined;
531
531
  expectedOutputSchema?: string | z.ZodTypeAny | undefined;
@@ -533,6 +533,23 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
533
533
  message: string;
534
534
  name?: string | undefined;
535
535
  credentials?: Partial<Record<CredentialType, string>> | undefined;
536
+ images?: ({
537
+ data: string;
538
+ type?: "base64" | undefined;
539
+ description?: string | undefined;
540
+ mimeType?: string | undefined;
541
+ } | {
542
+ type: "url";
543
+ url: string;
544
+ description?: string | undefined;
545
+ })[] | undefined;
546
+ conversationHistory?: {
547
+ role: "user" | "assistant" | "tool";
548
+ content: string;
549
+ toolCallId?: string | undefined;
550
+ name?: string | undefined;
551
+ }[] | undefined;
552
+ systemPrompt?: string | undefined;
536
553
  model?: {
537
554
  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";
538
555
  temperature?: number | undefined;
@@ -549,36 +566,19 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
549
566
  maxRetries?: number | undefined;
550
567
  } | undefined;
551
568
  } | undefined;
552
- streaming?: boolean | undefined;
553
569
  tools?: {
554
570
  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";
555
571
  credentials?: Partial<Record<CredentialType, string>> | undefined;
556
572
  config?: Record<string, unknown> | undefined;
557
573
  }[] | undefined;
558
- images?: ({
559
- data: string;
560
- type?: "base64" | undefined;
561
- description?: string | undefined;
562
- mimeType?: string | undefined;
563
- } | {
564
- type: "url";
565
- url: string;
566
- description?: string | undefined;
567
- })[] | undefined;
568
- conversationHistory?: {
569
- role: "user" | "assistant" | "tool";
570
- content: string;
571
- toolCallId?: string | undefined;
572
- name?: string | undefined;
573
- }[] | undefined;
574
- systemPrompt?: string | undefined;
575
574
  customTools?: {
576
575
  description: string;
577
576
  name: string;
578
- schema: Record<string, unknown> | z.ZodTypeAny;
577
+ schema: z.ZodTypeAny | Record<string, unknown>;
579
578
  func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
580
579
  }[] | undefined;
581
580
  maxIterations?: number | undefined;
581
+ streaming?: boolean | undefined;
582
582
  expectedOutputSchema?: string | z.ZodTypeAny | undefined;
583
583
  }>;
584
584
  static readonly resultSchema: z.ZodObject<{
@@ -602,8 +602,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
602
602
  error: z.ZodString;
603
603
  success: z.ZodBoolean;
604
604
  }, "strip", z.ZodTypeAny, {
605
- error: string;
606
605
  success: boolean;
606
+ error: string;
607
607
  response: string;
608
608
  toolCalls: {
609
609
  tool: string;
@@ -614,8 +614,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
614
614
  reasoning?: string | null | undefined;
615
615
  totalCost?: number | undefined;
616
616
  }, {
617
- error: string;
618
617
  success: boolean;
618
+ error: string;
619
619
  response: string;
620
620
  toolCalls: {
621
621
  tool: string;