@bubblelab/bubble-core 0.1.200 → 0.1.201
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 +173 -173
- package/dist/bubbles/service-bubble/agi-inc.d.ts +80 -80
- package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +12 -4
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +102 -102
- package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +20 -20
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +26 -26
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +90 -90
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +70 -70
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +16 -16
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +37 -37
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +16 -16
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +243 -243
- package/dist/bubbles/service-bubble/apify/apify.d.ts +30 -30
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +64 -64
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +86 -86
- package/dist/bubbles/service-bubble/attio/attio.d.ts +34 -34
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +34 -34
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +29 -29
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +31 -31
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +24 -24
- package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +24 -24
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +126 -126
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +158 -158
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
- package/dist/bubbles/service-bubble/firecrawl.d.ts +834 -834
- package/dist/bubbles/service-bubble/followupboss.d.ts +144 -144
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +68 -68
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +108 -108
- package/dist/bubbles/service-bubble/github.d.ts +144 -144
- package/dist/bubbles/service-bubble/gmail.d.ts +240 -240
- package/dist/bubbles/service-bubble/google-calendar.d.ts +138 -138
- package/dist/bubbles/service-bubble/google-drive.d.ts +52 -52
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +44 -44
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +48 -48
- package/dist/bubbles/service-bubble/hello-world.d.ts +8 -8
- package/dist/bubbles/service-bubble/http.d.ts +18 -18
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +8 -8
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +8 -8
- package/dist/bubbles/service-bubble/insforge-db.d.ts +16 -16
- package/dist/bubbles/service-bubble/jira/jira.d.ts +60 -60
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +62 -62
- package/dist/bubbles/service-bubble/linear/linear.d.ts +32 -32
- package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +32 -32
- package/dist/bubbles/service-bubble/notion/notion.d.ts +682 -682
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +16 -16
- package/dist/bubbles/service-bubble/postgresql.d.ts +16 -16
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +24 -24
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +30 -30
- package/dist/bubbles/service-bubble/resend.d.ts +28 -28
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +10 -10
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +12 -12
- package/dist/bubbles/service-bubble/slack/slack.d.ts +556 -556
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +149 -149
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +171 -171
- package/dist/bubbles/service-bubble/telegram.d.ts +1537 -1537
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +19 -19
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +21 -21
- package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +20 -20
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +26 -26
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/code-edit-tool.js +3 -1
- package/dist/bubbles/tool-bubble/code-edit-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +62 -62
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +567 -567
- package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +58 -58
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +28 -28
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +88 -88
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +188 -188
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +22 -22
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +26 -26
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +38 -38
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +40 -40
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +72 -72
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +104 -104
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
- package/dist/bubbles.json +1 -1
- package/package.json +2 -2
|
@@ -46,8 +46,8 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
46
46
|
description: z.ZodOptional<z.ZodString>;
|
|
47
47
|
}, "strip", z.ZodTypeAny, {
|
|
48
48
|
type: "base64";
|
|
49
|
-
data: string;
|
|
50
49
|
mimeType: string;
|
|
50
|
+
data: string;
|
|
51
51
|
description?: string | undefined;
|
|
52
52
|
}, {
|
|
53
53
|
data: string;
|
|
@@ -164,12 +164,12 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
164
164
|
}, "strip", z.ZodTypeAny, {
|
|
165
165
|
description: string;
|
|
166
166
|
name: string;
|
|
167
|
-
schema:
|
|
167
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
168
168
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
169
169
|
}, {
|
|
170
170
|
description: string;
|
|
171
171
|
name: string;
|
|
172
|
-
schema:
|
|
172
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
173
173
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
174
174
|
}>, "many">>>;
|
|
175
175
|
maxIterations: z.ZodDefault<z.ZodNumber>;
|
|
@@ -193,17 +193,6 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
193
193
|
enableSlackHistory: z.ZodDefault<z.ZodBoolean>;
|
|
194
194
|
}, "strip", z.ZodTypeAny, {
|
|
195
195
|
message: string;
|
|
196
|
-
images: ({
|
|
197
|
-
type: "base64";
|
|
198
|
-
data: string;
|
|
199
|
-
mimeType: string;
|
|
200
|
-
description?: string | undefined;
|
|
201
|
-
} | {
|
|
202
|
-
type: "url";
|
|
203
|
-
url: string;
|
|
204
|
-
description?: string | undefined;
|
|
205
|
-
})[];
|
|
206
|
-
systemPrompt: string;
|
|
207
196
|
model: {
|
|
208
197
|
model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "google/gemini-3.1-pro-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-sonnet-4-6" | "anthropic/claude-opus-4-5" | "anthropic/claude-opus-4-6" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-sonnet-4.6" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/anthropic/claude-opus-4.6" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
209
198
|
temperature: number;
|
|
@@ -220,13 +209,24 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
220
209
|
maxRetries?: number | undefined;
|
|
221
210
|
} | undefined;
|
|
222
211
|
};
|
|
212
|
+
streaming: boolean;
|
|
223
213
|
tools: {
|
|
224
214
|
name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "list-capabilities-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
|
|
225
215
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
226
216
|
config?: Record<string, unknown> | undefined;
|
|
227
217
|
}[];
|
|
218
|
+
images: ({
|
|
219
|
+
type: "base64";
|
|
220
|
+
mimeType: string;
|
|
221
|
+
data: string;
|
|
222
|
+
description?: string | undefined;
|
|
223
|
+
} | {
|
|
224
|
+
type: "url";
|
|
225
|
+
url: string;
|
|
226
|
+
description?: string | undefined;
|
|
227
|
+
})[];
|
|
228
|
+
systemPrompt: string;
|
|
228
229
|
maxIterations: number;
|
|
229
|
-
streaming: boolean;
|
|
230
230
|
memoryEnabled: boolean;
|
|
231
231
|
enableSlackHistory: boolean;
|
|
232
232
|
name?: string | undefined;
|
|
@@ -240,7 +240,7 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
240
240
|
customTools?: {
|
|
241
241
|
description: string;
|
|
242
242
|
name: string;
|
|
243
|
-
schema:
|
|
243
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
244
244
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
245
245
|
}[] | undefined;
|
|
246
246
|
capabilities?: {
|
|
@@ -253,23 +253,6 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
253
253
|
message: string;
|
|
254
254
|
name?: string | undefined;
|
|
255
255
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
256
|
-
images?: ({
|
|
257
|
-
data: string;
|
|
258
|
-
type?: "base64" | undefined;
|
|
259
|
-
description?: string | undefined;
|
|
260
|
-
mimeType?: string | undefined;
|
|
261
|
-
} | {
|
|
262
|
-
type: "url";
|
|
263
|
-
url: string;
|
|
264
|
-
description?: string | undefined;
|
|
265
|
-
})[] | undefined;
|
|
266
|
-
conversationHistory?: {
|
|
267
|
-
role: "user" | "assistant" | "tool";
|
|
268
|
-
content: string;
|
|
269
|
-
toolCallId?: string | undefined;
|
|
270
|
-
name?: string | undefined;
|
|
271
|
-
}[] | undefined;
|
|
272
|
-
systemPrompt?: string | undefined;
|
|
273
256
|
model?: {
|
|
274
257
|
model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "google/gemini-3.1-pro-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-sonnet-4-6" | "anthropic/claude-opus-4-5" | "anthropic/claude-opus-4-6" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-sonnet-4.6" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/anthropic/claude-opus-4.6" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
275
258
|
temperature?: number | undefined;
|
|
@@ -286,19 +269,36 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
286
269
|
maxRetries?: number | undefined;
|
|
287
270
|
} | undefined;
|
|
288
271
|
} | undefined;
|
|
272
|
+
streaming?: boolean | undefined;
|
|
289
273
|
tools?: {
|
|
290
274
|
name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "list-capabilities-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
|
|
291
275
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
292
276
|
config?: Record<string, unknown> | undefined;
|
|
293
277
|
}[] | undefined;
|
|
278
|
+
images?: ({
|
|
279
|
+
data: string;
|
|
280
|
+
type?: "base64" | undefined;
|
|
281
|
+
description?: string | undefined;
|
|
282
|
+
mimeType?: string | undefined;
|
|
283
|
+
} | {
|
|
284
|
+
type: "url";
|
|
285
|
+
url: string;
|
|
286
|
+
description?: string | undefined;
|
|
287
|
+
})[] | undefined;
|
|
288
|
+
conversationHistory?: {
|
|
289
|
+
role: "user" | "assistant" | "tool";
|
|
290
|
+
content: string;
|
|
291
|
+
toolCallId?: string | undefined;
|
|
292
|
+
name?: string | undefined;
|
|
293
|
+
}[] | undefined;
|
|
294
|
+
systemPrompt?: string | undefined;
|
|
294
295
|
customTools?: {
|
|
295
296
|
description: string;
|
|
296
297
|
name: string;
|
|
297
|
-
schema:
|
|
298
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
298
299
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
299
300
|
}[] | undefined;
|
|
300
301
|
maxIterations?: number | undefined;
|
|
301
|
-
streaming?: boolean | undefined;
|
|
302
302
|
capabilities?: {
|
|
303
303
|
id: string;
|
|
304
304
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -329,8 +329,8 @@ declare const AIAgentResultSchema: z.ZodObject<{
|
|
|
329
329
|
error: z.ZodString;
|
|
330
330
|
success: z.ZodBoolean;
|
|
331
331
|
}, "strip", z.ZodTypeAny, {
|
|
332
|
-
success: boolean;
|
|
333
332
|
error: string;
|
|
333
|
+
success: boolean;
|
|
334
334
|
response: string;
|
|
335
335
|
toolCalls: {
|
|
336
336
|
tool: string;
|
|
@@ -341,8 +341,8 @@ declare const AIAgentResultSchema: z.ZodObject<{
|
|
|
341
341
|
reasoning?: string | null | undefined;
|
|
342
342
|
totalCost?: number | undefined;
|
|
343
343
|
}, {
|
|
344
|
-
success: boolean;
|
|
345
344
|
error: string;
|
|
345
|
+
success: boolean;
|
|
346
346
|
response: string;
|
|
347
347
|
toolCalls: {
|
|
348
348
|
tool: string;
|
|
@@ -380,8 +380,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
380
380
|
description: z.ZodOptional<z.ZodString>;
|
|
381
381
|
}, "strip", z.ZodTypeAny, {
|
|
382
382
|
type: "base64";
|
|
383
|
-
data: string;
|
|
384
383
|
mimeType: string;
|
|
384
|
+
data: string;
|
|
385
385
|
description?: string | undefined;
|
|
386
386
|
}, {
|
|
387
387
|
data: string;
|
|
@@ -498,12 +498,12 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
498
498
|
}, "strip", z.ZodTypeAny, {
|
|
499
499
|
description: string;
|
|
500
500
|
name: string;
|
|
501
|
-
schema:
|
|
501
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
502
502
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
503
503
|
}, {
|
|
504
504
|
description: string;
|
|
505
505
|
name: string;
|
|
506
|
-
schema:
|
|
506
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
507
507
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
508
508
|
}>, "many">>>;
|
|
509
509
|
maxIterations: z.ZodDefault<z.ZodNumber>;
|
|
@@ -527,17 +527,6 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
527
527
|
enableSlackHistory: z.ZodDefault<z.ZodBoolean>;
|
|
528
528
|
}, "strip", z.ZodTypeAny, {
|
|
529
529
|
message: string;
|
|
530
|
-
images: ({
|
|
531
|
-
type: "base64";
|
|
532
|
-
data: string;
|
|
533
|
-
mimeType: string;
|
|
534
|
-
description?: string | undefined;
|
|
535
|
-
} | {
|
|
536
|
-
type: "url";
|
|
537
|
-
url: string;
|
|
538
|
-
description?: string | undefined;
|
|
539
|
-
})[];
|
|
540
|
-
systemPrompt: string;
|
|
541
530
|
model: {
|
|
542
531
|
model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "google/gemini-3.1-pro-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-sonnet-4-6" | "anthropic/claude-opus-4-5" | "anthropic/claude-opus-4-6" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-sonnet-4.6" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/anthropic/claude-opus-4.6" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
543
532
|
temperature: number;
|
|
@@ -554,13 +543,24 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
554
543
|
maxRetries?: number | undefined;
|
|
555
544
|
} | undefined;
|
|
556
545
|
};
|
|
546
|
+
streaming: boolean;
|
|
557
547
|
tools: {
|
|
558
548
|
name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "list-capabilities-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
|
|
559
549
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
560
550
|
config?: Record<string, unknown> | undefined;
|
|
561
551
|
}[];
|
|
552
|
+
images: ({
|
|
553
|
+
type: "base64";
|
|
554
|
+
mimeType: string;
|
|
555
|
+
data: string;
|
|
556
|
+
description?: string | undefined;
|
|
557
|
+
} | {
|
|
558
|
+
type: "url";
|
|
559
|
+
url: string;
|
|
560
|
+
description?: string | undefined;
|
|
561
|
+
})[];
|
|
562
|
+
systemPrompt: string;
|
|
562
563
|
maxIterations: number;
|
|
563
|
-
streaming: boolean;
|
|
564
564
|
memoryEnabled: boolean;
|
|
565
565
|
enableSlackHistory: boolean;
|
|
566
566
|
name?: string | undefined;
|
|
@@ -574,7 +574,7 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
574
574
|
customTools?: {
|
|
575
575
|
description: string;
|
|
576
576
|
name: string;
|
|
577
|
-
schema:
|
|
577
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
578
578
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
579
579
|
}[] | undefined;
|
|
580
580
|
capabilities?: {
|
|
@@ -587,23 +587,6 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
587
587
|
message: string;
|
|
588
588
|
name?: string | undefined;
|
|
589
589
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
590
|
-
images?: ({
|
|
591
|
-
data: string;
|
|
592
|
-
type?: "base64" | undefined;
|
|
593
|
-
description?: string | undefined;
|
|
594
|
-
mimeType?: string | undefined;
|
|
595
|
-
} | {
|
|
596
|
-
type: "url";
|
|
597
|
-
url: string;
|
|
598
|
-
description?: string | undefined;
|
|
599
|
-
})[] | undefined;
|
|
600
|
-
conversationHistory?: {
|
|
601
|
-
role: "user" | "assistant" | "tool";
|
|
602
|
-
content: string;
|
|
603
|
-
toolCallId?: string | undefined;
|
|
604
|
-
name?: string | undefined;
|
|
605
|
-
}[] | undefined;
|
|
606
|
-
systemPrompt?: string | undefined;
|
|
607
590
|
model?: {
|
|
608
591
|
model: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "google/gemini-3.1-pro-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-sonnet-4-6" | "anthropic/claude-opus-4-5" | "anthropic/claude-opus-4-6" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-sonnet-4.6" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/anthropic/claude-opus-4.6" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
609
592
|
temperature?: number | undefined;
|
|
@@ -620,19 +603,36 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
620
603
|
maxRetries?: number | undefined;
|
|
621
604
|
} | undefined;
|
|
622
605
|
} | undefined;
|
|
606
|
+
streaming?: boolean | undefined;
|
|
623
607
|
tools?: {
|
|
624
608
|
name: "get-bubble-details-tool" | "get-trigger-detail-tool" | "list-bubbles-tool" | "list-capabilities-tool" | "sql-query-tool" | "chart-js-tool" | "web-search-tool" | "web-scrape-tool" | "web-crawl-tool" | "web-extract-tool" | "research-agent-tool" | "reddit-scrape-tool" | "bubbleflow-validation-tool" | "code-edit-tool" | "instagram-tool" | "linkedin-tool" | "tiktok-tool" | "twitter-tool" | "google-maps-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
|
|
625
609
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
626
610
|
config?: Record<string, unknown> | undefined;
|
|
627
611
|
}[] | undefined;
|
|
612
|
+
images?: ({
|
|
613
|
+
data: string;
|
|
614
|
+
type?: "base64" | undefined;
|
|
615
|
+
description?: string | undefined;
|
|
616
|
+
mimeType?: string | undefined;
|
|
617
|
+
} | {
|
|
618
|
+
type: "url";
|
|
619
|
+
url: string;
|
|
620
|
+
description?: string | undefined;
|
|
621
|
+
})[] | undefined;
|
|
622
|
+
conversationHistory?: {
|
|
623
|
+
role: "user" | "assistant" | "tool";
|
|
624
|
+
content: string;
|
|
625
|
+
toolCallId?: string | undefined;
|
|
626
|
+
name?: string | undefined;
|
|
627
|
+
}[] | undefined;
|
|
628
|
+
systemPrompt?: string | undefined;
|
|
628
629
|
customTools?: {
|
|
629
630
|
description: string;
|
|
630
631
|
name: string;
|
|
631
|
-
schema:
|
|
632
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
632
633
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
633
634
|
}[] | undefined;
|
|
634
635
|
maxIterations?: number | undefined;
|
|
635
|
-
streaming?: boolean | undefined;
|
|
636
636
|
capabilities?: {
|
|
637
637
|
id: string;
|
|
638
638
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -663,8 +663,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
663
663
|
error: z.ZodString;
|
|
664
664
|
success: z.ZodBoolean;
|
|
665
665
|
}, "strip", z.ZodTypeAny, {
|
|
666
|
-
success: boolean;
|
|
667
666
|
error: string;
|
|
667
|
+
success: boolean;
|
|
668
668
|
response: string;
|
|
669
669
|
toolCalls: {
|
|
670
670
|
tool: string;
|
|
@@ -675,8 +675,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
675
675
|
reasoning?: string | null | undefined;
|
|
676
676
|
totalCost?: number | undefined;
|
|
677
677
|
}, {
|
|
678
|
-
success: boolean;
|
|
679
678
|
error: string;
|
|
679
|
+
success: boolean;
|
|
680
680
|
response: string;
|
|
681
681
|
toolCalls: {
|
|
682
682
|
tool: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-agent.d.ts","sourceRoot":"","sources":["../../../src/bubbles/service-bubble/ai-agent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAmB,MAAM,KAAK,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EACL,cAAc,EAGf,MAAM,2BAA2B,CAAC;AAInC,OAAO,EAEL,SAAS,EAGT,cAAc,EACf,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAG5D,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,gCAAgC,CAAC;AAExC,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AAuBtE,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,aAAa,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;IACnC,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B,CAAC;AAGF,MAAM,MAAM,aAAa,GAAG,CAC1B,OAAO,EAAE,eAAe,KACrB,OAAO,CAAC;IAAE,QAAQ,EAAE,WAAW,EAAE,CAAC;IAAC,UAAU,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,CAAC;AAEhE,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,EAAE,eAAe,KAAK,OAAO,CAAC;IACjE,QAA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,CAAU;gBAGrD,MAAM,GAAE,aAIP,EACD,OAAO,CAAC,EAAE,aAAa,EACvB,UAAU,CAAC,EAAE,MAAM;IAUR,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC;IAW/C;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAmBxB;;OAEG;YACW,gBAAgB;IAkC9B;;OAEG;YACW,YAAY;cAiJV,aAAa,CAC3B,OAAO,CAAC,EAAE,aAAa,GACtB,OAAO,CAAC,aAAa,CAAC;IA+DzB;;;OAGG;IACH,OAAO,CAAC,2BAA2B;IA2CnC,SAAS,CAAC,iBAAiB,IAAI,cAAc;IAI7C;;OAEG;IACH,OAAO,CAAC,yBAAyB;IAgBjC,SAAS,CAAC,gBAAgB,IAAI,MAAM,GAAG,SAAS;IA2BhD;;OAEG;IACH,OAAO,CAAC,mBAAmB;IAO3B;;;OAGG;YACW,gCAAgC;IA6J9C,OAAO,CAAC,eAAe;YAyKT,eAAe;IAub7B;;;;OAIG;IACH,OAAO,CAAC,4BAA4B;IAgCpC;;;;OAIG;IACH,OAAO,CAAC,yBAAyB;IAgDjC;;;OAGG;IACH,OAAO,CAAC,eAAe;IAuDvB;;OAEG;YACW,qBAAqB;YA0OrB,gBAAgB;YAgWhB,YAAY;CAopB3B"}
|
|
@@ -1312,7 +1312,9 @@ export class AIAgentBubble extends ServiceBubble {
|
|
|
1312
1312
|
this.shouldStopAfterTools = false;
|
|
1313
1313
|
this._trace('executeToolsWithHooks', `ENTRY`, {
|
|
1314
1314
|
toolCallCount: toolCalls.length,
|
|
1315
|
-
toolCalls: toolCalls
|
|
1315
|
+
toolCalls: toolCalls
|
|
1316
|
+
.map((tc) => `${tc.name}(${tc.id?.slice(-8)})`)
|
|
1317
|
+
.join(', '),
|
|
1316
1318
|
totalMsgs: messages.length,
|
|
1317
1319
|
});
|
|
1318
1320
|
// Execute each tool call
|
|
@@ -1505,7 +1507,9 @@ export class AIAgentBubble extends ServiceBubble {
|
|
|
1505
1507
|
const last = messages[messages.length - 1];
|
|
1506
1508
|
if (!last)
|
|
1507
1509
|
return '';
|
|
1508
|
-
const content = typeof last.content === 'string'
|
|
1510
|
+
const content = typeof last.content === 'string'
|
|
1511
|
+
? last.content
|
|
1512
|
+
: JSON.stringify(last.content);
|
|
1509
1513
|
return content.slice(0, 120);
|
|
1510
1514
|
})(),
|
|
1511
1515
|
});
|
|
@@ -1711,7 +1715,9 @@ export class AIAgentBubble extends ServiceBubble {
|
|
|
1711
1715
|
// Check if the last AI message has tool calls
|
|
1712
1716
|
if (lastAIMessage?.tool_calls && lastAIMessage.tool_calls.length > 0) {
|
|
1713
1717
|
this._trace('afterLLMCheck', `→ tools`, {
|
|
1714
|
-
toolCalls: lastAIMessage.tool_calls
|
|
1718
|
+
toolCalls: lastAIMessage.tool_calls
|
|
1719
|
+
.map((tc) => `${tc.name}(${tc.id?.slice(-8)})`)
|
|
1720
|
+
.join(', '),
|
|
1715
1721
|
});
|
|
1716
1722
|
return 'tools';
|
|
1717
1723
|
}
|
|
@@ -1894,7 +1900,9 @@ export class AIAgentBubble extends ServiceBubble {
|
|
|
1894
1900
|
}
|
|
1895
1901
|
initialMessages.push(...repairedMessages);
|
|
1896
1902
|
}
|
|
1897
|
-
else if (resumeState &&
|
|
1903
|
+
else if (resumeState &&
|
|
1904
|
+
Array.isArray(resumeState) &&
|
|
1905
|
+
resumeState.length > 0) {
|
|
1898
1906
|
this._trace('v1-resume', `restoring ${resumeState.length} messages (single-cap/subagent path)`);
|
|
1899
1907
|
const { mapStoredMessagesToChatMessages } = await import('@langchain/core/messages');
|
|
1900
1908
|
const restored = mapStoredMessagesToChatMessages(resumeState);
|