@bubblelab/bubble-core 0.1.39 → 0.1.41

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 (76) hide show
  1. package/dist/bubble-bundle.d.ts +134 -113
  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/bubbles/service-bubble/agi-inc.d.ts +22 -22
  6. package/dist/bubbles/service-bubble/ai-agent.d.ts +48 -48
  7. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  8. package/dist/bubbles/service-bubble/ai-agent.js +5 -0
  9. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  10. package/dist/bubbles/service-bubble/airtable.d.ts +24 -24
  11. package/dist/bubbles/service-bubble/apify/apify.d.ts +18 -18
  12. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +76 -76
  13. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +102 -102
  14. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +18 -18
  15. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +23 -23
  16. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +100 -100
  17. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +126 -126
  18. package/dist/bubbles/service-bubble/eleven-labs.d.ts +8 -8
  19. package/dist/bubbles/service-bubble/firecrawl.d.ts +450 -450
  20. package/dist/bubbles/service-bubble/followupboss.d.ts +218 -218
  21. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +229 -229
  22. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +128 -128
  23. package/dist/bubbles/service-bubble/github.d.ts +84 -84
  24. package/dist/bubbles/service-bubble/gmail.d.ts +104 -104
  25. package/dist/bubbles/service-bubble/google-drive.d.ts +8 -8
  26. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +26 -26
  27. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +18 -18
  28. package/dist/bubbles/service-bubble/http.d.ts +8 -8
  29. package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
  30. package/dist/bubbles/service-bubble/jira/jira.d.ts +6 -6
  31. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +17 -17
  32. package/dist/bubbles/service-bubble/notion/notion.d.ts +24 -24
  33. package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
  34. package/dist/bubbles/service-bubble/resend.d.ts +8 -8
  35. package/dist/bubbles/service-bubble/slack/slack.d.ts +232 -232
  36. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  37. package/dist/bubbles/service-bubble/telegram.d.ts +298 -298
  38. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +5 -5
  39. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +7 -7
  40. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +56 -56
  41. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +12 -12
  42. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +8 -8
  43. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts +3 -0
  44. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts.map +1 -0
  45. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js +3 -0
  46. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js.map +1 -0
  47. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +143 -0
  48. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +1 -0
  49. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js +589 -0
  50. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js.map +1 -0
  51. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +93 -0
  52. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +1 -0
  53. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +44 -0
  54. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +1 -0
  55. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +609 -609
  56. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  57. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +94 -94
  58. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +12 -12
  59. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +6 -6
  60. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  61. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +68 -68
  62. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +182 -182
  63. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
  64. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +10 -10
  65. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +10 -10
  66. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +8 -8
  67. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +20 -20
  68. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +6 -6
  69. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +74 -74
  70. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +14 -14
  71. package/dist/bubbles.json +125 -40
  72. package/dist/index.d.ts +1 -0
  73. package/dist/index.d.ts.map +1 -1
  74. package/dist/index.js +1 -0
  75. package/dist/index.js.map +1 -1
  76. package/package.json +2 -2
@@ -69,16 +69,16 @@ declare const InstagramToolParamsSchema: z.ZodObject<{
69
69
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
70
70
  }, "strip", z.ZodTypeAny, {
71
71
  operation: "scrapeProfile" | "scrapeHashtag";
72
- limit?: number | undefined;
73
72
  credentials?: Partial<Record<CredentialType, string>> | undefined;
74
- profiles?: string[] | undefined;
73
+ limit?: number | undefined;
75
74
  hashtags?: string[] | undefined;
75
+ profiles?: string[] | undefined;
76
76
  }, {
77
77
  operation: "scrapeProfile" | "scrapeHashtag";
78
- limit?: number | undefined;
79
78
  credentials?: Partial<Record<CredentialType, string>> | undefined;
80
- profiles?: string[] | undefined;
79
+ limit?: number | undefined;
81
80
  hashtags?: string[] | undefined;
81
+ profiles?: string[] | undefined;
82
82
  }>;
83
83
  declare const InstagramToolResultSchema: z.ZodObject<{
84
84
  operation: z.ZodEnum<["scrapeProfile", "scrapeHashtag"]>;
@@ -234,16 +234,16 @@ export declare class InstagramTool extends ToolBubble<InstagramToolParams, Insta
234
234
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
235
235
  }, "strip", z.ZodTypeAny, {
236
236
  operation: "scrapeProfile" | "scrapeHashtag";
237
- limit?: number | undefined;
238
237
  credentials?: Partial<Record<CredentialType, string>> | undefined;
239
- profiles?: string[] | undefined;
238
+ limit?: number | undefined;
240
239
  hashtags?: string[] | undefined;
240
+ profiles?: string[] | undefined;
241
241
  }, {
242
242
  operation: "scrapeProfile" | "scrapeHashtag";
243
- limit?: number | undefined;
244
243
  credentials?: Partial<Record<CredentialType, string>> | undefined;
245
- profiles?: string[] | undefined;
244
+ limit?: number | undefined;
246
245
  hashtags?: string[] | undefined;
246
+ profiles?: string[] | undefined;
247
247
  }>;
248
248
  static readonly resultSchema: z.ZodObject<{
249
249
  operation: z.ZodEnum<["scrapeProfile", "scrapeHashtag"]>;
@@ -0,0 +1,3 @@
1
+ export { LinkedInConnectionTool } from './linkedin-connection-tool.js';
2
+ export { LinkedInConnectionToolParamsSchema, LinkedInConnectionToolResultSchema, ProfileInfoSchema, type LinkedInConnectionToolParams, type LinkedInConnectionToolParamsInput, type LinkedInConnectionToolResult, type ProfileInfo, } from './linkedin-connection-tool.schema.js';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/tool-bubble/linkedin-connection-tool/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EACL,kCAAkC,EAClC,kCAAkC,EAClC,iBAAiB,EACjB,KAAK,4BAA4B,EACjC,KAAK,iCAAiC,EACtC,KAAK,4BAA4B,EACjC,KAAK,WAAW,GACjB,MAAM,sCAAsC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { LinkedInConnectionTool } from './linkedin-connection-tool.js';
2
+ export { LinkedInConnectionToolParamsSchema, LinkedInConnectionToolResultSchema, ProfileInfoSchema, } from './linkedin-connection-tool.schema.js';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/bubbles/tool-bubble/linkedin-connection-tool/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EACL,kCAAkC,EAClC,kCAAkC,EAClC,iBAAiB,GAKlB,MAAM,sCAAsC,CAAC"}
@@ -0,0 +1,143 @@
1
+ import { ToolBubble } from '../../../types/tool-bubble-class.js';
2
+ import type { BubbleContext } from '../../../types/bubble.js';
3
+ import { CredentialType, type BubbleName } from '@bubblelab/shared-schemas';
4
+ import { type LinkedInConnectionToolParamsInput, type LinkedInConnectionToolResult } from './linkedin-connection-tool.schema.js';
5
+ /**
6
+ * LinkedIn Connection Tool
7
+ *
8
+ * A tool bubble for automating LinkedIn connection requests.
9
+ * Handles both profile types:
10
+ * - Profiles with direct "Connect" button
11
+ * - Profiles where "Connect" is under the "More" dropdown
12
+ *
13
+ * Features:
14
+ * - Send connection requests to LinkedIn profiles
15
+ * - Add optional personalized notes
16
+ * - Handle various profile layouts
17
+ *
18
+ * Required Credentials:
19
+ * - LINKEDIN_CRED: Browser session credential with LinkedIn cookies
20
+ *
21
+ * Security:
22
+ * - Uses BrowserBase cloud browsers (isolated)
23
+ * - Credentials are encrypted at rest
24
+ * - Session data is not persisted beyond operation
25
+ */
26
+ export declare class LinkedInConnectionTool<T extends LinkedInConnectionToolParamsInput = LinkedInConnectionToolParamsInput> extends ToolBubble<T, LinkedInConnectionToolResult> {
27
+ static readonly bubbleName: BubbleName;
28
+ static readonly schema: import("zod").ZodObject<{
29
+ operation: import("zod").ZodLiteral<"send_connection">;
30
+ profile_url: import("zod").ZodString;
31
+ message: import("zod").ZodOptional<import("zod").ZodString>;
32
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
33
+ }, "strip", import("zod").ZodTypeAny, {
34
+ operation: "send_connection";
35
+ profile_url: string;
36
+ message?: string | undefined;
37
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
38
+ }, {
39
+ operation: "send_connection";
40
+ profile_url: string;
41
+ message?: string | undefined;
42
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
43
+ }>;
44
+ static readonly resultSchema: import("zod").ZodObject<{
45
+ operation: import("zod").ZodLiteral<"send_connection">;
46
+ success: import("zod").ZodBoolean;
47
+ message: import("zod").ZodOptional<import("zod").ZodString>;
48
+ profile: import("zod").ZodOptional<import("zod").ZodObject<{
49
+ name: import("zod").ZodString;
50
+ headline: import("zod").ZodOptional<import("zod").ZodString>;
51
+ location: import("zod").ZodOptional<import("zod").ZodString>;
52
+ profile_url: import("zod").ZodString;
53
+ }, "strip", import("zod").ZodTypeAny, {
54
+ profile_url: string;
55
+ name: string;
56
+ headline?: string | undefined;
57
+ location?: string | undefined;
58
+ }, {
59
+ profile_url: string;
60
+ name: string;
61
+ headline?: string | undefined;
62
+ location?: string | undefined;
63
+ }>>;
64
+ error: import("zod").ZodString;
65
+ }, "strip", import("zod").ZodTypeAny, {
66
+ operation: "send_connection";
67
+ success: boolean;
68
+ error: string;
69
+ message?: string | undefined;
70
+ profile?: {
71
+ profile_url: string;
72
+ name: string;
73
+ headline?: string | undefined;
74
+ location?: string | undefined;
75
+ } | undefined;
76
+ }, {
77
+ operation: "send_connection";
78
+ success: boolean;
79
+ error: string;
80
+ message?: string | undefined;
81
+ profile?: {
82
+ profile_url: string;
83
+ name: string;
84
+ headline?: string | undefined;
85
+ location?: string | undefined;
86
+ } | undefined;
87
+ }>;
88
+ static readonly shortDescription = "LinkedIn connection automation - send connection requests with optional notes";
89
+ static readonly longDescription = "\n LinkedIn Connection Tool for automating connection requests.\n\n Features:\n - Send connection requests to LinkedIn profiles\n - Add optional personalized notes (up to 300 characters)\n - Handles profiles with direct Connect button\n - Handles profiles where Connect is under \"More\" dropdown\n\n Required Credentials:\n - LINKEDIN_CRED: Browser session credential (authenticate via browser session)\n\n Note: The tool operates using authenticated browser sessions to ensure security.\n ";
90
+ static readonly alias = "linkedin";
91
+ static readonly type = "tool";
92
+ private sessionId;
93
+ private contextId;
94
+ private cookies;
95
+ constructor(params?: T, context?: BubbleContext);
96
+ /**
97
+ * Choose the credential to use for LinkedIn operations
98
+ */
99
+ protected chooseCredential(): string | undefined;
100
+ /**
101
+ * Parse the LINKEDIN_CRED to extract contextId and cookies
102
+ */
103
+ private parseBrowserSessionData;
104
+ /**
105
+ * Start a browser session using BrowserBase
106
+ */
107
+ private startBrowserSession;
108
+ /**
109
+ * End the browser session
110
+ */
111
+ private endBrowserSession;
112
+ /**
113
+ * Navigate to a URL
114
+ */
115
+ private navigateTo;
116
+ /**
117
+ * Evaluate JavaScript in page
118
+ */
119
+ private evaluate;
120
+ /**
121
+ * Type text into an input field
122
+ */
123
+ private typeText;
124
+ /**
125
+ * Get current page URL
126
+ */
127
+ private getCurrentUrl;
128
+ /**
129
+ * Save current DOM state to file for debugging
130
+ * Only saves when DEBUG env var is set
131
+ */
132
+ private saveDebugState;
133
+ performAction(): Promise<LinkedInConnectionToolResult>;
134
+ /**
135
+ * Send a connection request to a LinkedIn profile
136
+ */
137
+ private sendConnection;
138
+ /**
139
+ * Extract profile information from the current page
140
+ */
141
+ private extractProfileInfo;
142
+ }
143
+ //# sourceMappingURL=linkedin-connection-tool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linkedin-connection-tool.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,KAAK,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAM5E,OAAO,EAGL,KAAK,iCAAiC,EACtC,KAAK,4BAA4B,EAElC,MAAM,sCAAsC,CAAC;AAU9C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qBAAa,sBAAsB,CACjC,CAAC,SACC,iCAAiC,GAAG,iCAAiC,CACvE,SAAQ,UAAU,CAAC,CAAC,EAAE,4BAA4B,CAAC;IACnD,MAAM,CAAC,QAAQ,CAAC,UAAU,EAAE,UAAU,CAA8B;IACpE,MAAM,CAAC,QAAQ,CAAC,MAAM;;;;;;;;;;;;;;;OAAsC;IAC5D,MAAM,CAAC,QAAQ,CAAC,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAsC;IAClE,MAAM,CAAC,QAAQ,CAAC,gBAAgB,mFACkD;IAClF,MAAM,CAAC,QAAQ,CAAC,eAAe,6gBAa7B;IACF,MAAM,CAAC,QAAQ,CAAC,KAAK,cAAc;IACnC,MAAM,CAAC,QAAQ,CAAC,IAAI,UAAU;IAE9B,OAAO,CAAC,SAAS,CAAuB;IACxC,OAAO,CAAC,SAAS,CAAuB;IACxC,OAAO,CAAC,OAAO,CAA4B;gBAGzC,MAAM,GAAE,CAA0D,EAClE,OAAO,CAAC,EAAE,aAAa;IAKzB;;OAEG;IACH,SAAS,CAAC,gBAAgB,IAAI,MAAM,GAAG,SAAS;IAYhD;;OAEG;IACH,OAAO,CAAC,uBAAuB;IA8B/B;;OAEG;YACW,mBAAmB;IAuDjC;;OAEG;YACW,iBAAiB;IAgC/B;;OAEG;YACW,UAAU;IAuBxB;;OAEG;YACW,QAAQ;IAuBtB;;OAEG;YACW,QAAQ;IAqBtB;;OAEG;YACW,aAAa;IAK3B;;;OAGG;YACW,cAAc;IAyBtB,aAAa,IAAI,OAAO,CAAC,4BAA4B,CAAC;IAiB5D;;OAEG;YACW,cAAc;IA6R5B;;OAEG;YACW,kBAAkB;CA4FjC"}