@bubblelab/bubble-core 0.1.35 → 0.1.36
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 +80 -80
- package/dist/bubbles/service-bubble/agi-inc.d.ts +116 -116
- package/dist/bubbles/service-bubble/ai-agent.d.ts +36 -36
- package/dist/bubbles/service-bubble/airtable.d.ts +232 -232
- package/dist/bubbles/service-bubble/apify/apify.d.ts +38 -38
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +50 -50
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +56 -56
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +52 -52
- package/dist/bubbles/service-bubble/firecrawl.d.ts +326 -326
- package/dist/bubbles/service-bubble/followupboss.d.ts +332 -332
- package/dist/bubbles/service-bubble/github.d.ts +172 -172
- package/dist/bubbles/service-bubble/gmail.d.ts +632 -632
- package/dist/bubbles/service-bubble/google-calendar.d.ts +232 -232
- package/dist/bubbles/service-bubble/google-drive.d.ts +128 -128
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +54 -54
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +20 -20
- package/dist/bubbles/service-bubble/insforge-db.d.ts +18 -18
- package/dist/bubbles/service-bubble/jira/jira.d.ts +5762 -2108
- package/dist/bubbles/service-bubble/jira/jira.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/jira/jira.js +32 -7
- package/dist/bubbles/service-bubble/jira/jira.js.map +1 -1
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +7993 -3124
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/jira/jira.schema.js +14 -2
- package/dist/bubbles/service-bubble/jira/jira.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/notion/notion.d.ts +204 -204
- package/dist/bubbles/service-bubble/postgresql.d.ts +18 -18
- package/dist/bubbles/service-bubble/resend.d.ts +20 -20
- package/dist/bubbles/service-bubble/slack/slack.d.ts +418 -418
- package/dist/bubbles/service-bubble/storage.d.ts +60 -60
- package/dist/bubbles/service-bubble/telegram.d.ts +122 -122
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +33 -33
- 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 +8 -8
- 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 +12 -12
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +426 -426
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +104 -104
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +192 -192
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
- 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/youtube-tool.d.ts +38 -38
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +68 -68
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +60 -60
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
- package/dist/bubbles.json +47 -49
- package/package.json +2 -2
|
@@ -29,8 +29,8 @@ declare const ListBubblesToolResultSchema: z.ZodObject<{
|
|
|
29
29
|
success: z.ZodBoolean;
|
|
30
30
|
error: z.ZodString;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
|
-
error: string;
|
|
33
32
|
success: boolean;
|
|
33
|
+
error: string;
|
|
34
34
|
bubbles: {
|
|
35
35
|
type: string;
|
|
36
36
|
name: string;
|
|
@@ -40,8 +40,8 @@ declare const ListBubblesToolResultSchema: z.ZodObject<{
|
|
|
40
40
|
}[];
|
|
41
41
|
totalCount: number;
|
|
42
42
|
}, {
|
|
43
|
-
error: string;
|
|
44
43
|
success: boolean;
|
|
44
|
+
error: string;
|
|
45
45
|
bubbles: {
|
|
46
46
|
type: string;
|
|
47
47
|
name: string;
|
|
@@ -78,8 +78,8 @@ export declare class ListBubblesTool extends ToolBubble<ListBubblesToolParams, L
|
|
|
78
78
|
success: z.ZodBoolean;
|
|
79
79
|
error: z.ZodString;
|
|
80
80
|
}, "strip", z.ZodTypeAny, {
|
|
81
|
-
error: string;
|
|
82
81
|
success: boolean;
|
|
82
|
+
error: string;
|
|
83
83
|
bubbles: {
|
|
84
84
|
type: string;
|
|
85
85
|
name: string;
|
|
@@ -89,8 +89,8 @@ export declare class ListBubblesTool extends ToolBubble<ListBubblesToolParams, L
|
|
|
89
89
|
}[];
|
|
90
90
|
totalCount: number;
|
|
91
91
|
}, {
|
|
92
|
-
error: string;
|
|
93
92
|
success: boolean;
|
|
93
|
+
error: string;
|
|
94
94
|
bubbles: {
|
|
95
95
|
type: string;
|
|
96
96
|
name: string;
|
|
@@ -202,8 +202,8 @@ declare const PeopleSearchToolParamsSchema: z.ZodObject<{
|
|
|
202
202
|
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
203
203
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
204
204
|
}, "strip", z.ZodTypeAny, {
|
|
205
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
206
205
|
limit?: number | undefined;
|
|
206
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
207
207
|
location?: string | undefined;
|
|
208
208
|
companyName?: string | undefined;
|
|
209
209
|
companyLinkedinUrl?: string | undefined;
|
|
@@ -233,8 +233,8 @@ declare const PeopleSearchToolParamsSchema: z.ZodObject<{
|
|
|
233
233
|
excludeCompanies?: string[] | undefined;
|
|
234
234
|
excludeProfiles?: string[] | undefined;
|
|
235
235
|
}, {
|
|
236
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
237
236
|
limit?: number | undefined;
|
|
237
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
238
238
|
location?: string | undefined;
|
|
239
239
|
companyName?: string | undefined;
|
|
240
240
|
companyLinkedinUrl?: string | undefined;
|
|
@@ -431,8 +431,8 @@ declare const PeopleSearchToolResultSchema: z.ZodObject<{
|
|
|
431
431
|
success: z.ZodBoolean;
|
|
432
432
|
error: z.ZodString;
|
|
433
433
|
}, "strip", z.ZodTypeAny, {
|
|
434
|
-
error: string;
|
|
435
434
|
success: boolean;
|
|
435
|
+
error: string;
|
|
436
436
|
people: {
|
|
437
437
|
title: string | null;
|
|
438
438
|
name: string | null;
|
|
@@ -477,8 +477,8 @@ declare const PeopleSearchToolResultSchema: z.ZodObject<{
|
|
|
477
477
|
}[];
|
|
478
478
|
totalCount: number;
|
|
479
479
|
}, {
|
|
480
|
-
error: string;
|
|
481
480
|
success: boolean;
|
|
481
|
+
error: string;
|
|
482
482
|
people: {
|
|
483
483
|
title: string | null;
|
|
484
484
|
name: string | null;
|
|
@@ -590,8 +590,8 @@ export declare class PeopleSearchTool extends ToolBubble<PeopleSearchToolParams,
|
|
|
590
590
|
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
591
591
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
592
592
|
}, "strip", z.ZodTypeAny, {
|
|
593
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
594
593
|
limit?: number | undefined;
|
|
594
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
595
595
|
location?: string | undefined;
|
|
596
596
|
companyName?: string | undefined;
|
|
597
597
|
companyLinkedinUrl?: string | undefined;
|
|
@@ -621,8 +621,8 @@ export declare class PeopleSearchTool extends ToolBubble<PeopleSearchToolParams,
|
|
|
621
621
|
excludeCompanies?: string[] | undefined;
|
|
622
622
|
excludeProfiles?: string[] | undefined;
|
|
623
623
|
}, {
|
|
624
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
625
624
|
limit?: number | undefined;
|
|
625
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
626
626
|
location?: string | undefined;
|
|
627
627
|
companyName?: string | undefined;
|
|
628
628
|
companyLinkedinUrl?: string | undefined;
|
|
@@ -819,8 +819,8 @@ export declare class PeopleSearchTool extends ToolBubble<PeopleSearchToolParams,
|
|
|
819
819
|
success: z.ZodBoolean;
|
|
820
820
|
error: z.ZodString;
|
|
821
821
|
}, "strip", z.ZodTypeAny, {
|
|
822
|
-
error: string;
|
|
823
822
|
success: boolean;
|
|
823
|
+
error: string;
|
|
824
824
|
people: {
|
|
825
825
|
title: string | null;
|
|
826
826
|
name: string | null;
|
|
@@ -865,8 +865,8 @@ export declare class PeopleSearchTool extends ToolBubble<PeopleSearchToolParams,
|
|
|
865
865
|
}[];
|
|
866
866
|
totalCount: number;
|
|
867
867
|
}, {
|
|
868
|
-
error: string;
|
|
869
868
|
success: boolean;
|
|
869
|
+
error: string;
|
|
870
870
|
people: {
|
|
871
871
|
title: string | null;
|
|
872
872
|
name: string | null;
|
|
@@ -19,8 +19,8 @@ declare const RedditPostSchema: z.ZodObject<{
|
|
|
19
19
|
flair: z.ZodOptional<z.ZodString>;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
21
|
title: string;
|
|
22
|
-
url: string;
|
|
23
22
|
author: string;
|
|
23
|
+
url: string;
|
|
24
24
|
score: number;
|
|
25
25
|
numComments: number;
|
|
26
26
|
createdUtc: number;
|
|
@@ -34,8 +34,8 @@ declare const RedditPostSchema: z.ZodObject<{
|
|
|
34
34
|
flair?: string | undefined;
|
|
35
35
|
}, {
|
|
36
36
|
title: string;
|
|
37
|
-
url: string;
|
|
38
37
|
author: string;
|
|
38
|
+
url: string;
|
|
39
39
|
score: number;
|
|
40
40
|
numComments: number;
|
|
41
41
|
createdUtc: number;
|
|
@@ -69,8 +69,8 @@ declare const RedditScrapeToolParamsSchema: z.ZodObject<{
|
|
|
69
69
|
}, {
|
|
70
70
|
subreddit: string;
|
|
71
71
|
sort?: "hot" | "new" | "top" | "rising" | undefined;
|
|
72
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
73
72
|
limit?: number | undefined;
|
|
73
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
74
74
|
timeFilter?: "all" | "hour" | "week" | "month" | "year" | "day" | undefined;
|
|
75
75
|
filterToday?: boolean | undefined;
|
|
76
76
|
includeStickied?: boolean | undefined;
|
|
@@ -94,8 +94,8 @@ declare const RedditScrapeToolResultSchema: z.ZodObject<{
|
|
|
94
94
|
flair: z.ZodOptional<z.ZodString>;
|
|
95
95
|
}, "strip", z.ZodTypeAny, {
|
|
96
96
|
title: string;
|
|
97
|
-
url: string;
|
|
98
97
|
author: string;
|
|
98
|
+
url: string;
|
|
99
99
|
score: number;
|
|
100
100
|
numComments: number;
|
|
101
101
|
createdUtc: number;
|
|
@@ -109,8 +109,8 @@ declare const RedditScrapeToolResultSchema: z.ZodObject<{
|
|
|
109
109
|
flair?: string | undefined;
|
|
110
110
|
}, {
|
|
111
111
|
title: string;
|
|
112
|
-
url: string;
|
|
113
112
|
author: string;
|
|
113
|
+
url: string;
|
|
114
114
|
score: number;
|
|
115
115
|
numComments: number;
|
|
116
116
|
createdUtc: number;
|
|
@@ -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
|
-
error: string;
|
|
158
157
|
success: boolean;
|
|
158
|
+
error: string;
|
|
159
159
|
metadata: {
|
|
160
160
|
sort: string;
|
|
161
161
|
scrapedAt: string;
|
|
@@ -168,8 +168,8 @@ declare const RedditScrapeToolResultSchema: z.ZodObject<{
|
|
|
168
168
|
};
|
|
169
169
|
posts: {
|
|
170
170
|
title: string;
|
|
171
|
-
url: string;
|
|
172
171
|
author: string;
|
|
172
|
+
url: string;
|
|
173
173
|
score: number;
|
|
174
174
|
numComments: number;
|
|
175
175
|
createdUtc: number;
|
|
@@ -183,8 +183,8 @@ declare const RedditScrapeToolResultSchema: z.ZodObject<{
|
|
|
183
183
|
flair?: string | undefined;
|
|
184
184
|
}[];
|
|
185
185
|
}, {
|
|
186
|
-
error: string;
|
|
187
186
|
success: boolean;
|
|
187
|
+
error: string;
|
|
188
188
|
metadata: {
|
|
189
189
|
sort: string;
|
|
190
190
|
scrapedAt: string;
|
|
@@ -197,8 +197,8 @@ declare const RedditScrapeToolResultSchema: z.ZodObject<{
|
|
|
197
197
|
};
|
|
198
198
|
posts: {
|
|
199
199
|
title: string;
|
|
200
|
-
url: string;
|
|
201
200
|
author: string;
|
|
201
|
+
url: string;
|
|
202
202
|
score: number;
|
|
203
203
|
numComments: number;
|
|
204
204
|
createdUtc: number;
|
|
@@ -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
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
243
242
|
limit?: number | undefined;
|
|
243
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
244
244
|
timeFilter?: "all" | "hour" | "week" | "month" | "year" | "day" | undefined;
|
|
245
245
|
filterToday?: boolean | undefined;
|
|
246
246
|
includeStickied?: boolean | undefined;
|
|
@@ -264,8 +264,8 @@ export declare class RedditScrapeTool extends ToolBubble<RedditScrapeToolParams,
|
|
|
264
264
|
flair: z.ZodOptional<z.ZodString>;
|
|
265
265
|
}, "strip", z.ZodTypeAny, {
|
|
266
266
|
title: string;
|
|
267
|
-
url: string;
|
|
268
267
|
author: string;
|
|
268
|
+
url: string;
|
|
269
269
|
score: number;
|
|
270
270
|
numComments: number;
|
|
271
271
|
createdUtc: number;
|
|
@@ -279,8 +279,8 @@ export declare class RedditScrapeTool extends ToolBubble<RedditScrapeToolParams,
|
|
|
279
279
|
flair?: string | undefined;
|
|
280
280
|
}, {
|
|
281
281
|
title: string;
|
|
282
|
-
url: string;
|
|
283
282
|
author: string;
|
|
283
|
+
url: string;
|
|
284
284
|
score: number;
|
|
285
285
|
numComments: number;
|
|
286
286
|
createdUtc: number;
|
|
@@ -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
|
-
error: string;
|
|
328
327
|
success: boolean;
|
|
328
|
+
error: string;
|
|
329
329
|
metadata: {
|
|
330
330
|
sort: string;
|
|
331
331
|
scrapedAt: string;
|
|
@@ -338,8 +338,8 @@ export declare class RedditScrapeTool extends ToolBubble<RedditScrapeToolParams,
|
|
|
338
338
|
};
|
|
339
339
|
posts: {
|
|
340
340
|
title: string;
|
|
341
|
-
url: string;
|
|
342
341
|
author: string;
|
|
342
|
+
url: string;
|
|
343
343
|
score: number;
|
|
344
344
|
numComments: number;
|
|
345
345
|
createdUtc: number;
|
|
@@ -353,8 +353,8 @@ export declare class RedditScrapeTool extends ToolBubble<RedditScrapeToolParams,
|
|
|
353
353
|
flair?: string | undefined;
|
|
354
354
|
}[];
|
|
355
355
|
}, {
|
|
356
|
-
error: string;
|
|
357
356
|
success: boolean;
|
|
357
|
+
error: string;
|
|
358
358
|
metadata: {
|
|
359
359
|
sort: string;
|
|
360
360
|
scrapedAt: string;
|
|
@@ -367,8 +367,8 @@ export declare class RedditScrapeTool extends ToolBubble<RedditScrapeToolParams,
|
|
|
367
367
|
};
|
|
368
368
|
posts: {
|
|
369
369
|
title: string;
|
|
370
|
-
url: string;
|
|
371
370
|
author: string;
|
|
371
|
+
url: string;
|
|
372
372
|
score: number;
|
|
373
373
|
numComments: number;
|
|
374
374
|
createdUtc: number;
|
|
@@ -32,16 +32,16 @@ declare const ResearchAgentToolResultSchema: z.ZodObject<{
|
|
|
32
32
|
success: z.ZodBoolean;
|
|
33
33
|
error: z.ZodString;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
error: string;
|
|
36
|
-
success: boolean;
|
|
37
35
|
summary: string;
|
|
36
|
+
success: boolean;
|
|
37
|
+
error: string;
|
|
38
38
|
sourcesUsed: string[];
|
|
39
39
|
iterationsUsed: number;
|
|
40
40
|
result?: any;
|
|
41
41
|
}, {
|
|
42
|
-
error: string;
|
|
43
|
-
success: boolean;
|
|
44
42
|
summary: string;
|
|
43
|
+
success: boolean;
|
|
44
|
+
error: string;
|
|
45
45
|
sourcesUsed: string[];
|
|
46
46
|
iterationsUsed: number;
|
|
47
47
|
result?: any;
|
|
@@ -81,16 +81,16 @@ export declare class ResearchAgentTool extends ToolBubble<ResearchAgentToolParam
|
|
|
81
81
|
success: z.ZodBoolean;
|
|
82
82
|
error: z.ZodString;
|
|
83
83
|
}, "strip", z.ZodTypeAny, {
|
|
84
|
-
error: string;
|
|
85
|
-
success: boolean;
|
|
86
84
|
summary: string;
|
|
85
|
+
success: boolean;
|
|
86
|
+
error: string;
|
|
87
87
|
sourcesUsed: string[];
|
|
88
88
|
iterationsUsed: number;
|
|
89
89
|
result?: any;
|
|
90
90
|
}, {
|
|
91
|
-
error: string;
|
|
92
|
-
success: boolean;
|
|
93
91
|
summary: string;
|
|
92
|
+
success: boolean;
|
|
93
|
+
error: string;
|
|
94
94
|
sourcesUsed: string[];
|
|
95
95
|
iterationsUsed: number;
|
|
96
96
|
result?: any;
|
|
@@ -8,13 +8,13 @@ declare const SQLQueryToolParamsSchema: z.ZodObject<{
|
|
|
8
8
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
9
9
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
reasoning: string;
|
|
12
11
|
query: string;
|
|
12
|
+
reasoning: string;
|
|
13
13
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
14
14
|
config?: Record<string, unknown> | undefined;
|
|
15
15
|
}, {
|
|
16
|
-
reasoning: string;
|
|
17
16
|
query: string;
|
|
17
|
+
reasoning: string;
|
|
18
18
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
19
19
|
config?: Record<string, unknown> | undefined;
|
|
20
20
|
}>;
|
|
@@ -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
|
-
executionTime: number;
|
|
42
|
-
error: string;
|
|
43
41
|
success: boolean;
|
|
42
|
+
error: string;
|
|
44
43
|
rowCount: number;
|
|
45
|
-
|
|
44
|
+
executionTime: number;
|
|
46
45
|
fields?: {
|
|
47
46
|
name: string;
|
|
48
47
|
dataTypeID?: number | undefined;
|
|
49
48
|
}[] | undefined;
|
|
49
|
+
rows?: Record<string, unknown>[] | undefined;
|
|
50
50
|
}, {
|
|
51
|
-
executionTime: number;
|
|
52
|
-
error: string;
|
|
53
51
|
success: boolean;
|
|
52
|
+
error: string;
|
|
54
53
|
rowCount: number;
|
|
55
|
-
|
|
54
|
+
executionTime: number;
|
|
56
55
|
fields?: {
|
|
57
56
|
name: string;
|
|
58
57
|
dataTypeID?: number | undefined;
|
|
59
58
|
}[] | undefined;
|
|
59
|
+
rows?: Record<string, unknown>[] | undefined;
|
|
60
60
|
}>;
|
|
61
61
|
/**
|
|
62
62
|
* SQLQueryTool - Execute SQL queries against PostgreSQL databases
|
|
@@ -74,13 +74,13 @@ export declare class SQLQueryTool extends ToolBubble<SQLQueryToolParams, SQLQuer
|
|
|
74
74
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
75
75
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
76
76
|
}, "strip", z.ZodTypeAny, {
|
|
77
|
-
reasoning: string;
|
|
78
77
|
query: string;
|
|
78
|
+
reasoning: string;
|
|
79
79
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
80
80
|
config?: Record<string, unknown> | undefined;
|
|
81
81
|
}, {
|
|
82
|
-
reasoning: string;
|
|
83
82
|
query: string;
|
|
83
|
+
reasoning: string;
|
|
84
84
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
85
85
|
config?: Record<string, unknown> | undefined;
|
|
86
86
|
}>;
|
|
@@ -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
|
-
executionTime: number;
|
|
105
|
-
error: string;
|
|
106
104
|
success: boolean;
|
|
105
|
+
error: string;
|
|
107
106
|
rowCount: number;
|
|
108
|
-
|
|
107
|
+
executionTime: number;
|
|
109
108
|
fields?: {
|
|
110
109
|
name: string;
|
|
111
110
|
dataTypeID?: number | undefined;
|
|
112
111
|
}[] | undefined;
|
|
112
|
+
rows?: Record<string, unknown>[] | undefined;
|
|
113
113
|
}, {
|
|
114
|
-
executionTime: number;
|
|
115
|
-
error: string;
|
|
116
114
|
success: boolean;
|
|
115
|
+
error: string;
|
|
117
116
|
rowCount: number;
|
|
118
|
-
|
|
117
|
+
executionTime: number;
|
|
119
118
|
fields?: {
|
|
120
119
|
name: string;
|
|
121
120
|
dataTypeID?: number | undefined;
|
|
122
121
|
}[] | 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 ";
|