@bubblelab/bubble-core 0.1.98 → 0.1.99
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.
- package/dist/bubble-bundle.d.ts +72 -72
- package/dist/bubbles/service-bubble/ai-agent.d.ts +84 -84
- package/dist/bubbles/service-bubble/airtable.d.ts +100 -100
- package/dist/bubbles/service-bubble/apify/apify.d.ts +14 -14
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +74 -74
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +102 -102
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +4 -4
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +4 -4
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +4 -4
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +8 -8
- package/dist/bubbles/service-bubble/firecrawl.d.ts +272 -272
- package/dist/bubbles/service-bubble/followupboss.d.ts +4 -4
- package/dist/bubbles/service-bubble/github.d.ts +40 -40
- package/dist/bubbles/service-bubble/gmail.d.ts +104 -104
- package/dist/bubbles/service-bubble/google-calendar.d.ts +80 -80
- package/dist/bubbles/service-bubble/google-drive.d.ts +40 -40
- package/dist/bubbles/service-bubble/http.d.ts +4 -4
- package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
- package/dist/bubbles/service-bubble/jira/jira.d.ts +12 -12
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +14 -14
- package/dist/bubbles/service-bubble/notion/notion.d.ts +68 -68
- package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
- package/dist/bubbles/service-bubble/resend.d.ts +24 -24
- package/dist/bubbles/service-bubble/resend.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/resend.js +9 -7
- package/dist/bubbles/service-bubble/resend.js.map +1 -1
- package/dist/bubbles/service-bubble/slack/slack.d.ts +68 -68
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +211 -4
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.js +87 -2
- package/dist/bubbles/service-bubble/stripe/stripe.js.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +243 -4
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.schema.js +118 -0
- package/dist/bubbles/service-bubble/stripe/stripe.schema.js.map +1 -1
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +52 -52
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +46 -46
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +10 -10
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +44 -44
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +2 -2
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +26 -26
- package/dist/bubbles.json +306 -14
- package/package.json +4 -4
|
@@ -43,14 +43,14 @@ 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;
|
|
51
51
|
type?: "base64" | undefined;
|
|
52
|
-
mimeType?: string | undefined;
|
|
53
52
|
description?: string | undefined;
|
|
53
|
+
mimeType?: string | undefined;
|
|
54
54
|
}>, z.ZodObject<{
|
|
55
55
|
type: z.ZodLiteral<"url">;
|
|
56
56
|
url: z.ZodString;
|
|
@@ -161,12 +161,12 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
161
161
|
}, "strip", z.ZodTypeAny, {
|
|
162
162
|
description: string;
|
|
163
163
|
name: string;
|
|
164
|
-
schema:
|
|
164
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
165
165
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
166
166
|
}, {
|
|
167
167
|
description: string;
|
|
168
168
|
name: string;
|
|
169
|
-
schema:
|
|
169
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
170
170
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
171
171
|
}>, "many">>>;
|
|
172
172
|
maxIterations: z.ZodDefault<z.ZodNumber>;
|
|
@@ -175,17 +175,6 @@ 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
|
-
data: string;
|
|
181
|
-
mimeType: string;
|
|
182
|
-
description?: string | undefined;
|
|
183
|
-
} | {
|
|
184
|
-
type: "url";
|
|
185
|
-
url: string;
|
|
186
|
-
description?: string | undefined;
|
|
187
|
-
})[];
|
|
188
|
-
systemPrompt: string;
|
|
189
178
|
model: {
|
|
190
179
|
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";
|
|
191
180
|
temperature: number;
|
|
@@ -202,48 +191,43 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
202
191
|
maxRetries?: number | undefined;
|
|
203
192
|
} | undefined;
|
|
204
193
|
};
|
|
194
|
+
streaming: boolean;
|
|
205
195
|
tools: {
|
|
206
196
|
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";
|
|
207
197
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
208
198
|
config?: Record<string, unknown> | undefined;
|
|
209
199
|
}[];
|
|
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;
|
|
210
211
|
maxIterations: number;
|
|
211
|
-
streaming: boolean;
|
|
212
212
|
name?: string | undefined;
|
|
213
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
213
214
|
conversationHistory?: {
|
|
214
215
|
role: "user" | "assistant" | "tool";
|
|
215
216
|
content: string;
|
|
216
217
|
toolCallId?: string | undefined;
|
|
217
218
|
name?: string | undefined;
|
|
218
219
|
}[] | undefined;
|
|
219
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
220
220
|
customTools?: {
|
|
221
221
|
description: string;
|
|
222
222
|
name: string;
|
|
223
|
-
schema:
|
|
223
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
224
224
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
225
225
|
}[] | undefined;
|
|
226
226
|
expectedOutputSchema?: string | z.ZodTypeAny | undefined;
|
|
227
227
|
}, {
|
|
228
228
|
message: string;
|
|
229
229
|
name?: string | undefined;
|
|
230
|
-
|
|
231
|
-
data: string;
|
|
232
|
-
type?: "base64" | undefined;
|
|
233
|
-
mimeType?: string | undefined;
|
|
234
|
-
description?: string | undefined;
|
|
235
|
-
} | {
|
|
236
|
-
type: "url";
|
|
237
|
-
url: string;
|
|
238
|
-
description?: string | undefined;
|
|
239
|
-
})[] | undefined;
|
|
240
|
-
conversationHistory?: {
|
|
241
|
-
role: "user" | "assistant" | "tool";
|
|
242
|
-
content: string;
|
|
243
|
-
toolCallId?: string | undefined;
|
|
244
|
-
name?: string | undefined;
|
|
245
|
-
}[] | undefined;
|
|
246
|
-
systemPrompt?: string | undefined;
|
|
230
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
247
231
|
model?: {
|
|
248
232
|
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";
|
|
249
233
|
temperature?: number | undefined;
|
|
@@ -260,20 +244,36 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
260
244
|
maxRetries?: number | undefined;
|
|
261
245
|
} | undefined;
|
|
262
246
|
} | undefined;
|
|
263
|
-
|
|
247
|
+
streaming?: boolean | undefined;
|
|
264
248
|
tools?: {
|
|
265
249
|
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";
|
|
266
250
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
267
251
|
config?: Record<string, unknown> | undefined;
|
|
268
252
|
}[] | 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;
|
|
269
270
|
customTools?: {
|
|
270
271
|
description: string;
|
|
271
272
|
name: string;
|
|
272
|
-
schema:
|
|
273
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
273
274
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
274
275
|
}[] | undefined;
|
|
275
276
|
maxIterations?: number | undefined;
|
|
276
|
-
streaming?: boolean | undefined;
|
|
277
277
|
expectedOutputSchema?: string | z.ZodTypeAny | undefined;
|
|
278
278
|
}>;
|
|
279
279
|
declare const AIAgentResultSchema: z.ZodObject<{
|
|
@@ -297,6 +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
|
+
success: boolean;
|
|
300
302
|
response: string;
|
|
301
303
|
toolCalls: {
|
|
302
304
|
tool: string;
|
|
@@ -304,11 +306,11 @@ declare const AIAgentResultSchema: z.ZodObject<{
|
|
|
304
306
|
output?: unknown;
|
|
305
307
|
}[];
|
|
306
308
|
iterations: number;
|
|
307
|
-
error: string;
|
|
308
|
-
success: boolean;
|
|
309
309
|
reasoning?: string | null | undefined;
|
|
310
310
|
totalCost?: number | undefined;
|
|
311
311
|
}, {
|
|
312
|
+
error: string;
|
|
313
|
+
success: boolean;
|
|
312
314
|
response: string;
|
|
313
315
|
toolCalls: {
|
|
314
316
|
tool: string;
|
|
@@ -316,8 +318,6 @@ declare const AIAgentResultSchema: z.ZodObject<{
|
|
|
316
318
|
output?: unknown;
|
|
317
319
|
}[];
|
|
318
320
|
iterations: number;
|
|
319
|
-
error: string;
|
|
320
|
-
success: boolean;
|
|
321
321
|
reasoning?: string | null | undefined;
|
|
322
322
|
totalCost?: number | undefined;
|
|
323
323
|
}>;
|
|
@@ -348,14 +348,14 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
348
348
|
description: z.ZodOptional<z.ZodString>;
|
|
349
349
|
}, "strip", z.ZodTypeAny, {
|
|
350
350
|
type: "base64";
|
|
351
|
-
data: string;
|
|
352
351
|
mimeType: string;
|
|
352
|
+
data: string;
|
|
353
353
|
description?: string | undefined;
|
|
354
354
|
}, {
|
|
355
355
|
data: string;
|
|
356
356
|
type?: "base64" | undefined;
|
|
357
|
-
mimeType?: string | undefined;
|
|
358
357
|
description?: string | undefined;
|
|
358
|
+
mimeType?: string | undefined;
|
|
359
359
|
}>, z.ZodObject<{
|
|
360
360
|
type: z.ZodLiteral<"url">;
|
|
361
361
|
url: z.ZodString;
|
|
@@ -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:
|
|
469
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
470
470
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
471
471
|
}, {
|
|
472
472
|
description: string;
|
|
473
473
|
name: string;
|
|
474
|
-
schema:
|
|
474
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
475
475
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
476
476
|
}>, "many">>>;
|
|
477
477
|
maxIterations: z.ZodDefault<z.ZodNumber>;
|
|
@@ -480,17 +480,6 @@ 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
|
-
data: string;
|
|
486
|
-
mimeType: string;
|
|
487
|
-
description?: string | undefined;
|
|
488
|
-
} | {
|
|
489
|
-
type: "url";
|
|
490
|
-
url: string;
|
|
491
|
-
description?: string | undefined;
|
|
492
|
-
})[];
|
|
493
|
-
systemPrompt: string;
|
|
494
483
|
model: {
|
|
495
484
|
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";
|
|
496
485
|
temperature: number;
|
|
@@ -507,48 +496,43 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
507
496
|
maxRetries?: number | undefined;
|
|
508
497
|
} | undefined;
|
|
509
498
|
};
|
|
499
|
+
streaming: boolean;
|
|
510
500
|
tools: {
|
|
511
501
|
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";
|
|
512
502
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
513
503
|
config?: Record<string, unknown> | undefined;
|
|
514
504
|
}[];
|
|
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;
|
|
515
516
|
maxIterations: number;
|
|
516
|
-
streaming: boolean;
|
|
517
517
|
name?: string | undefined;
|
|
518
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
518
519
|
conversationHistory?: {
|
|
519
520
|
role: "user" | "assistant" | "tool";
|
|
520
521
|
content: string;
|
|
521
522
|
toolCallId?: string | undefined;
|
|
522
523
|
name?: string | undefined;
|
|
523
524
|
}[] | undefined;
|
|
524
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
525
525
|
customTools?: {
|
|
526
526
|
description: string;
|
|
527
527
|
name: string;
|
|
528
|
-
schema:
|
|
528
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
529
529
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
530
530
|
}[] | undefined;
|
|
531
531
|
expectedOutputSchema?: string | z.ZodTypeAny | undefined;
|
|
532
532
|
}, {
|
|
533
533
|
message: string;
|
|
534
534
|
name?: string | undefined;
|
|
535
|
-
|
|
536
|
-
data: string;
|
|
537
|
-
type?: "base64" | undefined;
|
|
538
|
-
mimeType?: string | undefined;
|
|
539
|
-
description?: string | undefined;
|
|
540
|
-
} | {
|
|
541
|
-
type: "url";
|
|
542
|
-
url: string;
|
|
543
|
-
description?: string | undefined;
|
|
544
|
-
})[] | undefined;
|
|
545
|
-
conversationHistory?: {
|
|
546
|
-
role: "user" | "assistant" | "tool";
|
|
547
|
-
content: string;
|
|
548
|
-
toolCallId?: string | undefined;
|
|
549
|
-
name?: string | undefined;
|
|
550
|
-
}[] | undefined;
|
|
551
|
-
systemPrompt?: string | undefined;
|
|
535
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
552
536
|
model?: {
|
|
553
537
|
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";
|
|
554
538
|
temperature?: number | undefined;
|
|
@@ -565,20 +549,36 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
565
549
|
maxRetries?: number | undefined;
|
|
566
550
|
} | undefined;
|
|
567
551
|
} | undefined;
|
|
568
|
-
|
|
552
|
+
streaming?: boolean | undefined;
|
|
569
553
|
tools?: {
|
|
570
554
|
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";
|
|
571
555
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
572
556
|
config?: Record<string, unknown> | undefined;
|
|
573
557
|
}[] | 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;
|
|
574
575
|
customTools?: {
|
|
575
576
|
description: string;
|
|
576
577
|
name: string;
|
|
577
|
-
schema:
|
|
578
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
578
579
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
579
580
|
}[] | undefined;
|
|
580
581
|
maxIterations?: number | undefined;
|
|
581
|
-
streaming?: boolean | undefined;
|
|
582
582
|
expectedOutputSchema?: string | z.ZodTypeAny | undefined;
|
|
583
583
|
}>;
|
|
584
584
|
static readonly resultSchema: z.ZodObject<{
|
|
@@ -602,6 +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
|
+
success: boolean;
|
|
605
607
|
response: string;
|
|
606
608
|
toolCalls: {
|
|
607
609
|
tool: string;
|
|
@@ -609,11 +611,11 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
609
611
|
output?: unknown;
|
|
610
612
|
}[];
|
|
611
613
|
iterations: number;
|
|
612
|
-
error: string;
|
|
613
|
-
success: boolean;
|
|
614
614
|
reasoning?: string | null | undefined;
|
|
615
615
|
totalCost?: number | undefined;
|
|
616
616
|
}, {
|
|
617
|
+
error: string;
|
|
618
|
+
success: boolean;
|
|
617
619
|
response: string;
|
|
618
620
|
toolCalls: {
|
|
619
621
|
tool: string;
|
|
@@ -621,8 +623,6 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
621
623
|
output?: unknown;
|
|
622
624
|
}[];
|
|
623
625
|
iterations: number;
|
|
624
|
-
error: string;
|
|
625
|
-
success: boolean;
|
|
626
626
|
reasoning?: string | null | undefined;
|
|
627
627
|
totalCost?: number | undefined;
|
|
628
628
|
}>;
|