@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.
- package/dist/bubble-bundle.d.ts +134 -113
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +4 -0
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.d.ts +22 -22
- package/dist/bubbles/service-bubble/ai-agent.d.ts +48 -48
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +5 -0
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +24 -24
- package/dist/bubbles/service-bubble/apify/apify.d.ts +18 -18
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +76 -76
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +102 -102
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +18 -18
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +23 -23
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +100 -100
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +126 -126
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +8 -8
- package/dist/bubbles/service-bubble/firecrawl.d.ts +450 -450
- package/dist/bubbles/service-bubble/followupboss.d.ts +218 -218
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +229 -229
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +128 -128
- package/dist/bubbles/service-bubble/github.d.ts +84 -84
- package/dist/bubbles/service-bubble/gmail.d.ts +104 -104
- package/dist/bubbles/service-bubble/google-drive.d.ts +8 -8
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +26 -26
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +18 -18
- package/dist/bubbles/service-bubble/http.d.ts +8 -8
- package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
- package/dist/bubbles/service-bubble/jira/jira.d.ts +6 -6
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +17 -17
- package/dist/bubbles/service-bubble/notion/notion.d.ts +24 -24
- package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
- package/dist/bubbles/service-bubble/resend.d.ts +8 -8
- package/dist/bubbles/service-bubble/slack/slack.d.ts +232 -232
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/telegram.d.ts +298 -298
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +5 -5
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +7 -7
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +56 -56
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts +3 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js +3 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +143 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js +589 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +93 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +44 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +609 -609
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +94 -94
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +6 -6
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +68 -68
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +182 -182
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +10 -10
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +10 -10
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +20 -20
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +6 -6
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +74 -74
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +14 -14
- package/dist/bubbles.json +125 -40
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- 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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 @@
|
|
|
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","sour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