@bubblelab/bubble-core 0.1.2 → 0.1.5
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 +28 -28
- package/dist/bubbles/service-bubble/ai-agent.d.ts +24 -24
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +16 -2
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/gmail.d.ts +4 -4
- 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/google-sheets.d.ts +20 -20
- package/dist/bubbles/service-bubble/http.d.ts +2 -2
- package/dist/bubbles/service-bubble/postgresql.d.ts +4 -4
- package/dist/bubbles/service-bubble/slack.d.ts +58 -58
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +10 -10
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +66 -66
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +50 -50
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +92 -92
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +36 -36
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +46 -46
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +60 -60
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +14 -14
- package/dist/logging/BubbleLogger.d.ts.map +1 -1
- package/dist/logging/BubbleLogger.js +16 -4
- package/dist/logging/BubbleLogger.js.map +1 -1
- package/dist/types/ai-models.d.ts +1 -1
- package/dist/types/ai-models.d.ts.map +1 -1
- package/dist/types/ai-models.js +2 -0
- package/dist/types/ai-models.js.map +1 -1
- package/dist/types/base-bubble-class.d.ts.map +1 -1
- package/dist/types/base-bubble-class.js +7 -1
- package/dist/types/base-bubble-class.js.map +1 -1
- package/package.json +4 -3
- package/dist/bubbles/tool-bubble/virtual-file-editor-example.d.ts +0 -8
- package/dist/bubbles/tool-bubble/virtual-file-editor-example.d.ts.map +0 -1
- package/dist/bubbles/tool-bubble/virtual-file-editor-example.js +0 -65
- package/dist/bubbles/tool-bubble/virtual-file-editor-example.js.map +0 -1
- package/dist/bubbles/tool-bubble/virtual-file-editor.tool.d.ts +0 -125
- package/dist/bubbles/tool-bubble/virtual-file-editor.tool.d.ts.map +0 -1
- package/dist/bubbles/tool-bubble/virtual-file-editor.tool.js +0 -169
- package/dist/bubbles/tool-bubble/virtual-file-editor.tool.js.map +0 -1
- package/dist/bubbles/workflow-bubble/bubblscript-generateor.workflow.d.ts +0 -97
- package/dist/bubbles/workflow-bubble/bubblscript-generateor.workflow.d.ts.map +0 -1
- package/dist/bubbles/workflow-bubble/bubblscript-generateor.workflow.js +0 -327
- package/dist/bubbles/workflow-bubble/bubblscript-generateor.workflow.js.map +0 -1
- package/dist/bubbles/workflow-bubble/file-editor-agent.workflow.d.ts +0 -157
- package/dist/bubbles/workflow-bubble/file-editor-agent.workflow.d.ts.map +0 -1
- package/dist/bubbles/workflow-bubble/file-editor-agent.workflow.js +0 -310
- package/dist/bubbles/workflow-bubble/file-editor-agent.workflow.js.map +0 -1
- package/dist/bubbles/workflow-bubble/workflow-template.d.ts +0 -144
- package/dist/bubbles/workflow-bubble/workflow-template.d.ts.map +0 -1
- package/dist/bubbles/workflow-bubble/workflow-template.js +0 -124
- package/dist/bubbles/workflow-bubble/workflow-template.js.map +0 -1
- package/dist/types/streaming-events.d.ts +0 -18
- package/dist/types/streaming-events.d.ts.map +0 -1
- package/dist/types/streaming-events.js +0 -5
- package/dist/types/streaming-events.js.map +0 -1
- package/dist/utils/mock-data-generator.d.ts +0 -43
- package/dist/utils/mock-data-generator.d.ts.map +0 -1
- package/dist/utils/mock-data-generator.js +0 -312
- package/dist/utils/mock-data-generator.js.map +0 -1
|
@@ -20,13 +20,13 @@ declare const RedditPostSchema: z.ZodObject<{
|
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
21
|
title: string;
|
|
22
22
|
url: string;
|
|
23
|
-
subreddit: string;
|
|
24
23
|
author: string;
|
|
25
24
|
score: number;
|
|
26
25
|
numComments: number;
|
|
27
26
|
createdUtc: number;
|
|
28
27
|
postUrl: string;
|
|
29
28
|
selftext: string;
|
|
29
|
+
subreddit: string;
|
|
30
30
|
isSelf: boolean;
|
|
31
31
|
domain?: string | undefined;
|
|
32
32
|
postHint?: string | null | undefined;
|
|
@@ -35,13 +35,13 @@ declare const RedditPostSchema: z.ZodObject<{
|
|
|
35
35
|
}, {
|
|
36
36
|
title: string;
|
|
37
37
|
url: string;
|
|
38
|
-
subreddit: string;
|
|
39
38
|
author: string;
|
|
40
39
|
score: number;
|
|
41
40
|
numComments: number;
|
|
42
41
|
createdUtc: number;
|
|
43
42
|
postUrl: string;
|
|
44
43
|
selftext: string;
|
|
44
|
+
subreddit: string;
|
|
45
45
|
isSelf: boolean;
|
|
46
46
|
domain?: string | undefined;
|
|
47
47
|
postHint?: string | null | undefined;
|
|
@@ -95,13 +95,13 @@ declare const RedditScrapeToolResultSchema: z.ZodObject<{
|
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
96
|
title: string;
|
|
97
97
|
url: string;
|
|
98
|
-
subreddit: string;
|
|
99
98
|
author: string;
|
|
100
99
|
score: number;
|
|
101
100
|
numComments: number;
|
|
102
101
|
createdUtc: number;
|
|
103
102
|
postUrl: string;
|
|
104
103
|
selftext: string;
|
|
104
|
+
subreddit: string;
|
|
105
105
|
isSelf: boolean;
|
|
106
106
|
domain?: string | undefined;
|
|
107
107
|
postHint?: string | null | undefined;
|
|
@@ -110,13 +110,13 @@ declare const RedditScrapeToolResultSchema: z.ZodObject<{
|
|
|
110
110
|
}, {
|
|
111
111
|
title: string;
|
|
112
112
|
url: string;
|
|
113
|
-
subreddit: string;
|
|
114
113
|
author: string;
|
|
115
114
|
score: number;
|
|
116
115
|
numComments: number;
|
|
117
116
|
createdUtc: number;
|
|
118
117
|
postUrl: string;
|
|
119
118
|
selftext: string;
|
|
119
|
+
subreddit: string;
|
|
120
120
|
isSelf: boolean;
|
|
121
121
|
domain?: string | undefined;
|
|
122
122
|
postHint?: string | null | undefined;
|
|
@@ -169,13 +169,13 @@ declare const RedditScrapeToolResultSchema: z.ZodObject<{
|
|
|
169
169
|
posts: {
|
|
170
170
|
title: string;
|
|
171
171
|
url: string;
|
|
172
|
-
subreddit: string;
|
|
173
172
|
author: string;
|
|
174
173
|
score: number;
|
|
175
174
|
numComments: number;
|
|
176
175
|
createdUtc: number;
|
|
177
176
|
postUrl: string;
|
|
178
177
|
selftext: string;
|
|
178
|
+
subreddit: string;
|
|
179
179
|
isSelf: boolean;
|
|
180
180
|
domain?: string | undefined;
|
|
181
181
|
postHint?: string | null | undefined;
|
|
@@ -198,13 +198,13 @@ declare const RedditScrapeToolResultSchema: z.ZodObject<{
|
|
|
198
198
|
posts: {
|
|
199
199
|
title: string;
|
|
200
200
|
url: string;
|
|
201
|
-
subreddit: string;
|
|
202
201
|
author: string;
|
|
203
202
|
score: number;
|
|
204
203
|
numComments: number;
|
|
205
204
|
createdUtc: number;
|
|
206
205
|
postUrl: string;
|
|
207
206
|
selftext: string;
|
|
207
|
+
subreddit: string;
|
|
208
208
|
isSelf: boolean;
|
|
209
209
|
domain?: string | undefined;
|
|
210
210
|
postHint?: string | null | undefined;
|
|
@@ -265,13 +265,13 @@ export declare class RedditScrapeTool extends ToolBubble<RedditScrapeToolParams,
|
|
|
265
265
|
}, "strip", z.ZodTypeAny, {
|
|
266
266
|
title: string;
|
|
267
267
|
url: string;
|
|
268
|
-
subreddit: string;
|
|
269
268
|
author: string;
|
|
270
269
|
score: number;
|
|
271
270
|
numComments: number;
|
|
272
271
|
createdUtc: number;
|
|
273
272
|
postUrl: string;
|
|
274
273
|
selftext: string;
|
|
274
|
+
subreddit: string;
|
|
275
275
|
isSelf: boolean;
|
|
276
276
|
domain?: string | undefined;
|
|
277
277
|
postHint?: string | null | undefined;
|
|
@@ -280,13 +280,13 @@ export declare class RedditScrapeTool extends ToolBubble<RedditScrapeToolParams,
|
|
|
280
280
|
}, {
|
|
281
281
|
title: string;
|
|
282
282
|
url: string;
|
|
283
|
-
subreddit: string;
|
|
284
283
|
author: string;
|
|
285
284
|
score: number;
|
|
286
285
|
numComments: number;
|
|
287
286
|
createdUtc: number;
|
|
288
287
|
postUrl: string;
|
|
289
288
|
selftext: string;
|
|
289
|
+
subreddit: string;
|
|
290
290
|
isSelf: boolean;
|
|
291
291
|
domain?: string | undefined;
|
|
292
292
|
postHint?: string | null | undefined;
|
|
@@ -339,13 +339,13 @@ export declare class RedditScrapeTool extends ToolBubble<RedditScrapeToolParams,
|
|
|
339
339
|
posts: {
|
|
340
340
|
title: string;
|
|
341
341
|
url: string;
|
|
342
|
-
subreddit: string;
|
|
343
342
|
author: string;
|
|
344
343
|
score: number;
|
|
345
344
|
numComments: number;
|
|
346
345
|
createdUtc: number;
|
|
347
346
|
postUrl: string;
|
|
348
347
|
selftext: string;
|
|
348
|
+
subreddit: string;
|
|
349
349
|
isSelf: boolean;
|
|
350
350
|
domain?: string | undefined;
|
|
351
351
|
postHint?: string | null | undefined;
|
|
@@ -368,13 +368,13 @@ export declare class RedditScrapeTool extends ToolBubble<RedditScrapeToolParams,
|
|
|
368
368
|
posts: {
|
|
369
369
|
title: string;
|
|
370
370
|
url: string;
|
|
371
|
-
subreddit: string;
|
|
372
371
|
author: string;
|
|
373
372
|
score: number;
|
|
374
373
|
numComments: number;
|
|
375
374
|
createdUtc: number;
|
|
376
375
|
postUrl: string;
|
|
377
376
|
selftext: string;
|
|
377
|
+
subreddit: string;
|
|
378
378
|
isSelf: boolean;
|
|
379
379
|
domain?: string | undefined;
|
|
380
380
|
postHint?: string | null | undefined;
|
|
@@ -5,7 +5,7 @@ import { CredentialType, type BubbleName } from '@bubblelab/shared-schemas';
|
|
|
5
5
|
declare const ResearchAgentToolParamsSchema: z.ZodObject<{
|
|
6
6
|
task: z.ZodString;
|
|
7
7
|
expectedResultSchema: z.ZodString;
|
|
8
|
-
model: z.ZodOptional<z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-o4-mini", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview"]>>>;
|
|
8
|
+
model: z.ZodOptional<z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-o4-mini", "openai/gpt-4o", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "anthropic/claude-sonnet-4-5-20250929"]>>>;
|
|
9
9
|
maxTokens: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
10
10
|
maxIterations: z.ZodDefault<z.ZodNumber>;
|
|
11
11
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
@@ -13,15 +13,15 @@ declare const ResearchAgentToolParamsSchema: z.ZodObject<{
|
|
|
13
13
|
maxIterations: number;
|
|
14
14
|
task: string;
|
|
15
15
|
expectedResultSchema: string;
|
|
16
|
-
|
|
17
|
-
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | undefined;
|
|
16
|
+
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929" | undefined;
|
|
18
17
|
maxTokens?: number | undefined;
|
|
18
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
19
19
|
}, {
|
|
20
20
|
task: string;
|
|
21
21
|
expectedResultSchema: string;
|
|
22
|
-
|
|
23
|
-
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | undefined;
|
|
22
|
+
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929" | undefined;
|
|
24
23
|
maxTokens?: number | undefined;
|
|
24
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
25
25
|
maxIterations?: number | undefined;
|
|
26
26
|
}>;
|
|
27
27
|
declare const ResearchAgentToolResultSchema: z.ZodObject<{
|
|
@@ -32,15 +32,15 @@ declare const ResearchAgentToolResultSchema: z.ZodObject<{
|
|
|
32
32
|
success: z.ZodBoolean;
|
|
33
33
|
error: z.ZodString;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
success: boolean;
|
|
36
35
|
error: string;
|
|
36
|
+
success: boolean;
|
|
37
37
|
summary: string;
|
|
38
38
|
sourcesUsed: string[];
|
|
39
39
|
iterationsUsed: number;
|
|
40
40
|
result?: any;
|
|
41
41
|
}, {
|
|
42
|
-
success: boolean;
|
|
43
42
|
error: string;
|
|
43
|
+
success: boolean;
|
|
44
44
|
summary: string;
|
|
45
45
|
sourcesUsed: string[];
|
|
46
46
|
iterationsUsed: number;
|
|
@@ -54,7 +54,7 @@ export declare class ResearchAgentTool extends ToolBubble<ResearchAgentToolParam
|
|
|
54
54
|
static readonly schema: z.ZodObject<{
|
|
55
55
|
task: z.ZodString;
|
|
56
56
|
expectedResultSchema: z.ZodString;
|
|
57
|
-
model: z.ZodOptional<z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-o4-mini", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview"]>>>;
|
|
57
|
+
model: z.ZodOptional<z.ZodDefault<z.ZodEnum<["openai/gpt-5", "openai/gpt-5-mini", "openai/gpt-o4-mini", "openai/gpt-4o", "google/gemini-2.5-pro", "google/gemini-2.5-flash", "google/gemini-2.5-flash-lite", "google/gemini-2.5-flash-image-preview", "anthropic/claude-sonnet-4-5-20250929"]>>>;
|
|
58
58
|
maxTokens: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
59
59
|
maxIterations: z.ZodDefault<z.ZodNumber>;
|
|
60
60
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
@@ -62,15 +62,15 @@ export declare class ResearchAgentTool extends ToolBubble<ResearchAgentToolParam
|
|
|
62
62
|
maxIterations: number;
|
|
63
63
|
task: string;
|
|
64
64
|
expectedResultSchema: string;
|
|
65
|
-
|
|
66
|
-
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | undefined;
|
|
65
|
+
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929" | undefined;
|
|
67
66
|
maxTokens?: number | undefined;
|
|
67
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
68
68
|
}, {
|
|
69
69
|
task: string;
|
|
70
70
|
expectedResultSchema: string;
|
|
71
|
-
|
|
72
|
-
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | undefined;
|
|
71
|
+
model?: "openai/gpt-5" | "openai/gpt-5-mini" | "openai/gpt-o4-mini" | "openai/gpt-4o" | "google/gemini-2.5-pro" | "google/gemini-2.5-flash" | "google/gemini-2.5-flash-lite" | "google/gemini-2.5-flash-image-preview" | "anthropic/claude-sonnet-4-5-20250929" | undefined;
|
|
73
72
|
maxTokens?: number | undefined;
|
|
73
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
74
74
|
maxIterations?: number | undefined;
|
|
75
75
|
}>;
|
|
76
76
|
static readonly resultSchema: z.ZodObject<{
|
|
@@ -81,15 +81,15 @@ export declare class ResearchAgentTool extends ToolBubble<ResearchAgentToolParam
|
|
|
81
81
|
success: z.ZodBoolean;
|
|
82
82
|
error: z.ZodString;
|
|
83
83
|
}, "strip", z.ZodTypeAny, {
|
|
84
|
-
success: boolean;
|
|
85
84
|
error: string;
|
|
85
|
+
success: boolean;
|
|
86
86
|
summary: string;
|
|
87
87
|
sourcesUsed: string[];
|
|
88
88
|
iterationsUsed: number;
|
|
89
89
|
result?: any;
|
|
90
90
|
}, {
|
|
91
|
-
success: boolean;
|
|
92
91
|
error: string;
|
|
92
|
+
success: boolean;
|
|
93
93
|
summary: string;
|
|
94
94
|
sourcesUsed: string[];
|
|
95
95
|
iterationsUsed: number;
|
|
@@ -68,9 +68,9 @@ declare const WebCrawlToolResultSchema: z.ZodObject<{
|
|
|
68
68
|
maxPagesReached?: boolean | undefined;
|
|
69
69
|
}>>;
|
|
70
70
|
}, "strip", z.ZodTypeAny, {
|
|
71
|
-
success: boolean;
|
|
72
|
-
error: string;
|
|
73
71
|
url: string;
|
|
72
|
+
error: string;
|
|
73
|
+
success: boolean;
|
|
74
74
|
pages: {
|
|
75
75
|
content: string;
|
|
76
76
|
url: string;
|
|
@@ -84,9 +84,9 @@ declare const WebCrawlToolResultSchema: z.ZodObject<{
|
|
|
84
84
|
maxPagesReached?: boolean | undefined;
|
|
85
85
|
} | undefined;
|
|
86
86
|
}, {
|
|
87
|
-
success: boolean;
|
|
88
|
-
error: string;
|
|
89
87
|
url: string;
|
|
88
|
+
error: string;
|
|
89
|
+
success: boolean;
|
|
90
90
|
pages: {
|
|
91
91
|
content: string;
|
|
92
92
|
url: string;
|
|
@@ -171,9 +171,9 @@ export declare class WebCrawlTool extends ToolBubble<WebCrawlToolParams, WebCraw
|
|
|
171
171
|
maxPagesReached?: boolean | undefined;
|
|
172
172
|
}>>;
|
|
173
173
|
}, "strip", z.ZodTypeAny, {
|
|
174
|
-
success: boolean;
|
|
175
|
-
error: string;
|
|
176
174
|
url: string;
|
|
175
|
+
error: string;
|
|
176
|
+
success: boolean;
|
|
177
177
|
pages: {
|
|
178
178
|
content: string;
|
|
179
179
|
url: string;
|
|
@@ -187,9 +187,9 @@ export declare class WebCrawlTool extends ToolBubble<WebCrawlToolParams, WebCraw
|
|
|
187
187
|
maxPagesReached?: boolean | undefined;
|
|
188
188
|
} | undefined;
|
|
189
189
|
}, {
|
|
190
|
-
success: boolean;
|
|
191
|
-
error: string;
|
|
192
190
|
url: string;
|
|
191
|
+
error: string;
|
|
192
|
+
success: boolean;
|
|
193
193
|
pages: {
|
|
194
194
|
content: string;
|
|
195
195
|
url: string;
|
|
@@ -54,9 +54,9 @@ declare const WebScrapeToolParamsSchema: z.ZodObject<{
|
|
|
54
54
|
url: string;
|
|
55
55
|
format?: "markdown" | undefined;
|
|
56
56
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
57
|
+
headers?: Record<string, string> | undefined;
|
|
57
58
|
onlyMainContent?: boolean | undefined;
|
|
58
59
|
waitFor?: number | undefined;
|
|
59
|
-
headers?: Record<string, string> | undefined;
|
|
60
60
|
actions?: {
|
|
61
61
|
type: "wait" | "click" | "write" | "press" | "scroll" | "executeJavascript";
|
|
62
62
|
text?: string | undefined;
|
|
@@ -87,10 +87,10 @@ declare const WebScrapeToolResultSchema: z.ZodObject<{
|
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
88
|
format: string;
|
|
89
89
|
title: string;
|
|
90
|
-
success: boolean;
|
|
91
|
-
error: string;
|
|
92
90
|
content: string;
|
|
93
91
|
url: string;
|
|
92
|
+
error: string;
|
|
93
|
+
success: boolean;
|
|
94
94
|
metadata?: {
|
|
95
95
|
loadTime?: number | undefined;
|
|
96
96
|
statusCode?: number | undefined;
|
|
@@ -98,10 +98,10 @@ declare const WebScrapeToolResultSchema: z.ZodObject<{
|
|
|
98
98
|
}, {
|
|
99
99
|
format: string;
|
|
100
100
|
title: string;
|
|
101
|
-
success: boolean;
|
|
102
|
-
error: string;
|
|
103
101
|
content: string;
|
|
104
102
|
url: string;
|
|
103
|
+
error: string;
|
|
104
|
+
success: boolean;
|
|
105
105
|
metadata?: {
|
|
106
106
|
loadTime?: number | undefined;
|
|
107
107
|
statusCode?: number | undefined;
|
|
@@ -164,9 +164,9 @@ export declare class WebScrapeTool extends ToolBubble<WebScrapeToolParams, WebSc
|
|
|
164
164
|
url: string;
|
|
165
165
|
format?: "markdown" | undefined;
|
|
166
166
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
167
|
+
headers?: Record<string, string> | undefined;
|
|
167
168
|
onlyMainContent?: boolean | undefined;
|
|
168
169
|
waitFor?: number | undefined;
|
|
169
|
-
headers?: Record<string, string> | undefined;
|
|
170
170
|
actions?: {
|
|
171
171
|
type: "wait" | "click" | "write" | "press" | "scroll" | "executeJavascript";
|
|
172
172
|
text?: string | undefined;
|
|
@@ -197,10 +197,10 @@ export declare class WebScrapeTool extends ToolBubble<WebScrapeToolParams, WebSc
|
|
|
197
197
|
}, "strip", z.ZodTypeAny, {
|
|
198
198
|
format: string;
|
|
199
199
|
title: string;
|
|
200
|
-
success: boolean;
|
|
201
|
-
error: string;
|
|
202
200
|
content: string;
|
|
203
201
|
url: string;
|
|
202
|
+
error: string;
|
|
203
|
+
success: boolean;
|
|
204
204
|
metadata?: {
|
|
205
205
|
loadTime?: number | undefined;
|
|
206
206
|
statusCode?: number | undefined;
|
|
@@ -208,10 +208,10 @@ export declare class WebScrapeTool extends ToolBubble<WebScrapeToolParams, WebSc
|
|
|
208
208
|
}, {
|
|
209
209
|
format: string;
|
|
210
210
|
title: string;
|
|
211
|
-
success: boolean;
|
|
212
|
-
error: string;
|
|
213
211
|
content: string;
|
|
214
212
|
url: string;
|
|
213
|
+
error: string;
|
|
214
|
+
success: boolean;
|
|
215
215
|
metadata?: {
|
|
216
216
|
loadTime?: number | undefined;
|
|
217
217
|
statusCode?: number | undefined;
|
|
@@ -36,17 +36,17 @@ declare const BubbleFlowGeneratorResultSchema: z.ZodObject<{
|
|
|
36
36
|
summary: z.ZodDefault<z.ZodString>;
|
|
37
37
|
inputsSchema: z.ZodDefault<z.ZodString>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
|
-
success: boolean;
|
|
40
|
-
error: string;
|
|
41
39
|
toolCalls: any[];
|
|
40
|
+
error: string;
|
|
41
|
+
success: boolean;
|
|
42
42
|
summary: string;
|
|
43
43
|
generatedCode: string;
|
|
44
44
|
isValid: boolean;
|
|
45
45
|
inputsSchema: string;
|
|
46
46
|
}, {
|
|
47
|
-
success: boolean;
|
|
48
|
-
error: string;
|
|
49
47
|
toolCalls: any[];
|
|
48
|
+
error: string;
|
|
49
|
+
success: boolean;
|
|
50
50
|
generatedCode: string;
|
|
51
51
|
isValid: boolean;
|
|
52
52
|
summary?: string | undefined;
|
|
@@ -79,17 +79,17 @@ export declare class BubbleFlowGeneratorWorkflow extends WorkflowBubble<BubbleFl
|
|
|
79
79
|
summary: z.ZodDefault<z.ZodString>;
|
|
80
80
|
inputsSchema: z.ZodDefault<z.ZodString>;
|
|
81
81
|
}, "strip", z.ZodTypeAny, {
|
|
82
|
-
success: boolean;
|
|
83
|
-
error: string;
|
|
84
82
|
toolCalls: any[];
|
|
83
|
+
error: string;
|
|
84
|
+
success: boolean;
|
|
85
85
|
summary: string;
|
|
86
86
|
generatedCode: string;
|
|
87
87
|
isValid: boolean;
|
|
88
88
|
inputsSchema: string;
|
|
89
89
|
}, {
|
|
90
|
-
success: boolean;
|
|
91
|
-
error: string;
|
|
92
90
|
toolCalls: any[];
|
|
91
|
+
error: string;
|
|
92
|
+
success: boolean;
|
|
93
93
|
generatedCode: string;
|
|
94
94
|
isValid: boolean;
|
|
95
95
|
summary?: string | undefined;
|