@bubblelab/bubble-core 0.1.204 → 0.1.206
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 +239 -239
- package/dist/bubbles/service-bubble/agi-inc.d.ts +60 -60
- package/dist/bubbles/service-bubble/ai-agent-slack-tools.d.ts +18 -0
- package/dist/bubbles/service-bubble/ai-agent-slack-tools.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/ai-agent-slack-tools.js +66 -0
- package/dist/bubbles/service-bubble/ai-agent-slack-tools.js.map +1 -0
- package/dist/bubbles/service-bubble/ai-agent.d.ts +9 -9
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +11 -2
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +50 -50
- package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +4 -4
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +12 -12
- 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 +8 -8
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +52 -52
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +18 -18
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +10 -10
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +27 -27
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +8 -8
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +131 -131
- package/dist/bubbles/service-bubble/apify/apify.d.ts +12 -12
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +62 -62
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +84 -84
- package/dist/bubbles/service-bubble/attio/attio.d.ts +28 -28
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +28 -28
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +28 -28
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +30 -30
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +24 -24
- package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +24 -24
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +126 -126
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +158 -158
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
- package/dist/bubbles/service-bubble/firecrawl.d.ts +783 -783
- package/dist/bubbles/service-bubble/followupboss.d.ts +140 -140
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +68 -68
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +108 -108
- package/dist/bubbles/service-bubble/github.d.ts +84 -84
- package/dist/bubbles/service-bubble/gmail.d.ts +80 -80
- package/dist/bubbles/service-bubble/google-calendar.d.ts +138 -138
- package/dist/bubbles/service-bubble/google-drive.d.ts +60 -60
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +44 -44
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +48 -48
- package/dist/bubbles/service-bubble/hello-world.d.ts +8 -8
- package/dist/bubbles/service-bubble/http.d.ts +16 -16
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +8 -8
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +8 -8
- package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
- package/dist/bubbles/service-bubble/jira/jira.d.ts +86 -86
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +94 -94
- package/dist/bubbles/service-bubble/linear/linear.d.ts +32 -32
- package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +32 -32
- package/dist/bubbles/service-bubble/notion/notion.d.ts +522 -522
- 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 +22 -22
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +26 -26
- package/dist/bubbles/service-bubble/resend.d.ts +28 -28
- package/dist/bubbles/service-bubble/s3/s3.d.ts +10 -10
- package/dist/bubbles/service-bubble/s3/s3.schema.d.ts +10 -10
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +10 -10
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +12 -12
- package/dist/bubbles/service-bubble/slack/slack.d.ts +252 -252
- package/dist/bubbles/service-bubble/slack/slack.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/slack/slack.js +17 -6
- package/dist/bubbles/service-bubble/slack/slack.js.map +1 -1
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +125 -125
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +143 -143
- package/dist/bubbles/service-bubble/telegram.d.ts +1562 -1562
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +13 -13
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +13 -13
- package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +26 -26
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +52 -52
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +186 -186
- package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +28 -28
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +28 -28
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +54 -54
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +22 -22
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +22 -22
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +28 -28
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +72 -72
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +34 -34
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +90 -90
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
- package/dist/bubbles.json +1 -1
- package/dist/types/base-bubble-class.d.ts +6 -0
- package/dist/types/base-bubble-class.d.ts.map +1 -1
- package/dist/types/base-bubble-class.js +11 -0
- package/dist/types/base-bubble-class.js.map +1 -1
- package/package.json +2 -2
|
@@ -54,19 +54,19 @@ declare const SlackFormatterAgentParamsSchema: z.ZodObject<{
|
|
|
54
54
|
maxIterations: number;
|
|
55
55
|
verbosity: "1" | "2" | "3" | "4" | "5";
|
|
56
56
|
technicality: "1" | "2" | "3" | "4" | "5";
|
|
57
|
-
includeBlockKit: boolean;
|
|
58
57
|
includeQuery: boolean;
|
|
59
58
|
includeExplanation: boolean;
|
|
59
|
+
includeBlockKit: boolean;
|
|
60
60
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
61
61
|
additionalContext?: string | undefined;
|
|
62
62
|
}, {
|
|
63
63
|
message: string;
|
|
64
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
64
65
|
model?: {
|
|
65
66
|
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "google/gemini-3.1-pro-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-sonnet-4-6" | "anthropic/claude-opus-4-5" | "anthropic/claude-opus-4-6" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-sonnet-4.6" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/anthropic/claude-opus-4.6" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined;
|
|
66
67
|
temperature?: number | undefined;
|
|
67
68
|
maxTokens?: number | undefined;
|
|
68
69
|
} | undefined;
|
|
69
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
70
70
|
tools?: {
|
|
71
71
|
name: string;
|
|
72
72
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -75,10 +75,10 @@ declare const SlackFormatterAgentParamsSchema: z.ZodObject<{
|
|
|
75
75
|
maxIterations?: number | undefined;
|
|
76
76
|
verbosity?: "1" | "2" | "3" | "4" | "5" | undefined;
|
|
77
77
|
technicality?: "1" | "2" | "3" | "4" | "5" | undefined;
|
|
78
|
-
includeBlockKit?: boolean | undefined;
|
|
79
78
|
includeQuery?: boolean | undefined;
|
|
80
79
|
includeExplanation?: boolean | undefined;
|
|
81
80
|
additionalContext?: string | undefined;
|
|
81
|
+
includeBlockKit?: boolean | undefined;
|
|
82
82
|
}>;
|
|
83
83
|
declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
84
84
|
response: z.ZodString;
|
|
@@ -154,26 +154,25 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
154
154
|
verbatim?: boolean | undefined;
|
|
155
155
|
}>, "many">>;
|
|
156
156
|
}, "strip", z.ZodTypeAny, {
|
|
157
|
-
type: "input" | "image" | "file" | "
|
|
157
|
+
type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions" | "table";
|
|
158
158
|
title?: {
|
|
159
159
|
type: "plain_text";
|
|
160
160
|
text: string;
|
|
161
161
|
emoji?: boolean | undefined;
|
|
162
162
|
} | undefined;
|
|
163
|
-
|
|
164
|
-
text?: {
|
|
163
|
+
fields?: {
|
|
165
164
|
type: "plain_text" | "mrkdwn";
|
|
166
165
|
text: string;
|
|
167
166
|
emoji?: boolean | undefined;
|
|
168
167
|
verbatim?: boolean | undefined;
|
|
169
|
-
} | undefined;
|
|
170
|
-
|
|
171
|
-
fields?: {
|
|
168
|
+
}[] | undefined;
|
|
169
|
+
text?: {
|
|
172
170
|
type: "plain_text" | "mrkdwn";
|
|
173
171
|
text: string;
|
|
174
172
|
emoji?: boolean | undefined;
|
|
175
173
|
verbatim?: boolean | undefined;
|
|
176
|
-
}
|
|
174
|
+
} | undefined;
|
|
175
|
+
image_url?: string | undefined;
|
|
177
176
|
alt_text?: string | undefined;
|
|
178
177
|
elements?: {
|
|
179
178
|
type: "plain_text" | "mrkdwn";
|
|
@@ -181,32 +180,32 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
181
180
|
emoji?: boolean | undefined;
|
|
182
181
|
verbatim?: boolean | undefined;
|
|
183
182
|
}[] | undefined;
|
|
183
|
+
label?: unknown;
|
|
184
|
+
optional?: boolean | undefined;
|
|
185
|
+
element?: unknown;
|
|
184
186
|
block_id?: string | undefined;
|
|
185
187
|
accessory?: unknown;
|
|
186
|
-
element?: unknown;
|
|
187
|
-
label?: unknown;
|
|
188
188
|
hint?: unknown;
|
|
189
189
|
}, {
|
|
190
|
-
type: "input" | "image" | "file" | "
|
|
190
|
+
type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions" | "table";
|
|
191
191
|
title?: {
|
|
192
192
|
type: "plain_text";
|
|
193
193
|
text: string;
|
|
194
194
|
emoji?: boolean | undefined;
|
|
195
195
|
} | undefined;
|
|
196
|
-
|
|
197
|
-
text?: {
|
|
196
|
+
fields?: {
|
|
198
197
|
type: "plain_text" | "mrkdwn";
|
|
199
198
|
text: string;
|
|
200
199
|
emoji?: boolean | undefined;
|
|
201
200
|
verbatim?: boolean | undefined;
|
|
202
|
-
} | undefined;
|
|
203
|
-
|
|
204
|
-
fields?: {
|
|
201
|
+
}[] | undefined;
|
|
202
|
+
text?: {
|
|
205
203
|
type: "plain_text" | "mrkdwn";
|
|
206
204
|
text: string;
|
|
207
205
|
emoji?: boolean | undefined;
|
|
208
206
|
verbatim?: boolean | undefined;
|
|
209
|
-
}
|
|
207
|
+
} | undefined;
|
|
208
|
+
image_url?: string | undefined;
|
|
210
209
|
alt_text?: string | undefined;
|
|
211
210
|
elements?: {
|
|
212
211
|
type: "plain_text" | "mrkdwn";
|
|
@@ -214,10 +213,11 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
214
213
|
emoji?: boolean | undefined;
|
|
215
214
|
verbatim?: boolean | undefined;
|
|
216
215
|
}[] | undefined;
|
|
216
|
+
label?: unknown;
|
|
217
|
+
optional?: boolean | undefined;
|
|
218
|
+
element?: unknown;
|
|
217
219
|
block_id?: string | undefined;
|
|
218
220
|
accessory?: unknown;
|
|
219
|
-
element?: unknown;
|
|
220
|
-
label?: unknown;
|
|
221
221
|
hint?: unknown;
|
|
222
222
|
}>, "many">>;
|
|
223
223
|
metadata: z.ZodObject<{
|
|
@@ -226,14 +226,14 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
226
226
|
wordCount: z.ZodNumber;
|
|
227
227
|
blockCount: z.ZodOptional<z.ZodNumber>;
|
|
228
228
|
}, "strip", z.ZodTypeAny, {
|
|
229
|
+
wordCount: number;
|
|
229
230
|
verbosityLevel: string;
|
|
230
231
|
technicalityLevel: string;
|
|
231
|
-
wordCount: number;
|
|
232
232
|
blockCount?: number | undefined;
|
|
233
233
|
}, {
|
|
234
|
+
wordCount: number;
|
|
234
235
|
verbosityLevel: string;
|
|
235
236
|
technicalityLevel: string;
|
|
236
|
-
wordCount: number;
|
|
237
237
|
blockCount?: number | undefined;
|
|
238
238
|
}>;
|
|
239
239
|
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -253,14 +253,14 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
253
253
|
error: z.ZodString;
|
|
254
254
|
success: z.ZodBoolean;
|
|
255
255
|
}, "strip", z.ZodTypeAny, {
|
|
256
|
-
error: string;
|
|
257
256
|
success: boolean;
|
|
257
|
+
error: string;
|
|
258
258
|
response: string;
|
|
259
259
|
iterations: number;
|
|
260
260
|
metadata: {
|
|
261
|
+
wordCount: number;
|
|
261
262
|
verbosityLevel: string;
|
|
262
263
|
technicalityLevel: string;
|
|
263
|
-
wordCount: number;
|
|
264
264
|
blockCount?: number | undefined;
|
|
265
265
|
};
|
|
266
266
|
toolCalls?: {
|
|
@@ -269,26 +269,25 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
269
269
|
output?: unknown;
|
|
270
270
|
}[] | undefined;
|
|
271
271
|
blocks?: {
|
|
272
|
-
type: "input" | "image" | "file" | "
|
|
272
|
+
type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions" | "table";
|
|
273
273
|
title?: {
|
|
274
274
|
type: "plain_text";
|
|
275
275
|
text: string;
|
|
276
276
|
emoji?: boolean | undefined;
|
|
277
277
|
} | undefined;
|
|
278
|
-
|
|
279
|
-
text?: {
|
|
278
|
+
fields?: {
|
|
280
279
|
type: "plain_text" | "mrkdwn";
|
|
281
280
|
text: string;
|
|
282
281
|
emoji?: boolean | undefined;
|
|
283
282
|
verbatim?: boolean | undefined;
|
|
284
|
-
} | undefined;
|
|
285
|
-
|
|
286
|
-
fields?: {
|
|
283
|
+
}[] | undefined;
|
|
284
|
+
text?: {
|
|
287
285
|
type: "plain_text" | "mrkdwn";
|
|
288
286
|
text: string;
|
|
289
287
|
emoji?: boolean | undefined;
|
|
290
288
|
verbatim?: boolean | undefined;
|
|
291
|
-
}
|
|
289
|
+
} | undefined;
|
|
290
|
+
image_url?: string | undefined;
|
|
292
291
|
alt_text?: string | undefined;
|
|
293
292
|
elements?: {
|
|
294
293
|
type: "plain_text" | "mrkdwn";
|
|
@@ -296,21 +295,22 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
296
295
|
emoji?: boolean | undefined;
|
|
297
296
|
verbatim?: boolean | undefined;
|
|
298
297
|
}[] | undefined;
|
|
298
|
+
label?: unknown;
|
|
299
|
+
optional?: boolean | undefined;
|
|
300
|
+
element?: unknown;
|
|
299
301
|
block_id?: string | undefined;
|
|
300
302
|
accessory?: unknown;
|
|
301
|
-
element?: unknown;
|
|
302
|
-
label?: unknown;
|
|
303
303
|
hint?: unknown;
|
|
304
304
|
}[] | undefined;
|
|
305
305
|
}, {
|
|
306
|
-
error: string;
|
|
307
306
|
success: boolean;
|
|
307
|
+
error: string;
|
|
308
308
|
response: string;
|
|
309
309
|
iterations: number;
|
|
310
310
|
metadata: {
|
|
311
|
+
wordCount: number;
|
|
311
312
|
verbosityLevel: string;
|
|
312
313
|
technicalityLevel: string;
|
|
313
|
-
wordCount: number;
|
|
314
314
|
blockCount?: number | undefined;
|
|
315
315
|
};
|
|
316
316
|
toolCalls?: {
|
|
@@ -319,26 +319,25 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
319
319
|
output?: unknown;
|
|
320
320
|
}[] | undefined;
|
|
321
321
|
blocks?: {
|
|
322
|
-
type: "input" | "image" | "file" | "
|
|
322
|
+
type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions" | "table";
|
|
323
323
|
title?: {
|
|
324
324
|
type: "plain_text";
|
|
325
325
|
text: string;
|
|
326
326
|
emoji?: boolean | undefined;
|
|
327
327
|
} | undefined;
|
|
328
|
-
|
|
329
|
-
text?: {
|
|
328
|
+
fields?: {
|
|
330
329
|
type: "plain_text" | "mrkdwn";
|
|
331
330
|
text: string;
|
|
332
331
|
emoji?: boolean | undefined;
|
|
333
332
|
verbatim?: boolean | undefined;
|
|
334
|
-
} | undefined;
|
|
335
|
-
|
|
336
|
-
fields?: {
|
|
333
|
+
}[] | undefined;
|
|
334
|
+
text?: {
|
|
337
335
|
type: "plain_text" | "mrkdwn";
|
|
338
336
|
text: string;
|
|
339
337
|
emoji?: boolean | undefined;
|
|
340
338
|
verbatim?: boolean | undefined;
|
|
341
|
-
}
|
|
339
|
+
} | undefined;
|
|
340
|
+
image_url?: string | undefined;
|
|
342
341
|
alt_text?: string | undefined;
|
|
343
342
|
elements?: {
|
|
344
343
|
type: "plain_text" | "mrkdwn";
|
|
@@ -346,10 +345,11 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
346
345
|
emoji?: boolean | undefined;
|
|
347
346
|
verbatim?: boolean | undefined;
|
|
348
347
|
}[] | undefined;
|
|
348
|
+
label?: unknown;
|
|
349
|
+
optional?: boolean | undefined;
|
|
350
|
+
element?: unknown;
|
|
349
351
|
block_id?: string | undefined;
|
|
350
352
|
accessory?: unknown;
|
|
351
|
-
element?: unknown;
|
|
352
|
-
label?: unknown;
|
|
353
353
|
hint?: unknown;
|
|
354
354
|
}[] | undefined;
|
|
355
355
|
}>;
|
|
@@ -412,19 +412,19 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
412
412
|
maxIterations: number;
|
|
413
413
|
verbosity: "1" | "2" | "3" | "4" | "5";
|
|
414
414
|
technicality: "1" | "2" | "3" | "4" | "5";
|
|
415
|
-
includeBlockKit: boolean;
|
|
416
415
|
includeQuery: boolean;
|
|
417
416
|
includeExplanation: boolean;
|
|
417
|
+
includeBlockKit: boolean;
|
|
418
418
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
419
419
|
additionalContext?: string | undefined;
|
|
420
420
|
}, {
|
|
421
421
|
message: string;
|
|
422
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
422
423
|
model?: {
|
|
423
424
|
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-5.1" | "openai/gpt-5.2" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "google/gemini-3-pro-preview" | "google/gemini-3-pro-image-preview" | "google/gemini-3-flash-preview" | "google/gemini-3.1-pro-preview" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-sonnet-4-6" | "anthropic/claude-opus-4-5" | "anthropic/claude-opus-4-6" | "anthropic/claude-haiku-4-5" | "openrouter/x-ai/grok-code-fast-1" | "openrouter/z-ai/glm-4.6" | "openrouter/z-ai/glm-4.7" | "openrouter/anthropic/claude-sonnet-4.5" | "openrouter/anthropic/claude-sonnet-4.6" | "openrouter/anthropic/claude-opus-4.5" | "openrouter/anthropic/claude-opus-4.6" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined;
|
|
424
425
|
temperature?: number | undefined;
|
|
425
426
|
maxTokens?: number | undefined;
|
|
426
427
|
} | undefined;
|
|
427
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
428
428
|
tools?: {
|
|
429
429
|
name: string;
|
|
430
430
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -433,10 +433,10 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
433
433
|
maxIterations?: number | undefined;
|
|
434
434
|
verbosity?: "1" | "2" | "3" | "4" | "5" | undefined;
|
|
435
435
|
technicality?: "1" | "2" | "3" | "4" | "5" | undefined;
|
|
436
|
-
includeBlockKit?: boolean | undefined;
|
|
437
436
|
includeQuery?: boolean | undefined;
|
|
438
437
|
includeExplanation?: boolean | undefined;
|
|
439
438
|
additionalContext?: string | undefined;
|
|
439
|
+
includeBlockKit?: boolean | undefined;
|
|
440
440
|
}>;
|
|
441
441
|
static readonly resultSchema: z.ZodObject<{
|
|
442
442
|
response: z.ZodString;
|
|
@@ -512,26 +512,25 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
512
512
|
verbatim?: boolean | undefined;
|
|
513
513
|
}>, "many">>;
|
|
514
514
|
}, "strip", z.ZodTypeAny, {
|
|
515
|
-
type: "input" | "image" | "file" | "
|
|
515
|
+
type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions" | "table";
|
|
516
516
|
title?: {
|
|
517
517
|
type: "plain_text";
|
|
518
518
|
text: string;
|
|
519
519
|
emoji?: boolean | undefined;
|
|
520
520
|
} | undefined;
|
|
521
|
-
|
|
522
|
-
text?: {
|
|
521
|
+
fields?: {
|
|
523
522
|
type: "plain_text" | "mrkdwn";
|
|
524
523
|
text: string;
|
|
525
524
|
emoji?: boolean | undefined;
|
|
526
525
|
verbatim?: boolean | undefined;
|
|
527
|
-
} | undefined;
|
|
528
|
-
|
|
529
|
-
fields?: {
|
|
526
|
+
}[] | undefined;
|
|
527
|
+
text?: {
|
|
530
528
|
type: "plain_text" | "mrkdwn";
|
|
531
529
|
text: string;
|
|
532
530
|
emoji?: boolean | undefined;
|
|
533
531
|
verbatim?: boolean | undefined;
|
|
534
|
-
}
|
|
532
|
+
} | undefined;
|
|
533
|
+
image_url?: string | undefined;
|
|
535
534
|
alt_text?: string | undefined;
|
|
536
535
|
elements?: {
|
|
537
536
|
type: "plain_text" | "mrkdwn";
|
|
@@ -539,32 +538,32 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
539
538
|
emoji?: boolean | undefined;
|
|
540
539
|
verbatim?: boolean | undefined;
|
|
541
540
|
}[] | undefined;
|
|
541
|
+
label?: unknown;
|
|
542
|
+
optional?: boolean | undefined;
|
|
543
|
+
element?: unknown;
|
|
542
544
|
block_id?: string | undefined;
|
|
543
545
|
accessory?: unknown;
|
|
544
|
-
element?: unknown;
|
|
545
|
-
label?: unknown;
|
|
546
546
|
hint?: unknown;
|
|
547
547
|
}, {
|
|
548
|
-
type: "input" | "image" | "file" | "
|
|
548
|
+
type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions" | "table";
|
|
549
549
|
title?: {
|
|
550
550
|
type: "plain_text";
|
|
551
551
|
text: string;
|
|
552
552
|
emoji?: boolean | undefined;
|
|
553
553
|
} | undefined;
|
|
554
|
-
|
|
555
|
-
text?: {
|
|
554
|
+
fields?: {
|
|
556
555
|
type: "plain_text" | "mrkdwn";
|
|
557
556
|
text: string;
|
|
558
557
|
emoji?: boolean | undefined;
|
|
559
558
|
verbatim?: boolean | undefined;
|
|
560
|
-
} | undefined;
|
|
561
|
-
|
|
562
|
-
fields?: {
|
|
559
|
+
}[] | undefined;
|
|
560
|
+
text?: {
|
|
563
561
|
type: "plain_text" | "mrkdwn";
|
|
564
562
|
text: string;
|
|
565
563
|
emoji?: boolean | undefined;
|
|
566
564
|
verbatim?: boolean | undefined;
|
|
567
|
-
}
|
|
565
|
+
} | undefined;
|
|
566
|
+
image_url?: string | undefined;
|
|
568
567
|
alt_text?: string | undefined;
|
|
569
568
|
elements?: {
|
|
570
569
|
type: "plain_text" | "mrkdwn";
|
|
@@ -572,10 +571,11 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
572
571
|
emoji?: boolean | undefined;
|
|
573
572
|
verbatim?: boolean | undefined;
|
|
574
573
|
}[] | undefined;
|
|
574
|
+
label?: unknown;
|
|
575
|
+
optional?: boolean | undefined;
|
|
576
|
+
element?: unknown;
|
|
575
577
|
block_id?: string | undefined;
|
|
576
578
|
accessory?: unknown;
|
|
577
|
-
element?: unknown;
|
|
578
|
-
label?: unknown;
|
|
579
579
|
hint?: unknown;
|
|
580
580
|
}>, "many">>;
|
|
581
581
|
metadata: z.ZodObject<{
|
|
@@ -584,14 +584,14 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
584
584
|
wordCount: z.ZodNumber;
|
|
585
585
|
blockCount: z.ZodOptional<z.ZodNumber>;
|
|
586
586
|
}, "strip", z.ZodTypeAny, {
|
|
587
|
+
wordCount: number;
|
|
587
588
|
verbosityLevel: string;
|
|
588
589
|
technicalityLevel: string;
|
|
589
|
-
wordCount: number;
|
|
590
590
|
blockCount?: number | undefined;
|
|
591
591
|
}, {
|
|
592
|
+
wordCount: number;
|
|
592
593
|
verbosityLevel: string;
|
|
593
594
|
technicalityLevel: string;
|
|
594
|
-
wordCount: number;
|
|
595
595
|
blockCount?: number | undefined;
|
|
596
596
|
}>;
|
|
597
597
|
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -611,14 +611,14 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
611
611
|
error: z.ZodString;
|
|
612
612
|
success: z.ZodBoolean;
|
|
613
613
|
}, "strip", z.ZodTypeAny, {
|
|
614
|
-
error: string;
|
|
615
614
|
success: boolean;
|
|
615
|
+
error: string;
|
|
616
616
|
response: string;
|
|
617
617
|
iterations: number;
|
|
618
618
|
metadata: {
|
|
619
|
+
wordCount: number;
|
|
619
620
|
verbosityLevel: string;
|
|
620
621
|
technicalityLevel: string;
|
|
621
|
-
wordCount: number;
|
|
622
622
|
blockCount?: number | undefined;
|
|
623
623
|
};
|
|
624
624
|
toolCalls?: {
|
|
@@ -627,26 +627,25 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
627
627
|
output?: unknown;
|
|
628
628
|
}[] | undefined;
|
|
629
629
|
blocks?: {
|
|
630
|
-
type: "input" | "image" | "file" | "
|
|
630
|
+
type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions" | "table";
|
|
631
631
|
title?: {
|
|
632
632
|
type: "plain_text";
|
|
633
633
|
text: string;
|
|
634
634
|
emoji?: boolean | undefined;
|
|
635
635
|
} | undefined;
|
|
636
|
-
|
|
637
|
-
text?: {
|
|
636
|
+
fields?: {
|
|
638
637
|
type: "plain_text" | "mrkdwn";
|
|
639
638
|
text: string;
|
|
640
639
|
emoji?: boolean | undefined;
|
|
641
640
|
verbatim?: boolean | undefined;
|
|
642
|
-
} | undefined;
|
|
643
|
-
|
|
644
|
-
fields?: {
|
|
641
|
+
}[] | undefined;
|
|
642
|
+
text?: {
|
|
645
643
|
type: "plain_text" | "mrkdwn";
|
|
646
644
|
text: string;
|
|
647
645
|
emoji?: boolean | undefined;
|
|
648
646
|
verbatim?: boolean | undefined;
|
|
649
|
-
}
|
|
647
|
+
} | undefined;
|
|
648
|
+
image_url?: string | undefined;
|
|
650
649
|
alt_text?: string | undefined;
|
|
651
650
|
elements?: {
|
|
652
651
|
type: "plain_text" | "mrkdwn";
|
|
@@ -654,21 +653,22 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
654
653
|
emoji?: boolean | undefined;
|
|
655
654
|
verbatim?: boolean | undefined;
|
|
656
655
|
}[] | undefined;
|
|
656
|
+
label?: unknown;
|
|
657
|
+
optional?: boolean | undefined;
|
|
658
|
+
element?: unknown;
|
|
657
659
|
block_id?: string | undefined;
|
|
658
660
|
accessory?: unknown;
|
|
659
|
-
element?: unknown;
|
|
660
|
-
label?: unknown;
|
|
661
661
|
hint?: unknown;
|
|
662
662
|
}[] | undefined;
|
|
663
663
|
}, {
|
|
664
|
-
error: string;
|
|
665
664
|
success: boolean;
|
|
665
|
+
error: string;
|
|
666
666
|
response: string;
|
|
667
667
|
iterations: number;
|
|
668
668
|
metadata: {
|
|
669
|
+
wordCount: number;
|
|
669
670
|
verbosityLevel: string;
|
|
670
671
|
technicalityLevel: string;
|
|
671
|
-
wordCount: number;
|
|
672
672
|
blockCount?: number | undefined;
|
|
673
673
|
};
|
|
674
674
|
toolCalls?: {
|
|
@@ -677,26 +677,25 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
677
677
|
output?: unknown;
|
|
678
678
|
}[] | undefined;
|
|
679
679
|
blocks?: {
|
|
680
|
-
type: "input" | "image" | "file" | "
|
|
680
|
+
type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions" | "table";
|
|
681
681
|
title?: {
|
|
682
682
|
type: "plain_text";
|
|
683
683
|
text: string;
|
|
684
684
|
emoji?: boolean | undefined;
|
|
685
685
|
} | undefined;
|
|
686
|
-
|
|
687
|
-
text?: {
|
|
686
|
+
fields?: {
|
|
688
687
|
type: "plain_text" | "mrkdwn";
|
|
689
688
|
text: string;
|
|
690
689
|
emoji?: boolean | undefined;
|
|
691
690
|
verbatim?: boolean | undefined;
|
|
692
|
-
} | undefined;
|
|
693
|
-
|
|
694
|
-
fields?: {
|
|
691
|
+
}[] | undefined;
|
|
692
|
+
text?: {
|
|
695
693
|
type: "plain_text" | "mrkdwn";
|
|
696
694
|
text: string;
|
|
697
695
|
emoji?: boolean | undefined;
|
|
698
696
|
verbatim?: boolean | undefined;
|
|
699
|
-
}
|
|
697
|
+
} | undefined;
|
|
698
|
+
image_url?: string | undefined;
|
|
700
699
|
alt_text?: string | undefined;
|
|
701
700
|
elements?: {
|
|
702
701
|
type: "plain_text" | "mrkdwn";
|
|
@@ -704,10 +703,11 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
704
703
|
emoji?: boolean | undefined;
|
|
705
704
|
verbatim?: boolean | undefined;
|
|
706
705
|
}[] | undefined;
|
|
706
|
+
label?: unknown;
|
|
707
|
+
optional?: boolean | undefined;
|
|
708
|
+
element?: unknown;
|
|
707
709
|
block_id?: string | undefined;
|
|
708
710
|
accessory?: unknown;
|
|
709
|
-
element?: unknown;
|
|
710
|
-
label?: unknown;
|
|
711
711
|
hint?: unknown;
|
|
712
712
|
}[] | undefined;
|
|
713
713
|
}>;
|
|
@@ -54,7 +54,7 @@ declare const SlackNotifierParamsSchema: z.ZodObject<{
|
|
|
54
54
|
}, "strip", z.ZodTypeAny, {
|
|
55
55
|
contentToFormat: string;
|
|
56
56
|
targetChannel: string;
|
|
57
|
-
messageStyle: "
|
|
57
|
+
messageStyle: "professional" | "casual" | "technical" | "concise" | "detailed";
|
|
58
58
|
includeFormatting: boolean;
|
|
59
59
|
maxMessageLength: number;
|
|
60
60
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -71,7 +71,7 @@ declare const SlackNotifierParamsSchema: z.ZodObject<{
|
|
|
71
71
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
72
72
|
originalUserQuery?: string | undefined;
|
|
73
73
|
messageTitle?: string | undefined;
|
|
74
|
-
messageStyle?: "
|
|
74
|
+
messageStyle?: "professional" | "casual" | "technical" | "concise" | "detailed" | undefined;
|
|
75
75
|
includeFormatting?: boolean | undefined;
|
|
76
76
|
maxMessageLength?: number | undefined;
|
|
77
77
|
aiModel?: {
|
|
@@ -148,8 +148,8 @@ declare const SlackNotifierResultSchema: z.ZodObject<{
|
|
|
148
148
|
originalLength?: number | undefined;
|
|
149
149
|
}>>;
|
|
150
150
|
}, "strip", z.ZodTypeAny, {
|
|
151
|
-
error: string;
|
|
152
151
|
success: boolean;
|
|
152
|
+
error: string;
|
|
153
153
|
messageInfo?: {
|
|
154
154
|
channelName?: string | undefined;
|
|
155
155
|
messageTimestamp?: string | undefined;
|
|
@@ -163,8 +163,8 @@ declare const SlackNotifierResultSchema: z.ZodObject<{
|
|
|
163
163
|
originalLength?: number | undefined;
|
|
164
164
|
} | undefined;
|
|
165
165
|
}, {
|
|
166
|
-
error: string;
|
|
167
166
|
success: boolean;
|
|
167
|
+
error: string;
|
|
168
168
|
messageInfo?: {
|
|
169
169
|
channelName?: string | undefined;
|
|
170
170
|
messageTimestamp?: string | undefined;
|
|
@@ -252,7 +252,7 @@ export declare class SlackNotifierWorkflowBubble extends WorkflowBubble<SlackNot
|
|
|
252
252
|
}, "strip", z.ZodTypeAny, {
|
|
253
253
|
contentToFormat: string;
|
|
254
254
|
targetChannel: string;
|
|
255
|
-
messageStyle: "
|
|
255
|
+
messageStyle: "professional" | "casual" | "technical" | "concise" | "detailed";
|
|
256
256
|
includeFormatting: boolean;
|
|
257
257
|
maxMessageLength: number;
|
|
258
258
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -269,7 +269,7 @@ export declare class SlackNotifierWorkflowBubble extends WorkflowBubble<SlackNot
|
|
|
269
269
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
270
270
|
originalUserQuery?: string | undefined;
|
|
271
271
|
messageTitle?: string | undefined;
|
|
272
|
-
messageStyle?: "
|
|
272
|
+
messageStyle?: "professional" | "casual" | "technical" | "concise" | "detailed" | undefined;
|
|
273
273
|
includeFormatting?: boolean | undefined;
|
|
274
274
|
maxMessageLength?: number | undefined;
|
|
275
275
|
aiModel?: {
|
|
@@ -344,8 +344,8 @@ export declare class SlackNotifierWorkflowBubble extends WorkflowBubble<SlackNot
|
|
|
344
344
|
originalLength?: number | undefined;
|
|
345
345
|
}>>;
|
|
346
346
|
}, "strip", z.ZodTypeAny, {
|
|
347
|
-
error: string;
|
|
348
347
|
success: boolean;
|
|
348
|
+
error: string;
|
|
349
349
|
messageInfo?: {
|
|
350
350
|
channelName?: string | undefined;
|
|
351
351
|
messageTimestamp?: string | undefined;
|
|
@@ -359,8 +359,8 @@ export declare class SlackNotifierWorkflowBubble extends WorkflowBubble<SlackNot
|
|
|
359
359
|
originalLength?: number | undefined;
|
|
360
360
|
} | undefined;
|
|
361
361
|
}, {
|
|
362
|
-
error: string;
|
|
363
362
|
success: boolean;
|
|
363
|
+
error: string;
|
|
364
364
|
messageInfo?: {
|
|
365
365
|
channelName?: string | undefined;
|
|
366
366
|
messageTimestamp?: string | undefined;
|
package/dist/bubbles.json
CHANGED
|
@@ -32,6 +32,12 @@ export declare abstract class BaseBubble<TParams = unknown, TResult extends Bubb
|
|
|
32
32
|
* Only exposes safe metadata, never params which may contain credentials
|
|
33
33
|
*/
|
|
34
34
|
toJSON(): Record<string, unknown>;
|
|
35
|
+
/**
|
|
36
|
+
* Hook called before action execution. Subclasses can override to
|
|
37
|
+
* transform params (e.g., inject memory, conversation history).
|
|
38
|
+
* Runs BEFORE parameter logging so the logged params reflect overrides.
|
|
39
|
+
*/
|
|
40
|
+
protected beforeAction(): Promise<void>;
|
|
35
41
|
/**
|
|
36
42
|
* Execute the bubble - just runs the action
|
|
37
43
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-bubble-class.d.ts","sourceRoot":"","sources":["../../src/types/base-bubble-class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EACV,OAAO,EACP,aAAa,EACb,YAAY,EACZ,qBAAqB,EACtB,MAAM,wBAAwB,CAAC;AAWhC;;;GAGG;AACH,8BAAsB,UAAU,CAC9B,OAAO,GAAG,OAAO,EACjB,OAAO,SAAS,qBAAqB,GAAG,qBAAqB,CAC7D,YAAW,OAAO,CAAC,OAAO,CAAC;IAE3B,SAAgB,IAAI,EAAE,MAAM,CAAC;IAC7B,SAAgB,MAAM,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC;IACnD,SAAgB,YAAY,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC;IACzD,SAAgB,gBAAgB,EAAE,MAAM,CAAC;IACzC,SAAgB,eAAe,EAAE,MAAM,CAAC;IACxC,SAAgB,KAAK,CAAC,EAAE,MAAM,CAAC;IAC/B,kBAAyB,IAAI,EACzB,SAAS,GACT,UAAU,GACV,MAAM,GACN,IAAI,GACJ,OAAO,CAAC;IAEZ,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACnC,SAAS,CAAC,OAAO,CAAC,EAAE,aAAa,CAAC;IAC3B,cAAc,EAAE,YAAY,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC;IACvE,SAAS,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;gBAE3B,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,aAAa,EAAE,UAAU,CAAC,EAAE,MAAM;IAgDzE;;;;;;OAMG;IACH,OAAO,CAAC,mBAAmB;IA+E3B,UAAU,CAAC,CAAC,SAAS,qBAAqB,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,IAAI;IAI1E,gBAAgB,IAAI,IAAI;IAIxB;;;OAGG;IACH,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAWjC;;OAEG;IACG,MAAM,IAAI,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"base-bubble-class.d.ts","sourceRoot":"","sources":["../../src/types/base-bubble-class.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EACV,OAAO,EACP,aAAa,EACb,YAAY,EACZ,qBAAqB,EACtB,MAAM,wBAAwB,CAAC;AAWhC;;;GAGG;AACH,8BAAsB,UAAU,CAC9B,OAAO,GAAG,OAAO,EACjB,OAAO,SAAS,qBAAqB,GAAG,qBAAqB,CAC7D,YAAW,OAAO,CAAC,OAAO,CAAC;IAE3B,SAAgB,IAAI,EAAE,MAAM,CAAC;IAC7B,SAAgB,MAAM,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC;IACnD,SAAgB,YAAY,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC;IACzD,SAAgB,gBAAgB,EAAE,MAAM,CAAC;IACzC,SAAgB,eAAe,EAAE,MAAM,CAAC;IACxC,SAAgB,KAAK,CAAC,EAAE,MAAM,CAAC;IAC/B,kBAAyB,IAAI,EACzB,SAAS,GACT,UAAU,GACV,MAAM,GACN,IAAI,GACJ,OAAO,CAAC;IAEZ,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACnC,SAAS,CAAC,OAAO,CAAC,EAAE,aAAa,CAAC;IAC3B,cAAc,EAAE,YAAY,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC;IACvE,SAAS,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;gBAE3B,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,aAAa,EAAE,UAAU,CAAC,EAAE,MAAM;IAgDzE;;;;;;OAMG;IACH,OAAO,CAAC,mBAAmB;IA+E3B,UAAU,CAAC,CAAC,SAAS,qBAAqB,EAAE,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,IAAI;IAI1E,gBAAgB,IAAI,IAAI;IAIxB;;;OAGG;IACH,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAWjC;;;;OAIG;cACa,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;IAI7C;;OAEG;IACG,MAAM,IAAI,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;IAwJ9C;;;OAGG;IACH,kBAAkB,IAAI,YAAY,CAAC,OAAO,CAAC;IAI3C;;;OAGG;IACH,0BAA0B,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,CAAC,OAAO,CAAC;IAc/D;;OAEG;IACH,SAAS,CAAC,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,OAAO,CAAC;CAC5E"}
|
|
@@ -142,11 +142,22 @@ export class BaseBubble {
|
|
|
142
142
|
// These may contain sensitive credentials
|
|
143
143
|
};
|
|
144
144
|
}
|
|
145
|
+
/**
|
|
146
|
+
* Hook called before action execution. Subclasses can override to
|
|
147
|
+
* transform params (e.g., inject memory, conversation history).
|
|
148
|
+
* Runs BEFORE parameter logging so the logged params reflect overrides.
|
|
149
|
+
*/
|
|
150
|
+
async beforeAction() {
|
|
151
|
+
// No-op by default — subclasses override as needed
|
|
152
|
+
}
|
|
145
153
|
/**
|
|
146
154
|
* Execute the bubble - just runs the action
|
|
147
155
|
*/
|
|
148
156
|
async action() {
|
|
149
157
|
const logger = this.context?.logger;
|
|
158
|
+
// Run pre-action hook (e.g., AI agent injects memory/conversation)
|
|
159
|
+
await this.beforeAction();
|
|
160
|
+
// Log params AFTER beforeAction so overrides are captured
|
|
150
161
|
logger?.logBubbleExecution(this.context?.variableId ?? -999, this.name, this.name, sanitizeParams(this.params));
|
|
151
162
|
// If we have a saved result, return it instead of executing
|
|
152
163
|
if (this.previousResult) {
|