@bubblelab/bubble-core 0.1.125 → 0.1.127
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 +84 -83
- package/dist/bubbles/service-bubble/agi-inc.d.ts +20 -20
- package/dist/bubbles/service-bubble/ai-agent.d.ts +72 -72
- package/dist/bubbles/service-bubble/ai-agent.js +6 -6
- 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/apify.d.ts +22 -22
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +2 -2
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/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 +14 -14
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +32 -32
- package/dist/bubbles/service-bubble/firecrawl.d.ts +342 -342
- 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 +40 -40
- package/dist/bubbles/service-bubble/http.d.ts +2 -2
- package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
- package/dist/bubbles/service-bubble/jira/jira.d.ts +42 -42
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +50 -50
- package/dist/bubbles/service-bubble/notion/notion.d.ts +848 -848
- package/dist/bubbles/service-bubble/notion/notion.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/notion/notion.js +14 -1
- package/dist/bubbles/service-bubble/notion/notion.js.map +1 -1
- package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
- package/dist/bubbles/service-bubble/slack/slack.d.ts +240 -240
- 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/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +28 -28
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +304 -304
- 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 +52 -52
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +124 -124
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +36 -36
- 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 +16 -16
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
- 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 +1 -1
- package/dist/utils/markdown-to-html.d.ts.map +1 -1
- package/dist/utils/markdown-to-html.js +4 -2
- package/dist/utils/markdown-to-html.js.map +1 -1
- package/package.json +2 -2
|
@@ -195,12 +195,12 @@ declare const PDFOcrWorkflowResultSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
195
195
|
fieldName: z.ZodString;
|
|
196
196
|
confidence: z.ZodNumber;
|
|
197
197
|
}, "strip", z.ZodTypeAny, {
|
|
198
|
-
fieldName: string;
|
|
199
198
|
id: number;
|
|
199
|
+
fieldName: string;
|
|
200
200
|
confidence: number;
|
|
201
201
|
}, {
|
|
202
|
-
fieldName: string;
|
|
203
202
|
id: number;
|
|
203
|
+
fieldName: string;
|
|
204
204
|
confidence: number;
|
|
205
205
|
}>, "many">;
|
|
206
206
|
discoveryData: z.ZodObject<{
|
|
@@ -258,8 +258,8 @@ declare const PDFOcrWorkflowResultSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
258
258
|
convertedPages: number;
|
|
259
259
|
};
|
|
260
260
|
extractedFields: {
|
|
261
|
-
fieldName: string;
|
|
262
261
|
id: number;
|
|
262
|
+
fieldName: string;
|
|
263
263
|
confidence: number;
|
|
264
264
|
}[];
|
|
265
265
|
discoveryData: {
|
|
@@ -283,8 +283,8 @@ declare const PDFOcrWorkflowResultSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
283
283
|
convertedPages: number;
|
|
284
284
|
};
|
|
285
285
|
extractedFields: {
|
|
286
|
-
fieldName: string;
|
|
287
286
|
id: number;
|
|
287
|
+
fieldName: string;
|
|
288
288
|
confidence: number;
|
|
289
289
|
}[];
|
|
290
290
|
discoveryData: {
|
|
@@ -307,14 +307,14 @@ declare const PDFOcrWorkflowResultSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
307
307
|
confidence: z.ZodNumber;
|
|
308
308
|
}, "strip", z.ZodTypeAny, {
|
|
309
309
|
value: string;
|
|
310
|
-
fieldName: string;
|
|
311
310
|
id: number;
|
|
311
|
+
fieldName: string;
|
|
312
312
|
confidence: number;
|
|
313
313
|
originalFieldName?: string | undefined;
|
|
314
314
|
}, {
|
|
315
315
|
value: string;
|
|
316
|
-
fieldName: string;
|
|
317
316
|
id: number;
|
|
317
|
+
fieldName: string;
|
|
318
318
|
confidence: number;
|
|
319
319
|
originalFieldName?: string | undefined;
|
|
320
320
|
}>, "many">;
|
|
@@ -386,8 +386,8 @@ declare const PDFOcrWorkflowResultSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
386
386
|
};
|
|
387
387
|
extractedFields: {
|
|
388
388
|
value: string;
|
|
389
|
-
fieldName: string;
|
|
390
389
|
id: number;
|
|
390
|
+
fieldName: string;
|
|
391
391
|
confidence: number;
|
|
392
392
|
originalFieldName?: string | undefined;
|
|
393
393
|
}[];
|
|
@@ -418,8 +418,8 @@ declare const PDFOcrWorkflowResultSchema: z.ZodDiscriminatedUnion<"mode", [z.Zod
|
|
|
418
418
|
};
|
|
419
419
|
extractedFields: {
|
|
420
420
|
value: string;
|
|
421
|
-
fieldName: string;
|
|
422
421
|
id: number;
|
|
422
|
+
fieldName: string;
|
|
423
423
|
confidence: number;
|
|
424
424
|
originalFieldName?: string | undefined;
|
|
425
425
|
}[];
|
|
@@ -628,12 +628,12 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
628
628
|
fieldName: z.ZodString;
|
|
629
629
|
confidence: z.ZodNumber;
|
|
630
630
|
}, "strip", z.ZodTypeAny, {
|
|
631
|
-
fieldName: string;
|
|
632
631
|
id: number;
|
|
632
|
+
fieldName: string;
|
|
633
633
|
confidence: number;
|
|
634
634
|
}, {
|
|
635
|
-
fieldName: string;
|
|
636
635
|
id: number;
|
|
636
|
+
fieldName: string;
|
|
637
637
|
confidence: number;
|
|
638
638
|
}>, "many">;
|
|
639
639
|
discoveryData: z.ZodObject<{
|
|
@@ -691,8 +691,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
691
691
|
convertedPages: number;
|
|
692
692
|
};
|
|
693
693
|
extractedFields: {
|
|
694
|
-
fieldName: string;
|
|
695
694
|
id: number;
|
|
695
|
+
fieldName: string;
|
|
696
696
|
confidence: number;
|
|
697
697
|
}[];
|
|
698
698
|
discoveryData: {
|
|
@@ -716,8 +716,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
716
716
|
convertedPages: number;
|
|
717
717
|
};
|
|
718
718
|
extractedFields: {
|
|
719
|
-
fieldName: string;
|
|
720
719
|
id: number;
|
|
720
|
+
fieldName: string;
|
|
721
721
|
confidence: number;
|
|
722
722
|
}[];
|
|
723
723
|
discoveryData: {
|
|
@@ -740,14 +740,14 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
740
740
|
confidence: z.ZodNumber;
|
|
741
741
|
}, "strip", z.ZodTypeAny, {
|
|
742
742
|
value: string;
|
|
743
|
-
fieldName: string;
|
|
744
743
|
id: number;
|
|
744
|
+
fieldName: string;
|
|
745
745
|
confidence: number;
|
|
746
746
|
originalFieldName?: string | undefined;
|
|
747
747
|
}, {
|
|
748
748
|
value: string;
|
|
749
|
-
fieldName: string;
|
|
750
749
|
id: number;
|
|
750
|
+
fieldName: string;
|
|
751
751
|
confidence: number;
|
|
752
752
|
originalFieldName?: string | undefined;
|
|
753
753
|
}>, "many">;
|
|
@@ -819,8 +819,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
819
819
|
};
|
|
820
820
|
extractedFields: {
|
|
821
821
|
value: string;
|
|
822
|
-
fieldName: string;
|
|
823
822
|
id: number;
|
|
823
|
+
fieldName: string;
|
|
824
824
|
confidence: number;
|
|
825
825
|
originalFieldName?: string | undefined;
|
|
826
826
|
}[];
|
|
@@ -851,8 +851,8 @@ export declare class PDFOcrWorkflow<T extends PDFOcrWorkflowParams = PDFOcrWorkf
|
|
|
851
851
|
};
|
|
852
852
|
extractedFields: {
|
|
853
853
|
value: string;
|
|
854
|
-
fieldName: string;
|
|
855
854
|
id: number;
|
|
855
|
+
fieldName: string;
|
|
856
856
|
confidence: number;
|
|
857
857
|
originalFieldName?: string | undefined;
|
|
858
858
|
}[];
|
|
@@ -60,8 +60,8 @@ declare const SlackDataAssistantParamsSchema: z.ZodObject<{
|
|
|
60
60
|
slackChannel: string;
|
|
61
61
|
userQuestion: string;
|
|
62
62
|
name?: string | undefined;
|
|
63
|
-
temperature?: number | undefined;
|
|
64
63
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
64
|
+
temperature?: number | undefined;
|
|
65
65
|
verbosity?: "1" | "2" | "3" | "4" | "5" | undefined;
|
|
66
66
|
technicality?: "1" | "2" | "3" | "4" | "5" | undefined;
|
|
67
67
|
includeQuery?: boolean | undefined;
|
|
@@ -198,8 +198,8 @@ export declare class SlackDataAssistantWorkflow extends WorkflowBubble<SlackData
|
|
|
198
198
|
slackChannel: string;
|
|
199
199
|
userQuestion: string;
|
|
200
200
|
name?: string | undefined;
|
|
201
|
-
temperature?: number | undefined;
|
|
202
201
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
202
|
+
temperature?: number | undefined;
|
|
203
203
|
verbosity?: "1" | "2" | "3" | "4" | "5" | undefined;
|
|
204
204
|
technicality?: "1" | "2" | "3" | "4" | "5" | undefined;
|
|
205
205
|
includeQuery?: boolean | undefined;
|
|
@@ -61,12 +61,12 @@ declare const SlackFormatterAgentParamsSchema: z.ZodObject<{
|
|
|
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" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "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-opus-4.5" | "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;
|
|
@@ -154,13 +154,12 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
154
154
|
verbatim?: boolean | undefined;
|
|
155
155
|
}>, "many">>;
|
|
156
156
|
}, "strip", z.ZodTypeAny, {
|
|
157
|
-
type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions"
|
|
157
|
+
type: "table" | "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions";
|
|
158
158
|
title?: {
|
|
159
159
|
type: "plain_text";
|
|
160
160
|
text: string;
|
|
161
161
|
emoji?: boolean | undefined;
|
|
162
162
|
} | undefined;
|
|
163
|
-
optional?: boolean | undefined;
|
|
164
163
|
text?: {
|
|
165
164
|
type: "plain_text" | "mrkdwn";
|
|
166
165
|
text: string;
|
|
@@ -168,6 +167,7 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
168
167
|
verbatim?: boolean | undefined;
|
|
169
168
|
} | undefined;
|
|
170
169
|
image_url?: string | undefined;
|
|
170
|
+
optional?: boolean | undefined;
|
|
171
171
|
fields?: {
|
|
172
172
|
type: "plain_text" | "mrkdwn";
|
|
173
173
|
text: string;
|
|
@@ -187,13 +187,12 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
187
187
|
label?: unknown;
|
|
188
188
|
hint?: unknown;
|
|
189
189
|
}, {
|
|
190
|
-
type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions"
|
|
190
|
+
type: "table" | "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions";
|
|
191
191
|
title?: {
|
|
192
192
|
type: "plain_text";
|
|
193
193
|
text: string;
|
|
194
194
|
emoji?: boolean | undefined;
|
|
195
195
|
} | undefined;
|
|
196
|
-
optional?: boolean | undefined;
|
|
197
196
|
text?: {
|
|
198
197
|
type: "plain_text" | "mrkdwn";
|
|
199
198
|
text: string;
|
|
@@ -201,6 +200,7 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
201
200
|
verbatim?: boolean | undefined;
|
|
202
201
|
} | undefined;
|
|
203
202
|
image_url?: string | undefined;
|
|
203
|
+
optional?: boolean | undefined;
|
|
204
204
|
fields?: {
|
|
205
205
|
type: "plain_text" | "mrkdwn";
|
|
206
206
|
text: string;
|
|
@@ -255,27 +255,26 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
255
255
|
}, "strip", z.ZodTypeAny, {
|
|
256
256
|
error: string;
|
|
257
257
|
success: boolean;
|
|
258
|
-
response: string;
|
|
259
|
-
iterations: number;
|
|
260
258
|
metadata: {
|
|
261
259
|
verbosityLevel: string;
|
|
262
260
|
technicalityLevel: string;
|
|
263
261
|
wordCount: number;
|
|
264
262
|
blockCount?: number | undefined;
|
|
265
263
|
};
|
|
264
|
+
response: string;
|
|
265
|
+
iterations: number;
|
|
266
266
|
toolCalls?: {
|
|
267
267
|
tool: string;
|
|
268
268
|
input?: unknown;
|
|
269
269
|
output?: unknown;
|
|
270
270
|
}[] | undefined;
|
|
271
271
|
blocks?: {
|
|
272
|
-
type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions"
|
|
272
|
+
type: "table" | "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions";
|
|
273
273
|
title?: {
|
|
274
274
|
type: "plain_text";
|
|
275
275
|
text: string;
|
|
276
276
|
emoji?: boolean | undefined;
|
|
277
277
|
} | undefined;
|
|
278
|
-
optional?: boolean | undefined;
|
|
279
278
|
text?: {
|
|
280
279
|
type: "plain_text" | "mrkdwn";
|
|
281
280
|
text: string;
|
|
@@ -283,6 +282,7 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
283
282
|
verbatim?: boolean | undefined;
|
|
284
283
|
} | undefined;
|
|
285
284
|
image_url?: string | undefined;
|
|
285
|
+
optional?: boolean | undefined;
|
|
286
286
|
fields?: {
|
|
287
287
|
type: "plain_text" | "mrkdwn";
|
|
288
288
|
text: string;
|
|
@@ -305,27 +305,26 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
305
305
|
}, {
|
|
306
306
|
error: string;
|
|
307
307
|
success: boolean;
|
|
308
|
-
response: string;
|
|
309
|
-
iterations: number;
|
|
310
308
|
metadata: {
|
|
311
309
|
verbosityLevel: string;
|
|
312
310
|
technicalityLevel: string;
|
|
313
311
|
wordCount: number;
|
|
314
312
|
blockCount?: number | undefined;
|
|
315
313
|
};
|
|
314
|
+
response: string;
|
|
315
|
+
iterations: number;
|
|
316
316
|
toolCalls?: {
|
|
317
317
|
tool: string;
|
|
318
318
|
input?: unknown;
|
|
319
319
|
output?: unknown;
|
|
320
320
|
}[] | undefined;
|
|
321
321
|
blocks?: {
|
|
322
|
-
type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions"
|
|
322
|
+
type: "table" | "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions";
|
|
323
323
|
title?: {
|
|
324
324
|
type: "plain_text";
|
|
325
325
|
text: string;
|
|
326
326
|
emoji?: boolean | undefined;
|
|
327
327
|
} | undefined;
|
|
328
|
-
optional?: boolean | undefined;
|
|
329
328
|
text?: {
|
|
330
329
|
type: "plain_text" | "mrkdwn";
|
|
331
330
|
text: string;
|
|
@@ -333,6 +332,7 @@ declare const SlackFormatterAgentResultSchema: z.ZodObject<{
|
|
|
333
332
|
verbatim?: boolean | undefined;
|
|
334
333
|
} | undefined;
|
|
335
334
|
image_url?: string | undefined;
|
|
335
|
+
optional?: boolean | undefined;
|
|
336
336
|
fields?: {
|
|
337
337
|
type: "plain_text" | "mrkdwn";
|
|
338
338
|
text: string;
|
|
@@ -419,12 +419,12 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
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" | "anthropic/claude-sonnet-4-5" | "anthropic/claude-opus-4-5" | "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-opus-4.5" | "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;
|
|
@@ -512,13 +512,12 @@ 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" | "section" | "header" | "divider" | "context" | "actions"
|
|
515
|
+
type: "table" | "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions";
|
|
516
516
|
title?: {
|
|
517
517
|
type: "plain_text";
|
|
518
518
|
text: string;
|
|
519
519
|
emoji?: boolean | undefined;
|
|
520
520
|
} | undefined;
|
|
521
|
-
optional?: boolean | undefined;
|
|
522
521
|
text?: {
|
|
523
522
|
type: "plain_text" | "mrkdwn";
|
|
524
523
|
text: string;
|
|
@@ -526,6 +525,7 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
526
525
|
verbatim?: boolean | undefined;
|
|
527
526
|
} | undefined;
|
|
528
527
|
image_url?: string | undefined;
|
|
528
|
+
optional?: boolean | undefined;
|
|
529
529
|
fields?: {
|
|
530
530
|
type: "plain_text" | "mrkdwn";
|
|
531
531
|
text: string;
|
|
@@ -545,13 +545,12 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
545
545
|
label?: unknown;
|
|
546
546
|
hint?: unknown;
|
|
547
547
|
}, {
|
|
548
|
-
type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions"
|
|
548
|
+
type: "table" | "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions";
|
|
549
549
|
title?: {
|
|
550
550
|
type: "plain_text";
|
|
551
551
|
text: string;
|
|
552
552
|
emoji?: boolean | undefined;
|
|
553
553
|
} | undefined;
|
|
554
|
-
optional?: boolean | undefined;
|
|
555
554
|
text?: {
|
|
556
555
|
type: "plain_text" | "mrkdwn";
|
|
557
556
|
text: string;
|
|
@@ -559,6 +558,7 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
559
558
|
verbatim?: boolean | undefined;
|
|
560
559
|
} | undefined;
|
|
561
560
|
image_url?: string | undefined;
|
|
561
|
+
optional?: boolean | undefined;
|
|
562
562
|
fields?: {
|
|
563
563
|
type: "plain_text" | "mrkdwn";
|
|
564
564
|
text: string;
|
|
@@ -613,27 +613,26 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
613
613
|
}, "strip", z.ZodTypeAny, {
|
|
614
614
|
error: string;
|
|
615
615
|
success: boolean;
|
|
616
|
-
response: string;
|
|
617
|
-
iterations: number;
|
|
618
616
|
metadata: {
|
|
619
617
|
verbosityLevel: string;
|
|
620
618
|
technicalityLevel: string;
|
|
621
619
|
wordCount: number;
|
|
622
620
|
blockCount?: number | undefined;
|
|
623
621
|
};
|
|
622
|
+
response: string;
|
|
623
|
+
iterations: number;
|
|
624
624
|
toolCalls?: {
|
|
625
625
|
tool: string;
|
|
626
626
|
input?: unknown;
|
|
627
627
|
output?: unknown;
|
|
628
628
|
}[] | undefined;
|
|
629
629
|
blocks?: {
|
|
630
|
-
type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions"
|
|
630
|
+
type: "table" | "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions";
|
|
631
631
|
title?: {
|
|
632
632
|
type: "plain_text";
|
|
633
633
|
text: string;
|
|
634
634
|
emoji?: boolean | undefined;
|
|
635
635
|
} | undefined;
|
|
636
|
-
optional?: boolean | undefined;
|
|
637
636
|
text?: {
|
|
638
637
|
type: "plain_text" | "mrkdwn";
|
|
639
638
|
text: string;
|
|
@@ -641,6 +640,7 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
641
640
|
verbatim?: boolean | undefined;
|
|
642
641
|
} | undefined;
|
|
643
642
|
image_url?: string | undefined;
|
|
643
|
+
optional?: boolean | undefined;
|
|
644
644
|
fields?: {
|
|
645
645
|
type: "plain_text" | "mrkdwn";
|
|
646
646
|
text: string;
|
|
@@ -663,27 +663,26 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
663
663
|
}, {
|
|
664
664
|
error: string;
|
|
665
665
|
success: boolean;
|
|
666
|
-
response: string;
|
|
667
|
-
iterations: number;
|
|
668
666
|
metadata: {
|
|
669
667
|
verbosityLevel: string;
|
|
670
668
|
technicalityLevel: string;
|
|
671
669
|
wordCount: number;
|
|
672
670
|
blockCount?: number | undefined;
|
|
673
671
|
};
|
|
672
|
+
response: string;
|
|
673
|
+
iterations: number;
|
|
674
674
|
toolCalls?: {
|
|
675
675
|
tool: string;
|
|
676
676
|
input?: unknown;
|
|
677
677
|
output?: unknown;
|
|
678
678
|
}[] | undefined;
|
|
679
679
|
blocks?: {
|
|
680
|
-
type: "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions"
|
|
680
|
+
type: "table" | "input" | "image" | "file" | "section" | "header" | "divider" | "context" | "actions";
|
|
681
681
|
title?: {
|
|
682
682
|
type: "plain_text";
|
|
683
683
|
text: string;
|
|
684
684
|
emoji?: boolean | undefined;
|
|
685
685
|
} | undefined;
|
|
686
|
-
optional?: boolean | undefined;
|
|
687
686
|
text?: {
|
|
688
687
|
type: "plain_text" | "mrkdwn";
|
|
689
688
|
text: string;
|
|
@@ -691,6 +690,7 @@ export declare class SlackFormatterAgentBubble extends WorkflowBubble<SlackForma
|
|
|
691
690
|
verbatim?: boolean | undefined;
|
|
692
691
|
} | undefined;
|
|
693
692
|
image_url?: string | undefined;
|
|
693
|
+
optional?: boolean | undefined;
|
|
694
694
|
fields?: {
|
|
695
695
|
type: "plain_text" | "mrkdwn";
|
|
696
696
|
text: string;
|
package/dist/bubbles.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-to-html.d.ts","sourceRoot":"","sources":["../../src/utils/markdown-to-html.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"markdown-to-html.d.ts","sourceRoot":"","sources":["../../src/utils/markdown-to-html.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAwFnD"}
|
|
@@ -33,9 +33,11 @@ export function markdownToHtml(text) {
|
|
|
33
33
|
html = html.replace(/\*(.+?)\*/g, '<em>$1</em>');
|
|
34
34
|
html = html.replace(/(?<!\w)_(.+?)_(?!\w)/g, '<em>$1</em>');
|
|
35
35
|
// Images  — must come before links
|
|
36
|
-
|
|
36
|
+
// Updated regex to handle URLs with parentheses: matches ) only if followed by non-whitespace (i.e., still inside URL)
|
|
37
|
+
html = html.replace(/!\[([^\]]*)\]\(((?:[^)]|\)(?=[^\s]))+)\)/g, '<img src="$2" alt="$1">');
|
|
37
38
|
// Links [text](url)
|
|
38
|
-
|
|
39
|
+
// Updated regex to handle URLs with parentheses: matches ) only if followed by non-whitespace (i.e., still inside URL)
|
|
40
|
+
html = html.replace(/\[([^\]]+)\]\(((?:[^)]|\)(?=[^\s]))+)\)/g, '<a href="$2">$1</a>');
|
|
39
41
|
// Unordered lists (- or * at start of line)
|
|
40
42
|
html = html.replace(/(?:^[\t ]*[-*]\s+.+$\n?)+/gm, (block) => {
|
|
41
43
|
const items = block
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markdown-to-html.js","sourceRoot":"","sources":["../../src/utils/markdown-to-html.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,UAAU,cAAc,CAAC,IAAY;IACzC,6BAA6B;IAC7B,IAAI,IAAI,GAAG,IAAI;SACZ,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC;SACtB,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC;SACrB,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IAEzB,iEAAiE;IACjE,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,0BAA0B,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE;QACtE,OAAO,cAAc,IAAI,CAAC,OAAO,EAAE,eAAe,CAAC;IACrD,CAAC,CAAC,CAAC;IAEH,sBAAsB;IACtB,IAAI,GAAG,IAAI,CAAC,OAAO,CA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O,CAAC;aAChE,IAAI,CAAC,IAAI,CAAC,CAAC;QACd,OAAO,SAAS,KAAK,WAAW,CAAC;IACnC,CAAC,CAAC,CAAC;IAEH,uBAAuB;IACvB,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,uBAAuB,EAAE,CAAC,KAAK,EAAE,EAAE;QACrD,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;QACvD,OAAO,eAAe,OAAO,iBAAiB,CAAC;IACjD,CAAC,CAAC,CAAC;IAEH,4DAA4D;IAC5D,IAAI,GAAG,IAAI,CAAC,OAAO,CACjB,4DAA4D,EAC5D,WAAW,CACZ,CAAC;IAEF,qDAAqD;IACrD,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;IAErC,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;AACrB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bubblelab/bubble-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.127",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"puppeteer-core": "^24.10.0",
|
|
41
41
|
"resend": "^4.8.0",
|
|
42
42
|
"zod": "^3.24.1",
|
|
43
|
-
"@bubblelab/shared-schemas": "0.1.
|
|
43
|
+
"@bubblelab/shared-schemas": "0.1.127"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/node": "^20.12.12",
|