@bubblelab/bubble-core 0.1.246 → 0.1.247
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 +112 -112
- package/dist/bubbles/service-bubble/agi-inc.d.ts +20 -20
- 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 +6 -2
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +76 -76
- package/dist/bubbles/service-bubble/apify/actors/app-rankings-scraper.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
- package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +22 -22
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +38 -38
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +52 -52
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +132 -132
- package/dist/bubbles/service-bubble/apify/apify.d.ts +18 -18
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +2 -2
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/assembled/assembled.d.ts +6 -6
- package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +6 -6
- package/dist/bubbles/service-bubble/attio/attio.d.ts +6 -6
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +6 -6
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +1 -1
- 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 +334 -334
- package/dist/bubbles/service-bubble/followupboss.d.ts +4 -4
- package/dist/bubbles/service-bubble/github.d.ts +60 -60
- package/dist/bubbles/service-bubble/gmail.d.ts +164 -164
- package/dist/bubbles/service-bubble/google-calendar.d.ts +6 -6
- package/dist/bubbles/service-bubble/google-drive.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +6 -6
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +2 -2
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
- package/dist/bubbles/service-bubble/jira/jira.d.ts +30 -30
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +36 -36
- package/dist/bubbles/service-bubble/notion/notion.d.ts +168 -168
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
- package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +10 -10
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +14 -14
- package/dist/bubbles/service-bubble/resend.d.ts +4 -4
- package/dist/bubbles/service-bubble/slack/slack.d.ts +388 -388
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +24 -24
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +28 -28
- package/dist/bubbles/service-bubble/xero/xero.d.ts +2 -2
- package/dist/bubbles/service-bubble/xero/xero.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +870 -20
- package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/zendesk/zendesk.js +156 -0
- package/dist/bubbles/service-bubble/zendesk/zendesk.js.map +1 -1
- package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts +862 -20
- package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/zendesk/zendesk.schema.js +261 -0
- package/dist/bubbles/service-bubble/zendesk/zendesk.schema.js.map +1 -1
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +6 -6
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +8 -8
- package/dist/bubbles/tool-bubble/app-rankings-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +20 -20
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +384 -384
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +44 -44
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
- 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 +60 -60
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +134 -134
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +20 -20
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +2 -2
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +34 -34
- package/dist/bubbles.json +1171 -2
- package/package.json +2 -2
|
@@ -203,9 +203,9 @@ declare const AGIIncResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
203
203
|
ok: boolean;
|
|
204
204
|
status?: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated" | undefined;
|
|
205
205
|
created_at?: string | undefined;
|
|
206
|
-
agent_name?: string | undefined;
|
|
207
206
|
session_id?: string | undefined;
|
|
208
207
|
vnc_url?: string | undefined;
|
|
208
|
+
agent_name?: string | undefined;
|
|
209
209
|
}, {
|
|
210
210
|
error: string;
|
|
211
211
|
success: boolean;
|
|
@@ -213,9 +213,9 @@ declare const AGIIncResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
213
213
|
ok: boolean;
|
|
214
214
|
status?: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated" | undefined;
|
|
215
215
|
created_at?: string | undefined;
|
|
216
|
-
agent_name?: string | undefined;
|
|
217
216
|
session_id?: string | undefined;
|
|
218
217
|
vnc_url?: string | undefined;
|
|
218
|
+
agent_name?: string | undefined;
|
|
219
219
|
}>, z.ZodObject<{
|
|
220
220
|
operation: z.ZodLiteral<"list_sessions">;
|
|
221
221
|
ok: z.ZodBoolean;
|
|
@@ -228,14 +228,14 @@ declare const AGIIncResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
228
228
|
}, "strip", z.ZodTypeAny, {
|
|
229
229
|
status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated";
|
|
230
230
|
created_at: string;
|
|
231
|
-
agent_name: string;
|
|
232
231
|
session_id: string;
|
|
232
|
+
agent_name: string;
|
|
233
233
|
vnc_url?: string | undefined;
|
|
234
234
|
}, {
|
|
235
235
|
status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated";
|
|
236
236
|
created_at: string;
|
|
237
|
-
agent_name: string;
|
|
238
237
|
session_id: string;
|
|
238
|
+
agent_name: string;
|
|
239
239
|
vnc_url?: string | undefined;
|
|
240
240
|
}>, "many">>;
|
|
241
241
|
error: z.ZodString;
|
|
@@ -248,8 +248,8 @@ declare const AGIIncResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
248
248
|
sessions?: {
|
|
249
249
|
status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated";
|
|
250
250
|
created_at: string;
|
|
251
|
-
agent_name: string;
|
|
252
251
|
session_id: string;
|
|
252
|
+
agent_name: string;
|
|
253
253
|
vnc_url?: string | undefined;
|
|
254
254
|
}[] | undefined;
|
|
255
255
|
}, {
|
|
@@ -260,8 +260,8 @@ declare const AGIIncResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
260
260
|
sessions?: {
|
|
261
261
|
status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated";
|
|
262
262
|
created_at: string;
|
|
263
|
-
agent_name: string;
|
|
264
263
|
session_id: string;
|
|
264
|
+
agent_name: string;
|
|
265
265
|
vnc_url?: string | undefined;
|
|
266
266
|
}[] | undefined;
|
|
267
267
|
}>, z.ZodObject<{
|
|
@@ -276,14 +276,14 @@ declare const AGIIncResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
276
276
|
}, "strip", z.ZodTypeAny, {
|
|
277
277
|
status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated";
|
|
278
278
|
created_at: string;
|
|
279
|
-
agent_name: string;
|
|
280
279
|
session_id: string;
|
|
280
|
+
agent_name: string;
|
|
281
281
|
vnc_url?: string | undefined;
|
|
282
282
|
}, {
|
|
283
283
|
status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated";
|
|
284
284
|
created_at: string;
|
|
285
|
-
agent_name: string;
|
|
286
285
|
session_id: string;
|
|
286
|
+
agent_name: string;
|
|
287
287
|
vnc_url?: string | undefined;
|
|
288
288
|
}>>;
|
|
289
289
|
error: z.ZodString;
|
|
@@ -296,8 +296,8 @@ declare const AGIIncResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
296
296
|
session?: {
|
|
297
297
|
status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated";
|
|
298
298
|
created_at: string;
|
|
299
|
-
agent_name: string;
|
|
300
299
|
session_id: string;
|
|
300
|
+
agent_name: string;
|
|
301
301
|
vnc_url?: string | undefined;
|
|
302
302
|
} | undefined;
|
|
303
303
|
}, {
|
|
@@ -308,8 +308,8 @@ declare const AGIIncResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
308
308
|
session?: {
|
|
309
309
|
status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated";
|
|
310
310
|
created_at: string;
|
|
311
|
-
agent_name: string;
|
|
312
311
|
session_id: string;
|
|
312
|
+
agent_name: string;
|
|
313
313
|
vnc_url?: string | undefined;
|
|
314
314
|
} | undefined;
|
|
315
315
|
}>, z.ZodObject<{
|
|
@@ -756,9 +756,9 @@ export declare class AGIIncBubble<T extends AGIIncParams = AGIIncParams> extends
|
|
|
756
756
|
ok: boolean;
|
|
757
757
|
status?: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated" | undefined;
|
|
758
758
|
created_at?: string | undefined;
|
|
759
|
-
agent_name?: string | undefined;
|
|
760
759
|
session_id?: string | undefined;
|
|
761
760
|
vnc_url?: string | undefined;
|
|
761
|
+
agent_name?: string | undefined;
|
|
762
762
|
}, {
|
|
763
763
|
error: string;
|
|
764
764
|
success: boolean;
|
|
@@ -766,9 +766,9 @@ export declare class AGIIncBubble<T extends AGIIncParams = AGIIncParams> extends
|
|
|
766
766
|
ok: boolean;
|
|
767
767
|
status?: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated" | undefined;
|
|
768
768
|
created_at?: string | undefined;
|
|
769
|
-
agent_name?: string | undefined;
|
|
770
769
|
session_id?: string | undefined;
|
|
771
770
|
vnc_url?: string | undefined;
|
|
771
|
+
agent_name?: string | undefined;
|
|
772
772
|
}>, z.ZodObject<{
|
|
773
773
|
operation: z.ZodLiteral<"list_sessions">;
|
|
774
774
|
ok: z.ZodBoolean;
|
|
@@ -781,14 +781,14 @@ export declare class AGIIncBubble<T extends AGIIncParams = AGIIncParams> extends
|
|
|
781
781
|
}, "strip", z.ZodTypeAny, {
|
|
782
782
|
status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated";
|
|
783
783
|
created_at: string;
|
|
784
|
-
agent_name: string;
|
|
785
784
|
session_id: string;
|
|
785
|
+
agent_name: string;
|
|
786
786
|
vnc_url?: string | undefined;
|
|
787
787
|
}, {
|
|
788
788
|
status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated";
|
|
789
789
|
created_at: string;
|
|
790
|
-
agent_name: string;
|
|
791
790
|
session_id: string;
|
|
791
|
+
agent_name: string;
|
|
792
792
|
vnc_url?: string | undefined;
|
|
793
793
|
}>, "many">>;
|
|
794
794
|
error: z.ZodString;
|
|
@@ -801,8 +801,8 @@ export declare class AGIIncBubble<T extends AGIIncParams = AGIIncParams> extends
|
|
|
801
801
|
sessions?: {
|
|
802
802
|
status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated";
|
|
803
803
|
created_at: string;
|
|
804
|
-
agent_name: string;
|
|
805
804
|
session_id: string;
|
|
805
|
+
agent_name: string;
|
|
806
806
|
vnc_url?: string | undefined;
|
|
807
807
|
}[] | undefined;
|
|
808
808
|
}, {
|
|
@@ -813,8 +813,8 @@ export declare class AGIIncBubble<T extends AGIIncParams = AGIIncParams> extends
|
|
|
813
813
|
sessions?: {
|
|
814
814
|
status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated";
|
|
815
815
|
created_at: string;
|
|
816
|
-
agent_name: string;
|
|
817
816
|
session_id: string;
|
|
817
|
+
agent_name: string;
|
|
818
818
|
vnc_url?: string | undefined;
|
|
819
819
|
}[] | undefined;
|
|
820
820
|
}>, z.ZodObject<{
|
|
@@ -829,14 +829,14 @@ export declare class AGIIncBubble<T extends AGIIncParams = AGIIncParams> extends
|
|
|
829
829
|
}, "strip", z.ZodTypeAny, {
|
|
830
830
|
status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated";
|
|
831
831
|
created_at: string;
|
|
832
|
-
agent_name: string;
|
|
833
832
|
session_id: string;
|
|
833
|
+
agent_name: string;
|
|
834
834
|
vnc_url?: string | undefined;
|
|
835
835
|
}, {
|
|
836
836
|
status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated";
|
|
837
837
|
created_at: string;
|
|
838
|
-
agent_name: string;
|
|
839
838
|
session_id: string;
|
|
839
|
+
agent_name: string;
|
|
840
840
|
vnc_url?: string | undefined;
|
|
841
841
|
}>>;
|
|
842
842
|
error: z.ZodString;
|
|
@@ -849,8 +849,8 @@ export declare class AGIIncBubble<T extends AGIIncParams = AGIIncParams> extends
|
|
|
849
849
|
session?: {
|
|
850
850
|
status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated";
|
|
851
851
|
created_at: string;
|
|
852
|
-
agent_name: string;
|
|
853
852
|
session_id: string;
|
|
853
|
+
agent_name: string;
|
|
854
854
|
vnc_url?: string | undefined;
|
|
855
855
|
} | undefined;
|
|
856
856
|
}, {
|
|
@@ -861,8 +861,8 @@ export declare class AGIIncBubble<T extends AGIIncParams = AGIIncParams> extends
|
|
|
861
861
|
session?: {
|
|
862
862
|
status: "error" | "completed" | "initializing" | "ready" | "running" | "paused" | "terminated";
|
|
863
863
|
created_at: string;
|
|
864
|
-
agent_name: string;
|
|
865
864
|
session_id: string;
|
|
865
|
+
agent_name: string;
|
|
866
866
|
vnc_url?: string | undefined;
|
|
867
867
|
} | undefined;
|
|
868
868
|
}>, z.ZodObject<{
|
|
@@ -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>;
|
|
@@ -209,17 +209,6 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
209
209
|
enableSlackHistory: z.ZodDefault<z.ZodBoolean>;
|
|
210
210
|
}, "strip", z.ZodTypeAny, {
|
|
211
211
|
message: string;
|
|
212
|
-
images: ({
|
|
213
|
-
type: "base64";
|
|
214
|
-
data: string;
|
|
215
|
-
mimeType: string;
|
|
216
|
-
description?: string | undefined;
|
|
217
|
-
} | {
|
|
218
|
-
type: "url";
|
|
219
|
-
url: string;
|
|
220
|
-
description?: string | undefined;
|
|
221
|
-
})[];
|
|
222
|
-
systemPrompt: string;
|
|
223
212
|
model: {
|
|
224
213
|
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" | "google/gemini-3.1-flash-lite-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";
|
|
225
214
|
temperature: number;
|
|
@@ -236,27 +225,38 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
236
225
|
maxRetries?: number | undefined;
|
|
237
226
|
} | undefined;
|
|
238
227
|
};
|
|
228
|
+
streaming: boolean;
|
|
239
229
|
tools: {
|
|
240
230
|
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" | "app-rankings-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
|
|
241
231
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
242
232
|
config?: Record<string, unknown> | undefined;
|
|
243
233
|
}[];
|
|
234
|
+
images: ({
|
|
235
|
+
type: "base64";
|
|
236
|
+
mimeType: string;
|
|
237
|
+
data: string;
|
|
238
|
+
description?: string | undefined;
|
|
239
|
+
} | {
|
|
240
|
+
type: "url";
|
|
241
|
+
url: string;
|
|
242
|
+
description?: string | undefined;
|
|
243
|
+
})[];
|
|
244
|
+
systemPrompt: string;
|
|
244
245
|
maxIterations: number;
|
|
245
|
-
streaming: boolean;
|
|
246
246
|
memoryEnabled: boolean;
|
|
247
247
|
enableSlackHistory: boolean;
|
|
248
248
|
name?: string | undefined;
|
|
249
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
249
250
|
conversationHistory?: {
|
|
250
251
|
role: "user" | "assistant" | "tool";
|
|
251
252
|
content: string;
|
|
252
253
|
toolCallId?: string | undefined;
|
|
253
254
|
name?: string | undefined;
|
|
254
255
|
}[] | undefined;
|
|
255
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
256
256
|
customTools?: {
|
|
257
257
|
description: string;
|
|
258
258
|
name: string;
|
|
259
|
-
schema:
|
|
259
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
260
260
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
261
261
|
}[] | undefined;
|
|
262
262
|
credentialPool?: Partial<Record<CredentialType, {
|
|
@@ -274,23 +274,7 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
274
274
|
}, {
|
|
275
275
|
message: string;
|
|
276
276
|
name?: string | undefined;
|
|
277
|
-
|
|
278
|
-
data: string;
|
|
279
|
-
type?: "base64" | undefined;
|
|
280
|
-
description?: string | undefined;
|
|
281
|
-
mimeType?: string | undefined;
|
|
282
|
-
} | {
|
|
283
|
-
type: "url";
|
|
284
|
-
url: string;
|
|
285
|
-
description?: string | undefined;
|
|
286
|
-
})[] | undefined;
|
|
287
|
-
conversationHistory?: {
|
|
288
|
-
role: "user" | "assistant" | "tool";
|
|
289
|
-
content: string;
|
|
290
|
-
toolCallId?: string | undefined;
|
|
291
|
-
name?: string | undefined;
|
|
292
|
-
}[] | undefined;
|
|
293
|
-
systemPrompt?: string | undefined;
|
|
277
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
294
278
|
model?: {
|
|
295
279
|
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" | "google/gemini-3.1-flash-lite-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";
|
|
296
280
|
temperature?: number | undefined;
|
|
@@ -307,16 +291,33 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
307
291
|
maxRetries?: number | undefined;
|
|
308
292
|
} | undefined;
|
|
309
293
|
} | undefined;
|
|
310
|
-
|
|
294
|
+
streaming?: boolean | undefined;
|
|
311
295
|
tools?: {
|
|
312
296
|
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" | "app-rankings-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
|
|
313
297
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
314
298
|
config?: Record<string, unknown> | undefined;
|
|
315
299
|
}[] | undefined;
|
|
300
|
+
images?: ({
|
|
301
|
+
data: string;
|
|
302
|
+
type?: "base64" | undefined;
|
|
303
|
+
description?: string | undefined;
|
|
304
|
+
mimeType?: string | undefined;
|
|
305
|
+
} | {
|
|
306
|
+
type: "url";
|
|
307
|
+
url: string;
|
|
308
|
+
description?: string | undefined;
|
|
309
|
+
})[] | undefined;
|
|
310
|
+
conversationHistory?: {
|
|
311
|
+
role: "user" | "assistant" | "tool";
|
|
312
|
+
content: string;
|
|
313
|
+
toolCallId?: string | undefined;
|
|
314
|
+
name?: string | undefined;
|
|
315
|
+
}[] | undefined;
|
|
316
|
+
systemPrompt?: string | undefined;
|
|
316
317
|
customTools?: {
|
|
317
318
|
description: string;
|
|
318
319
|
name: string;
|
|
319
|
-
schema:
|
|
320
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
320
321
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
321
322
|
}[] | undefined;
|
|
322
323
|
maxIterations?: number | undefined;
|
|
@@ -325,7 +326,6 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
325
326
|
name: string;
|
|
326
327
|
id: number;
|
|
327
328
|
}[]>> | undefined;
|
|
328
|
-
streaming?: boolean | undefined;
|
|
329
329
|
capabilities?: {
|
|
330
330
|
id: string;
|
|
331
331
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -408,8 +408,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
408
408
|
description: z.ZodOptional<z.ZodString>;
|
|
409
409
|
}, "strip", z.ZodTypeAny, {
|
|
410
410
|
type: "base64";
|
|
411
|
-
data: string;
|
|
412
411
|
mimeType: string;
|
|
412
|
+
data: string;
|
|
413
413
|
description?: string | undefined;
|
|
414
414
|
}, {
|
|
415
415
|
data: string;
|
|
@@ -526,12 +526,12 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
526
526
|
}, "strip", z.ZodTypeAny, {
|
|
527
527
|
description: string;
|
|
528
528
|
name: string;
|
|
529
|
-
schema:
|
|
529
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
530
530
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
531
531
|
}, {
|
|
532
532
|
description: string;
|
|
533
533
|
name: string;
|
|
534
|
-
schema:
|
|
534
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
535
535
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
536
536
|
}>, "many">>>;
|
|
537
537
|
maxIterations: z.ZodDefault<z.ZodNumber>;
|
|
@@ -571,17 +571,6 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
571
571
|
enableSlackHistory: z.ZodDefault<z.ZodBoolean>;
|
|
572
572
|
}, "strip", z.ZodTypeAny, {
|
|
573
573
|
message: string;
|
|
574
|
-
images: ({
|
|
575
|
-
type: "base64";
|
|
576
|
-
data: string;
|
|
577
|
-
mimeType: string;
|
|
578
|
-
description?: string | undefined;
|
|
579
|
-
} | {
|
|
580
|
-
type: "url";
|
|
581
|
-
url: string;
|
|
582
|
-
description?: string | undefined;
|
|
583
|
-
})[];
|
|
584
|
-
systemPrompt: string;
|
|
585
574
|
model: {
|
|
586
575
|
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" | "google/gemini-3.1-flash-lite-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";
|
|
587
576
|
temperature: number;
|
|
@@ -598,27 +587,38 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
598
587
|
maxRetries?: number | undefined;
|
|
599
588
|
} | undefined;
|
|
600
589
|
};
|
|
590
|
+
streaming: boolean;
|
|
601
591
|
tools: {
|
|
602
592
|
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" | "app-rankings-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
|
|
603
593
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
604
594
|
config?: Record<string, unknown> | undefined;
|
|
605
595
|
}[];
|
|
596
|
+
images: ({
|
|
597
|
+
type: "base64";
|
|
598
|
+
mimeType: string;
|
|
599
|
+
data: string;
|
|
600
|
+
description?: string | undefined;
|
|
601
|
+
} | {
|
|
602
|
+
type: "url";
|
|
603
|
+
url: string;
|
|
604
|
+
description?: string | undefined;
|
|
605
|
+
})[];
|
|
606
|
+
systemPrompt: string;
|
|
606
607
|
maxIterations: number;
|
|
607
|
-
streaming: boolean;
|
|
608
608
|
memoryEnabled: boolean;
|
|
609
609
|
enableSlackHistory: boolean;
|
|
610
610
|
name?: string | undefined;
|
|
611
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
611
612
|
conversationHistory?: {
|
|
612
613
|
role: "user" | "assistant" | "tool";
|
|
613
614
|
content: string;
|
|
614
615
|
toolCallId?: string | undefined;
|
|
615
616
|
name?: string | undefined;
|
|
616
617
|
}[] | undefined;
|
|
617
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
618
618
|
customTools?: {
|
|
619
619
|
description: string;
|
|
620
620
|
name: string;
|
|
621
|
-
schema:
|
|
621
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
622
622
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
623
623
|
}[] | undefined;
|
|
624
624
|
credentialPool?: Partial<Record<CredentialType, {
|
|
@@ -636,23 +636,7 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
636
636
|
}, {
|
|
637
637
|
message: string;
|
|
638
638
|
name?: string | undefined;
|
|
639
|
-
|
|
640
|
-
data: string;
|
|
641
|
-
type?: "base64" | undefined;
|
|
642
|
-
description?: string | undefined;
|
|
643
|
-
mimeType?: string | undefined;
|
|
644
|
-
} | {
|
|
645
|
-
type: "url";
|
|
646
|
-
url: string;
|
|
647
|
-
description?: string | undefined;
|
|
648
|
-
})[] | undefined;
|
|
649
|
-
conversationHistory?: {
|
|
650
|
-
role: "user" | "assistant" | "tool";
|
|
651
|
-
content: string;
|
|
652
|
-
toolCallId?: string | undefined;
|
|
653
|
-
name?: string | undefined;
|
|
654
|
-
}[] | undefined;
|
|
655
|
-
systemPrompt?: string | undefined;
|
|
639
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
656
640
|
model?: {
|
|
657
641
|
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" | "google/gemini-3.1-flash-lite-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";
|
|
658
642
|
temperature?: number | undefined;
|
|
@@ -669,16 +653,33 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
669
653
|
maxRetries?: number | undefined;
|
|
670
654
|
} | undefined;
|
|
671
655
|
} | undefined;
|
|
672
|
-
|
|
656
|
+
streaming?: boolean | undefined;
|
|
673
657
|
tools?: {
|
|
674
658
|
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" | "app-rankings-tool" | "youtube-tool" | "amazon-shopping-tool" | "people-search-tool";
|
|
675
659
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
676
660
|
config?: Record<string, unknown> | undefined;
|
|
677
661
|
}[] | undefined;
|
|
662
|
+
images?: ({
|
|
663
|
+
data: string;
|
|
664
|
+
type?: "base64" | undefined;
|
|
665
|
+
description?: string | undefined;
|
|
666
|
+
mimeType?: string | undefined;
|
|
667
|
+
} | {
|
|
668
|
+
type: "url";
|
|
669
|
+
url: string;
|
|
670
|
+
description?: string | undefined;
|
|
671
|
+
})[] | undefined;
|
|
672
|
+
conversationHistory?: {
|
|
673
|
+
role: "user" | "assistant" | "tool";
|
|
674
|
+
content: string;
|
|
675
|
+
toolCallId?: string | undefined;
|
|
676
|
+
name?: string | undefined;
|
|
677
|
+
}[] | undefined;
|
|
678
|
+
systemPrompt?: string | undefined;
|
|
678
679
|
customTools?: {
|
|
679
680
|
description: string;
|
|
680
681
|
name: string;
|
|
681
|
-
schema:
|
|
682
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
682
683
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
683
684
|
}[] | undefined;
|
|
684
685
|
maxIterations?: number | undefined;
|
|
@@ -687,7 +688,6 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
687
688
|
name: string;
|
|
688
689
|
id: number;
|
|
689
690
|
}[]>> | undefined;
|
|
690
|
-
streaming?: boolean | undefined;
|
|
691
691
|
capabilities?: {
|
|
692
692
|
id: string;
|
|
693
693
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -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;AAM5D,OAAO,EAEL,KAAK,aAAa,EACnB,MAAM,gCAAgC,CAAC;AAExC,OAAO,KAAK,EAAE,UAAU,EAAE,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ACrC,OAAO,CAAC,qBAAqB,CAAS;IACtC,OAAO,CAAC,cAAc,CAAK;IAC3B;+EAC2E;IAC3E,OAAO,CAAC,qBAAqB,CAAqB;IAElD,4EAA4E;IAC5E,OAAO,CAAC,MAAM;IAYd,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,mBAAmB,CAAK;IAChD,4FAA4F;IAC5F,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,qBAAqB,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;cACsB,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;cAiTtC,aAAa,CAC3B,OAAO,CAAC,EAAE,aAAa,GACtB,OAAO,CAAC,aAAa,CAAC;IA4DzB;;;OAGG;IACH,OAAO,CAAC,2BAA2B;IAgDnC,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;IAyf7B;;;;OAIG;IACH,OAAO,CAAC,4BAA4B;IAgCpC;;;;OAIG;IACH,OAAO,CAAC,yBAAyB;IAgDjC;;;OAGG;IACH,OAAO,CAAC,eAAe;IAuDvB;;OAEG;YACW,qBAAqB;YA6RrB,gBAAgB;YA8ahB,YAAY;CAmwB3B"}
|
|
@@ -1192,10 +1192,14 @@ export class AIAgentBubble extends ServiceBubble {
|
|
|
1192
1192
|
const capabilityId = input.capabilityId;
|
|
1193
1193
|
const task = input.task;
|
|
1194
1194
|
const credentialOverrides = input.credentials;
|
|
1195
|
-
const capConfig = caps.find((c) => c.id === capabilityId) ?? {
|
|
1195
|
+
const capConfig = caps.find((c) => c.id === capabilityId) ?? {
|
|
1196
|
+
id: capabilityId,
|
|
1197
|
+
};
|
|
1196
1198
|
const capDef = getCapability(capabilityId);
|
|
1197
1199
|
if (!capDef)
|
|
1198
|
-
return {
|
|
1200
|
+
return {
|
|
1201
|
+
error: `Capability "${capabilityId}" not found. Available: ${capIds.join(', ')}`,
|
|
1202
|
+
};
|
|
1199
1203
|
// Resolve credential overrides from the credential pool
|
|
1200
1204
|
const subAgentCredentials = this.params.credentials
|
|
1201
1205
|
? { ...this.params.credentials }
|