@bubblelab/bubble-core 0.1.204 → 0.1.205

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/dist/bubble-bundle.d.ts +172 -172
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +20 -20
  3. package/dist/bubbles/service-bubble/ai-agent-slack-tools.d.ts +11 -0
  4. package/dist/bubbles/service-bubble/ai-agent-slack-tools.d.ts.map +1 -0
  5. package/dist/bubbles/service-bubble/ai-agent-slack-tools.js +61 -0
  6. package/dist/bubbles/service-bubble/ai-agent-slack-tools.js.map +1 -0
  7. package/dist/bubbles/service-bubble/ai-agent.d.ts +13 -13
  8. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  9. package/dist/bubbles/service-bubble/ai-agent.js +12 -2
  10. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  11. package/dist/bubbles/service-bubble/airtable.d.ts +24 -24
  12. package/dist/bubbles/service-bubble/apify/apify.d.ts +12 -12
  13. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +72 -72
  14. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +100 -100
  15. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +2 -2
  16. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +2 -2
  17. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +4 -4
  18. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +8 -8
  19. package/dist/bubbles/service-bubble/firecrawl.d.ts +212 -212
  20. package/dist/bubbles/service-bubble/github.d.ts +72 -72
  21. package/dist/bubbles/service-bubble/gmail.d.ts +148 -148
  22. package/dist/bubbles/service-bubble/google-calendar.d.ts +86 -86
  23. package/dist/bubbles/service-bubble/google-drive.d.ts +32 -32
  24. package/dist/bubbles/service-bubble/http.d.ts +4 -4
  25. package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
  26. package/dist/bubbles/service-bubble/jira/jira.d.ts +38 -38
  27. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +46 -46
  28. package/dist/bubbles/service-bubble/notion/notion.d.ts +380 -380
  29. package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
  30. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +2 -2
  31. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +2 -2
  32. package/dist/bubbles/service-bubble/slack/slack.d.ts +210 -210
  33. package/dist/bubbles/service-bubble/slack/slack.d.ts.map +1 -1
  34. package/dist/bubbles/service-bubble/slack/slack.js +17 -6
  35. package/dist/bubbles/service-bubble/slack/slack.js.map +1 -1
  36. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  37. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +10 -10
  38. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +266 -266
  39. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +8 -8
  40. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +34 -34
  41. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
  42. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  43. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +56 -56
  44. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +80 -80
  45. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
  46. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
  47. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  48. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +4 -4
  49. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
  50. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +36 -36
  51. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
  52. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +24 -24
  53. package/dist/bubbles.json +1 -1
  54. package/dist/types/base-bubble-class.d.ts +6 -0
  55. package/dist/types/base-bubble-class.d.ts.map +1 -1
  56. package/dist/types/base-bubble-class.js +11 -0
  57. package/dist/types/base-bubble-class.js.map +1 -1
  58. 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<{
@@ -0,0 +1,11 @@
1
+ import { z } from 'zod';
2
+ import { type CredentialType } from '@bubblelab/shared-schemas';
3
+ interface CustomTool {
4
+ name: string;
5
+ description: string;
6
+ schema: z.ZodTypeAny;
7
+ func: (input: Record<string, unknown>) => Promise<string>;
8
+ }
9
+ export declare function buildSlackReadImageTool(slackToken: string, credentials: Partial<Record<CredentialType, string>>): CustomTool;
10
+ export {};
11
+ //# sourceMappingURL=ai-agent-slack-tools.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ai-agent-slack-tools.d.ts","sourceRoot":"","sources":["../../../src/bubbles/service-bubble/ai-agent-slack-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,KAAK,cAAc,EAAsB,MAAM,2BAA2B,CAAC;AAEpF,UAAU,UAAU;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,CAAC,CAAC,UAAU,CAAC;IACrB,IAAI,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;CAC3D;AAED,wBAAgB,uBAAuB,CACrC,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC,GACnD,UAAU,CAuEZ"}
@@ -0,0 +1,61 @@
1
+ import { z } from 'zod';
2
+ import { RECOMMENDED_MODELS } from '@bubblelab/shared-schemas';
3
+ export function buildSlackReadImageTool(slackToken, credentials) {
4
+ return {
5
+ name: 'read_slack_image',
6
+ description: 'Read and describe an image from a Slack file URL. Use this when a user shares an image in Slack and you need to see its contents. Pass the Slack file URL (url_private or url_private_download).',
7
+ schema: z.object({
8
+ url: z
9
+ .string()
10
+ .describe('The Slack file URL (url_private or url_private_download) to read'),
11
+ question: z
12
+ .string()
13
+ .optional()
14
+ .describe('Optional specific question about the image (e.g. "what text is shown?"). If not provided, gives a general description.'),
15
+ }),
16
+ func: async (input) => {
17
+ const url = input.url;
18
+ const question = input.question;
19
+ try {
20
+ const response = await fetch(url, {
21
+ headers: { Authorization: `Bearer ${slackToken}` },
22
+ });
23
+ if (!response.ok) {
24
+ return `Failed to download image: ${response.status} ${response.statusText}`;
25
+ }
26
+ const buffer = await response.arrayBuffer();
27
+ const mimeType = response.headers.get('content-type') || 'image/png';
28
+ const base64 = Buffer.from(buffer).toString('base64');
29
+ const { AIAgentBubble } = await import('./ai-agent.js');
30
+ const prompt = question
31
+ ? `Answer this question about the image: ${question}`
32
+ : 'Describe this image in detail, including any text, logos, colors, and visual elements you see.';
33
+ const agent = new AIAgentBubble({
34
+ message: prompt,
35
+ systemPrompt: 'You are an image analysis assistant. Describe images accurately and concisely.',
36
+ name: 'Capability Agent: Image Reader',
37
+ model: {
38
+ model: RECOMMENDED_MODELS.GOOGLE_FLAGSHIP,
39
+ temperature: 0,
40
+ maxTokens: 2048,
41
+ },
42
+ images: [
43
+ {
44
+ type: 'base64',
45
+ data: base64,
46
+ mimeType,
47
+ },
48
+ ],
49
+ credentials,
50
+ maxIterations: 10,
51
+ }, undefined, 'image-reader');
52
+ const result = await agent.action();
53
+ return result.data?.response ?? 'Unable to describe the image.';
54
+ }
55
+ catch (err) {
56
+ return `Error reading image: ${err instanceof Error ? err.message : String(err)}`;
57
+ }
58
+ },
59
+ };
60
+ }
61
+ //# sourceMappingURL=ai-agent-slack-tools.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ai-agent-slack-tools.js","sourceRoot":"","sources":["../../../src/bubbles/service-bubble/ai-agent-slack-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAuB,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AASpF,MAAM,UAAU,uBAAuB,CACrC,UAAkB,EAClB,WAAoD;IAEpD,OAAO;QACL,IAAI,EAAE,kBAAkB;QACxB,WAAW,EACT,kM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;oBACtC,KAAK,EAAE;wBACL,KAAK,EAAE,kBAAkB,CAAC,eAAe;wBACzC,WAAW,EAAE,CAAC;wBACd,SAAS,EAAE,IAAI;qBAChB;oBACD,MAAM,EAAE;wBACN;4BACE,IAAI,EAAE,QAAiB;4BACvB,IAAI,EAAE,MAAM;4BACZ,QAAQ;yBACT;qBACF;oBACD,WAAW;oBACX,aAAa,EAAE,EAAE;iBAClB,EACD,SAAS,EACT,cAAc,CACf,CAAC;gBAEF,MAAM,MAAM,GAAG,MAAM,KAAK,CAAC,MAAM,EAAE,CAAC;gBACpC,OAAO,MAAM,CAAC,IAAI,EAAE,QAAQ,IAAI,+BAA+B,CAAC;YAClE,CAAC;YAAC,OAAO,GAAG,EAAE,CAAC;gBACb,OAAO,wBAAwB,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC;YACpF,CAAC;QACH,CAAC;KACF,CAAC;AACJ,CAAC"}
@@ -52,8 +52,8 @@ declare const AIAgentParamsSchema: z.ZodObject<{
52
52
  }, {
53
53
  data: string;
54
54
  type?: "base64" | undefined;
55
- description?: string | undefined;
56
55
  mimeType?: string | undefined;
56
+ description?: string | undefined;
57
57
  }>, z.ZodObject<{
58
58
  type: z.ZodLiteral<"url">;
59
59
  url: z.ZodString;
@@ -255,8 +255,8 @@ declare const AIAgentParamsSchema: z.ZodObject<{
255
255
  images?: ({
256
256
  data: string;
257
257
  type?: "base64" | undefined;
258
- description?: string | undefined;
259
258
  mimeType?: string | undefined;
259
+ description?: string | undefined;
260
260
  } | {
261
261
  type: "url";
262
262
  url: string;
@@ -329,8 +329,6 @@ declare const AIAgentResultSchema: z.ZodObject<{
329
329
  error: z.ZodString;
330
330
  success: z.ZodBoolean;
331
331
  }, "strip", z.ZodTypeAny, {
332
- error: string;
333
- success: boolean;
334
332
  response: string;
335
333
  toolCalls: {
336
334
  tool: string;
@@ -338,11 +336,11 @@ declare const AIAgentResultSchema: z.ZodObject<{
338
336
  output?: unknown;
339
337
  }[];
340
338
  iterations: number;
339
+ error: string;
340
+ success: boolean;
341
341
  reasoning?: string | null | undefined;
342
342
  totalCost?: number | undefined;
343
343
  }, {
344
- error: string;
345
- success: boolean;
346
344
  response: string;
347
345
  toolCalls: {
348
346
  tool: string;
@@ -350,6 +348,8 @@ declare const AIAgentResultSchema: z.ZodObject<{
350
348
  output?: unknown;
351
349
  }[];
352
350
  iterations: number;
351
+ error: string;
352
+ success: boolean;
353
353
  reasoning?: string | null | undefined;
354
354
  totalCost?: number | undefined;
355
355
  }>;
@@ -386,8 +386,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
386
386
  }, {
387
387
  data: string;
388
388
  type?: "base64" | undefined;
389
- description?: string | undefined;
390
389
  mimeType?: string | undefined;
390
+ description?: string | undefined;
391
391
  }>, z.ZodObject<{
392
392
  type: z.ZodLiteral<"url">;
393
393
  url: z.ZodString;
@@ -589,8 +589,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
589
589
  images?: ({
590
590
  data: string;
591
591
  type?: "base64" | undefined;
592
- description?: string | undefined;
593
592
  mimeType?: string | undefined;
593
+ description?: string | undefined;
594
594
  } | {
595
595
  type: "url";
596
596
  url: string;
@@ -663,8 +663,6 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
663
663
  error: z.ZodString;
664
664
  success: z.ZodBoolean;
665
665
  }, "strip", z.ZodTypeAny, {
666
- error: string;
667
- success: boolean;
668
666
  response: string;
669
667
  toolCalls: {
670
668
  tool: string;
@@ -672,11 +670,11 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
672
670
  output?: unknown;
673
671
  }[];
674
672
  iterations: number;
673
+ error: string;
674
+ success: boolean;
675
675
  reasoning?: string | null | undefined;
676
676
  totalCost?: number | undefined;
677
677
  }, {
678
- error: string;
679
- success: boolean;
680
678
  response: string;
681
679
  toolCalls: {
682
680
  tool: string;
@@ -684,6 +682,8 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
684
682
  output?: unknown;
685
683
  }[];
686
684
  iterations: number;
685
+ error: string;
686
+ success: boolean;
687
687
  reasoning?: string | null | undefined;
688
688
  totalCost?: number | undefined;
689
689
  }>;
@@ -722,7 +722,7 @@ export declare class AIAgentBubble extends ServiceBubble<AIAgentParamsParsed, AI
722
722
  /**
723
723
  * Modify params before execution - centralizes all param transformations
724
724
  */
725
- private beforeAction;
725
+ protected beforeAction(): Promise<void>;
726
726
  protected performAction(context?: BubbleContext): Promise<AIAgentResult>;
727
727
  /**
728
728
  * Run post-execution memory reflection if a callback was provided via executionMeta.
@@ -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,E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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;cAsKtC,aAAa,CAC3B,OAAO,CAAC,EAAE,aAAa,GACtB,OAAO,CAAC,aAAa,CAAC;IA4DzB;;;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"}
@@ -485,12 +485,22 @@ export class AIAgentBubble extends ServiceBubble {
485
485
  memoryCallLLMInit(callLLM);
486
486
  }
487
487
  }
488
+ // Auto-inject Slack image reading tool for Slack bot flows
489
+ if (!isCapabilityAgent &&
490
+ execMeta?._isSlackBot &&
491
+ execMeta?._slackBotToken) {
492
+ const { buildSlackReadImageTool } = await import('./ai-agent-slack-tools.js');
493
+ const slackImageTool = buildSlackReadImageTool(execMeta._slackBotToken, this.params.credentials ?? {});
494
+ if (!this.params.customTools) {
495
+ this.params.customTools = [];
496
+ }
497
+ this.params.customTools.push(slackImageTool);
498
+ this.params.systemPrompt += `\n\n**Image Reading:** When users share images in Slack, the message will include \`[Attached files: ...]\` with Slack file URLs. Use the \`read_slack_image\` tool with these URLs to see and describe the image contents.`;
499
+ }
488
500
  }
489
501
  async performAction(context) {
490
502
  // Context is available but not currently used in this implementation
491
503
  void context;
492
- // Apply param transformations before execution
493
- await this.beforeAction();
494
504
  try {
495
505
  let result;
496
506
  // Check if this is a deep research model - bypass LangChain and call OpenRouter directly