@bubblelab/bubble-core 0.1.77 → 0.1.79
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 +65 -64
- package/dist/bubbles/service-bubble/ai-agent.d.ts +56 -56
- package/dist/bubbles/service-bubble/airtable.d.ts +92 -92
- package/dist/bubbles/service-bubble/apify/apify.d.ts +18 -18
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +42 -42
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +2 -2
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +78 -78
- package/dist/bubbles/service-bubble/firecrawl.d.ts +318 -318
- package/dist/bubbles/service-bubble/followupboss.d.ts +4 -4
- package/dist/bubbles/service-bubble/github.d.ts +40 -40
- package/dist/bubbles/service-bubble/gmail.d.ts +208 -208
- package/dist/bubbles/service-bubble/google-drive.d.ts +32 -32
- package/dist/bubbles/service-bubble/http.d.ts +8 -8
- package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
- package/dist/bubbles/service-bubble/jira/jira.d.ts +8 -8
- package/dist/bubbles/service-bubble/notion/notion.d.ts +453 -453
- package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
- package/dist/bubbles/service-bubble/resend.d.ts +4 -4
- package/dist/bubbles/service-bubble/slack/slack.d.ts +398 -398
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +13 -13
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +286 -286
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +60 -60
- package/dist/bubbles/tool-bubble/tool-template.d.ts +8 -8
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +106 -106
- 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 +8 -8
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +10 -10
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +30 -30
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +18 -18
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +26 -26
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +20 -20
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +128 -128
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts.map +1 -1
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.js +1 -11
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.js.map +1 -1
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +10 -10
- package/dist/bubbles.json +29 -9
- package/package.json +2 -2
|
@@ -154,6 +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
|
+
success: boolean;
|
|
157
159
|
metadata: {
|
|
158
160
|
sort: string;
|
|
159
161
|
scrapedAt: string;
|
|
@@ -164,8 +166,6 @@ declare const RedditScrapeToolResultSchema: z.ZodObject<{
|
|
|
164
166
|
apiEndpoint: string;
|
|
165
167
|
timeFilter?: string | undefined;
|
|
166
168
|
};
|
|
167
|
-
error: string;
|
|
168
|
-
success: boolean;
|
|
169
169
|
posts: {
|
|
170
170
|
title: string;
|
|
171
171
|
url: string;
|
|
@@ -183,6 +183,8 @@ declare const RedditScrapeToolResultSchema: z.ZodObject<{
|
|
|
183
183
|
flair?: string | undefined;
|
|
184
184
|
}[];
|
|
185
185
|
}, {
|
|
186
|
+
error: string;
|
|
187
|
+
success: boolean;
|
|
186
188
|
metadata: {
|
|
187
189
|
sort: string;
|
|
188
190
|
scrapedAt: string;
|
|
@@ -193,8 +195,6 @@ declare const RedditScrapeToolResultSchema: z.ZodObject<{
|
|
|
193
195
|
apiEndpoint: string;
|
|
194
196
|
timeFilter?: string | undefined;
|
|
195
197
|
};
|
|
196
|
-
error: string;
|
|
197
|
-
success: boolean;
|
|
198
198
|
posts: {
|
|
199
199
|
title: string;
|
|
200
200
|
url: string;
|
|
@@ -324,6 +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
|
+
success: boolean;
|
|
327
329
|
metadata: {
|
|
328
330
|
sort: string;
|
|
329
331
|
scrapedAt: string;
|
|
@@ -334,8 +336,6 @@ export declare class RedditScrapeTool extends ToolBubble<RedditScrapeToolParams,
|
|
|
334
336
|
apiEndpoint: string;
|
|
335
337
|
timeFilter?: string | undefined;
|
|
336
338
|
};
|
|
337
|
-
error: string;
|
|
338
|
-
success: boolean;
|
|
339
339
|
posts: {
|
|
340
340
|
title: string;
|
|
341
341
|
url: string;
|
|
@@ -353,6 +353,8 @@ export declare class RedditScrapeTool extends ToolBubble<RedditScrapeToolParams,
|
|
|
353
353
|
flair?: string | undefined;
|
|
354
354
|
}[];
|
|
355
355
|
}, {
|
|
356
|
+
error: string;
|
|
357
|
+
success: boolean;
|
|
356
358
|
metadata: {
|
|
357
359
|
sort: string;
|
|
358
360
|
scrapedAt: string;
|
|
@@ -363,8 +365,6 @@ export declare class RedditScrapeTool extends ToolBubble<RedditScrapeToolParams,
|
|
|
363
365
|
apiEndpoint: string;
|
|
364
366
|
timeFilter?: string | undefined;
|
|
365
367
|
};
|
|
366
|
-
error: string;
|
|
367
|
-
success: boolean;
|
|
368
368
|
posts: {
|
|
369
369
|
title: string;
|
|
370
370
|
url: string;
|
|
@@ -5,23 +5,23 @@ import { CredentialType, type BubbleName } from '@bubblelab/shared-schemas';
|
|
|
5
5
|
declare const ResearchAgentToolParamsSchema: z.ZodObject<{
|
|
6
6
|
task: z.ZodString;
|
|
7
7
|
expectedResultSchema: z.ZodUnion<[z.ZodType<z.ZodTypeAny, z.ZodTypeDef, z.ZodTypeAny>, z.ZodString]>;
|
|
8
|
-
model: z.ZodDefault<z.ZodEnum<["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/openai/gpt-oss-120b", "openrouter/openai/o3-deep-research", "openrouter/openai/o4-mini-deep-research"]>>;
|
|
8
|
+
model: z.ZodDefault<z.ZodEnum<["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"]>>;
|
|
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>>;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
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/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
13
|
+
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";
|
|
14
14
|
maxIterations: number;
|
|
15
15
|
task: string;
|
|
16
16
|
expectedResultSchema: string | z.ZodTypeAny;
|
|
17
|
-
maxTokens?: number | undefined;
|
|
18
17
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
18
|
+
maxTokens?: number | undefined;
|
|
19
19
|
}, {
|
|
20
20
|
task: string;
|
|
21
21
|
expectedResultSchema: string | z.ZodTypeAny;
|
|
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/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined;
|
|
23
|
-
maxTokens?: number | undefined;
|
|
24
22
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
23
|
+
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;
|
|
24
|
+
maxTokens?: number | undefined;
|
|
25
25
|
maxIterations?: number | undefined;
|
|
26
26
|
}>;
|
|
27
27
|
declare const ResearchAgentToolResultSchema: z.ZodObject<{
|
|
@@ -54,23 +54,23 @@ export declare class ResearchAgentTool extends ToolBubble<ResearchAgentToolParam
|
|
|
54
54
|
static readonly schema: z.ZodObject<{
|
|
55
55
|
task: z.ZodString;
|
|
56
56
|
expectedResultSchema: z.ZodUnion<[z.ZodType<z.ZodTypeAny, z.ZodTypeDef, z.ZodTypeAny>, z.ZodString]>;
|
|
57
|
-
model: z.ZodDefault<z.ZodEnum<["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/openai/gpt-oss-120b", "openrouter/openai/o3-deep-research", "openrouter/openai/o4-mini-deep-research"]>>;
|
|
57
|
+
model: z.ZodDefault<z.ZodEnum<["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"]>>;
|
|
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>>;
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
|
-
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/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research";
|
|
62
|
+
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";
|
|
63
63
|
maxIterations: number;
|
|
64
64
|
task: string;
|
|
65
65
|
expectedResultSchema: string | z.ZodTypeAny;
|
|
66
|
-
maxTokens?: number | undefined;
|
|
67
66
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
67
|
+
maxTokens?: number | undefined;
|
|
68
68
|
}, {
|
|
69
69
|
task: string;
|
|
70
70
|
expectedResultSchema: string | z.ZodTypeAny;
|
|
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/openai/gpt-oss-120b" | "openrouter/openai/o3-deep-research" | "openrouter/openai/o4-mini-deep-research" | undefined;
|
|
72
|
-
maxTokens?: number | undefined;
|
|
73
71
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
72
|
+
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;
|
|
73
|
+
maxTokens?: number | undefined;
|
|
74
74
|
maxIterations?: number | undefined;
|
|
75
75
|
}>;
|
|
76
76
|
static readonly resultSchema: z.ZodObject<{
|
|
@@ -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;
|
|
41
42
|
error: string;
|
|
42
43
|
success: boolean;
|
|
43
44
|
rowCount: number;
|
|
44
|
-
|
|
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
|
+
executionTime: number;
|
|
51
52
|
error: string;
|
|
52
53
|
success: boolean;
|
|
53
54
|
rowCount: number;
|
|
54
|
-
|
|
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
|
+
executionTime: number;
|
|
104
105
|
error: string;
|
|
105
106
|
success: boolean;
|
|
106
107
|
rowCount: number;
|
|
107
|
-
|
|
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
|
+
executionTime: number;
|
|
114
115
|
error: string;
|
|
115
116
|
success: boolean;
|
|
116
117
|
rowCount: number;
|
|
117
|
-
|
|
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 ";
|
|
@@ -98,8 +98,15 @@ declare const TikTokToolResultSchema: z.ZodObject<{
|
|
|
98
98
|
name: string | null;
|
|
99
99
|
}>, "many">>;
|
|
100
100
|
}, "strip", z.ZodTypeAny, {
|
|
101
|
-
|
|
101
|
+
stats: {
|
|
102
|
+
collectCount: number | null;
|
|
103
|
+
commentCount: number | null;
|
|
104
|
+
diggCount: number | null;
|
|
105
|
+
playCount: number | null;
|
|
106
|
+
shareCount: number | null;
|
|
107
|
+
} | null;
|
|
102
108
|
id: string | null;
|
|
109
|
+
text: string | null;
|
|
103
110
|
hashtags: {
|
|
104
111
|
name: string | null;
|
|
105
112
|
}[] | null;
|
|
@@ -116,6 +123,11 @@ declare const TikTokToolResultSchema: z.ZodObject<{
|
|
|
116
123
|
videoCount: number | null;
|
|
117
124
|
heartCount: number | null;
|
|
118
125
|
} | null;
|
|
126
|
+
createTime: number | null;
|
|
127
|
+
createTimeISO: string | null;
|
|
128
|
+
webVideoUrl: string | null;
|
|
129
|
+
covers: string[] | null;
|
|
130
|
+
}, {
|
|
119
131
|
stats: {
|
|
120
132
|
collectCount: number | null;
|
|
121
133
|
commentCount: number | null;
|
|
@@ -123,13 +135,8 @@ declare const TikTokToolResultSchema: z.ZodObject<{
|
|
|
123
135
|
playCount: number | null;
|
|
124
136
|
shareCount: number | null;
|
|
125
137
|
} | null;
|
|
126
|
-
createTime: number | null;
|
|
127
|
-
createTimeISO: string | null;
|
|
128
|
-
webVideoUrl: string | null;
|
|
129
|
-
covers: string[] | null;
|
|
130
|
-
}, {
|
|
131
|
-
text: string | null;
|
|
132
138
|
id: string | null;
|
|
139
|
+
text: string | null;
|
|
133
140
|
hashtags: {
|
|
134
141
|
name: string | null;
|
|
135
142
|
}[] | null;
|
|
@@ -146,13 +153,6 @@ declare const TikTokToolResultSchema: z.ZodObject<{
|
|
|
146
153
|
videoCount: number | null;
|
|
147
154
|
heartCount: number | null;
|
|
148
155
|
} | null;
|
|
149
|
-
stats: {
|
|
150
|
-
collectCount: number | null;
|
|
151
|
-
commentCount: number | null;
|
|
152
|
-
diggCount: number | null;
|
|
153
|
-
playCount: number | null;
|
|
154
|
-
shareCount: number | null;
|
|
155
|
-
} | null;
|
|
156
156
|
createTime: number | null;
|
|
157
157
|
createTimeISO: string | null;
|
|
158
158
|
webVideoUrl: string | null;
|
|
@@ -166,8 +166,15 @@ declare const TikTokToolResultSchema: z.ZodObject<{
|
|
|
166
166
|
success: boolean;
|
|
167
167
|
operation: "scrapeProfile" | "scrapeHashtag" | "scrapeVideo";
|
|
168
168
|
videos: {
|
|
169
|
-
|
|
169
|
+
stats: {
|
|
170
|
+
collectCount: number | null;
|
|
171
|
+
commentCount: number | null;
|
|
172
|
+
diggCount: number | null;
|
|
173
|
+
playCount: number | null;
|
|
174
|
+
shareCount: number | null;
|
|
175
|
+
} | null;
|
|
170
176
|
id: string | null;
|
|
177
|
+
text: string | null;
|
|
171
178
|
hashtags: {
|
|
172
179
|
name: string | null;
|
|
173
180
|
}[] | null;
|
|
@@ -184,13 +191,6 @@ declare const TikTokToolResultSchema: z.ZodObject<{
|
|
|
184
191
|
videoCount: number | null;
|
|
185
192
|
heartCount: number | null;
|
|
186
193
|
} | null;
|
|
187
|
-
stats: {
|
|
188
|
-
collectCount: number | null;
|
|
189
|
-
commentCount: number | null;
|
|
190
|
-
diggCount: number | null;
|
|
191
|
-
playCount: number | null;
|
|
192
|
-
shareCount: number | null;
|
|
193
|
-
} | null;
|
|
194
194
|
createTime: number | null;
|
|
195
195
|
createTimeISO: string | null;
|
|
196
196
|
webVideoUrl: string | null;
|
|
@@ -202,8 +202,15 @@ declare const TikTokToolResultSchema: z.ZodObject<{
|
|
|
202
202
|
success: boolean;
|
|
203
203
|
operation: "scrapeProfile" | "scrapeHashtag" | "scrapeVideo";
|
|
204
204
|
videos: {
|
|
205
|
-
|
|
205
|
+
stats: {
|
|
206
|
+
collectCount: number | null;
|
|
207
|
+
commentCount: number | null;
|
|
208
|
+
diggCount: number | null;
|
|
209
|
+
playCount: number | null;
|
|
210
|
+
shareCount: number | null;
|
|
211
|
+
} | null;
|
|
206
212
|
id: string | null;
|
|
213
|
+
text: string | null;
|
|
207
214
|
hashtags: {
|
|
208
215
|
name: string | null;
|
|
209
216
|
}[] | null;
|
|
@@ -220,13 +227,6 @@ declare const TikTokToolResultSchema: z.ZodObject<{
|
|
|
220
227
|
videoCount: number | null;
|
|
221
228
|
heartCount: number | null;
|
|
222
229
|
} | null;
|
|
223
|
-
stats: {
|
|
224
|
-
collectCount: number | null;
|
|
225
|
-
commentCount: number | null;
|
|
226
|
-
diggCount: number | null;
|
|
227
|
-
playCount: number | null;
|
|
228
|
-
shareCount: number | null;
|
|
229
|
-
} | null;
|
|
230
230
|
createTime: number | null;
|
|
231
231
|
createTimeISO: string | null;
|
|
232
232
|
webVideoUrl: string | null;
|
|
@@ -335,8 +335,15 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
|
|
|
335
335
|
name: string | null;
|
|
336
336
|
}>, "many">>;
|
|
337
337
|
}, "strip", z.ZodTypeAny, {
|
|
338
|
-
|
|
338
|
+
stats: {
|
|
339
|
+
collectCount: number | null;
|
|
340
|
+
commentCount: number | null;
|
|
341
|
+
diggCount: number | null;
|
|
342
|
+
playCount: number | null;
|
|
343
|
+
shareCount: number | null;
|
|
344
|
+
} | null;
|
|
339
345
|
id: string | null;
|
|
346
|
+
text: string | null;
|
|
340
347
|
hashtags: {
|
|
341
348
|
name: string | null;
|
|
342
349
|
}[] | null;
|
|
@@ -353,6 +360,11 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
|
|
|
353
360
|
videoCount: number | null;
|
|
354
361
|
heartCount: number | null;
|
|
355
362
|
} | null;
|
|
363
|
+
createTime: number | null;
|
|
364
|
+
createTimeISO: string | null;
|
|
365
|
+
webVideoUrl: string | null;
|
|
366
|
+
covers: string[] | null;
|
|
367
|
+
}, {
|
|
356
368
|
stats: {
|
|
357
369
|
collectCount: number | null;
|
|
358
370
|
commentCount: number | null;
|
|
@@ -360,13 +372,8 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
|
|
|
360
372
|
playCount: number | null;
|
|
361
373
|
shareCount: number | null;
|
|
362
374
|
} | null;
|
|
363
|
-
createTime: number | null;
|
|
364
|
-
createTimeISO: string | null;
|
|
365
|
-
webVideoUrl: string | null;
|
|
366
|
-
covers: string[] | null;
|
|
367
|
-
}, {
|
|
368
|
-
text: string | null;
|
|
369
375
|
id: string | null;
|
|
376
|
+
text: string | null;
|
|
370
377
|
hashtags: {
|
|
371
378
|
name: string | null;
|
|
372
379
|
}[] | null;
|
|
@@ -383,13 +390,6 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
|
|
|
383
390
|
videoCount: number | null;
|
|
384
391
|
heartCount: number | null;
|
|
385
392
|
} | null;
|
|
386
|
-
stats: {
|
|
387
|
-
collectCount: number | null;
|
|
388
|
-
commentCount: number | null;
|
|
389
|
-
diggCount: number | null;
|
|
390
|
-
playCount: number | null;
|
|
391
|
-
shareCount: number | null;
|
|
392
|
-
} | null;
|
|
393
393
|
createTime: number | null;
|
|
394
394
|
createTimeISO: string | null;
|
|
395
395
|
webVideoUrl: string | null;
|
|
@@ -403,8 +403,15 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
|
|
|
403
403
|
success: boolean;
|
|
404
404
|
operation: "scrapeProfile" | "scrapeHashtag" | "scrapeVideo";
|
|
405
405
|
videos: {
|
|
406
|
-
|
|
406
|
+
stats: {
|
|
407
|
+
collectCount: number | null;
|
|
408
|
+
commentCount: number | null;
|
|
409
|
+
diggCount: number | null;
|
|
410
|
+
playCount: number | null;
|
|
411
|
+
shareCount: number | null;
|
|
412
|
+
} | null;
|
|
407
413
|
id: string | null;
|
|
414
|
+
text: string | null;
|
|
408
415
|
hashtags: {
|
|
409
416
|
name: string | null;
|
|
410
417
|
}[] | null;
|
|
@@ -421,13 +428,6 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
|
|
|
421
428
|
videoCount: number | null;
|
|
422
429
|
heartCount: number | null;
|
|
423
430
|
} | null;
|
|
424
|
-
stats: {
|
|
425
|
-
collectCount: number | null;
|
|
426
|
-
commentCount: number | null;
|
|
427
|
-
diggCount: number | null;
|
|
428
|
-
playCount: number | null;
|
|
429
|
-
shareCount: number | null;
|
|
430
|
-
} | null;
|
|
431
431
|
createTime: number | null;
|
|
432
432
|
createTimeISO: string | null;
|
|
433
433
|
webVideoUrl: string | null;
|
|
@@ -439,8 +439,15 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
|
|
|
439
439
|
success: boolean;
|
|
440
440
|
operation: "scrapeProfile" | "scrapeHashtag" | "scrapeVideo";
|
|
441
441
|
videos: {
|
|
442
|
-
|
|
442
|
+
stats: {
|
|
443
|
+
collectCount: number | null;
|
|
444
|
+
commentCount: number | null;
|
|
445
|
+
diggCount: number | null;
|
|
446
|
+
playCount: number | null;
|
|
447
|
+
shareCount: number | null;
|
|
448
|
+
} | null;
|
|
443
449
|
id: string | null;
|
|
450
|
+
text: string | null;
|
|
444
451
|
hashtags: {
|
|
445
452
|
name: string | null;
|
|
446
453
|
}[] | null;
|
|
@@ -457,13 +464,6 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
|
|
|
457
464
|
videoCount: number | null;
|
|
458
465
|
heartCount: number | null;
|
|
459
466
|
} | null;
|
|
460
|
-
stats: {
|
|
461
|
-
collectCount: number | null;
|
|
462
|
-
commentCount: number | null;
|
|
463
|
-
diggCount: number | null;
|
|
464
|
-
playCount: number | null;
|
|
465
|
-
shareCount: number | null;
|
|
466
|
-
} | null;
|
|
467
467
|
createTime: number | null;
|
|
468
468
|
createTimeISO: string | null;
|
|
469
469
|
webVideoUrl: string | null;
|
|
@@ -99,20 +99,20 @@ declare const MyCustomToolResultSchema: z.ZodObject<{
|
|
|
99
99
|
success: z.ZodBoolean;
|
|
100
100
|
error: z.ZodString;
|
|
101
101
|
}, "strip", z.ZodTypeAny, {
|
|
102
|
+
error: string;
|
|
103
|
+
success: boolean;
|
|
102
104
|
metadata: {
|
|
103
105
|
processedAt: string;
|
|
104
106
|
itemsProcessed: number;
|
|
105
107
|
};
|
|
106
|
-
error: string;
|
|
107
|
-
success: boolean;
|
|
108
108
|
processedData: string;
|
|
109
109
|
}, {
|
|
110
|
+
error: string;
|
|
111
|
+
success: boolean;
|
|
110
112
|
metadata: {
|
|
111
113
|
processedAt: string;
|
|
112
114
|
itemsProcessed: number;
|
|
113
115
|
};
|
|
114
|
-
error: string;
|
|
115
|
-
success: boolean;
|
|
116
116
|
processedData: string;
|
|
117
117
|
}>;
|
|
118
118
|
/**
|
|
@@ -172,20 +172,20 @@ export declare class MyCustomTool extends ToolBubble<MyCustomToolParams, MyCusto
|
|
|
172
172
|
success: z.ZodBoolean;
|
|
173
173
|
error: z.ZodString;
|
|
174
174
|
}, "strip", z.ZodTypeAny, {
|
|
175
|
+
error: string;
|
|
176
|
+
success: boolean;
|
|
175
177
|
metadata: {
|
|
176
178
|
processedAt: string;
|
|
177
179
|
itemsProcessed: number;
|
|
178
180
|
};
|
|
179
|
-
error: string;
|
|
180
|
-
success: boolean;
|
|
181
181
|
processedData: string;
|
|
182
182
|
}, {
|
|
183
|
+
error: string;
|
|
184
|
+
success: boolean;
|
|
183
185
|
metadata: {
|
|
184
186
|
processedAt: string;
|
|
185
187
|
itemsProcessed: number;
|
|
186
188
|
};
|
|
187
|
-
error: string;
|
|
188
|
-
success: boolean;
|
|
189
189
|
processedData: string;
|
|
190
190
|
}>;
|
|
191
191
|
static readonly shortDescription = "Brief description of what your tool does";
|