@bubblelab/bubble-core 0.1.39 → 0.1.40
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 +81 -81
- package/dist/bubbles/service-bubble/agi-inc.d.ts +114 -114
- package/dist/bubbles/service-bubble/ai-agent.d.ts +70 -70
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +5 -0
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +122 -122
- package/dist/bubbles/service-bubble/apify/apify.d.ts +12 -12
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +144 -144
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +51 -51
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +84 -84
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +56 -56
- package/dist/bubbles/service-bubble/firecrawl.d.ts +835 -835
- package/dist/bubbles/service-bubble/followupboss.d.ts +474 -474
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +275 -275
- package/dist/bubbles/service-bubble/github.d.ts +196 -196
- package/dist/bubbles/service-bubble/gmail.d.ts +138 -138
- package/dist/bubbles/service-bubble/google-calendar.d.ts +136 -136
- package/dist/bubbles/service-bubble/google-drive.d.ts +144 -144
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +68 -68
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +12 -12
- package/dist/bubbles/service-bubble/insforge-db.d.ts +4 -4
- package/dist/bubbles/service-bubble/jira/jira.d.ts +59 -59
- package/dist/bubbles/service-bubble/notion/notion.d.ts +244 -244
- package/dist/bubbles/service-bubble/postgresql.d.ts +4 -4
- package/dist/bubbles/service-bubble/resend.d.ts +16 -16
- package/dist/bubbles/service-bubble/slack/slack.d.ts +442 -442
- package/dist/bubbles/service-bubble/storage.d.ts +60 -60
- package/dist/bubbles/service-bubble/telegram.d.ts +414 -414
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +26 -26
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +66 -66
- 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 +28 -28
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +422 -422
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +108 -108
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +26 -26
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +113 -113
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +90 -90
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +6 -6
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +66 -66
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
- package/dist/bubbles.json +1 -1
- package/package.json +2 -2
|
@@ -20,31 +20,31 @@ declare const RedditPostSchema: z.ZodObject<{
|
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
21
|
title: string;
|
|
22
22
|
url: string;
|
|
23
|
-
score: number;
|
|
24
23
|
author: string;
|
|
24
|
+
score: number;
|
|
25
25
|
numComments: number;
|
|
26
26
|
createdUtc: number;
|
|
27
27
|
postUrl: string;
|
|
28
28
|
selftext: string;
|
|
29
29
|
subreddit: string;
|
|
30
30
|
isSelf: boolean;
|
|
31
|
-
domain?: string | undefined;
|
|
32
31
|
thumbnail?: string | undefined;
|
|
32
|
+
domain?: string | undefined;
|
|
33
33
|
postHint?: string | null | undefined;
|
|
34
34
|
flair?: string | undefined;
|
|
35
35
|
}, {
|
|
36
36
|
title: string;
|
|
37
37
|
url: string;
|
|
38
|
-
score: number;
|
|
39
38
|
author: string;
|
|
39
|
+
score: number;
|
|
40
40
|
numComments: number;
|
|
41
41
|
createdUtc: number;
|
|
42
42
|
postUrl: string;
|
|
43
43
|
selftext: string;
|
|
44
44
|
subreddit: string;
|
|
45
45
|
isSelf: boolean;
|
|
46
|
-
domain?: string | undefined;
|
|
47
46
|
thumbnail?: string | undefined;
|
|
47
|
+
domain?: string | undefined;
|
|
48
48
|
postHint?: string | null | undefined;
|
|
49
49
|
flair?: string | undefined;
|
|
50
50
|
}>;
|
|
@@ -69,8 +69,8 @@ declare const RedditScrapeToolParamsSchema: z.ZodObject<{
|
|
|
69
69
|
}, {
|
|
70
70
|
subreddit: string;
|
|
71
71
|
sort?: "hot" | "new" | "top" | "rising" | undefined;
|
|
72
|
-
limit?: number | undefined;
|
|
73
72
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
73
|
+
limit?: number | undefined;
|
|
74
74
|
timeFilter?: "all" | "hour" | "week" | "month" | "year" | "day" | undefined;
|
|
75
75
|
filterToday?: boolean | undefined;
|
|
76
76
|
includeStickied?: boolean | undefined;
|
|
@@ -95,31 +95,31 @@ declare const RedditScrapeToolResultSchema: z.ZodObject<{
|
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
96
|
title: string;
|
|
97
97
|
url: string;
|
|
98
|
-
score: number;
|
|
99
98
|
author: string;
|
|
99
|
+
score: number;
|
|
100
100
|
numComments: number;
|
|
101
101
|
createdUtc: number;
|
|
102
102
|
postUrl: string;
|
|
103
103
|
selftext: string;
|
|
104
104
|
subreddit: string;
|
|
105
105
|
isSelf: boolean;
|
|
106
|
-
domain?: string | undefined;
|
|
107
106
|
thumbnail?: string | undefined;
|
|
107
|
+
domain?: string | undefined;
|
|
108
108
|
postHint?: string | null | undefined;
|
|
109
109
|
flair?: string | undefined;
|
|
110
110
|
}, {
|
|
111
111
|
title: string;
|
|
112
112
|
url: string;
|
|
113
|
-
score: number;
|
|
114
113
|
author: string;
|
|
114
|
+
score: number;
|
|
115
115
|
numComments: number;
|
|
116
116
|
createdUtc: number;
|
|
117
117
|
postUrl: string;
|
|
118
118
|
selftext: string;
|
|
119
119
|
subreddit: string;
|
|
120
120
|
isSelf: boolean;
|
|
121
|
-
domain?: string | undefined;
|
|
122
121
|
thumbnail?: string | undefined;
|
|
122
|
+
domain?: string | undefined;
|
|
123
123
|
postHint?: string | null | undefined;
|
|
124
124
|
flair?: string | undefined;
|
|
125
125
|
}>, "many">;
|
|
@@ -154,8 +154,8 @@ declare const RedditScrapeToolResultSchema: z.ZodObject<{
|
|
|
154
154
|
success: z.ZodBoolean;
|
|
155
155
|
error: z.ZodString;
|
|
156
156
|
}, "strip", z.ZodTypeAny, {
|
|
157
|
-
success: boolean;
|
|
158
157
|
error: string;
|
|
158
|
+
success: boolean;
|
|
159
159
|
metadata: {
|
|
160
160
|
sort: string;
|
|
161
161
|
scrapedAt: string;
|
|
@@ -169,22 +169,22 @@ declare const RedditScrapeToolResultSchema: z.ZodObject<{
|
|
|
169
169
|
posts: {
|
|
170
170
|
title: string;
|
|
171
171
|
url: string;
|
|
172
|
-
score: number;
|
|
173
172
|
author: string;
|
|
173
|
+
score: number;
|
|
174
174
|
numComments: number;
|
|
175
175
|
createdUtc: number;
|
|
176
176
|
postUrl: string;
|
|
177
177
|
selftext: string;
|
|
178
178
|
subreddit: string;
|
|
179
179
|
isSelf: boolean;
|
|
180
|
-
domain?: string | undefined;
|
|
181
180
|
thumbnail?: string | undefined;
|
|
181
|
+
domain?: string | undefined;
|
|
182
182
|
postHint?: string | null | undefined;
|
|
183
183
|
flair?: string | undefined;
|
|
184
184
|
}[];
|
|
185
185
|
}, {
|
|
186
|
-
success: boolean;
|
|
187
186
|
error: string;
|
|
187
|
+
success: boolean;
|
|
188
188
|
metadata: {
|
|
189
189
|
sort: string;
|
|
190
190
|
scrapedAt: string;
|
|
@@ -198,16 +198,16 @@ declare const RedditScrapeToolResultSchema: z.ZodObject<{
|
|
|
198
198
|
posts: {
|
|
199
199
|
title: string;
|
|
200
200
|
url: string;
|
|
201
|
-
score: number;
|
|
202
201
|
author: string;
|
|
202
|
+
score: number;
|
|
203
203
|
numComments: number;
|
|
204
204
|
createdUtc: number;
|
|
205
205
|
postUrl: string;
|
|
206
206
|
selftext: string;
|
|
207
207
|
subreddit: string;
|
|
208
208
|
isSelf: boolean;
|
|
209
|
-
domain?: string | undefined;
|
|
210
209
|
thumbnail?: string | undefined;
|
|
210
|
+
domain?: string | undefined;
|
|
211
211
|
postHint?: string | null | undefined;
|
|
212
212
|
flair?: string | undefined;
|
|
213
213
|
}[];
|
|
@@ -239,8 +239,8 @@ export declare class RedditScrapeTool extends ToolBubble<RedditScrapeToolParams,
|
|
|
239
239
|
}, {
|
|
240
240
|
subreddit: string;
|
|
241
241
|
sort?: "hot" | "new" | "top" | "rising" | undefined;
|
|
242
|
-
limit?: number | undefined;
|
|
243
242
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
243
|
+
limit?: number | undefined;
|
|
244
244
|
timeFilter?: "all" | "hour" | "week" | "month" | "year" | "day" | undefined;
|
|
245
245
|
filterToday?: boolean | undefined;
|
|
246
246
|
includeStickied?: boolean | undefined;
|
|
@@ -265,31 +265,31 @@ export declare class RedditScrapeTool extends ToolBubble<RedditScrapeToolParams,
|
|
|
265
265
|
}, "strip", z.ZodTypeAny, {
|
|
266
266
|
title: string;
|
|
267
267
|
url: string;
|
|
268
|
-
score: number;
|
|
269
268
|
author: string;
|
|
269
|
+
score: number;
|
|
270
270
|
numComments: number;
|
|
271
271
|
createdUtc: number;
|
|
272
272
|
postUrl: string;
|
|
273
273
|
selftext: string;
|
|
274
274
|
subreddit: string;
|
|
275
275
|
isSelf: boolean;
|
|
276
|
-
domain?: string | undefined;
|
|
277
276
|
thumbnail?: string | undefined;
|
|
277
|
+
domain?: string | undefined;
|
|
278
278
|
postHint?: string | null | undefined;
|
|
279
279
|
flair?: string | undefined;
|
|
280
280
|
}, {
|
|
281
281
|
title: string;
|
|
282
282
|
url: string;
|
|
283
|
-
score: number;
|
|
284
283
|
author: string;
|
|
284
|
+
score: number;
|
|
285
285
|
numComments: number;
|
|
286
286
|
createdUtc: number;
|
|
287
287
|
postUrl: string;
|
|
288
288
|
selftext: string;
|
|
289
289
|
subreddit: string;
|
|
290
290
|
isSelf: boolean;
|
|
291
|
-
domain?: string | undefined;
|
|
292
291
|
thumbnail?: string | undefined;
|
|
292
|
+
domain?: string | undefined;
|
|
293
293
|
postHint?: string | null | undefined;
|
|
294
294
|
flair?: string | undefined;
|
|
295
295
|
}>, "many">;
|
|
@@ -324,8 +324,8 @@ export declare class RedditScrapeTool extends ToolBubble<RedditScrapeToolParams,
|
|
|
324
324
|
success: z.ZodBoolean;
|
|
325
325
|
error: z.ZodString;
|
|
326
326
|
}, "strip", z.ZodTypeAny, {
|
|
327
|
-
success: boolean;
|
|
328
327
|
error: string;
|
|
328
|
+
success: boolean;
|
|
329
329
|
metadata: {
|
|
330
330
|
sort: string;
|
|
331
331
|
scrapedAt: string;
|
|
@@ -339,22 +339,22 @@ export declare class RedditScrapeTool extends ToolBubble<RedditScrapeToolParams,
|
|
|
339
339
|
posts: {
|
|
340
340
|
title: string;
|
|
341
341
|
url: string;
|
|
342
|
-
score: number;
|
|
343
342
|
author: string;
|
|
343
|
+
score: number;
|
|
344
344
|
numComments: number;
|
|
345
345
|
createdUtc: number;
|
|
346
346
|
postUrl: string;
|
|
347
347
|
selftext: string;
|
|
348
348
|
subreddit: string;
|
|
349
349
|
isSelf: boolean;
|
|
350
|
-
domain?: string | undefined;
|
|
351
350
|
thumbnail?: string | undefined;
|
|
351
|
+
domain?: string | undefined;
|
|
352
352
|
postHint?: string | null | undefined;
|
|
353
353
|
flair?: string | undefined;
|
|
354
354
|
}[];
|
|
355
355
|
}, {
|
|
356
|
-
success: boolean;
|
|
357
356
|
error: string;
|
|
357
|
+
success: boolean;
|
|
358
358
|
metadata: {
|
|
359
359
|
sort: string;
|
|
360
360
|
scrapedAt: string;
|
|
@@ -368,16 +368,16 @@ export declare class RedditScrapeTool extends ToolBubble<RedditScrapeToolParams,
|
|
|
368
368
|
posts: {
|
|
369
369
|
title: string;
|
|
370
370
|
url: string;
|
|
371
|
-
score: number;
|
|
372
371
|
author: string;
|
|
372
|
+
score: number;
|
|
373
373
|
numComments: number;
|
|
374
374
|
createdUtc: number;
|
|
375
375
|
postUrl: string;
|
|
376
376
|
selftext: string;
|
|
377
377
|
subreddit: string;
|
|
378
378
|
isSelf: boolean;
|
|
379
|
-
domain?: string | undefined;
|
|
380
379
|
thumbnail?: string | undefined;
|
|
380
|
+
domain?: string | undefined;
|
|
381
381
|
postHint?: string | null | undefined;
|
|
382
382
|
flair?: string | undefined;
|
|
383
383
|
}[];
|
|
@@ -14,14 +14,14 @@ declare const ResearchAgentToolParamsSchema: z.ZodObject<{
|
|
|
14
14
|
maxIterations: number;
|
|
15
15
|
task: string;
|
|
16
16
|
expectedResultSchema: string | z.ZodTypeAny;
|
|
17
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
18
17
|
maxTokens?: number | undefined;
|
|
18
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
19
19
|
}, {
|
|
20
20
|
task: string;
|
|
21
21
|
expectedResultSchema: string | z.ZodTypeAny;
|
|
22
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
23
22
|
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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1" | 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;
|
|
@@ -63,14 +63,14 @@ export declare class ResearchAgentTool extends ToolBubble<ResearchAgentToolParam
|
|
|
63
63
|
maxIterations: number;
|
|
64
64
|
task: string;
|
|
65
65
|
expectedResultSchema: string | z.ZodTypeAny;
|
|
66
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
67
66
|
maxTokens?: number | undefined;
|
|
67
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
68
68
|
}, {
|
|
69
69
|
task: string;
|
|
70
70
|
expectedResultSchema: string | z.ZodTypeAny;
|
|
71
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
72
71
|
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/anthropic/claude-sonnet-4.5" | "openrouter/google/gemini-3-pro-preview" | "openrouter/morph/morph-v3-large" | "openrouter/x-ai/grok-4.1-fast" | "openrouter/openai/gpt-oss-120b" | "openrouter/deepseek/deepseek-chat-v3.1" | 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;
|
|
@@ -38,25 +38,25 @@ declare const SQLQueryToolResultSchema: z.ZodObject<{
|
|
|
38
38
|
success: z.ZodBoolean;
|
|
39
39
|
error: z.ZodString;
|
|
40
40
|
}, "strip", z.ZodTypeAny, {
|
|
41
|
-
success: boolean;
|
|
42
41
|
error: string;
|
|
42
|
+
success: boolean;
|
|
43
43
|
rowCount: number;
|
|
44
44
|
executionTime: number;
|
|
45
|
+
rows?: Record<string, unknown>[] | undefined;
|
|
45
46
|
fields?: {
|
|
46
47
|
name: string;
|
|
47
48
|
dataTypeID?: number | undefined;
|
|
48
49
|
}[] | undefined;
|
|
49
|
-
rows?: Record<string, unknown>[] | undefined;
|
|
50
50
|
}, {
|
|
51
|
-
success: boolean;
|
|
52
51
|
error: string;
|
|
52
|
+
success: boolean;
|
|
53
53
|
rowCount: number;
|
|
54
54
|
executionTime: number;
|
|
55
|
+
rows?: Record<string, unknown>[] | undefined;
|
|
55
56
|
fields?: {
|
|
56
57
|
name: string;
|
|
57
58
|
dataTypeID?: number | undefined;
|
|
58
59
|
}[] | undefined;
|
|
59
|
-
rows?: Record<string, unknown>[] | undefined;
|
|
60
60
|
}>;
|
|
61
61
|
/**
|
|
62
62
|
* SQLQueryTool - Execute SQL queries against PostgreSQL databases
|
|
@@ -101,25 +101,25 @@ export declare class SQLQueryTool extends ToolBubble<SQLQueryToolParams, SQLQuer
|
|
|
101
101
|
success: z.ZodBoolean;
|
|
102
102
|
error: z.ZodString;
|
|
103
103
|
}, "strip", z.ZodTypeAny, {
|
|
104
|
-
success: boolean;
|
|
105
104
|
error: string;
|
|
105
|
+
success: boolean;
|
|
106
106
|
rowCount: number;
|
|
107
107
|
executionTime: number;
|
|
108
|
+
rows?: Record<string, unknown>[] | undefined;
|
|
108
109
|
fields?: {
|
|
109
110
|
name: string;
|
|
110
111
|
dataTypeID?: number | undefined;
|
|
111
112
|
}[] | undefined;
|
|
112
|
-
rows?: Record<string, unknown>[] | undefined;
|
|
113
113
|
}, {
|
|
114
|
-
success: boolean;
|
|
115
114
|
error: string;
|
|
115
|
+
success: boolean;
|
|
116
116
|
rowCount: number;
|
|
117
117
|
executionTime: number;
|
|
118
|
+
rows?: Record<string, unknown>[] | undefined;
|
|
118
119
|
fields?: {
|
|
119
120
|
name: string;
|
|
120
121
|
dataTypeID?: number | undefined;
|
|
121
122
|
}[] | undefined;
|
|
122
|
-
rows?: Record<string, unknown>[] | undefined;
|
|
123
123
|
}>;
|
|
124
124
|
static readonly shortDescription = "Execute read-only SQL queries against PostgreSQL databases for data analysis";
|
|
125
125
|
static readonly longDescription = "\n A tool bubble that provides safe, read-only SQL query execution against PostgreSQL databases.\n \n Features:\n - Execute SELECT, WITH, EXPLAIN, ANALYZE, SHOW, and DESCRIBE queries\n - Automatic query timeout and row limit enforcement (30s timeout, 1000 rows max)\n - Clean JSON formatting of results for AI consumption\n - Detailed execution metadata including timing and row counts\n \n Security:\n - Read-only operations enforced\n - Query timeout protection (30 seconds)\n - Row limit protection (1000 rows max)\n \n Use cases:\n - AI agents performing iterative database exploration\n - Data analysis and business intelligence queries\n - Schema discovery and table introspection\n - Performance analysis with EXPLAIN queries\n - Automated reporting and data extraction\n ";
|
|
@@ -12,18 +12,18 @@ declare const TikTokToolParamsSchema: z.ZodObject<{
|
|
|
12
12
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
14
|
operation: "scrapeProfile" | "scrapeHashtag" | "scrapeVideo";
|
|
15
|
-
limit?: number | undefined;
|
|
16
15
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
17
|
-
|
|
16
|
+
limit?: number | undefined;
|
|
18
17
|
hashtags?: string[] | undefined;
|
|
18
|
+
profiles?: string[] | undefined;
|
|
19
19
|
shouldDownloadVideos?: boolean | undefined;
|
|
20
20
|
videoUrls?: string[] | undefined;
|
|
21
21
|
}, {
|
|
22
22
|
operation: "scrapeProfile" | "scrapeHashtag" | "scrapeVideo";
|
|
23
|
-
limit?: number | undefined;
|
|
24
23
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
25
|
-
|
|
24
|
+
limit?: number | undefined;
|
|
26
25
|
hashtags?: string[] | undefined;
|
|
26
|
+
profiles?: string[] | undefined;
|
|
27
27
|
shouldDownloadVideos?: boolean | undefined;
|
|
28
28
|
videoUrls?: string[] | undefined;
|
|
29
29
|
}>;
|
|
@@ -98,8 +98,8 @@ declare const TikTokToolResultSchema: z.ZodObject<{
|
|
|
98
98
|
name: string | null;
|
|
99
99
|
}>, "many">>;
|
|
100
100
|
}, "strip", z.ZodTypeAny, {
|
|
101
|
-
id: string | null;
|
|
102
101
|
text: string | null;
|
|
102
|
+
id: string | null;
|
|
103
103
|
hashtags: {
|
|
104
104
|
name: string | null;
|
|
105
105
|
}[] | null;
|
|
@@ -128,8 +128,8 @@ declare const TikTokToolResultSchema: z.ZodObject<{
|
|
|
128
128
|
webVideoUrl: string | null;
|
|
129
129
|
covers: string[] | null;
|
|
130
130
|
}, {
|
|
131
|
-
id: string | null;
|
|
132
131
|
text: string | null;
|
|
132
|
+
id: string | null;
|
|
133
133
|
hashtags: {
|
|
134
134
|
name: string | null;
|
|
135
135
|
}[] | null;
|
|
@@ -162,12 +162,12 @@ declare const TikTokToolResultSchema: z.ZodObject<{
|
|
|
162
162
|
success: z.ZodBoolean;
|
|
163
163
|
error: z.ZodString;
|
|
164
164
|
}, "strip", z.ZodTypeAny, {
|
|
165
|
-
operation: "scrapeProfile" | "scrapeHashtag" | "scrapeVideo";
|
|
166
|
-
success: boolean;
|
|
167
165
|
error: string;
|
|
166
|
+
success: boolean;
|
|
167
|
+
operation: "scrapeProfile" | "scrapeHashtag" | "scrapeVideo";
|
|
168
168
|
videos: {
|
|
169
|
-
id: string | null;
|
|
170
169
|
text: string | null;
|
|
170
|
+
id: string | null;
|
|
171
171
|
hashtags: {
|
|
172
172
|
name: string | null;
|
|
173
173
|
}[] | null;
|
|
@@ -198,12 +198,12 @@ declare const TikTokToolResultSchema: z.ZodObject<{
|
|
|
198
198
|
}[];
|
|
199
199
|
totalVideos: number;
|
|
200
200
|
}, {
|
|
201
|
-
operation: "scrapeProfile" | "scrapeHashtag" | "scrapeVideo";
|
|
202
|
-
success: boolean;
|
|
203
201
|
error: string;
|
|
202
|
+
success: boolean;
|
|
203
|
+
operation: "scrapeProfile" | "scrapeHashtag" | "scrapeVideo";
|
|
204
204
|
videos: {
|
|
205
|
-
id: string | null;
|
|
206
205
|
text: string | null;
|
|
206
|
+
id: string | null;
|
|
207
207
|
hashtags: {
|
|
208
208
|
name: string | null;
|
|
209
209
|
}[] | null;
|
|
@@ -249,18 +249,18 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
|
|
|
249
249
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
250
250
|
}, "strip", z.ZodTypeAny, {
|
|
251
251
|
operation: "scrapeProfile" | "scrapeHashtag" | "scrapeVideo";
|
|
252
|
-
limit?: number | undefined;
|
|
253
252
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
254
|
-
|
|
253
|
+
limit?: number | undefined;
|
|
255
254
|
hashtags?: string[] | undefined;
|
|
255
|
+
profiles?: string[] | undefined;
|
|
256
256
|
shouldDownloadVideos?: boolean | undefined;
|
|
257
257
|
videoUrls?: string[] | undefined;
|
|
258
258
|
}, {
|
|
259
259
|
operation: "scrapeProfile" | "scrapeHashtag" | "scrapeVideo";
|
|
260
|
-
limit?: number | undefined;
|
|
261
260
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
262
|
-
|
|
261
|
+
limit?: number | undefined;
|
|
263
262
|
hashtags?: string[] | undefined;
|
|
263
|
+
profiles?: string[] | undefined;
|
|
264
264
|
shouldDownloadVideos?: boolean | undefined;
|
|
265
265
|
videoUrls?: string[] | undefined;
|
|
266
266
|
}>;
|
|
@@ -335,8 +335,8 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
|
|
|
335
335
|
name: string | null;
|
|
336
336
|
}>, "many">>;
|
|
337
337
|
}, "strip", z.ZodTypeAny, {
|
|
338
|
-
id: string | null;
|
|
339
338
|
text: string | null;
|
|
339
|
+
id: string | null;
|
|
340
340
|
hashtags: {
|
|
341
341
|
name: string | null;
|
|
342
342
|
}[] | null;
|
|
@@ -365,8 +365,8 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
|
|
|
365
365
|
webVideoUrl: string | null;
|
|
366
366
|
covers: string[] | null;
|
|
367
367
|
}, {
|
|
368
|
-
id: string | null;
|
|
369
368
|
text: string | null;
|
|
369
|
+
id: string | null;
|
|
370
370
|
hashtags: {
|
|
371
371
|
name: string | null;
|
|
372
372
|
}[] | null;
|
|
@@ -399,12 +399,12 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
|
|
|
399
399
|
success: z.ZodBoolean;
|
|
400
400
|
error: z.ZodString;
|
|
401
401
|
}, "strip", z.ZodTypeAny, {
|
|
402
|
-
operation: "scrapeProfile" | "scrapeHashtag" | "scrapeVideo";
|
|
403
|
-
success: boolean;
|
|
404
402
|
error: string;
|
|
403
|
+
success: boolean;
|
|
404
|
+
operation: "scrapeProfile" | "scrapeHashtag" | "scrapeVideo";
|
|
405
405
|
videos: {
|
|
406
|
-
id: string | null;
|
|
407
406
|
text: string | null;
|
|
407
|
+
id: string | null;
|
|
408
408
|
hashtags: {
|
|
409
409
|
name: string | null;
|
|
410
410
|
}[] | null;
|
|
@@ -435,12 +435,12 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
|
|
|
435
435
|
}[];
|
|
436
436
|
totalVideos: number;
|
|
437
437
|
}, {
|
|
438
|
-
operation: "scrapeProfile" | "scrapeHashtag" | "scrapeVideo";
|
|
439
|
-
success: boolean;
|
|
440
438
|
error: string;
|
|
439
|
+
success: boolean;
|
|
440
|
+
operation: "scrapeProfile" | "scrapeHashtag" | "scrapeVideo";
|
|
441
441
|
videos: {
|
|
442
|
-
id: string | null;
|
|
443
442
|
text: string | null;
|
|
443
|
+
id: string | null;
|
|
444
444
|
hashtags: {
|
|
445
445
|
name: string | null;
|
|
446
446
|
}[] | null;
|
|
@@ -99,16 +99,16 @@ declare const MyCustomToolResultSchema: z.ZodObject<{
|
|
|
99
99
|
success: z.ZodBoolean;
|
|
100
100
|
error: z.ZodString;
|
|
101
101
|
}, "strip", z.ZodTypeAny, {
|
|
102
|
-
success: boolean;
|
|
103
102
|
error: string;
|
|
103
|
+
success: boolean;
|
|
104
104
|
metadata: {
|
|
105
105
|
processedAt: string;
|
|
106
106
|
itemsProcessed: number;
|
|
107
107
|
};
|
|
108
108
|
processedData: string;
|
|
109
109
|
}, {
|
|
110
|
-
success: boolean;
|
|
111
110
|
error: string;
|
|
111
|
+
success: boolean;
|
|
112
112
|
metadata: {
|
|
113
113
|
processedAt: string;
|
|
114
114
|
itemsProcessed: number;
|
|
@@ -172,16 +172,16 @@ export declare class MyCustomTool extends ToolBubble<MyCustomToolParams, MyCusto
|
|
|
172
172
|
success: z.ZodBoolean;
|
|
173
173
|
error: z.ZodString;
|
|
174
174
|
}, "strip", z.ZodTypeAny, {
|
|
175
|
-
success: boolean;
|
|
176
175
|
error: string;
|
|
176
|
+
success: boolean;
|
|
177
177
|
metadata: {
|
|
178
178
|
processedAt: string;
|
|
179
179
|
itemsProcessed: number;
|
|
180
180
|
};
|
|
181
181
|
processedData: string;
|
|
182
182
|
}, {
|
|
183
|
-
success: boolean;
|
|
184
183
|
error: string;
|
|
184
|
+
success: boolean;
|
|
185
185
|
metadata: {
|
|
186
186
|
processedAt: string;
|
|
187
187
|
itemsProcessed: number;
|