@bubblelab/bubble-core 0.1.82 → 0.1.83

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.
Files changed (86) hide show
  1. package/dist/bubble-bundle.d.ts +153 -109
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +52 -52
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +20 -20
  4. package/dist/bubbles/service-bubble/airtable.d.ts +138 -138
  5. package/dist/bubbles/service-bubble/apify/apify.d.ts +12 -12
  6. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +18 -18
  7. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +18 -18
  8. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +20 -20
  9. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +20 -20
  10. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +12 -12
  11. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +16 -16
  12. package/dist/bubbles/service-bubble/eleven-labs.d.ts +24 -24
  13. package/dist/bubbles/service-bubble/firecrawl.d.ts +68 -68
  14. package/dist/bubbles/service-bubble/followupboss.d.ts +124 -124
  15. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +12 -12
  16. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +12 -12
  17. package/dist/bubbles/service-bubble/github.d.ts +36 -36
  18. package/dist/bubbles/service-bubble/gmail.d.ts +64 -64
  19. package/dist/bubbles/service-bubble/google-calendar.d.ts +24 -24
  20. package/dist/bubbles/service-bubble/google-drive.d.ts +48 -48
  21. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +22 -22
  22. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +22 -22
  23. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  24. package/dist/bubbles/service-bubble/http.d.ts +8 -8
  25. package/dist/bubbles/service-bubble/insforge-db.d.ts +10 -10
  26. package/dist/bubbles/service-bubble/jira/jira.d.ts +20 -20
  27. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +20 -20
  28. package/dist/bubbles/service-bubble/notion/notion.d.ts +68 -68
  29. package/dist/bubbles/service-bubble/postgresql.d.ts +10 -10
  30. package/dist/bubbles/service-bubble/resend.d.ts +8 -8
  31. package/dist/bubbles/service-bubble/slack/slack.d.ts +96 -96
  32. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  33. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +38 -38
  34. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +38 -38
  35. package/dist/bubbles/service-bubble/telegram.d.ts +52 -52
  36. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +14 -14
  37. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +14 -14
  38. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  39. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  40. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  41. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +4 -4
  42. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  43. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +12 -12
  44. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts.map +1 -1
  45. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.js +3 -0
  46. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.js.map +1 -1
  47. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
  48. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +4 -4
  49. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +2 -2
  50. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +2 -2
  51. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +30 -30
  52. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +102 -0
  53. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts.map +1 -0
  54. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.js +96 -0
  55. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.js.map +1 -0
  56. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +186 -0
  57. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts.map +1 -0
  58. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.js +124 -0
  59. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.js.map +1 -0
  60. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  61. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +4 -4
  62. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +4 -4
  63. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  64. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +12 -12
  65. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +12 -12
  66. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  67. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +40 -40
  68. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
  69. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  70. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  71. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +4 -4
  72. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +14 -14
  73. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  74. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +4 -4
  75. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  76. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +24 -24
  77. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +8 -8
  78. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +4 -4
  79. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +52 -52
  80. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  81. package/dist/bubbles.json +1 -1
  82. package/dist/index.d.ts +2 -0
  83. package/dist/index.d.ts.map +1 -1
  84. package/dist/index.js +2 -0
  85. package/dist/index.js.map +1 -1
  86. package/package.json +2 -2
@@ -0,0 +1,186 @@
1
+ import { z } from 'zod';
2
+ import { ToolBubble } from '../../types/tool-bubble-class.js';
3
+ import type { BubbleContext } from '../../types/bubble.js';
4
+ import { CredentialType } from '@bubblelab/shared-schemas';
5
+ declare const ListAirtableTablesToolParamsSchema: z.ZodObject<{
6
+ baseId: z.ZodString;
7
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ baseId: string;
10
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
11
+ }, {
12
+ baseId: string;
13
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
14
+ }>;
15
+ type ListAirtableTablesToolParamsInput = z.input<typeof ListAirtableTablesToolParamsSchema>;
16
+ type ListAirtableTablesToolParams = z.output<typeof ListAirtableTablesToolParamsSchema>;
17
+ declare const ListAirtableTablesToolResultSchema: z.ZodObject<{
18
+ baseId: z.ZodOptional<z.ZodString>;
19
+ baseName: z.ZodOptional<z.ZodString>;
20
+ tables: z.ZodOptional<z.ZodArray<z.ZodObject<{
21
+ id: z.ZodString;
22
+ name: z.ZodString;
23
+ description: z.ZodOptional<z.ZodString>;
24
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
25
+ id: z.ZodString;
26
+ name: z.ZodString;
27
+ type: z.ZodString;
28
+ }, "strip", z.ZodTypeAny, {
29
+ type: string;
30
+ name: string;
31
+ id: string;
32
+ }, {
33
+ type: string;
34
+ name: string;
35
+ id: string;
36
+ }>, "many">>;
37
+ }, "strip", z.ZodTypeAny, {
38
+ name: string;
39
+ id: string;
40
+ description?: string | undefined;
41
+ fields?: {
42
+ type: string;
43
+ name: string;
44
+ id: string;
45
+ }[] | undefined;
46
+ }, {
47
+ name: string;
48
+ id: string;
49
+ description?: string | undefined;
50
+ fields?: {
51
+ type: string;
52
+ name: string;
53
+ id: string;
54
+ }[] | undefined;
55
+ }>, "many">>;
56
+ success: z.ZodBoolean;
57
+ error: z.ZodString;
58
+ }, "strip", z.ZodTypeAny, {
59
+ success: boolean;
60
+ error: string;
61
+ baseId?: string | undefined;
62
+ baseName?: string | undefined;
63
+ tables?: {
64
+ name: string;
65
+ id: string;
66
+ description?: string | undefined;
67
+ fields?: {
68
+ type: string;
69
+ name: string;
70
+ id: string;
71
+ }[] | undefined;
72
+ }[] | undefined;
73
+ }, {
74
+ success: boolean;
75
+ error: string;
76
+ baseId?: string | undefined;
77
+ baseName?: string | undefined;
78
+ tables?: {
79
+ name: string;
80
+ id: string;
81
+ description?: string | undefined;
82
+ fields?: {
83
+ type: string;
84
+ name: string;
85
+ id: string;
86
+ }[] | undefined;
87
+ }[] | undefined;
88
+ }>;
89
+ type ListAirtableTablesToolResult = z.output<typeof ListAirtableTablesToolResultSchema>;
90
+ /**
91
+ * Tool to list tables in an Airtable base.
92
+ * Used by AI to help users configure Airtable triggers for specific tables.
93
+ */
94
+ export declare class ListAirtableTablesTool extends ToolBubble<ListAirtableTablesToolParams, ListAirtableTablesToolResult> {
95
+ static readonly type: "tool";
96
+ static readonly bubbleName = "list-airtable-tables-tool";
97
+ static readonly schema: z.ZodObject<{
98
+ baseId: z.ZodString;
99
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
100
+ }, "strip", z.ZodTypeAny, {
101
+ baseId: string;
102
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
103
+ }, {
104
+ baseId: string;
105
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
106
+ }>;
107
+ static readonly resultSchema: z.ZodObject<{
108
+ baseId: z.ZodOptional<z.ZodString>;
109
+ baseName: z.ZodOptional<z.ZodString>;
110
+ tables: z.ZodOptional<z.ZodArray<z.ZodObject<{
111
+ id: z.ZodString;
112
+ name: z.ZodString;
113
+ description: z.ZodOptional<z.ZodString>;
114
+ fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
115
+ id: z.ZodString;
116
+ name: z.ZodString;
117
+ type: z.ZodString;
118
+ }, "strip", z.ZodTypeAny, {
119
+ type: string;
120
+ name: string;
121
+ id: string;
122
+ }, {
123
+ type: string;
124
+ name: string;
125
+ id: string;
126
+ }>, "many">>;
127
+ }, "strip", z.ZodTypeAny, {
128
+ name: string;
129
+ id: string;
130
+ description?: string | undefined;
131
+ fields?: {
132
+ type: string;
133
+ name: string;
134
+ id: string;
135
+ }[] | undefined;
136
+ }, {
137
+ name: string;
138
+ id: string;
139
+ description?: string | undefined;
140
+ fields?: {
141
+ type: string;
142
+ name: string;
143
+ id: string;
144
+ }[] | undefined;
145
+ }>, "many">>;
146
+ success: z.ZodBoolean;
147
+ error: z.ZodString;
148
+ }, "strip", z.ZodTypeAny, {
149
+ success: boolean;
150
+ error: string;
151
+ baseId?: string | undefined;
152
+ baseName?: string | undefined;
153
+ tables?: {
154
+ name: string;
155
+ id: string;
156
+ description?: string | undefined;
157
+ fields?: {
158
+ type: string;
159
+ name: string;
160
+ id: string;
161
+ }[] | undefined;
162
+ }[] | undefined;
163
+ }, {
164
+ success: boolean;
165
+ error: string;
166
+ baseId?: string | undefined;
167
+ baseName?: string | undefined;
168
+ tables?: {
169
+ name: string;
170
+ id: string;
171
+ description?: string | undefined;
172
+ fields?: {
173
+ type: string;
174
+ name: string;
175
+ id: string;
176
+ }[] | undefined;
177
+ }[] | undefined;
178
+ }>;
179
+ static readonly shortDescription = "Lists tables in an Airtable base for trigger configuration";
180
+ static readonly longDescription = "\n A tool that retrieves all tables in a specific Airtable base.\n\n Use this tool when:\n - User wants to set up an Airtable trigger for a specific table\n - User mentions a table name and you need to find its ID\n - You need to show the user what tables are available in their base\n\n Returns:\n - List of tables with their IDs, names, descriptions, and field information\n\n Requires:\n - AIRTABLE_OAUTH credential to be connected\n - A valid baseId (use list-airtable-bases-tool first)\n ";
181
+ static readonly alias = "airtable-tables";
182
+ constructor(params: ListAirtableTablesToolParamsInput, context?: BubbleContext);
183
+ performAction(context?: BubbleContext): Promise<ListAirtableTablesToolResult>;
184
+ }
185
+ export {};
186
+ //# sourceMappingURL=list-airtable-tables-tool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-airtable-tables-tool.d.ts","sourceRoot":"","sources":["../../../src/bubbles/tool-bubble/list-airtable-tables-tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAG3D,QAAA,MAAM,kCAAkC;;;;;;;;;EAYtC,CAAC;AAGH,KAAK,iCAAiC,GAAG,CAAC,CAAC,KAAK,CAC9C,OAAO,kCAAkC,CAC1C,CAAC;AACF,KAAK,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAC1C,OAAO,kCAAkC,CAC1C,CAAC;AAGF,QAAA,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BtC,CAAC;AAEH,KAAK,4BAA4B,GAAG,CAAC,CAAC,MAAM,CAC1C,OAAO,kCAAkC,CAC1C,CAAC;AAEF;;;GAGG;AACH,qBAAa,sBAAuB,SAAQ,UAAU,CACpD,4BAA4B,EAC5B,4BAA4B,CAC7B;IACC,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAG,MAAM,CAAU;IACvC,MAAM,CAAC,QAAQ,CAAC,UAAU,+BAA+B;IACzD,MAAM,CAAC,QAAQ,CAAC,MAAM;;;;;;;;;OAAsC;IAC5D,MAAM,CAAC,QAAQ,CAAC,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAsC;IAClE,MAAM,CAAC,QAAQ,CAAC,gBAAgB,gEAC+B;IAC/D,MAAM,CAAC,QAAQ,CAAC,eAAe,khBAc7B;IACF,MAAM,CAAC,QAAQ,CAAC,KAAK,qBAAqB;gBAGxC,MAAM,EAAE,iCAAiC,EACzC,OAAO,CAAC,EAAE,aAAa;IAKnB,aAAa,CACjB,OAAO,CAAC,EAAE,aAAa,GACtB,OAAO,CAAC,4BAA4B,CAAC;CA+EzC"}
@@ -0,0 +1,124 @@
1
+ import { z } from 'zod';
2
+ import { ToolBubble } from '../../types/tool-bubble-class.js';
3
+ import { CredentialType } from '@bubblelab/shared-schemas';
4
+ // Define the parameters schema
5
+ const ListAirtableTablesToolParamsSchema = z.object({
6
+ baseId: z
7
+ .string()
8
+ .describe('The Airtable base ID to list tables from (e.g., appXXXXXXXX). Use list-airtable-bases-tool to find available bases.'),
9
+ credentials: z
10
+ .record(z.nativeEnum(CredentialType), z.string())
11
+ .optional()
12
+ .describe('Object mapping credential types to values (injected at runtime). Requires AIRTABLE_OAUTH credential.'),
13
+ });
14
+ // Result schema
15
+ const ListAirtableTablesToolResultSchema = z.object({
16
+ baseId: z.string().optional().describe('The base ID that was queried'),
17
+ baseName: z.string().optional().describe('The name of the base'),
18
+ tables: z
19
+ .array(z.object({
20
+ id: z.string().describe('The Airtable table ID (e.g., tblXXXXXXXX)'),
21
+ name: z.string().describe('The name of the table'),
22
+ description: z
23
+ .string()
24
+ .optional()
25
+ .describe('The description of the table'),
26
+ fields: z
27
+ .array(z.object({
28
+ id: z.string(),
29
+ name: z.string(),
30
+ type: z.string(),
31
+ }))
32
+ .optional()
33
+ .describe('List of fields in the table'),
34
+ }))
35
+ .optional()
36
+ .describe('List of tables in the Airtable base'),
37
+ success: z.boolean().describe('Whether the operation was successful'),
38
+ error: z.string().describe('Error message if operation failed'),
39
+ });
40
+ /**
41
+ * Tool to list tables in an Airtable base.
42
+ * Used by AI to help users configure Airtable triggers for specific tables.
43
+ */
44
+ export class ListAirtableTablesTool extends ToolBubble {
45
+ static type = 'tool';
46
+ static bubbleName = 'list-airtable-tables-tool';
47
+ static schema = ListAirtableTablesToolParamsSchema;
48
+ static resultSchema = ListAirtableTablesToolResultSchema;
49
+ static shortDescription = 'Lists tables in an Airtable base for trigger configuration';
50
+ static longDescription = `
51
+ A tool that retrieves all tables in a specific Airtable base.
52
+
53
+ Use this tool when:
54
+ - User wants to set up an Airtable trigger for a specific table
55
+ - User mentions a table name and you need to find its ID
56
+ - You need to show the user what tables are available in their base
57
+
58
+ Returns:
59
+ - List of tables with their IDs, names, descriptions, and field information
60
+
61
+ Requires:
62
+ - AIRTABLE_OAUTH credential to be connected
63
+ - A valid baseId (use list-airtable-bases-tool first)
64
+ `;
65
+ static alias = 'airtable-tables';
66
+ constructor(params, context) {
67
+ super(params, context);
68
+ }
69
+ async performAction(context) {
70
+ void context;
71
+ const { baseId, credentials } = this.params;
72
+ if (!baseId) {
73
+ return {
74
+ success: false,
75
+ error: 'baseId is required. Use list-airtable-bases-tool to find available bases.',
76
+ };
77
+ }
78
+ // Get Airtable OAuth token
79
+ const airtableToken = credentials?.[CredentialType.AIRTABLE_OAUTH];
80
+ if (!airtableToken) {
81
+ return {
82
+ success: false,
83
+ error: 'Airtable OAuth credential not found. Please connect your Airtable account first.',
84
+ };
85
+ }
86
+ try {
87
+ const response = await fetch(`https://api.airtable.com/v0/meta/bases/${baseId}/tables`, {
88
+ headers: {
89
+ Authorization: `Bearer ${airtableToken}`,
90
+ },
91
+ });
92
+ if (!response.ok) {
93
+ const errorText = await response.text();
94
+ return {
95
+ success: false,
96
+ error: `Failed to fetch Airtable tables: ${response.status} - ${errorText}`,
97
+ };
98
+ }
99
+ const data = (await response.json());
100
+ return {
101
+ baseId,
102
+ tables: data.tables.map((table) => ({
103
+ id: table.id,
104
+ name: table.name,
105
+ description: table.description,
106
+ fields: table.fields.map((field) => ({
107
+ id: field.id,
108
+ name: field.name,
109
+ type: field.type,
110
+ })),
111
+ })),
112
+ success: true,
113
+ error: '',
114
+ };
115
+ }
116
+ catch (error) {
117
+ return {
118
+ success: false,
119
+ error: `Error fetching Airtable tables: ${error instanceof Error ? error.message : 'Unknown error'}`,
120
+ };
121
+ }
122
+ }
123
+ }
124
+ //# sourceMappingURL=list-airtable-tables-tool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-airtable-tables-tool.js","sourceRoot":"","sources":["../../../src/bubbles/tool-bubble/list-airtable-tables-tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,kCAAkC,CAAC;AAE9D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,+BAA+B;AAC/B,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,MAAM,EAAE,CAAC;SACN,MAAM,EAAE;SACR,QAAQ,CACP,qHAAqH,CACtH;IACH,WAAW,EAAE,CAAC;SACX,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;SAChD,QAAQ,EAAE;SACV,QAAQ,CACP,sGAAsG,CACvG;CACJ,CAAC,CAAC;AAUH,gBAAgB;AAChB,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,8BAA8B,CAAC;IACtE,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,E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E,KAAK,CAAC,WAAW;oBAC9B,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;wBACnC,EAAE,EAAE,KAAK,CAAC,EAAE;wBACZ,IAAI,EAAE,KAAK,CAAC,IAAI;wBAChB,IAAI,EAAE,KAAK,CAAC,IAAI;qBACjB,CAAC,CAAC;iBACJ,CAAC,CAAC;gBACH,OAAO,EAAE,IAAI;gBACb,KAAK,EAAE,EAAE;aACV,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,KAAK,EAAE,mCAAmC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe,EAAE;aACrG,CAAC;QACJ,CAAC;IACH,CAAC"}
@@ -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;
@@ -535,8 +535,8 @@ declare const PeopleSearchToolResultSchema: z.ZodObject<{
535
535
  success: z.ZodBoolean;
536
536
  error: z.ZodString;
537
537
  }, "strip", z.ZodTypeAny, {
538
- error: string;
539
538
  success: boolean;
539
+ error: string;
540
540
  people: {
541
541
  title: string | null;
542
542
  name: string | null;
@@ -593,8 +593,8 @@ declare const PeopleSearchToolResultSchema: z.ZodObject<{
593
593
  totalCount: number;
594
594
  nextCursor?: string | undefined;
595
595
  }, {
596
- error: string;
597
596
  success: boolean;
597
+ error: string;
598
598
  people: {
599
599
  title: string | null;
600
600
  name: string | null;
@@ -1004,8 +1004,8 @@ export declare class PeopleSearchTool extends ToolBubble<PeopleSearchToolParams,
1004
1004
  success: z.ZodBoolean;
1005
1005
  error: z.ZodString;
1006
1006
  }, "strip", z.ZodTypeAny, {
1007
- error: string;
1008
1007
  success: boolean;
1008
+ error: string;
1009
1009
  people: {
1010
1010
  title: string | null;
1011
1011
  name: string | null;
@@ -1062,8 +1062,8 @@ export declare class PeopleSearchTool extends ToolBubble<PeopleSearchToolParams,
1062
1062
  totalCount: number;
1063
1063
  nextCursor?: string | undefined;
1064
1064
  }, {
1065
- error: string;
1066
1065
  success: boolean;
1066
+ error: string;
1067
1067
  people: {
1068
1068
  title: string | null;
1069
1069
  name: string | null;
@@ -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;
@@ -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;
@@ -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;
@@ -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;
@@ -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
- error: string;
36
35
  success: boolean;
36
+ error: string;
37
37
  summary: string;
38
38
  sourcesUsed: string[];
39
39
  iterationsUsed: number;
40
40
  result?: any;
41
41
  }, {
42
- error: string;
43
42
  success: boolean;
43
+ error: string;
44
44
  summary: string;
45
45
  sourcesUsed: string[];
46
46
  iterationsUsed: number;
@@ -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
- error: string;
85
84
  success: boolean;
85
+ error: string;
86
86
  summary: string;
87
87
  sourcesUsed: string[];
88
88
  iterationsUsed: number;
89
89
  result?: any;
90
90
  }, {
91
- error: string;
92
91
  success: boolean;
92
+ error: string;
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
- executionTime: number;
42
- error: string;
43
41
  success: boolean;
42
+ error: string;
43
+ executionTime: number;
44
44
  rowCount: number;
45
- rows?: Record<string, unknown>[] | undefined;
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;
53
+ executionTime: number;
54
54
  rowCount: number;
55
- rows?: Record<string, unknown>[] | undefined;
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;
106
+ executionTime: number;
107
107
  rowCount: number;
108
- rows?: Record<string, unknown>[] | undefined;
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;
116
+ executionTime: number;
117
117
  rowCount: number;
118
- rows?: Record<string, unknown>[] | undefined;
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 ";
@@ -98,6 +98,7 @@ declare const TikTokToolResultSchema: z.ZodObject<{
98
98
  name: string | null;
99
99
  }>, "many">>;
100
100
  }, "strip", z.ZodTypeAny, {
101
+ id: string | null;
101
102
  stats: {
102
103
  collectCount: number | null;
103
104
  commentCount: number | null;
@@ -105,7 +106,6 @@ declare const TikTokToolResultSchema: z.ZodObject<{
105
106
  playCount: number | null;
106
107
  shareCount: number | null;
107
108
  } | null;
108
- id: string | null;
109
109
  text: string | null;
110
110
  hashtags: {
111
111
  name: string | null;
@@ -128,6 +128,7 @@ declare const TikTokToolResultSchema: z.ZodObject<{
128
128
  webVideoUrl: string | null;
129
129
  covers: string[] | null;
130
130
  }, {
131
+ id: string | null;
131
132
  stats: {
132
133
  collectCount: number | null;
133
134
  commentCount: number | null;
@@ -135,7 +136,6 @@ declare const TikTokToolResultSchema: z.ZodObject<{
135
136
  playCount: number | null;
136
137
  shareCount: number | null;
137
138
  } | null;
138
- id: string | null;
139
139
  text: string | null;
140
140
  hashtags: {
141
141
  name: string | null;
@@ -162,10 +162,11 @@ 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
+ id: string | null;
169
170
  stats: {
170
171
  collectCount: number | null;
171
172
  commentCount: number | null;
@@ -173,7 +174,6 @@ declare const TikTokToolResultSchema: z.ZodObject<{
173
174
  playCount: number | null;
174
175
  shareCount: number | null;
175
176
  } | null;
176
- id: string | null;
177
177
  text: string | null;
178
178
  hashtags: {
179
179
  name: string | null;
@@ -198,10 +198,11 @@ 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
+ id: string | null;
205
206
  stats: {
206
207
  collectCount: number | null;
207
208
  commentCount: number | null;
@@ -209,7 +210,6 @@ declare const TikTokToolResultSchema: z.ZodObject<{
209
210
  playCount: number | null;
210
211
  shareCount: number | null;
211
212
  } | null;
212
- id: string | null;
213
213
  text: string | null;
214
214
  hashtags: {
215
215
  name: string | null;
@@ -335,6 +335,7 @@ 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;
338
339
  stats: {
339
340
  collectCount: number | null;
340
341
  commentCount: number | null;
@@ -342,7 +343,6 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
342
343
  playCount: number | null;
343
344
  shareCount: number | null;
344
345
  } | null;
345
- id: string | null;
346
346
  text: string | null;
347
347
  hashtags: {
348
348
  name: string | null;
@@ -365,6 +365,7 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
365
365
  webVideoUrl: string | null;
366
366
  covers: string[] | null;
367
367
  }, {
368
+ id: string | null;
368
369
  stats: {
369
370
  collectCount: number | null;
370
371
  commentCount: number | null;
@@ -372,7 +373,6 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
372
373
  playCount: number | null;
373
374
  shareCount: number | null;
374
375
  } | null;
375
- id: string | null;
376
376
  text: string | null;
377
377
  hashtags: {
378
378
  name: string | null;
@@ -399,10 +399,11 @@ 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
+ id: string | null;
406
407
  stats: {
407
408
  collectCount: number | null;
408
409
  commentCount: number | null;
@@ -410,7 +411,6 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
410
411
  playCount: number | null;
411
412
  shareCount: number | null;
412
413
  } | null;
413
- id: string | null;
414
414
  text: string | null;
415
415
  hashtags: {
416
416
  name: string | null;
@@ -435,10 +435,11 @@ 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
+ id: string | null;
442
443
  stats: {
443
444
  collectCount: number | null;
444
445
  commentCount: number | null;
@@ -446,7 +447,6 @@ export declare class TikTokTool extends ToolBubble<TikTokToolParams, TikTokToolR
446
447
  playCount: number | null;
447
448
  shareCount: number | null;
448
449
  } | null;
449
- id: string | null;
450
450
  text: string | null;
451
451
  hashtags: {
452
452
  name: string | null;