@bubblelab/bubble-core 0.1.35 → 0.1.37
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 +193 -115
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +8 -0
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.d.ts +54 -54
- package/dist/bubbles/service-bubble/ai-agent.d.ts +36 -36
- package/dist/bubbles/service-bubble/airtable.d.ts +118 -118
- package/dist/bubbles/service-bubble/apify/apify.d.ts +28 -28
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +1363 -0
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/ashby/ashby.js +399 -0
- package/dist/bubbles/service-bubble/ashby/ashby.js.map +1 -0
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +1789 -0
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/ashby/ashby.schema.js +445 -0
- package/dist/bubbles/service-bubble/ashby/ashby.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/ashby/index.d.ts +3 -0
- package/dist/bubbles/service-bubble/ashby/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/ashby/index.js +3 -0
- package/dist/bubbles/service-bubble/ashby/index.js.map +1 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +29 -29
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +51 -51
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +1463 -69
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/crustdata/crustdata.js +139 -0
- package/dist/bubbles/service-bubble/crustdata/crustdata.js.map +1 -1
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +4211 -1857
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.js +198 -0
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/crustdata/index.d.ts +1 -1
- package/dist/bubbles/service-bubble/crustdata/index.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/crustdata/index.js +3 -1
- package/dist/bubbles/service-bubble/crustdata/index.js.map +1 -1
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +24 -24
- package/dist/bubbles/service-bubble/firecrawl.d.ts +444 -444
- package/dist/bubbles/service-bubble/followupboss.d.ts +328 -328
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +1269 -0
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.js +299 -0
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.js.map +1 -0
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +2089 -0
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.js +390 -0
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/fullenrich/index.d.ts +4 -0
- package/dist/bubbles/service-bubble/fullenrich/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/fullenrich/index.js +3 -0
- package/dist/bubbles/service-bubble/fullenrich/index.js.map +1 -0
- package/dist/bubbles/service-bubble/github.d.ts +64 -64
- package/dist/bubbles/service-bubble/gmail.d.ts +172 -172
- package/dist/bubbles/service-bubble/google-calendar.d.ts +36 -36
- package/dist/bubbles/service-bubble/google-drive.d.ts +48 -48
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +48 -48
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +54 -54
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +8 -8
- package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
- package/dist/bubbles/service-bubble/jira/jira.d.ts +5779 -2125
- 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 +7994 -3125
- 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 +116 -116
- package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
- package/dist/bubbles/service-bubble/resend.d.ts +8 -8
- package/dist/bubbles/service-bubble/slack/slack.d.ts +274 -274
- package/dist/bubbles/service-bubble/storage.d.ts +40 -40
- package/dist/bubbles/service-bubble/telegram.d.ts +516 -516
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +21 -21
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +35 -35
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +8 -8
- 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 +152 -152
- 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 +12 -12
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +396 -396
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +426 -220
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/people-search-tool.js +201 -2
- package/dist/bubbles/tool-bubble/people-search-tool.js.map +1 -1
- 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/research-agent-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/research-agent-tool.js +3 -4
- package/dist/bubbles/tool-bubble/research-agent-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +64 -64
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +100 -100
- 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 +16 -16
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +14 -14
- 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 +36 -36
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +4 -4
- 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 +4519 -1475
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -120,8 +120,9 @@ export class ResearchAgentTool extends ToolBubble {
|
|
|
120
120
|
console.log('[ResearchAgentTool] Max iterations:', maxIterations);
|
|
121
121
|
// Create the AI agent with web search and scraping tools
|
|
122
122
|
const researchSubAgent = new AIAgentBubble({
|
|
123
|
-
message: this.buildResearchPrompt(task
|
|
123
|
+
message: this.buildResearchPrompt(task),
|
|
124
124
|
systemPrompt: this.buildSystemPrompt(),
|
|
125
|
+
expectedOutputSchema: this.params.expectedResultSchema,
|
|
125
126
|
model: {
|
|
126
127
|
model: this.params.model,
|
|
127
128
|
temperature: 1,
|
|
@@ -215,12 +216,10 @@ export class ResearchAgentTool extends ToolBubble {
|
|
|
215
216
|
/**
|
|
216
217
|
* Build the main research prompt for the AI agent
|
|
217
218
|
*/
|
|
218
|
-
buildResearchPrompt(task
|
|
219
|
+
buildResearchPrompt(task) {
|
|
219
220
|
return `
|
|
220
221
|
Research Task: ${task}
|
|
221
222
|
|
|
222
|
-
Required Output Format (JSON Schema): ${expectedResultSchema}
|
|
223
|
-
|
|
224
223
|
Instructions:
|
|
225
224
|
1. Use web-search-tool to find relevant sources
|
|
226
225
|
2. Analyze the sources and choose the right tool:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"research-agent-tool.js","sourceRoot":"","sources":["../../../src/bubbles/tool-bubble/research-agent-tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAmB,MAAM,KAAK,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAmB,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,kBAAkB,EAAE,MAAM,2B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,CAAC,IAAI,CAAC,MAAM,EAAE,WAAW,EAAE,CAAC,cAAc,CAAC,iBAAiB,CAAC,EAAE,CAAC;YAClE,OAAO;gBACL,MAAM,EAAE,EAAE;gBACV,OAAO,EAAE,gDAAgD;gBACzD,WAAW,EAAE,EAAE;gBACf,cAAc,EAAE,CAAC;gBACjB,OAAO,EAAE,KAAK;gBACd,KAAK,EAAE,+BAA+B;aACvC,CAAC;QACJ,CAAC;QACD,KAAK,OAAO,CAAC,CAAC,2CAA2C;QACzD,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC;QAE5C,MAAM,gBAAgB,GAAG,IAAI,CAAC,uBAAuB,EAAE,CAAC;QAExD,IAAI,CAAC;YACH,OAAO,CAAC,GAAG,CACT,6CAA6C,EAC7C,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,GAAG,CAAC,GAAG,KAAK,CAC/B,CAAC;YACF,OAAO,CAAC,GAAG,CACT,oDAAoD,EACpD,gBAAgB,CAAC,SAAS,CAAC,CAAC,EAAE,GAAG,CAAC,GAAG,KAAK,CAC3C,CAAC;YACF,OAAO,CAAC,GAAG,CAAC,qCAAqC,EAAE,aAAa,CAAC,CAAC;YAElE,yDAAyD;YACzD,MAAM,gBAAgB,GAAG,IAAI,aAAa,CACxC;gBACE,OAAO,EAAE,IAAI,CAAC,mBAAmB,CAAC,IAAI,
|
|
1
|
+
{"version":3,"file":"research-agent-tool.js","sourceRoot":"","sources":["../../../src/bubbles/tool-bubble/research-agent-tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAmB,MAAM,KAAK,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAmB,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D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OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;4BACzB,CAAC;wBACH,CAAC;oBACH,CAAC;gBACH,CAAC;YACH,CAAC;QACH,CAAC;QAED,+BAA+B;QAC/B,OAAO,CAAC,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;IAC/B,CAAC;IAED;;OAEG;IACK,uBAAuB,CAC7B,IAAY,EACZ,cAAsB,EACtB,YAAoB;QAEpB,MAAM,WAAW,GAAG,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC;QAE5E,OAAO,0BAA0B,WAAW,WAAW,cAAc,2BAA2B,YAAY,6FAA6F,CAAC;IAC5M,CAAC"}
|
|
@@ -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
|
|
@@ -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 ";
|
|
@@ -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
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
16
15
|
limit?: number | undefined;
|
|
17
|
-
|
|
16
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
18
17
|
profiles?: string[] | undefined;
|
|
18
|
+
hashtags?: string[] | undefined;
|
|
19
19
|
shouldDownloadVideos?: boolean | undefined;
|
|
20
20
|
videoUrls?: string[] | undefined;
|
|
21
21
|
}, {
|
|
22
22
|
operation: "scrapeProfile" | "scrapeHashtag" | "scrapeVideo";
|
|
23
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
24
23
|
limit?: number | undefined;
|
|
25
|
-
|
|
24
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
26
25
|
profiles?: string[] | undefined;
|
|
26
|
+
hashtags?: string[] | undefined;
|
|
27
27
|
shouldDownloadVideos?: boolean | undefined;
|
|
28
28
|
videoUrls?: string[] | undefined;
|
|
29
29
|
}>;
|
|
@@ -98,13 +98,6 @@ declare const TikTokToolResultSchema: z.ZodObject<{
|
|
|
98
98
|
name: string | null;
|
|
99
99
|
}>, "many">>;
|
|
100
100
|
}, "strip", z.ZodTypeAny, {
|
|
101
|
-
stats: {
|
|
102
|
-
collectCount: number | null;
|
|
103
|
-
commentCount: number | null;
|
|
104
|
-
diggCount: number | null;
|
|
105
|
-
playCount: number | null;
|
|
106
|
-
shareCount: number | null;
|
|
107
|
-
} | null;
|
|
108
101
|
id: string | null;
|
|
109
102
|
text: string | null;
|
|
110
103
|
hashtags: {
|
|
@@ -123,11 +116,6 @@ declare const TikTokToolResultSchema: z.ZodObject<{
|
|
|
123
116
|
videoCount: number | null;
|
|
124
117
|
heartCount: number | null;
|
|
125
118
|
} | null;
|
|
126
|
-
createTime: number | null;
|
|
127
|
-
createTimeISO: string | null;
|
|
128
|
-
webVideoUrl: string | null;
|
|
129
|
-
covers: string[] | null;
|
|
130
|
-
}, {
|
|
131
119
|
stats: {
|
|
132
120
|
collectCount: number | null;
|
|
133
121
|
commentCount: number | null;
|
|
@@ -135,6 +123,11 @@ declare const TikTokToolResultSchema: z.ZodObject<{
|
|
|
135
123
|
playCount: number | null;
|
|
136
124
|
shareCount: number | null;
|
|
137
125
|
} | null;
|
|
126
|
+
createTime: number | null;
|
|
127
|
+
createTimeISO: string | null;
|
|
128
|
+
webVideoUrl: string | null;
|
|
129
|
+
covers: string[] | null;
|
|
130
|
+
}, {
|
|
138
131
|
id: string | null;
|
|
139
132
|
text: string | null;
|
|
140
133
|
hashtags: {
|
|
@@ -153,6 +146,13 @@ declare const TikTokToolResultSchema: z.ZodObject<{
|
|
|
153
146
|
videoCount: number | null;
|
|
154
147
|
heartCount: number | null;
|
|
155
148
|
} | 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;
|
|
@@ -162,17 +162,10 @@ declare const TikTokToolResultSchema: z.ZodObject<{
|
|
|
162
162
|
success: z.ZodBoolean;
|
|
163
163
|
error: z.ZodString;
|
|
164
164
|
}, "strip", z.ZodTypeAny, {
|
|
165
|
-
error: string;
|
|
166
165
|
success: boolean;
|
|
166
|
+
error: string;
|
|
167
167
|
operation: "scrapeProfile" | "scrapeHashtag" | "scrapeVideo";
|
|
168
168
|
videos: {
|
|
169
|
-
stats: {
|
|
170
|
-
collectCount: number | null;
|
|
171
|
-
commentCount: number | null;
|
|
172
|
-
diggCount: number | null;
|
|
173
|
-
playCount: number | null;
|
|
174
|
-
shareCount: number | null;
|
|
175
|
-
} | null;
|
|
176
169
|
id: string | null;
|
|
177
170
|
text: string | null;
|
|
178
171
|
hashtags: {
|
|
@@ -191,6 +184,13 @@ declare const TikTokToolResultSchema: z.ZodObject<{
|
|
|
191
184
|
videoCount: number | null;
|
|
192
185
|
heartCount: number | null;
|
|
193
186
|
} | 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;
|
|
@@ -198,17 +198,10 @@ declare const TikTokToolResultSchema: z.ZodObject<{
|
|
|
198
198
|
}[];
|
|
199
199
|
totalVideos: number;
|
|
200
200
|
}, {
|
|
201
|
-
error: string;
|
|
202
201
|
success: boolean;
|
|
202
|
+
error: string;
|
|
203
203
|
operation: "scrapeProfile" | "scrapeHashtag" | "scrapeVideo";
|
|
204
204
|
videos: {
|
|
205
|
-
stats: {
|
|
206
|
-
collectCount: number | null;
|
|
207
|
-
commentCount: number | null;
|
|
208
|
-
diggCount: number | null;
|
|
209
|
-
playCount: number | null;
|
|
210
|
-
shareCount: number | null;
|
|
211
|
-
} | null;
|
|
212
205
|
id: string | null;
|
|
213
206
|
text: string | null;
|
|
214
207
|
hashtags: {
|
|
@@ -227,6 +220,13 @@ declare const TikTokToolResultSchema: z.ZodObject<{
|
|
|
227
220
|
videoCount: number | null;
|
|
228
221
|
heartCount: number | null;
|
|
229
222
|
} | 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;
|
|
@@ -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
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
253
252
|
limit?: number | undefined;
|
|
254
|
-
|
|
253
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
255
254
|
profiles?: string[] | undefined;
|
|
255
|
+
hashtags?: string[] | undefined;
|
|
256
256
|
shouldDownloadVideos?: boolean | undefined;
|
|
257
257
|
videoUrls?: string[] | undefined;
|
|
258
258
|
}, {
|
|
259
259
|
operation: "scrapeProfile" | "scrapeHashtag" | "scrapeVideo";
|
|
260
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
261
260
|
limit?: number | undefined;
|
|
262
|
-
|
|
261
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
263
262
|
profiles?: string[] | undefined;
|
|
263
|
+
hashtags?: string[] | undefined;
|
|
264
264
|
shouldDownloadVideos?: boolean | undefined;
|
|
265
265
|
videoUrls?: string[] | undefined;
|
|
266
266
|
}>;
|
|
@@ -335,13 +335,6 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
|
|
|
335
335
|
name: string | null;
|
|
336
336
|
}>, "many">>;
|
|
337
337
|
}, "strip", z.ZodTypeAny, {
|
|
338
|
-
stats: {
|
|
339
|
-
collectCount: number | null;
|
|
340
|
-
commentCount: number | null;
|
|
341
|
-
diggCount: number | null;
|
|
342
|
-
playCount: number | null;
|
|
343
|
-
shareCount: number | null;
|
|
344
|
-
} | null;
|
|
345
338
|
id: string | null;
|
|
346
339
|
text: string | null;
|
|
347
340
|
hashtags: {
|
|
@@ -360,11 +353,6 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
|
|
|
360
353
|
videoCount: number | null;
|
|
361
354
|
heartCount: number | null;
|
|
362
355
|
} | null;
|
|
363
|
-
createTime: number | null;
|
|
364
|
-
createTimeISO: string | null;
|
|
365
|
-
webVideoUrl: string | null;
|
|
366
|
-
covers: string[] | null;
|
|
367
|
-
}, {
|
|
368
356
|
stats: {
|
|
369
357
|
collectCount: number | null;
|
|
370
358
|
commentCount: number | null;
|
|
@@ -372,6 +360,11 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
|
|
|
372
360
|
playCount: number | null;
|
|
373
361
|
shareCount: number | null;
|
|
374
362
|
} | null;
|
|
363
|
+
createTime: number | null;
|
|
364
|
+
createTimeISO: string | null;
|
|
365
|
+
webVideoUrl: string | null;
|
|
366
|
+
covers: string[] | null;
|
|
367
|
+
}, {
|
|
375
368
|
id: string | null;
|
|
376
369
|
text: string | null;
|
|
377
370
|
hashtags: {
|
|
@@ -390,6 +383,13 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
|
|
|
390
383
|
videoCount: number | null;
|
|
391
384
|
heartCount: number | null;
|
|
392
385
|
} | 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;
|
|
@@ -399,17 +399,10 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
|
|
|
399
399
|
success: z.ZodBoolean;
|
|
400
400
|
error: z.ZodString;
|
|
401
401
|
}, "strip", z.ZodTypeAny, {
|
|
402
|
-
error: string;
|
|
403
402
|
success: boolean;
|
|
403
|
+
error: string;
|
|
404
404
|
operation: "scrapeProfile" | "scrapeHashtag" | "scrapeVideo";
|
|
405
405
|
videos: {
|
|
406
|
-
stats: {
|
|
407
|
-
collectCount: number | null;
|
|
408
|
-
commentCount: number | null;
|
|
409
|
-
diggCount: number | null;
|
|
410
|
-
playCount: number | null;
|
|
411
|
-
shareCount: number | null;
|
|
412
|
-
} | null;
|
|
413
406
|
id: string | null;
|
|
414
407
|
text: string | null;
|
|
415
408
|
hashtags: {
|
|
@@ -428,6 +421,13 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
|
|
|
428
421
|
videoCount: number | null;
|
|
429
422
|
heartCount: number | null;
|
|
430
423
|
} | 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;
|
|
@@ -435,17 +435,10 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
|
|
|
435
435
|
}[];
|
|
436
436
|
totalVideos: number;
|
|
437
437
|
}, {
|
|
438
|
-
error: string;
|
|
439
438
|
success: boolean;
|
|
439
|
+
error: string;
|
|
440
440
|
operation: "scrapeProfile" | "scrapeHashtag" | "scrapeVideo";
|
|
441
441
|
videos: {
|
|
442
|
-
stats: {
|
|
443
|
-
collectCount: number | null;
|
|
444
|
-
commentCount: number | null;
|
|
445
|
-
diggCount: number | null;
|
|
446
|
-
playCount: number | null;
|
|
447
|
-
shareCount: number | null;
|
|
448
|
-
} | null;
|
|
449
442
|
id: string | null;
|
|
450
443
|
text: string | null;
|
|
451
444
|
hashtags: {
|
|
@@ -464,6 +457,13 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
|
|
|
464
457
|
videoCount: number | null;
|
|
465
458
|
heartCount: number | null;
|
|
466
459
|
} | 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,16 +99,16 @@ declare const MyCustomToolResultSchema: z.ZodObject<{
|
|
|
99
99
|
success: z.ZodBoolean;
|
|
100
100
|
error: z.ZodString;
|
|
101
101
|
}, "strip", z.ZodTypeAny, {
|
|
102
|
-
error: string;
|
|
103
102
|
success: boolean;
|
|
103
|
+
error: string;
|
|
104
104
|
metadata: {
|
|
105
105
|
processedAt: string;
|
|
106
106
|
itemsProcessed: number;
|
|
107
107
|
};
|
|
108
108
|
processedData: string;
|
|
109
109
|
}, {
|
|
110
|
-
error: string;
|
|
111
110
|
success: boolean;
|
|
111
|
+
error: string;
|
|
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
|
-
error: string;
|
|
176
175
|
success: boolean;
|
|
176
|
+
error: string;
|
|
177
177
|
metadata: {
|
|
178
178
|
processedAt: string;
|
|
179
179
|
itemsProcessed: number;
|
|
180
180
|
};
|
|
181
181
|
processedData: string;
|
|
182
182
|
}, {
|
|
183
|
-
error: string;
|
|
184
183
|
success: boolean;
|
|
184
|
+
error: string;
|
|
185
185
|
metadata: {
|
|
186
186
|
processedAt: string;
|
|
187
187
|
itemsProcessed: number;
|