@bubblelab/bubble-core 0.1.156 → 0.1.158

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 (130) hide show
  1. package/dist/bubble-bundle.d.ts +161 -122
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +4 -0
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubble-flow/bubble-flow-class.js.map +1 -1
  6. package/dist/bubble-trigger/index.d.ts +2 -0
  7. package/dist/bubble-trigger/index.d.ts.map +1 -0
  8. package/dist/bubble-trigger/index.js +2 -0
  9. package/dist/bubble-trigger/index.js.map +1 -0
  10. package/dist/bubble-trigger/types.d.ts +87 -0
  11. package/dist/bubble-trigger/types.d.ts.map +1 -0
  12. package/dist/bubble-trigger/types.js +14 -0
  13. package/dist/bubble-trigger/types.js.map +1 -0
  14. package/dist/bubbles/service-bubble/agi-inc.d.ts +144 -144
  15. package/dist/bubbles/service-bubble/ai-agent.d.ts +8 -8
  16. package/dist/bubbles/service-bubble/airtable.d.ts +184 -184
  17. package/dist/bubbles/service-bubble/apify/apify.d.ts +24 -24
  18. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +152 -152
  19. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +55 -55
  20. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +63 -63
  21. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +98 -98
  22. package/dist/bubbles/service-bubble/eleven-labs.d.ts +56 -56
  23. package/dist/bubbles/service-bubble/firecrawl.d.ts +264 -264
  24. package/dist/bubbles/service-bubble/followupboss.d.ts +282 -282
  25. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +40 -40
  26. package/dist/bubbles/service-bubble/github.d.ts +216 -216
  27. package/dist/bubbles/service-bubble/gmail.d.ts +228 -228
  28. package/dist/bubbles/service-bubble/google-calendar.d.ts +62 -62
  29. package/dist/bubbles/service-bubble/google-drive.d.ts +152 -152
  30. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +44 -44
  31. package/dist/bubbles/service-bubble/google-sheets.d.ts +1811 -0
  32. package/dist/bubbles/service-bubble/google-sheets.d.ts.map +1 -0
  33. package/dist/bubbles/service-bubble/google-sheets.js +904 -0
  34. package/dist/bubbles/service-bubble/google-sheets.js.map +1 -0
  35. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  36. package/dist/bubbles/service-bubble/http.d.ts +12 -12
  37. package/dist/bubbles/service-bubble/insforge-db.d.ts +6 -6
  38. package/dist/bubbles/service-bubble/jira/jira.d.ts +107 -107
  39. package/dist/bubbles/service-bubble/notion/notion.d.ts +932 -932
  40. package/dist/bubbles/service-bubble/postgresql.d.ts +6 -6
  41. package/dist/bubbles/service-bubble/posthog/index.d.ts +3 -0
  42. package/dist/bubbles/service-bubble/posthog/index.d.ts.map +1 -0
  43. package/dist/bubbles/service-bubble/posthog/index.js +3 -0
  44. package/dist/bubbles/service-bubble/posthog/index.js.map +1 -0
  45. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +469 -0
  46. package/dist/bubbles/service-bubble/posthog/posthog.d.ts.map +1 -0
  47. package/dist/bubbles/service-bubble/posthog/posthog.js +309 -0
  48. package/dist/bubbles/service-bubble/posthog/posthog.js.map +1 -0
  49. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +545 -0
  50. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts.map +1 -0
  51. package/dist/bubbles/service-bubble/posthog/posthog.schema.js +352 -0
  52. package/dist/bubbles/service-bubble/posthog/posthog.schema.js.map +1 -0
  53. package/dist/bubbles/service-bubble/resend.d.ts +16 -16
  54. package/dist/bubbles/service-bubble/slack/slack.d.ts +325 -325
  55. package/dist/bubbles/service-bubble/slack.d.ts +5869 -0
  56. package/dist/bubbles/service-bubble/slack.d.ts.map +1 -0
  57. package/dist/bubbles/service-bubble/slack.js +1536 -0
  58. package/dist/bubbles/service-bubble/slack.js.map +1 -0
  59. package/dist/bubbles/service-bubble/storage.d.ts +40 -40
  60. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +161 -161
  61. package/dist/bubbles/service-bubble/telegram.d.ts +264 -264
  62. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +26 -26
  63. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +4 -4
  64. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +4 -4
  65. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +4 -4
  66. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +4 -4
  67. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +8 -8
  68. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  69. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  70. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +18 -18
  71. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  72. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  73. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +12 -12
  74. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +22 -22
  75. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts +3 -0
  76. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts.map +1 -0
  77. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js +3 -0
  78. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js.map +1 -0
  79. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +160 -0
  80. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +1 -0
  81. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js +706 -0
  82. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js.map +1 -0
  83. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +93 -0
  84. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +1 -0
  85. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +50 -0
  86. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +1 -0
  87. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +108 -108
  88. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +12 -12
  89. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +24 -24
  90. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  91. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +12 -12
  92. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +42 -42
  93. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +16 -16
  94. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
  95. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  96. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +12 -12
  97. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  98. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +36 -36
  99. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
  100. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  101. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  102. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +16 -16
  103. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
  104. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
  105. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +114 -0
  106. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts.map +1 -0
  107. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js +777 -0
  108. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js.map +1 -0
  109. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  110. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +24 -24
  111. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  112. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +68 -68
  113. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
  114. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +10 -10
  115. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +62 -62
  116. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  117. package/dist/bubbles.json +617 -2
  118. package/dist/index.d.ts +2 -0
  119. package/dist/index.d.ts.map +1 -1
  120. package/dist/index.js +1 -0
  121. package/dist/index.js.map +1 -1
  122. package/dist/types/ai-models.d.ts +4 -0
  123. package/dist/types/ai-models.d.ts.map +1 -0
  124. package/dist/types/ai-models.js +16 -0
  125. package/dist/types/ai-models.js.map +1 -0
  126. package/dist/utils/param-helper.d.ts +2 -0
  127. package/dist/utils/param-helper.d.ts.map +1 -0
  128. package/dist/utils/param-helper.js +5 -0
  129. package/dist/utils/param-helper.js.map +1 -0
  130. package/package.json +2 -2
@@ -39,10 +39,10 @@ declare const WebScrapeToolResultSchema: z.ZodObject<{
39
39
  }, "strip", z.ZodTypeAny, {
40
40
  format: string;
41
41
  title: string;
42
- error: string;
43
- success: boolean;
44
42
  content: string;
45
43
  url: string;
44
+ success: boolean;
45
+ error: string;
46
46
  creditsUsed: number;
47
47
  metadata?: {
48
48
  statusCode?: number | undefined;
@@ -51,10 +51,10 @@ declare const WebScrapeToolResultSchema: z.ZodObject<{
51
51
  }, {
52
52
  format: string;
53
53
  title: string;
54
- error: string;
55
- success: boolean;
56
54
  content: string;
57
55
  url: string;
56
+ success: boolean;
57
+ error: string;
58
58
  creditsUsed: number;
59
59
  metadata?: {
60
60
  statusCode?: number | undefined;
@@ -103,10 +103,10 @@ export declare class WebScrapeTool extends ToolBubble<WebScrapeToolParams, WebSc
103
103
  }, "strip", z.ZodTypeAny, {
104
104
  format: string;
105
105
  title: string;
106
- error: string;
107
- success: boolean;
108
106
  content: string;
109
107
  url: string;
108
+ success: boolean;
109
+ error: string;
110
110
  creditsUsed: number;
111
111
  metadata?: {
112
112
  statusCode?: number | undefined;
@@ -115,10 +115,10 @@ export declare class WebScrapeTool extends ToolBubble<WebScrapeToolParams, WebSc
115
115
  }, {
116
116
  format: string;
117
117
  title: string;
118
- error: string;
119
- success: boolean;
120
118
  content: string;
121
119
  url: string;
120
+ success: boolean;
121
+ error: string;
122
122
  creditsUsed: number;
123
123
  metadata?: {
124
124
  statusCode?: number | undefined;
@@ -9,15 +9,15 @@ declare const WebSearchToolParamsSchema: z.ZodObject<{
9
9
  location: z.ZodOptional<z.ZodString>;
10
10
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
11
11
  }, "strip", z.ZodTypeAny, {
12
- query: string;
13
12
  limit: number;
13
+ query: string;
14
14
  categories: ("github" | "pdf" | "research")[];
15
15
  credentials?: Partial<Record<CredentialType, string>> | undefined;
16
16
  location?: string | undefined;
17
17
  }, {
18
18
  query: string;
19
- credentials?: Partial<Record<CredentialType, string>> | undefined;
20
19
  limit?: number | undefined;
20
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
21
21
  location?: string | undefined;
22
22
  categories?: ("github" | "pdf" | "research")[] | undefined;
23
23
  }>;
@@ -42,26 +42,26 @@ declare const WebSearchToolResultSchema: z.ZodObject<{
42
42
  success: z.ZodBoolean;
43
43
  error: z.ZodString;
44
44
  }, "strip", z.ZodTypeAny, {
45
- error: string;
46
- success: boolean;
47
- query: string;
48
45
  results: {
49
46
  title: string;
50
47
  content: string;
51
48
  url: string;
52
49
  }[];
50
+ query: string;
51
+ success: boolean;
52
+ error: string;
53
53
  creditsUsed: number;
54
54
  totalResults: number;
55
55
  searchEngine: string;
56
56
  }, {
57
- error: string;
58
- success: boolean;
59
- query: string;
60
57
  results: {
61
58
  title: string;
62
59
  content: string;
63
60
  url: string;
64
61
  }[];
62
+ query: string;
63
+ success: boolean;
64
+ error: string;
65
65
  creditsUsed: number;
66
66
  totalResults: number;
67
67
  searchEngine: string;
@@ -78,15 +78,15 @@ export declare class WebSearchTool extends ToolBubble<WebSearchToolParams, WebSe
78
78
  location: z.ZodOptional<z.ZodString>;
79
79
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
80
80
  }, "strip", z.ZodTypeAny, {
81
- query: string;
82
81
  limit: number;
82
+ query: string;
83
83
  categories: ("github" | "pdf" | "research")[];
84
84
  credentials?: Partial<Record<CredentialType, string>> | undefined;
85
85
  location?: string | undefined;
86
86
  }, {
87
87
  query: string;
88
- credentials?: Partial<Record<CredentialType, string>> | undefined;
89
88
  limit?: number | undefined;
89
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
90
90
  location?: string | undefined;
91
91
  categories?: ("github" | "pdf" | "research")[] | undefined;
92
92
  }>;
@@ -111,26 +111,26 @@ export declare class WebSearchTool extends ToolBubble<WebSearchToolParams, WebSe
111
111
  success: z.ZodBoolean;
112
112
  error: z.ZodString;
113
113
  }, "strip", z.ZodTypeAny, {
114
- error: string;
115
- success: boolean;
116
- query: string;
117
114
  results: {
118
115
  title: string;
119
116
  content: string;
120
117
  url: string;
121
118
  }[];
119
+ query: string;
120
+ success: boolean;
121
+ error: string;
122
122
  creditsUsed: number;
123
123
  totalResults: number;
124
124
  searchEngine: string;
125
125
  }, {
126
- error: string;
127
- success: boolean;
128
- query: string;
129
126
  results: {
130
127
  title: string;
131
128
  content: string;
132
129
  url: string;
133
130
  }[];
131
+ query: string;
132
+ success: boolean;
133
+ error: string;
134
134
  creditsUsed: number;
135
135
  totalResults: number;
136
136
  searchEngine: string;
@@ -222,9 +222,9 @@ declare const YCScraperToolResultSchema: z.ZodObject<{
222
222
  success: z.ZodBoolean;
223
223
  error: z.ZodString;
224
224
  }, "strip", z.ZodTypeAny, {
225
- error: string;
226
- success: boolean;
227
225
  url: string | null;
226
+ success: boolean;
227
+ error: string;
228
228
  batch: string | null;
229
229
  people: {
230
230
  title: string | null;
@@ -254,9 +254,9 @@ declare const YCScraperToolResultSchema: z.ZodObject<{
254
254
  totalPeople: number;
255
255
  totalCompanies: number;
256
256
  }, {
257
- error: string;
258
- success: boolean;
259
257
  url: string | null;
258
+ success: boolean;
259
+ error: string;
260
260
  batch: string | null;
261
261
  people: {
262
262
  title: string | null;
@@ -420,9 +420,9 @@ export declare class YCScraperTool extends ToolBubble<YCScraperToolParams, YCScr
420
420
  success: z.ZodBoolean;
421
421
  error: z.ZodString;
422
422
  }, "strip", z.ZodTypeAny, {
423
- error: string;
424
- success: boolean;
425
423
  url: string | null;
424
+ success: boolean;
425
+ error: string;
426
426
  batch: string | null;
427
427
  people: {
428
428
  title: string | null;
@@ -452,9 +452,9 @@ export declare class YCScraperTool extends ToolBubble<YCScraperToolParams, YCScr
452
452
  totalPeople: number;
453
453
  totalCompanies: number;
454
454
  }, {
455
- error: string;
456
- success: boolean;
457
455
  url: string | null;
456
+ success: boolean;
457
+ error: string;
458
458
  batch: string | null;
459
459
  people: {
460
460
  title: string | null;
@@ -17,12 +17,12 @@ declare const YouTubeVideoSchema: z.ZodObject<{
17
17
  comments: z.ZodNullable<z.ZodNumber>;
18
18
  thumbnail: z.ZodNullable<z.ZodString>;
19
19
  }, "strip", z.ZodTypeAny, {
20
+ id: string | null;
20
21
  description: string | null;
21
22
  title: string | null;
22
23
  date: string | null;
23
24
  url: string | null;
24
25
  duration: string | null;
25
- id: string | null;
26
26
  thumbnail: string | null;
27
27
  comments: number | null;
28
28
  viewCount: number | null;
@@ -31,12 +31,12 @@ declare const YouTubeVideoSchema: z.ZodObject<{
31
31
  channelUrl: string | null;
32
32
  subscribers: number | null;
33
33
  }, {
34
+ id: string | null;
34
35
  description: string | null;
35
36
  title: string | null;
36
37
  date: string | null;
37
38
  url: string | null;
38
39
  duration: string | null;
39
- id: string | null;
40
40
  thumbnail: string | null;
41
41
  comments: number | null;
42
42
  viewCount: number | null;
@@ -103,12 +103,12 @@ declare const YouTubeToolResultSchema: z.ZodObject<{
103
103
  comments: z.ZodNullable<z.ZodNumber>;
104
104
  thumbnail: z.ZodNullable<z.ZodString>;
105
105
  }, "strip", z.ZodTypeAny, {
106
+ id: string | null;
106
107
  description: string | null;
107
108
  title: string | null;
108
109
  date: string | null;
109
110
  url: string | null;
110
111
  duration: string | null;
111
- id: string | null;
112
112
  thumbnail: string | null;
113
113
  comments: number | null;
114
114
  viewCount: number | null;
@@ -117,12 +117,12 @@ declare const YouTubeToolResultSchema: z.ZodObject<{
117
117
  channelUrl: string | null;
118
118
  subscribers: number | null;
119
119
  }, {
120
+ id: string | null;
120
121
  description: string | null;
121
122
  title: string | null;
122
123
  date: string | null;
123
124
  url: string | null;
124
125
  duration: string | null;
125
- id: string | null;
126
126
  thumbnail: string | null;
127
127
  comments: number | null;
128
128
  viewCount: number | null;
@@ -149,17 +149,17 @@ declare const YouTubeToolResultSchema: z.ZodObject<{
149
149
  success: z.ZodBoolean;
150
150
  error: z.ZodString;
151
151
  }, "strip", z.ZodTypeAny, {
152
- error: string;
153
- success: boolean;
154
152
  operation: "searchVideos" | "getTranscript" | "scrapeChannel";
153
+ success: boolean;
154
+ error: string;
155
155
  totalResults: number;
156
156
  videos?: {
157
+ id: string | null;
157
158
  description: string | null;
158
159
  title: string | null;
159
160
  date: string | null;
160
161
  url: string | null;
161
162
  duration: string | null;
162
- id: string | null;
163
163
  thumbnail: string | null;
164
164
  comments: number | null;
165
165
  viewCount: number | null;
@@ -175,17 +175,17 @@ declare const YouTubeToolResultSchema: z.ZodObject<{
175
175
  }[] | undefined;
176
176
  fullTranscriptText?: string | undefined;
177
177
  }, {
178
- error: string;
179
- success: boolean;
180
178
  operation: "searchVideos" | "getTranscript" | "scrapeChannel";
179
+ success: boolean;
180
+ error: string;
181
181
  totalResults: number;
182
182
  videos?: {
183
+ id: string | null;
183
184
  description: string | null;
184
185
  title: string | null;
185
186
  date: string | null;
186
187
  url: string | null;
187
188
  duration: string | null;
188
- id: string | null;
189
189
  thumbnail: string | null;
190
190
  comments: number | null;
191
191
  viewCount: number | null;
@@ -261,12 +261,12 @@ export declare class YouTubeTool extends ToolBubble<YouTubeToolParams, YouTubeTo
261
261
  comments: z.ZodNullable<z.ZodNumber>;
262
262
  thumbnail: z.ZodNullable<z.ZodString>;
263
263
  }, "strip", z.ZodTypeAny, {
264
+ id: string | null;
264
265
  description: string | null;
265
266
  title: string | null;
266
267
  date: string | null;
267
268
  url: string | null;
268
269
  duration: string | null;
269
- id: string | null;
270
270
  thumbnail: string | null;
271
271
  comments: number | null;
272
272
  viewCount: number | null;
@@ -275,12 +275,12 @@ export declare class YouTubeTool extends ToolBubble<YouTubeToolParams, YouTubeTo
275
275
  channelUrl: string | null;
276
276
  subscribers: number | null;
277
277
  }, {
278
+ id: string | null;
278
279
  description: string | null;
279
280
  title: string | null;
280
281
  date: string | null;
281
282
  url: string | null;
282
283
  duration: string | null;
283
- id: string | null;
284
284
  thumbnail: string | null;
285
285
  comments: number | null;
286
286
  viewCount: number | null;
@@ -307,17 +307,17 @@ export declare class YouTubeTool extends ToolBubble<YouTubeToolParams, YouTubeTo
307
307
  success: z.ZodBoolean;
308
308
  error: z.ZodString;
309
309
  }, "strip", z.ZodTypeAny, {
310
- error: string;
311
- success: boolean;
312
310
  operation: "searchVideos" | "getTranscript" | "scrapeChannel";
311
+ success: boolean;
312
+ error: string;
313
313
  totalResults: number;
314
314
  videos?: {
315
+ id: string | null;
315
316
  description: string | null;
316
317
  title: string | null;
317
318
  date: string | null;
318
319
  url: string | null;
319
320
  duration: string | null;
320
- id: string | null;
321
321
  thumbnail: string | null;
322
322
  comments: number | null;
323
323
  viewCount: number | null;
@@ -333,17 +333,17 @@ export declare class YouTubeTool extends ToolBubble<YouTubeToolParams, YouTubeTo
333
333
  }[] | undefined;
334
334
  fullTranscriptText?: string | undefined;
335
335
  }, {
336
- error: string;
337
- success: boolean;
338
336
  operation: "searchVideos" | "getTranscript" | "scrapeChannel";
337
+ success: boolean;
338
+ error: string;
339
339
  totalResults: number;
340
340
  videos?: {
341
+ id: string | null;
341
342
  description: string | null;
342
343
  title: string | null;
343
344
  date: string | null;
344
345
  url: string | null;
345
346
  duration: string | null;
346
- id: string | null;
347
347
  thumbnail: string | null;
348
348
  comments: number | null;
349
349
  viewCount: number | null;
@@ -0,0 +1,114 @@
1
+ /**
2
+ * SIMPLE BUBBLEFLOW GENERATOR WORKFLOW
3
+ *
4
+ * A simplified BubbleFlow generator that uses AI agent with tools to generate
5
+ * and validate BubbleFlow code from natural language prompts.
6
+ *
7
+ * Much simpler than the complex workflow - just AI + validation tool!
8
+ */
9
+ import { z } from 'zod';
10
+ import { WorkflowBubble } from '../../types/workflow-bubble-class.js';
11
+ import type { BubbleContext } from '../../types/bubble.js';
12
+ import { CredentialType } from '@bubblelab/shared-schemas';
13
+ import { type StreamingCallback } from '../service-bubble/ai-agent.js';
14
+ /**
15
+ * Parameters schema for the simple BubbleFlow generator
16
+ */
17
+ declare const BubbleFlowGeneratorParamsSchema: z.ZodObject<{
18
+ prompt: z.ZodString;
19
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
20
+ }, "strip", z.ZodTypeAny, {
21
+ prompt: string;
22
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
23
+ }, {
24
+ prompt: string;
25
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
26
+ }>;
27
+ /**
28
+ * Result schema
29
+ */
30
+ declare const BubbleFlowGeneratorResultSchema: z.ZodObject<{
31
+ generatedCode: z.ZodString;
32
+ isValid: z.ZodBoolean;
33
+ success: z.ZodBoolean;
34
+ error: z.ZodString;
35
+ toolCalls: z.ZodArray<z.ZodAny, "many">;
36
+ summary: z.ZodDefault<z.ZodString>;
37
+ inputsSchema: z.ZodDefault<z.ZodString>;
38
+ }, "strip", z.ZodTypeAny, {
39
+ success: boolean;
40
+ error: string;
41
+ toolCalls: any[];
42
+ summary: string;
43
+ generatedCode: string;
44
+ isValid: boolean;
45
+ inputsSchema: string;
46
+ }, {
47
+ success: boolean;
48
+ error: string;
49
+ toolCalls: any[];
50
+ generatedCode: string;
51
+ isValid: boolean;
52
+ summary?: string | undefined;
53
+ inputsSchema?: string | undefined;
54
+ }>;
55
+ type BubbleFlowGeneratorParams = z.output<typeof BubbleFlowGeneratorParamsSchema>;
56
+ type BubbleFlowGeneratorResult = z.output<typeof BubbleFlowGeneratorResultSchema>;
57
+ /**
58
+ * Simple BubbleFlow Generator using AI agent with tools
59
+ */
60
+ export declare class BubbleFlowGeneratorWorkflow extends WorkflowBubble<BubbleFlowGeneratorParams, BubbleFlowGeneratorResult> {
61
+ static readonly type: "workflow";
62
+ static readonly bubbleName = "bubbleflow-generator";
63
+ static readonly schema: z.ZodObject<{
64
+ prompt: z.ZodString;
65
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
66
+ }, "strip", z.ZodTypeAny, {
67
+ prompt: string;
68
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
69
+ }, {
70
+ prompt: string;
71
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
72
+ }>;
73
+ static readonly resultSchema: z.ZodObject<{
74
+ generatedCode: z.ZodString;
75
+ isValid: z.ZodBoolean;
76
+ success: z.ZodBoolean;
77
+ error: z.ZodString;
78
+ toolCalls: z.ZodArray<z.ZodAny, "many">;
79
+ summary: z.ZodDefault<z.ZodString>;
80
+ inputsSchema: z.ZodDefault<z.ZodString>;
81
+ }, "strip", z.ZodTypeAny, {
82
+ success: boolean;
83
+ error: string;
84
+ toolCalls: any[];
85
+ summary: string;
86
+ generatedCode: string;
87
+ isValid: boolean;
88
+ inputsSchema: string;
89
+ }, {
90
+ success: boolean;
91
+ error: string;
92
+ toolCalls: any[];
93
+ generatedCode: string;
94
+ isValid: boolean;
95
+ summary?: string | undefined;
96
+ inputsSchema?: string | undefined;
97
+ }>;
98
+ static readonly shortDescription = "Generate BubbleFlow code from natural language";
99
+ static readonly longDescription = "\n Simple BubbleFlow generator that uses AI with validation tools.\n \n Just provide a natural language prompt describing what you want your BubbleFlow to do,\n and it will generate complete TypeScript code with proper validation.\n \n Example prompts:\n - \"Create a flow that queries my database and sends results to Slack\"\n - \"Build a workflow that processes user data with AI and stores it\"\n - \"Make a flow that analyzes text and generates a summary\"\n ";
100
+ static readonly alias = "generate-flow";
101
+ private bubbleFactory;
102
+ constructor(params: z.input<typeof BubbleFlowGeneratorParamsSchema>, context?: BubbleContext);
103
+ private runValidationAgent;
104
+ private runSummarizeAgent;
105
+ private createSystemPrompt;
106
+ private createStreamingSystemPrompt;
107
+ protected performAction(context?: BubbleContext): Promise<BubbleFlowGeneratorResult>;
108
+ /**
109
+ * Execute the workflow with streaming support for real-time code generation feedback
110
+ */
111
+ actionWithStreaming(streamingCallback: StreamingCallback, context?: BubbleContext): Promise<BubbleFlowGeneratorResult>;
112
+ }
113
+ export {};
114
+ //# sourceMappingURL=bubbleflow-generator.workflow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bubbleflow-generator.workflow.d.ts","sourceRoot":"","sources":["../../../src/bubbles/workflow-bubble/bubbleflow-generator.workflow.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,+BAA+B,CAAC;AAiCvC;;GAEG;AACH,QAAA,MAAM,+BAA+B;;;;;;;;;EAUnC,CAAC;AAEH;;GAEG;AACH,QAAA,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;EAgBnC,CAAC;AAEH,KAAK,yBAAyB,GAAG,CAAC,CAAC,MAAM,CACvC,OAAO,+BAA+B,CACvC,CAAC;AACF,KAAK,yBAAyB,GAAG,CAAC,CAAC,MAAM,CACvC,OAAO,+BAA+B,CACvC,CAAC;AA0DF;;GAEG;AACH,qBAAa,2BAA4B,SAAQ,cAAc,CAC7D,yBAAyB,EACzB,yBAAyB,CAC1B;IACC,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAG,UAAU,CAAU;IAC3C,MAAM,CAAC,QAAQ,CAAC,UAAU,0BAA0B;IACpD,MAAM,CAAC,QAAQ,CAAC,MAAM;;;;;;;;;OAAmC;IACzD,MAAM,CAAC,QAAQ,CAAC,YAAY;;;;;;;;;;;;;;;;;;;;;;;;OAAmC;IAC/D,MAAM,CAAC,QAAQ,CAAC,gBAAgB,oDACmB;IACnD,MAAM,CAAC,QAAQ,CAAC,eAAe,kfAU7B;IACF,MAAM,CAAC,QAAQ,CAAC,KAAK,mBAAmB;IAExC,OAAO,CAAC,aAAa,CAAgB;gBAGnC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,EACvD,OAAO,CAAC,EAAE,aAAa;YAMX,kBAAkB;YAmHlB,iBAAiB;IAkF/B,OAAO,CAAC,kBAAkB;IAmB1B,OAAO,CAAC,2BAA2B;cAmBnB,aAAa,CAC3B,OAAO,CAAC,EAAE,aAAa,GACtB,OAAO,CAAC,yBAAyB,CAAC;IAiPrC;;OAEG;IACU,mBAAmB,CAC9B,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,CAAC,EAAE,aAAa,GACtB,OAAO,CAAC,yBAAyB,CAAC;CAiXtC"}