@bubblelab/bubble-core 0.1.227 → 0.1.229
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 +110 -110
- 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 +2 -1
- 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/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 +126 -126
- package/dist/bubbles/service-bubble/apify/apify.d.ts +18 -18
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +6 -6
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +8 -8
- 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 +2 -2
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +678 -19
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/hubspot/hubspot.js +289 -61
- package/dist/bubbles/service-bubble/hubspot/hubspot.js.map +1 -1
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +658 -0
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.js +370 -39
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.js.map +1 -1
- 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 +20 -20
- package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts +20 -20
- 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/bubbleflow-validation-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 +26 -26
- package/dist/bubbles.json +1459 -166
- 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>;
|
|
@@ -196,17 +196,6 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
196
196
|
enableSlackHistory: z.ZodDefault<z.ZodBoolean>;
|
|
197
197
|
}, "strip", z.ZodTypeAny, {
|
|
198
198
|
message: string;
|
|
199
|
-
images: ({
|
|
200
|
-
type: "base64";
|
|
201
|
-
data: string;
|
|
202
|
-
mimeType: string;
|
|
203
|
-
description?: string | undefined;
|
|
204
|
-
} | {
|
|
205
|
-
type: "url";
|
|
206
|
-
url: string;
|
|
207
|
-
description?: string | undefined;
|
|
208
|
-
})[];
|
|
209
|
-
systemPrompt: string;
|
|
210
199
|
model: {
|
|
211
200
|
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";
|
|
212
201
|
temperature: number;
|
|
@@ -223,27 +212,38 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
223
212
|
maxRetries?: number | undefined;
|
|
224
213
|
} | undefined;
|
|
225
214
|
};
|
|
215
|
+
streaming: boolean;
|
|
226
216
|
tools: {
|
|
227
217
|
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";
|
|
228
218
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
229
219
|
config?: Record<string, unknown> | undefined;
|
|
230
220
|
}[];
|
|
221
|
+
images: ({
|
|
222
|
+
type: "base64";
|
|
223
|
+
mimeType: string;
|
|
224
|
+
data: string;
|
|
225
|
+
description?: string | undefined;
|
|
226
|
+
} | {
|
|
227
|
+
type: "url";
|
|
228
|
+
url: string;
|
|
229
|
+
description?: string | undefined;
|
|
230
|
+
})[];
|
|
231
|
+
systemPrompt: string;
|
|
231
232
|
maxIterations: number;
|
|
232
|
-
streaming: boolean;
|
|
233
233
|
memoryEnabled: boolean;
|
|
234
234
|
enableSlackHistory: boolean;
|
|
235
235
|
name?: string | undefined;
|
|
236
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
236
237
|
conversationHistory?: {
|
|
237
238
|
role: "user" | "assistant" | "tool";
|
|
238
239
|
content: string;
|
|
239
240
|
toolCallId?: string | undefined;
|
|
240
241
|
name?: string | undefined;
|
|
241
242
|
}[] | undefined;
|
|
242
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
243
243
|
customTools?: {
|
|
244
244
|
description: string;
|
|
245
245
|
name: string;
|
|
246
|
-
schema:
|
|
246
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
247
247
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
248
248
|
}[] | undefined;
|
|
249
249
|
capabilities?: {
|
|
@@ -256,23 +256,7 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
256
256
|
}, {
|
|
257
257
|
message: string;
|
|
258
258
|
name?: string | undefined;
|
|
259
|
-
|
|
260
|
-
data: string;
|
|
261
|
-
type?: "base64" | undefined;
|
|
262
|
-
description?: string | undefined;
|
|
263
|
-
mimeType?: string | undefined;
|
|
264
|
-
} | {
|
|
265
|
-
type: "url";
|
|
266
|
-
url: string;
|
|
267
|
-
description?: string | undefined;
|
|
268
|
-
})[] | undefined;
|
|
269
|
-
conversationHistory?: {
|
|
270
|
-
role: "user" | "assistant" | "tool";
|
|
271
|
-
content: string;
|
|
272
|
-
toolCallId?: string | undefined;
|
|
273
|
-
name?: string | undefined;
|
|
274
|
-
}[] | undefined;
|
|
275
|
-
systemPrompt?: string | undefined;
|
|
259
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
276
260
|
model?: {
|
|
277
261
|
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";
|
|
278
262
|
temperature?: number | undefined;
|
|
@@ -289,20 +273,36 @@ declare const AIAgentParamsSchema: z.ZodObject<{
|
|
|
289
273
|
maxRetries?: number | undefined;
|
|
290
274
|
} | undefined;
|
|
291
275
|
} | undefined;
|
|
292
|
-
|
|
276
|
+
streaming?: boolean | undefined;
|
|
293
277
|
tools?: {
|
|
294
278
|
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";
|
|
295
279
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
296
280
|
config?: Record<string, unknown> | undefined;
|
|
297
281
|
}[] | undefined;
|
|
282
|
+
images?: ({
|
|
283
|
+
data: string;
|
|
284
|
+
type?: "base64" | undefined;
|
|
285
|
+
description?: string | undefined;
|
|
286
|
+
mimeType?: string | undefined;
|
|
287
|
+
} | {
|
|
288
|
+
type: "url";
|
|
289
|
+
url: string;
|
|
290
|
+
description?: string | undefined;
|
|
291
|
+
})[] | undefined;
|
|
292
|
+
conversationHistory?: {
|
|
293
|
+
role: "user" | "assistant" | "tool";
|
|
294
|
+
content: string;
|
|
295
|
+
toolCallId?: string | undefined;
|
|
296
|
+
name?: string | undefined;
|
|
297
|
+
}[] | undefined;
|
|
298
|
+
systemPrompt?: string | undefined;
|
|
298
299
|
customTools?: {
|
|
299
300
|
description: string;
|
|
300
301
|
name: string;
|
|
301
|
-
schema:
|
|
302
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
302
303
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
303
304
|
}[] | undefined;
|
|
304
305
|
maxIterations?: number | undefined;
|
|
305
|
-
streaming?: boolean | undefined;
|
|
306
306
|
capabilities?: {
|
|
307
307
|
id: string;
|
|
308
308
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -385,8 +385,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
385
385
|
description: z.ZodOptional<z.ZodString>;
|
|
386
386
|
}, "strip", z.ZodTypeAny, {
|
|
387
387
|
type: "base64";
|
|
388
|
-
data: string;
|
|
389
388
|
mimeType: string;
|
|
389
|
+
data: string;
|
|
390
390
|
description?: string | undefined;
|
|
391
391
|
}, {
|
|
392
392
|
data: string;
|
|
@@ -503,12 +503,12 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
503
503
|
}, "strip", z.ZodTypeAny, {
|
|
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
|
}, {
|
|
509
509
|
description: string;
|
|
510
510
|
name: string;
|
|
511
|
-
schema:
|
|
511
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
512
512
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
513
513
|
}>, "many">>>;
|
|
514
514
|
maxIterations: z.ZodDefault<z.ZodNumber>;
|
|
@@ -535,17 +535,6 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
535
535
|
enableSlackHistory: z.ZodDefault<z.ZodBoolean>;
|
|
536
536
|
}, "strip", z.ZodTypeAny, {
|
|
537
537
|
message: string;
|
|
538
|
-
images: ({
|
|
539
|
-
type: "base64";
|
|
540
|
-
data: string;
|
|
541
|
-
mimeType: string;
|
|
542
|
-
description?: string | undefined;
|
|
543
|
-
} | {
|
|
544
|
-
type: "url";
|
|
545
|
-
url: string;
|
|
546
|
-
description?: string | undefined;
|
|
547
|
-
})[];
|
|
548
|
-
systemPrompt: string;
|
|
549
538
|
model: {
|
|
550
539
|
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";
|
|
551
540
|
temperature: number;
|
|
@@ -562,27 +551,38 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
562
551
|
maxRetries?: number | undefined;
|
|
563
552
|
} | undefined;
|
|
564
553
|
};
|
|
554
|
+
streaming: boolean;
|
|
565
555
|
tools: {
|
|
566
556
|
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";
|
|
567
557
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
568
558
|
config?: Record<string, unknown> | undefined;
|
|
569
559
|
}[];
|
|
560
|
+
images: ({
|
|
561
|
+
type: "base64";
|
|
562
|
+
mimeType: string;
|
|
563
|
+
data: string;
|
|
564
|
+
description?: string | undefined;
|
|
565
|
+
} | {
|
|
566
|
+
type: "url";
|
|
567
|
+
url: string;
|
|
568
|
+
description?: string | undefined;
|
|
569
|
+
})[];
|
|
570
|
+
systemPrompt: string;
|
|
570
571
|
maxIterations: number;
|
|
571
|
-
streaming: boolean;
|
|
572
572
|
memoryEnabled: boolean;
|
|
573
573
|
enableSlackHistory: boolean;
|
|
574
574
|
name?: string | undefined;
|
|
575
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
575
576
|
conversationHistory?: {
|
|
576
577
|
role: "user" | "assistant" | "tool";
|
|
577
578
|
content: string;
|
|
578
579
|
toolCallId?: string | undefined;
|
|
579
580
|
name?: string | undefined;
|
|
580
581
|
}[] | undefined;
|
|
581
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
582
582
|
customTools?: {
|
|
583
583
|
description: string;
|
|
584
584
|
name: string;
|
|
585
|
-
schema:
|
|
585
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
586
586
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
587
587
|
}[] | undefined;
|
|
588
588
|
capabilities?: {
|
|
@@ -595,23 +595,7 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
595
595
|
}, {
|
|
596
596
|
message: string;
|
|
597
597
|
name?: string | undefined;
|
|
598
|
-
|
|
599
|
-
data: string;
|
|
600
|
-
type?: "base64" | undefined;
|
|
601
|
-
description?: string | undefined;
|
|
602
|
-
mimeType?: string | undefined;
|
|
603
|
-
} | {
|
|
604
|
-
type: "url";
|
|
605
|
-
url: string;
|
|
606
|
-
description?: string | undefined;
|
|
607
|
-
})[] | undefined;
|
|
608
|
-
conversationHistory?: {
|
|
609
|
-
role: "user" | "assistant" | "tool";
|
|
610
|
-
content: string;
|
|
611
|
-
toolCallId?: string | undefined;
|
|
612
|
-
name?: string | undefined;
|
|
613
|
-
}[] | undefined;
|
|
614
|
-
systemPrompt?: string | undefined;
|
|
598
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
615
599
|
model?: {
|
|
616
600
|
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";
|
|
617
601
|
temperature?: number | undefined;
|
|
@@ -628,20 +612,36 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
|
|
|
628
612
|
maxRetries?: number | undefined;
|
|
629
613
|
} | undefined;
|
|
630
614
|
} | undefined;
|
|
631
|
-
|
|
615
|
+
streaming?: boolean | undefined;
|
|
632
616
|
tools?: {
|
|
633
617
|
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";
|
|
634
618
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
635
619
|
config?: Record<string, unknown> | undefined;
|
|
636
620
|
}[] | undefined;
|
|
621
|
+
images?: ({
|
|
622
|
+
data: string;
|
|
623
|
+
type?: "base64" | undefined;
|
|
624
|
+
description?: string | undefined;
|
|
625
|
+
mimeType?: string | undefined;
|
|
626
|
+
} | {
|
|
627
|
+
type: "url";
|
|
628
|
+
url: string;
|
|
629
|
+
description?: string | undefined;
|
|
630
|
+
})[] | undefined;
|
|
631
|
+
conversationHistory?: {
|
|
632
|
+
role: "user" | "assistant" | "tool";
|
|
633
|
+
content: string;
|
|
634
|
+
toolCallId?: string | undefined;
|
|
635
|
+
name?: string | undefined;
|
|
636
|
+
}[] | undefined;
|
|
637
|
+
systemPrompt?: string | undefined;
|
|
637
638
|
customTools?: {
|
|
638
639
|
description: string;
|
|
639
640
|
name: string;
|
|
640
|
-
schema:
|
|
641
|
+
schema: Record<string, unknown> | z.ZodTypeAny;
|
|
641
642
|
func: (args_0: Record<string, unknown>, ...args: unknown[]) => Promise<unknown>;
|
|
642
643
|
}[] | undefined;
|
|
643
644
|
maxIterations?: number | undefined;
|
|
644
|
-
streaming?: boolean | undefined;
|
|
645
645
|
capabilities?: {
|
|
646
646
|
id: string;
|
|
647
647
|
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,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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;;;OAIG;IACH,OAAO,CAAC,yBAAyB;IAgDjC;;;OAGG;IACH,OAAO,CAAC,eAAe;IAuDvB;;OAEG;YACW,qBAAqB;YA6RrB,gBAAgB;YA4ahB,YAAY;CAmwB3B"}
|
|
@@ -535,7 +535,8 @@ export class AIAgentBubble extends ServiceBubble {
|
|
|
535
535
|
const customCaps = execMeta?._availableCustomCapabilities;
|
|
536
536
|
if (customCaps && !isCapabilityAgent) {
|
|
537
537
|
// Match /command at start of message (optionally preceded by Slack mention)
|
|
538
|
-
|
|
538
|
+
// Slack may wrap the command in backticks (code formatting), so strip them
|
|
539
|
+
const match = this.params.message.match(/^(?:<@[A-Z0-9]+>\s*)?`?\/([a-z0-9](?:[a-z0-9-]*[a-z0-9])?)`?\b\s*([\s\S]*)$/);
|
|
539
540
|
if (match) {
|
|
540
541
|
const cap = customCaps[match[1]];
|
|
541
542
|
if (cap) {
|