integrate-sdk 0.9.47-dev.0 → 0.9.48-dev.1
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/adapters/auto-routes.js +52 -0
- package/dist/adapters/base-handler.js +52 -0
- package/dist/adapters/index.js +169 -78
- package/dist/adapters/nextjs.js +52 -0
- package/dist/adapters/solid-start.js +169 -78
- package/dist/adapters/svelte-kit.js +169 -78
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1037 -241
- package/dist/oauth.js +52 -0
- package/dist/server.js +1058 -261
- package/dist/src/client.d.ts +14 -1
- package/dist/src/client.d.ts.map +1 -1
- package/dist/src/index.d.ts +26 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/integrations/asana-client.d.ts +74 -0
- package/dist/src/integrations/asana-client.d.ts.map +1 -0
- package/dist/src/integrations/asana.d.ts +12 -0
- package/dist/src/integrations/asana.d.ts.map +1 -0
- package/dist/src/integrations/bitbucket-client.d.ts +94 -0
- package/dist/src/integrations/bitbucket-client.d.ts.map +1 -0
- package/dist/src/integrations/bitbucket.d.ts +14 -0
- package/dist/src/integrations/bitbucket.d.ts.map +1 -0
- package/dist/src/integrations/box-client.d.ts +83 -0
- package/dist/src/integrations/box-client.d.ts.map +1 -0
- package/dist/src/integrations/box.d.ts +22 -0
- package/dist/src/integrations/box.d.ts.map +1 -0
- package/dist/src/integrations/confluence-client.d.ts +69 -0
- package/dist/src/integrations/confluence-client.d.ts.map +1 -0
- package/dist/src/integrations/confluence.d.ts +14 -0
- package/dist/src/integrations/confluence.d.ts.map +1 -0
- package/dist/src/integrations/gkeep-client.d.ts +38 -0
- package/dist/src/integrations/gkeep-client.d.ts.map +1 -0
- package/dist/src/integrations/gkeep.d.ts +22 -0
- package/dist/src/integrations/gkeep.d.ts.map +1 -0
- package/dist/src/integrations/library-metadata.d.ts.map +1 -1
- package/dist/src/integrations/okta-client.d.ts +75 -0
- package/dist/src/integrations/okta-client.d.ts.map +1 -0
- package/dist/src/integrations/okta.d.ts +16 -0
- package/dist/src/integrations/okta.d.ts.map +1 -0
- package/dist/src/integrations/paypal-client.d.ts +64 -0
- package/dist/src/integrations/paypal-client.d.ts.map +1 -0
- package/dist/src/integrations/paypal.d.ts +11 -0
- package/dist/src/integrations/paypal.d.ts.map +1 -0
- package/dist/src/integrations/quickbooks-client.d.ts +91 -0
- package/dist/src/integrations/quickbooks-client.d.ts.map +1 -0
- package/dist/src/integrations/quickbooks.d.ts +14 -0
- package/dist/src/integrations/quickbooks.d.ts.map +1 -0
- package/dist/src/integrations/smartthings-client.d.ts +57 -0
- package/dist/src/integrations/smartthings-client.d.ts.map +1 -0
- package/dist/src/integrations/smartthings.d.ts +15 -0
- package/dist/src/integrations/smartthings.d.ts.map +1 -0
- package/dist/src/integrations/spotify-client.d.ts +62 -0
- package/dist/src/integrations/spotify-client.d.ts.map +1 -0
- package/dist/src/integrations/spotify.d.ts +14 -0
- package/dist/src/integrations/spotify.d.ts.map +1 -0
- package/dist/src/integrations/square-client.d.ts +79 -0
- package/dist/src/integrations/square-client.d.ts.map +1 -0
- package/dist/src/integrations/square.d.ts +15 -0
- package/dist/src/integrations/square.d.ts.map +1 -0
- package/dist/src/integrations/strava-client.d.ts +117 -0
- package/dist/src/integrations/strava-client.d.ts.map +1 -0
- package/dist/src/integrations/strava.d.ts +14 -0
- package/dist/src/integrations/strava.d.ts.map +1 -0
- package/dist/src/integrations/telegram-client.d.ts +46 -0
- package/dist/src/integrations/telegram-client.d.ts.map +1 -0
- package/dist/src/integrations/telegram.d.ts +19 -0
- package/dist/src/integrations/telegram.d.ts.map +1 -0
- package/dist/src/server.d.ts +13 -0
- package/dist/src/server.d.ts.map +1 -1
- package/index.ts +24 -0
- package/package.json +1 -1
package/dist/server.js
CHANGED
|
@@ -104,6 +104,14 @@ var init_library_metadata = __esm(() => {
|
|
|
104
104
|
description: "Manage Attio people, companies, tasks, and CRM records",
|
|
105
105
|
category: "Business"
|
|
106
106
|
},
|
|
107
|
+
asana: {
|
|
108
|
+
description: "Manage Asana workspaces, projects, tasks, stories, users, and teams",
|
|
109
|
+
category: "Productivity"
|
|
110
|
+
},
|
|
111
|
+
bitbucket: {
|
|
112
|
+
description: "Manage Bitbucket Cloud repositories, pull requests, issues, and pipelines",
|
|
113
|
+
category: "Engineering"
|
|
114
|
+
},
|
|
107
115
|
calcom: {
|
|
108
116
|
description: "Manage Cal.com bookings and schedules",
|
|
109
117
|
category: "Business"
|
|
@@ -116,6 +124,10 @@ var init_library_metadata = __esm(() => {
|
|
|
116
124
|
description: "Manage Cloudflare zones, DNS, CDN cache, and Workers",
|
|
117
125
|
category: "Infrastructure"
|
|
118
126
|
},
|
|
127
|
+
confluence: {
|
|
128
|
+
description: "Manage Confluence spaces, pages, search, comments, and attachments",
|
|
129
|
+
category: "Productivity"
|
|
130
|
+
},
|
|
119
131
|
cursor: {
|
|
120
132
|
description: "Manage Cursor Cloud Agents and background tasks",
|
|
121
133
|
category: "Engineering"
|
|
@@ -148,6 +160,10 @@ var init_library_metadata = __esm(() => {
|
|
|
148
160
|
description: "Manage Google Tasks lists and to-dos",
|
|
149
161
|
category: "Productivity"
|
|
150
162
|
},
|
|
163
|
+
gkeep: {
|
|
164
|
+
description: "Manage Google Keep notes, attachments, and sharing permissions",
|
|
165
|
+
category: "Productivity"
|
|
166
|
+
},
|
|
151
167
|
gmeet: {
|
|
152
168
|
description: "Create Google Meet links and manage meeting events via Calendar",
|
|
153
169
|
category: "Communication"
|
|
@@ -176,6 +192,10 @@ var init_library_metadata = __esm(() => {
|
|
|
176
192
|
description: "Manage Notion pages and databases",
|
|
177
193
|
category: "Productivity"
|
|
178
194
|
},
|
|
195
|
+
okta: {
|
|
196
|
+
description: "Manage Okta users, groups, applications, policies, and system logs",
|
|
197
|
+
category: "Engineering"
|
|
198
|
+
},
|
|
179
199
|
onedrive: {
|
|
180
200
|
description: "Manage OneDrive files, folders, and sharing",
|
|
181
201
|
category: "Storage"
|
|
@@ -192,6 +212,10 @@ var init_library_metadata = __esm(() => {
|
|
|
192
212
|
description: "Manage Polar products, orders, and subscriptions",
|
|
193
213
|
category: "Finance"
|
|
194
214
|
},
|
|
215
|
+
paypal: {
|
|
216
|
+
description: "Manage PayPal orders, captures, refunds, invoices, products, plans, and subscriptions",
|
|
217
|
+
category: "Finance"
|
|
218
|
+
},
|
|
195
219
|
phantom: {
|
|
196
220
|
description: "Build Phantom mobile browse universal links and deeplink provider documentation (Solana)",
|
|
197
221
|
category: "Other"
|
|
@@ -208,6 +232,10 @@ var init_library_metadata = __esm(() => {
|
|
|
208
232
|
description: "Manage Ramp corporate cards, bills, and spend",
|
|
209
233
|
category: "Business"
|
|
210
234
|
},
|
|
235
|
+
quickbooks: {
|
|
236
|
+
description: "Manage QuickBooks Online accounting data, invoices, bills, payments, and reports",
|
|
237
|
+
category: "Finance"
|
|
238
|
+
},
|
|
211
239
|
resend: {
|
|
212
240
|
description: "Send email and manage domains with the Resend API",
|
|
213
241
|
category: "Communication"
|
|
@@ -248,6 +276,26 @@ var init_library_metadata = __esm(() => {
|
|
|
248
276
|
description: "Send and manage Slack messages and channels",
|
|
249
277
|
category: "Communication"
|
|
250
278
|
},
|
|
279
|
+
smartthings: {
|
|
280
|
+
description: "Manage SmartThings locations, rooms, devices, scenes, and rules",
|
|
281
|
+
category: "Other"
|
|
282
|
+
},
|
|
283
|
+
spotify: {
|
|
284
|
+
description: "Search Spotify, manage playlists and saved tracks, and control playback",
|
|
285
|
+
category: "Other"
|
|
286
|
+
},
|
|
287
|
+
strava: {
|
|
288
|
+
description: "Manage Strava athletes, activities, routes, clubs, segments, streams, gear, and uploads",
|
|
289
|
+
category: "Other"
|
|
290
|
+
},
|
|
291
|
+
square: {
|
|
292
|
+
description: "Manage Square merchants, locations, customers, catalog, orders, payments, refunds, and invoices",
|
|
293
|
+
category: "Finance"
|
|
294
|
+
},
|
|
295
|
+
telegram: {
|
|
296
|
+
description: "Use Telegram as an actual user account via MTProto sessions",
|
|
297
|
+
category: "Communication"
|
|
298
|
+
},
|
|
251
299
|
stripe: {
|
|
252
300
|
description: "Manage Stripe customers, payments, and subscriptions",
|
|
253
301
|
category: "Finance"
|
|
@@ -312,6 +360,10 @@ var init_library_metadata = __esm(() => {
|
|
|
312
360
|
description: "Manage Dropbox files, folders, and sharing",
|
|
313
361
|
category: "Storage"
|
|
314
362
|
},
|
|
363
|
+
box: {
|
|
364
|
+
description: "Manage Box files, folders, sharing, comments, search, and collaborations",
|
|
365
|
+
category: "Storage"
|
|
366
|
+
},
|
|
315
367
|
paper: {
|
|
316
368
|
description: "Create, update, and export Dropbox Paper documents",
|
|
317
369
|
category: "Productivity"
|
|
@@ -2623,7 +2675,7 @@ async function deliverWebhook(webhook, payload, timeoutMs) {
|
|
|
2623
2675
|
signal: controller.signal
|
|
2624
2676
|
});
|
|
2625
2677
|
if (!response.ok) {
|
|
2626
|
-
|
|
2678
|
+
logger104.warn(`Webhook delivery to ${webhook.url} returned ${response.status}`);
|
|
2627
2679
|
}
|
|
2628
2680
|
} finally {
|
|
2629
2681
|
clearTimeout(timeout);
|
|
@@ -2636,14 +2688,14 @@ async function deliverWebhooks(webhooks, payload, timeoutMs) {
|
|
|
2636
2688
|
for (let i = 0;i < results.length; i++) {
|
|
2637
2689
|
const result = results[i];
|
|
2638
2690
|
if (result.status === "rejected") {
|
|
2639
|
-
|
|
2691
|
+
logger104.warn(`Webhook delivery to ${webhooks[i].url} failed:`, result.reason);
|
|
2640
2692
|
}
|
|
2641
2693
|
}
|
|
2642
2694
|
}
|
|
2643
|
-
var
|
|
2695
|
+
var logger104;
|
|
2644
2696
|
var init_webhooks = __esm(() => {
|
|
2645
2697
|
init_logger();
|
|
2646
|
-
|
|
2698
|
+
logger104 = createLogger("Webhooks", "server");
|
|
2647
2699
|
});
|
|
2648
2700
|
|
|
2649
2701
|
// src/triggers/types.ts
|
|
@@ -2663,13 +2715,13 @@ async function executeTrigger(trigger, config, context) {
|
|
|
2663
2715
|
while (stepIndex < MAX_TRIGGER_STEPS) {
|
|
2664
2716
|
const stepValidation = validateStepLimit(stepIndex, MAX_TRIGGER_STEPS);
|
|
2665
2717
|
if (!stepValidation.valid) {
|
|
2666
|
-
|
|
2718
|
+
logger105.error(`[Trigger ${trigger.id}] ${stepValidation.error}`);
|
|
2667
2719
|
break;
|
|
2668
2720
|
}
|
|
2669
2721
|
const providerToken = await config.getProviderToken(currentProvider, undefined, context);
|
|
2670
2722
|
if (!providerToken) {
|
|
2671
2723
|
const error = `No OAuth token available for provider '${currentProvider}'`;
|
|
2672
|
-
|
|
2724
|
+
logger105.error(`[Trigger ${trigger.id}] ${error}`);
|
|
2673
2725
|
steps.push({
|
|
2674
2726
|
stepIndex,
|
|
2675
2727
|
toolName: currentToolName,
|
|
@@ -2695,7 +2747,7 @@ async function executeTrigger(trigger, config, context) {
|
|
|
2695
2747
|
} catch (err) {
|
|
2696
2748
|
stepSuccess = false;
|
|
2697
2749
|
stepError = err.message || "Tool execution failed";
|
|
2698
|
-
|
|
2750
|
+
logger105.error(`[Trigger ${trigger.id}] Step ${stepIndex} failed:`, err);
|
|
2699
2751
|
}
|
|
2700
2752
|
if (stepSuccess && toolResult) {
|
|
2701
2753
|
if (toolResult.isError === true) {
|
|
@@ -2788,7 +2840,7 @@ async function executeTrigger(trigger, config, context) {
|
|
|
2788
2840
|
return { success: steps.every((s) => s.success), steps, error: stepError };
|
|
2789
2841
|
}
|
|
2790
2842
|
const limitError = `Trigger execution exceeded maximum of ${MAX_TRIGGER_STEPS} steps`;
|
|
2791
|
-
|
|
2843
|
+
logger105.error(`[Trigger ${trigger.id}] ${limitError}`);
|
|
2792
2844
|
await config.triggers.update(trigger.id, {
|
|
2793
2845
|
lastRunAt: new Date().toISOString(),
|
|
2794
2846
|
runCount: (trigger.runCount || 0) + 1,
|
|
@@ -2797,12 +2849,12 @@ async function executeTrigger(trigger, config, context) {
|
|
|
2797
2849
|
}, context);
|
|
2798
2850
|
return { success: false, steps, error: limitError };
|
|
2799
2851
|
}
|
|
2800
|
-
var
|
|
2852
|
+
var logger105;
|
|
2801
2853
|
var init_executor2 = __esm(() => {
|
|
2802
2854
|
init_logger();
|
|
2803
2855
|
init_utils();
|
|
2804
2856
|
init_webhooks();
|
|
2805
|
-
|
|
2857
|
+
logger105 = createLogger("TriggerExecutor", "server");
|
|
2806
2858
|
});
|
|
2807
2859
|
|
|
2808
2860
|
// src/protocol/jsonrpc.ts
|
|
@@ -5871,9 +5923,700 @@ function discordIntegration(config = {}) {
|
|
|
5871
5923
|
}
|
|
5872
5924
|
};
|
|
5873
5925
|
}
|
|
5926
|
+
// src/integrations/telegram.ts
|
|
5927
|
+
init_logger();
|
|
5928
|
+
var logger14 = createLogger("Telegram");
|
|
5929
|
+
var TELEGRAM_TOOLS = [
|
|
5930
|
+
"telegram_auth_send_code",
|
|
5931
|
+
"telegram_auth_sign_in",
|
|
5932
|
+
"telegram_auth_check_password",
|
|
5933
|
+
"telegram_get_me",
|
|
5934
|
+
"telegram_resolve_username",
|
|
5935
|
+
"telegram_list_dialogs",
|
|
5936
|
+
"telegram_get_history",
|
|
5937
|
+
"telegram_search_messages",
|
|
5938
|
+
"telegram_send_message"
|
|
5939
|
+
];
|
|
5940
|
+
function telegramIntegration(options = {}) {
|
|
5941
|
+
const apiId = options.apiId ?? getEnv("TELEGRAM_API_ID");
|
|
5942
|
+
const apiHash = options.apiHash ?? getEnv("TELEGRAM_API_HASH");
|
|
5943
|
+
const sessionId = options.sessionId ?? getEnv("TELEGRAM_SESSION_ID");
|
|
5944
|
+
if (!apiId) {
|
|
5945
|
+
throw new Error("telegramIntegration requires apiId or TELEGRAM_API_ID");
|
|
5946
|
+
}
|
|
5947
|
+
if (!apiHash) {
|
|
5948
|
+
throw new Error("telegramIntegration requires apiHash or TELEGRAM_API_HASH");
|
|
5949
|
+
}
|
|
5950
|
+
return {
|
|
5951
|
+
id: "telegram",
|
|
5952
|
+
name: "Telegram",
|
|
5953
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/telegram.png",
|
|
5954
|
+
description: "Use Telegram as an actual user account via MTProto sessions, not the Bot API",
|
|
5955
|
+
category: "Communication",
|
|
5956
|
+
tools: [...TELEGRAM_TOOLS],
|
|
5957
|
+
authType: "apiKey",
|
|
5958
|
+
getHeaders() {
|
|
5959
|
+
const headers = {
|
|
5960
|
+
"X-Telegram-Api-Id": String(apiId),
|
|
5961
|
+
"X-Telegram-Api-Hash": String(apiHash)
|
|
5962
|
+
};
|
|
5963
|
+
if (sessionId) {
|
|
5964
|
+
headers["X-Telegram-Session-Id"] = sessionId;
|
|
5965
|
+
}
|
|
5966
|
+
return headers;
|
|
5967
|
+
},
|
|
5968
|
+
async onInit(_client) {
|
|
5969
|
+
logger14.debug("Telegram integration initialized");
|
|
5970
|
+
},
|
|
5971
|
+
async onAfterConnect(_client) {
|
|
5972
|
+
logger14.debug("Telegram integration connected");
|
|
5973
|
+
}
|
|
5974
|
+
};
|
|
5975
|
+
}
|
|
5976
|
+
// src/integrations/box.ts
|
|
5977
|
+
init_logger();
|
|
5978
|
+
var logger15 = createLogger("Box");
|
|
5979
|
+
var BOX_TOOLS = [
|
|
5980
|
+
"box_get_current_user",
|
|
5981
|
+
"box_list_folder_items",
|
|
5982
|
+
"box_get_file",
|
|
5983
|
+
"box_get_folder",
|
|
5984
|
+
"box_create_folder",
|
|
5985
|
+
"box_update_file",
|
|
5986
|
+
"box_update_folder",
|
|
5987
|
+
"box_delete_file",
|
|
5988
|
+
"box_delete_folder",
|
|
5989
|
+
"box_upload_text_file",
|
|
5990
|
+
"box_download_file",
|
|
5991
|
+
"box_search",
|
|
5992
|
+
"box_create_shared_link",
|
|
5993
|
+
"box_create_collaboration",
|
|
5994
|
+
"box_list_comments",
|
|
5995
|
+
"box_create_comment",
|
|
5996
|
+
"box_delete_comment"
|
|
5997
|
+
];
|
|
5998
|
+
function boxIntegration(options = {}) {
|
|
5999
|
+
if (options.scopes !== undefined && (!Array.isArray(options.scopes) || options.scopes.some((scope) => typeof scope !== "string"))) {
|
|
6000
|
+
throw new Error("boxIntegration scopes must be an array of strings");
|
|
6001
|
+
}
|
|
6002
|
+
const oauth = {
|
|
6003
|
+
provider: "box",
|
|
6004
|
+
clientId: options.clientId ?? getEnv("BOX_CLIENT_ID"),
|
|
6005
|
+
clientSecret: options.clientSecret ?? getEnv("BOX_CLIENT_SECRET"),
|
|
6006
|
+
scopes: options.scopes,
|
|
6007
|
+
optionalScopes: options.optionalScopes,
|
|
6008
|
+
redirectUri: options.redirectUri,
|
|
6009
|
+
config: options
|
|
6010
|
+
};
|
|
6011
|
+
return {
|
|
6012
|
+
id: "box",
|
|
6013
|
+
name: "Box",
|
|
6014
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/box.png",
|
|
6015
|
+
description: "Manage Box files, folders, sharing, comments, search, and collaborations",
|
|
6016
|
+
category: "Storage",
|
|
6017
|
+
tools: [...BOX_TOOLS],
|
|
6018
|
+
authType: "oauth",
|
|
6019
|
+
oauth,
|
|
6020
|
+
async onInit(_client) {
|
|
6021
|
+
logger15.debug("Box integration initialized");
|
|
6022
|
+
},
|
|
6023
|
+
async onAfterConnect(_client) {
|
|
6024
|
+
logger15.debug("Box integration connected");
|
|
6025
|
+
}
|
|
6026
|
+
};
|
|
6027
|
+
}
|
|
6028
|
+
// src/integrations/paypal.ts
|
|
6029
|
+
init_logger();
|
|
6030
|
+
var logger16 = createLogger("PayPal");
|
|
6031
|
+
var PAYPAL_TOOLS = [
|
|
6032
|
+
"paypal_create_order",
|
|
6033
|
+
"paypal_get_order",
|
|
6034
|
+
"paypal_capture_order",
|
|
6035
|
+
"paypal_get_capture",
|
|
6036
|
+
"paypal_refund_capture",
|
|
6037
|
+
"paypal_get_refund",
|
|
6038
|
+
"paypal_list_invoices",
|
|
6039
|
+
"paypal_get_invoice",
|
|
6040
|
+
"paypal_create_invoice",
|
|
6041
|
+
"paypal_send_invoice",
|
|
6042
|
+
"paypal_list_products",
|
|
6043
|
+
"paypal_create_product",
|
|
6044
|
+
"paypal_list_plans",
|
|
6045
|
+
"paypal_create_plan",
|
|
6046
|
+
"paypal_get_subscription",
|
|
6047
|
+
"paypal_cancel_subscription"
|
|
6048
|
+
];
|
|
6049
|
+
async function fetchPayPalToken(config) {
|
|
6050
|
+
const base = config.environment === "sandbox" ? "https://api-m.sandbox.paypal.com" : "https://api-m.paypal.com";
|
|
6051
|
+
const res = await fetch(`${base}/v1/oauth2/token`, {
|
|
6052
|
+
method: "POST",
|
|
6053
|
+
headers: {
|
|
6054
|
+
Authorization: `Basic ${btoa(`${config.clientId}:${config.clientSecret}`)}`,
|
|
6055
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
6056
|
+
},
|
|
6057
|
+
body: new URLSearchParams({ grant_type: "client_credentials" })
|
|
6058
|
+
});
|
|
6059
|
+
const text = await res.text();
|
|
6060
|
+
if (!res.ok) {
|
|
6061
|
+
throw new Error(`PayPal token request failed (${res.status}): ${text}`);
|
|
6062
|
+
}
|
|
6063
|
+
const data = JSON.parse(text);
|
|
6064
|
+
if (!data.access_token)
|
|
6065
|
+
throw new Error("PayPal token response missing access_token");
|
|
6066
|
+
return data.access_token;
|
|
6067
|
+
}
|
|
6068
|
+
function paypalIntegration(config = {}) {
|
|
6069
|
+
const clientId = config.clientId ?? getEnv("PAYPAL_CLIENT_ID");
|
|
6070
|
+
const clientSecret = config.clientSecret ?? getEnv("PAYPAL_CLIENT_SECRET");
|
|
6071
|
+
const environment = config.environment ?? getEnv("PAYPAL_ENVIRONMENT") ?? "production";
|
|
6072
|
+
let accessToken = "";
|
|
6073
|
+
return {
|
|
6074
|
+
id: "paypal",
|
|
6075
|
+
name: "PayPal",
|
|
6076
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/paypal.png",
|
|
6077
|
+
description: "Manage PayPal orders, captures, refunds, invoices, products, plans, and subscriptions",
|
|
6078
|
+
category: "Finance",
|
|
6079
|
+
tools: [...PAYPAL_TOOLS],
|
|
6080
|
+
authType: "apiKey",
|
|
6081
|
+
getHeaders: () => {
|
|
6082
|
+
const headers = {};
|
|
6083
|
+
if (accessToken)
|
|
6084
|
+
headers.Authorization = `Bearer ${accessToken}`;
|
|
6085
|
+
return headers;
|
|
6086
|
+
},
|
|
6087
|
+
async onBeforeConnect() {
|
|
6088
|
+
if (!clientId || !clientSecret)
|
|
6089
|
+
return;
|
|
6090
|
+
accessToken = await fetchPayPalToken({ clientId, clientSecret, environment });
|
|
6091
|
+
},
|
|
6092
|
+
async onInit() {
|
|
6093
|
+
logger16.debug("PayPal integration initialized");
|
|
6094
|
+
},
|
|
6095
|
+
async onAfterConnect() {
|
|
6096
|
+
logger16.debug("PayPal integration connected");
|
|
6097
|
+
}
|
|
6098
|
+
};
|
|
6099
|
+
}
|
|
6100
|
+
// src/integrations/square.ts
|
|
6101
|
+
init_logger();
|
|
6102
|
+
var logger17 = createLogger("Square");
|
|
6103
|
+
var SQUARE_SCOPES = [
|
|
6104
|
+
"MERCHANT_PROFILE_READ",
|
|
6105
|
+
"PAYMENTS_READ",
|
|
6106
|
+
"PAYMENTS_WRITE",
|
|
6107
|
+
"CUSTOMERS_READ",
|
|
6108
|
+
"CUSTOMERS_WRITE",
|
|
6109
|
+
"ORDERS_READ",
|
|
6110
|
+
"ORDERS_WRITE",
|
|
6111
|
+
"ITEMS_READ",
|
|
6112
|
+
"ITEMS_WRITE",
|
|
6113
|
+
"INVOICES_READ",
|
|
6114
|
+
"INVOICES_WRITE"
|
|
6115
|
+
];
|
|
6116
|
+
var SQUARE_TOOLS = [
|
|
6117
|
+
"square_get_merchant",
|
|
6118
|
+
"square_list_locations",
|
|
6119
|
+
"square_list_customers",
|
|
6120
|
+
"square_get_customer",
|
|
6121
|
+
"square_create_customer",
|
|
6122
|
+
"square_update_customer",
|
|
6123
|
+
"square_delete_customer",
|
|
6124
|
+
"square_search_catalog",
|
|
6125
|
+
"square_retrieve_catalog_object",
|
|
6126
|
+
"square_upsert_catalog_object",
|
|
6127
|
+
"square_search_orders",
|
|
6128
|
+
"square_create_order",
|
|
6129
|
+
"square_pay_order",
|
|
6130
|
+
"square_list_payments",
|
|
6131
|
+
"square_get_payment",
|
|
6132
|
+
"square_create_payment",
|
|
6133
|
+
"square_list_refunds",
|
|
6134
|
+
"square_refund_payment",
|
|
6135
|
+
"square_list_invoices",
|
|
6136
|
+
"square_get_invoice",
|
|
6137
|
+
"square_create_invoice"
|
|
6138
|
+
];
|
|
6139
|
+
function squareIntegration(config = {}) {
|
|
6140
|
+
const environment = config.environment ?? getEnv("SQUARE_ENVIRONMENT");
|
|
6141
|
+
const oauth = {
|
|
6142
|
+
provider: "square",
|
|
6143
|
+
clientId: config.clientId ?? getEnv("SQUARE_CLIENT_ID"),
|
|
6144
|
+
clientSecret: config.clientSecret ?? getEnv("SQUARE_CLIENT_SECRET"),
|
|
6145
|
+
scopes: config.scopes ?? [...SQUARE_SCOPES],
|
|
6146
|
+
redirectUri: config.redirectUri,
|
|
6147
|
+
config: { ...config, subdomain: environment === "sandbox" ? "sandbox" : undefined }
|
|
6148
|
+
};
|
|
6149
|
+
return {
|
|
6150
|
+
id: "square",
|
|
6151
|
+
name: "Square",
|
|
6152
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/square.png",
|
|
6153
|
+
description: "Manage Square merchants, locations, customers, catalog, orders, payments, refunds, and invoices",
|
|
6154
|
+
category: "Finance",
|
|
6155
|
+
tools: [...SQUARE_TOOLS],
|
|
6156
|
+
authType: "oauth",
|
|
6157
|
+
oauth,
|
|
6158
|
+
async onInit() {
|
|
6159
|
+
logger17.debug("Square integration initialized");
|
|
6160
|
+
},
|
|
6161
|
+
async onAfterConnect() {
|
|
6162
|
+
logger17.debug("Square integration connected");
|
|
6163
|
+
}
|
|
6164
|
+
};
|
|
6165
|
+
}
|
|
6166
|
+
// src/integrations/spotify.ts
|
|
6167
|
+
init_logger();
|
|
6168
|
+
var logger18 = createLogger("Spotify");
|
|
6169
|
+
var SPOTIFY_SCOPES = [
|
|
6170
|
+
"user-read-email",
|
|
6171
|
+
"playlist-read-private",
|
|
6172
|
+
"playlist-modify-private",
|
|
6173
|
+
"playlist-modify-public",
|
|
6174
|
+
"user-library-read",
|
|
6175
|
+
"user-library-modify",
|
|
6176
|
+
"user-read-playback-state",
|
|
6177
|
+
"user-modify-playback-state"
|
|
6178
|
+
];
|
|
6179
|
+
var SPOTIFY_TOOLS = [
|
|
6180
|
+
"spotify_get_current_user",
|
|
6181
|
+
"spotify_search",
|
|
6182
|
+
"spotify_get_track",
|
|
6183
|
+
"spotify_get_album",
|
|
6184
|
+
"spotify_list_user_playlists",
|
|
6185
|
+
"spotify_get_playlist",
|
|
6186
|
+
"spotify_create_playlist",
|
|
6187
|
+
"spotify_add_playlist_items",
|
|
6188
|
+
"spotify_remove_playlist_items",
|
|
6189
|
+
"spotify_get_saved_tracks",
|
|
6190
|
+
"spotify_save_tracks",
|
|
6191
|
+
"spotify_remove_saved_tracks",
|
|
6192
|
+
"spotify_get_playback_state",
|
|
6193
|
+
"spotify_start_playback",
|
|
6194
|
+
"spotify_pause_playback"
|
|
6195
|
+
];
|
|
6196
|
+
function spotifyIntegration(config = {}) {
|
|
6197
|
+
const oauth = {
|
|
6198
|
+
provider: "spotify",
|
|
6199
|
+
clientId: config.clientId ?? getEnv("SPOTIFY_CLIENT_ID"),
|
|
6200
|
+
clientSecret: config.clientSecret ?? getEnv("SPOTIFY_CLIENT_SECRET"),
|
|
6201
|
+
scopes: config.scopes ?? [...SPOTIFY_SCOPES],
|
|
6202
|
+
redirectUri: config.redirectUri,
|
|
6203
|
+
config
|
|
6204
|
+
};
|
|
6205
|
+
return {
|
|
6206
|
+
id: "spotify",
|
|
6207
|
+
name: "Spotify",
|
|
6208
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/spotify.png",
|
|
6209
|
+
description: "Search Spotify, manage playlists and saved tracks, and control playback",
|
|
6210
|
+
category: "Other",
|
|
6211
|
+
tools: [...SPOTIFY_TOOLS],
|
|
6212
|
+
authType: "oauth",
|
|
6213
|
+
oauth,
|
|
6214
|
+
async onInit() {
|
|
6215
|
+
logger18.debug("Spotify integration initialized");
|
|
6216
|
+
},
|
|
6217
|
+
async onAfterConnect() {
|
|
6218
|
+
logger18.debug("Spotify integration connected");
|
|
6219
|
+
}
|
|
6220
|
+
};
|
|
6221
|
+
}
|
|
6222
|
+
// src/integrations/strava.ts
|
|
6223
|
+
init_logger();
|
|
6224
|
+
var logger19 = createLogger("Strava");
|
|
6225
|
+
var STRAVA_SCOPES = [
|
|
6226
|
+
"read",
|
|
6227
|
+
"profile:read_all",
|
|
6228
|
+
"profile:write",
|
|
6229
|
+
"activity:read",
|
|
6230
|
+
"activity:read_all",
|
|
6231
|
+
"activity:write"
|
|
6232
|
+
];
|
|
6233
|
+
var STRAVA_TOOLS = [
|
|
6234
|
+
"strava_get_logged_in_athlete",
|
|
6235
|
+
"strava_update_logged_in_athlete",
|
|
6236
|
+
"strava_get_athlete_stats",
|
|
6237
|
+
"strava_list_athlete_activities",
|
|
6238
|
+
"strava_get_activity",
|
|
6239
|
+
"strava_create_activity",
|
|
6240
|
+
"strava_update_activity",
|
|
6241
|
+
"strava_delete_activity",
|
|
6242
|
+
"strava_get_activity_streams",
|
|
6243
|
+
"strava_list_athlete_routes",
|
|
6244
|
+
"strava_get_route",
|
|
6245
|
+
"strava_export_route_gpx",
|
|
6246
|
+
"strava_list_athlete_clubs",
|
|
6247
|
+
"strava_get_club",
|
|
6248
|
+
"strava_list_club_activities",
|
|
6249
|
+
"strava_list_club_members",
|
|
6250
|
+
"strava_get_segment",
|
|
6251
|
+
"strava_explore_segments",
|
|
6252
|
+
"strava_get_segment_leaderboard",
|
|
6253
|
+
"strava_list_starred_segments",
|
|
6254
|
+
"strava_star_segment",
|
|
6255
|
+
"strava_get_gear",
|
|
6256
|
+
"strava_get_upload",
|
|
6257
|
+
"strava_create_upload"
|
|
6258
|
+
];
|
|
6259
|
+
function stravaIntegration(config = {}) {
|
|
6260
|
+
const oauth = {
|
|
6261
|
+
provider: "strava",
|
|
6262
|
+
clientId: config.clientId ?? getEnv("STRAVA_CLIENT_ID"),
|
|
6263
|
+
clientSecret: config.clientSecret ?? getEnv("STRAVA_CLIENT_SECRET"),
|
|
6264
|
+
scopes: config.scopes ?? [...STRAVA_SCOPES],
|
|
6265
|
+
redirectUri: config.redirectUri,
|
|
6266
|
+
config
|
|
6267
|
+
};
|
|
6268
|
+
return {
|
|
6269
|
+
id: "strava",
|
|
6270
|
+
name: "Strava",
|
|
6271
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/strava.png",
|
|
6272
|
+
description: "Manage Strava athletes, activities, routes, clubs, segments, streams, gear, and uploads",
|
|
6273
|
+
category: "Other",
|
|
6274
|
+
tools: [...STRAVA_TOOLS],
|
|
6275
|
+
authType: "oauth",
|
|
6276
|
+
oauth,
|
|
6277
|
+
async onInit() {
|
|
6278
|
+
logger19.debug("Strava integration initialized");
|
|
6279
|
+
},
|
|
6280
|
+
async onAfterConnect() {
|
|
6281
|
+
logger19.debug("Strava integration connected");
|
|
6282
|
+
}
|
|
6283
|
+
};
|
|
6284
|
+
}
|
|
6285
|
+
// src/integrations/asana.ts
|
|
6286
|
+
init_logger();
|
|
6287
|
+
var logger20 = createLogger("Asana");
|
|
6288
|
+
var ASANA_TOOLS = [
|
|
6289
|
+
"asana_get_current_user",
|
|
6290
|
+
"asana_list_workspaces",
|
|
6291
|
+
"asana_list_projects",
|
|
6292
|
+
"asana_get_project",
|
|
6293
|
+
"asana_create_project",
|
|
6294
|
+
"asana_update_project",
|
|
6295
|
+
"asana_list_sections",
|
|
6296
|
+
"asana_list_tasks",
|
|
6297
|
+
"asana_get_task",
|
|
6298
|
+
"asana_create_task",
|
|
6299
|
+
"asana_update_task",
|
|
6300
|
+
"asana_delete_task",
|
|
6301
|
+
"asana_list_stories",
|
|
6302
|
+
"asana_create_story",
|
|
6303
|
+
"asana_list_users",
|
|
6304
|
+
"asana_list_teams"
|
|
6305
|
+
];
|
|
6306
|
+
function asanaIntegration(config = {}) {
|
|
6307
|
+
const oauth = {
|
|
6308
|
+
provider: "asana",
|
|
6309
|
+
clientId: config.clientId ?? getEnv("ASANA_CLIENT_ID"),
|
|
6310
|
+
clientSecret: config.clientSecret ?? getEnv("ASANA_CLIENT_SECRET"),
|
|
6311
|
+
scopes: config.scopes ?? ["default"],
|
|
6312
|
+
redirectUri: config.redirectUri,
|
|
6313
|
+
config
|
|
6314
|
+
};
|
|
6315
|
+
return {
|
|
6316
|
+
id: "asana",
|
|
6317
|
+
name: "Asana",
|
|
6318
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/asana.png",
|
|
6319
|
+
description: "Manage Asana workspaces, projects, sections, tasks, stories, users, and teams",
|
|
6320
|
+
category: "Productivity",
|
|
6321
|
+
tools: [...ASANA_TOOLS],
|
|
6322
|
+
authType: "oauth",
|
|
6323
|
+
oauth,
|
|
6324
|
+
async onInit() {
|
|
6325
|
+
logger20.debug("Asana integration initialized");
|
|
6326
|
+
},
|
|
6327
|
+
async onAfterConnect() {
|
|
6328
|
+
logger20.debug("Asana integration connected");
|
|
6329
|
+
}
|
|
6330
|
+
};
|
|
6331
|
+
}
|
|
6332
|
+
// src/integrations/confluence.ts
|
|
6333
|
+
init_logger();
|
|
6334
|
+
var logger21 = createLogger("Confluence");
|
|
6335
|
+
var CONFLUENCE_SCOPES = [
|
|
6336
|
+
"read:confluence-content.all",
|
|
6337
|
+
"write:confluence-content",
|
|
6338
|
+
"read:confluence-space.summary",
|
|
6339
|
+
"read:confluence-props",
|
|
6340
|
+
"offline_access"
|
|
6341
|
+
];
|
|
6342
|
+
var CONFLUENCE_TOOLS = [
|
|
6343
|
+
"confluence_list_accessible_resources",
|
|
6344
|
+
"confluence_list_spaces",
|
|
6345
|
+
"confluence_get_space",
|
|
6346
|
+
"confluence_list_pages",
|
|
6347
|
+
"confluence_get_page",
|
|
6348
|
+
"confluence_create_page",
|
|
6349
|
+
"confluence_update_page",
|
|
6350
|
+
"confluence_delete_page",
|
|
6351
|
+
"confluence_search",
|
|
6352
|
+
"confluence_list_comments",
|
|
6353
|
+
"confluence_create_comment",
|
|
6354
|
+
"confluence_list_attachments"
|
|
6355
|
+
];
|
|
6356
|
+
function confluenceIntegration(config = {}) {
|
|
6357
|
+
const oauth = {
|
|
6358
|
+
provider: "confluence",
|
|
6359
|
+
clientId: config.clientId ?? getEnv("ATLASSIAN_CLIENT_ID"),
|
|
6360
|
+
clientSecret: config.clientSecret ?? getEnv("ATLASSIAN_CLIENT_SECRET"),
|
|
6361
|
+
scopes: config.scopes ?? [...CONFLUENCE_SCOPES],
|
|
6362
|
+
redirectUri: config.redirectUri,
|
|
6363
|
+
config: {
|
|
6364
|
+
authorization_endpoint: "https://auth.atlassian.com/authorize",
|
|
6365
|
+
token_endpoint: "https://auth.atlassian.com/oauth/token",
|
|
6366
|
+
response_type: "code",
|
|
6367
|
+
grant_types_supported: ["authorization_code", "refresh_token"]
|
|
6368
|
+
}
|
|
6369
|
+
};
|
|
6370
|
+
return {
|
|
6371
|
+
id: "confluence",
|
|
6372
|
+
name: "Confluence Cloud",
|
|
6373
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/confluence.png",
|
|
6374
|
+
description: "Manage Confluence spaces, pages, search, comments, and attachments",
|
|
6375
|
+
category: "Productivity",
|
|
6376
|
+
tools: [...CONFLUENCE_TOOLS],
|
|
6377
|
+
authType: "oauth",
|
|
6378
|
+
oauth,
|
|
6379
|
+
async onInit() {
|
|
6380
|
+
logger21.debug("Confluence integration initialized");
|
|
6381
|
+
},
|
|
6382
|
+
async onAfterConnect() {
|
|
6383
|
+
logger21.debug("Confluence integration connected");
|
|
6384
|
+
}
|
|
6385
|
+
};
|
|
6386
|
+
}
|
|
6387
|
+
// src/integrations/okta.ts
|
|
6388
|
+
init_logger();
|
|
6389
|
+
var logger22 = createLogger("Okta");
|
|
6390
|
+
var OKTA_SCOPES = [
|
|
6391
|
+
"openid",
|
|
6392
|
+
"profile",
|
|
6393
|
+
"email",
|
|
6394
|
+
"offline_access",
|
|
6395
|
+
"okta.users.read",
|
|
6396
|
+
"okta.users.manage",
|
|
6397
|
+
"okta.groups.read",
|
|
6398
|
+
"okta.groups.manage",
|
|
6399
|
+
"okta.apps.read",
|
|
6400
|
+
"okta.logs.read"
|
|
6401
|
+
];
|
|
6402
|
+
var OKTA_TOOLS = [
|
|
6403
|
+
"okta_list_users",
|
|
6404
|
+
"okta_get_user",
|
|
6405
|
+
"okta_create_user",
|
|
6406
|
+
"okta_update_user",
|
|
6407
|
+
"okta_deactivate_user",
|
|
6408
|
+
"okta_list_groups",
|
|
6409
|
+
"okta_get_group",
|
|
6410
|
+
"okta_create_group",
|
|
6411
|
+
"okta_add_user_to_group",
|
|
6412
|
+
"okta_remove_user_from_group",
|
|
6413
|
+
"okta_list_apps",
|
|
6414
|
+
"okta_get_app",
|
|
6415
|
+
"okta_list_authorization_servers",
|
|
6416
|
+
"okta_list_policies",
|
|
6417
|
+
"okta_list_system_logs"
|
|
6418
|
+
];
|
|
6419
|
+
function normalizeDomain(raw = "") {
|
|
6420
|
+
let domain = raw.trim().replace(/^https?:\/\//i, "");
|
|
6421
|
+
const slash = domain.indexOf("/");
|
|
6422
|
+
if (slash >= 0)
|
|
6423
|
+
domain = domain.slice(0, slash);
|
|
6424
|
+
return domain.replace(/\/$/, "");
|
|
6425
|
+
}
|
|
6426
|
+
function oktaIntegration(config = {}) {
|
|
6427
|
+
const domain = normalizeDomain(config.domain ?? getEnv("OKTA_DOMAIN") ?? "");
|
|
6428
|
+
const accessToken = config.accessToken ?? getEnv("OKTA_ACCESS_TOKEN");
|
|
6429
|
+
const oauth = {
|
|
6430
|
+
provider: "okta",
|
|
6431
|
+
clientId: config.clientId ?? getEnv("OKTA_CLIENT_ID"),
|
|
6432
|
+
clientSecret: config.clientSecret ?? getEnv("OKTA_CLIENT_SECRET"),
|
|
6433
|
+
scopes: config.scopes ?? [...OKTA_SCOPES],
|
|
6434
|
+
redirectUri: config.redirectUri,
|
|
6435
|
+
config: { ...config, subdomain: domain || undefined }
|
|
6436
|
+
};
|
|
6437
|
+
return {
|
|
6438
|
+
id: "okta",
|
|
6439
|
+
name: "Okta",
|
|
6440
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/okta.png",
|
|
6441
|
+
description: "Manage Okta users, groups, apps, authorization servers, policies, and system logs",
|
|
6442
|
+
category: "Engineering",
|
|
6443
|
+
tools: [...OKTA_TOOLS],
|
|
6444
|
+
authType: accessToken ? "apiKey" : "oauth",
|
|
6445
|
+
oauth,
|
|
6446
|
+
getHeaders: () => ({
|
|
6447
|
+
...accessToken ? { Authorization: `Bearer ${accessToken}` } : {},
|
|
6448
|
+
...domain ? { "X-Okta-Domain": domain } : {}
|
|
6449
|
+
}),
|
|
6450
|
+
async onInit() {
|
|
6451
|
+
logger22.debug("Okta integration initialized");
|
|
6452
|
+
},
|
|
6453
|
+
async onAfterConnect() {
|
|
6454
|
+
logger22.debug("Okta integration connected");
|
|
6455
|
+
}
|
|
6456
|
+
};
|
|
6457
|
+
}
|
|
6458
|
+
// src/integrations/quickbooks.ts
|
|
6459
|
+
init_logger();
|
|
6460
|
+
var logger23 = createLogger("QuickBooks");
|
|
6461
|
+
var QUICKBOOKS_SCOPES = ["com.intuit.quickbooks.accounting", "openid", "profile", "email", "offline_access"];
|
|
6462
|
+
var QUICKBOOKS_TOOLS = [
|
|
6463
|
+
"quickbooks_get_company_info",
|
|
6464
|
+
"quickbooks_query",
|
|
6465
|
+
"quickbooks_list_customers",
|
|
6466
|
+
"quickbooks_get_customer",
|
|
6467
|
+
"quickbooks_create_customer",
|
|
6468
|
+
"quickbooks_list_vendors",
|
|
6469
|
+
"quickbooks_create_vendor",
|
|
6470
|
+
"quickbooks_list_items",
|
|
6471
|
+
"quickbooks_create_item",
|
|
6472
|
+
"quickbooks_list_accounts",
|
|
6473
|
+
"quickbooks_list_invoices",
|
|
6474
|
+
"quickbooks_get_invoice",
|
|
6475
|
+
"quickbooks_create_invoice",
|
|
6476
|
+
"quickbooks_list_bills",
|
|
6477
|
+
"quickbooks_create_bill",
|
|
6478
|
+
"quickbooks_create_payment",
|
|
6479
|
+
"quickbooks_get_report"
|
|
6480
|
+
];
|
|
6481
|
+
function quickbooksIntegration(config = {}) {
|
|
6482
|
+
const oauth = {
|
|
6483
|
+
provider: "quickbooks",
|
|
6484
|
+
clientId: config.clientId ?? getEnv("QUICKBOOKS_CLIENT_ID"),
|
|
6485
|
+
clientSecret: config.clientSecret ?? getEnv("QUICKBOOKS_CLIENT_SECRET"),
|
|
6486
|
+
scopes: config.scopes ?? [...QUICKBOOKS_SCOPES],
|
|
6487
|
+
redirectUri: config.redirectUri,
|
|
6488
|
+
config
|
|
6489
|
+
};
|
|
6490
|
+
return {
|
|
6491
|
+
id: "quickbooks",
|
|
6492
|
+
name: "QuickBooks Online",
|
|
6493
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/quickbooks.png",
|
|
6494
|
+
description: "Manage QuickBooks Online company data, customers, vendors, items, accounts, invoices, bills, payments, reports, and queries",
|
|
6495
|
+
category: "Finance",
|
|
6496
|
+
tools: [...QUICKBOOKS_TOOLS],
|
|
6497
|
+
authType: "oauth",
|
|
6498
|
+
oauth,
|
|
6499
|
+
async onInit() {
|
|
6500
|
+
logger23.debug("QuickBooks integration initialized");
|
|
6501
|
+
},
|
|
6502
|
+
async onAfterConnect() {
|
|
6503
|
+
logger23.debug("QuickBooks integration connected");
|
|
6504
|
+
}
|
|
6505
|
+
};
|
|
6506
|
+
}
|
|
6507
|
+
// src/integrations/bitbucket.ts
|
|
6508
|
+
init_logger();
|
|
6509
|
+
var logger24 = createLogger("Bitbucket");
|
|
6510
|
+
var BITBUCKET_SCOPES = ["account", "repository", "pullrequest", "issue", "pipeline"];
|
|
6511
|
+
var BITBUCKET_TOOLS = [
|
|
6512
|
+
"bitbucket_get_current_user",
|
|
6513
|
+
"bitbucket_list_workspaces",
|
|
6514
|
+
"bitbucket_list_repositories",
|
|
6515
|
+
"bitbucket_get_repository",
|
|
6516
|
+
"bitbucket_list_branches",
|
|
6517
|
+
"bitbucket_list_commits",
|
|
6518
|
+
"bitbucket_get_commit",
|
|
6519
|
+
"bitbucket_list_pull_requests",
|
|
6520
|
+
"bitbucket_get_pull_request",
|
|
6521
|
+
"bitbucket_create_pull_request",
|
|
6522
|
+
"bitbucket_list_issues",
|
|
6523
|
+
"bitbucket_get_issue",
|
|
6524
|
+
"bitbucket_create_issue",
|
|
6525
|
+
"bitbucket_list_pipelines",
|
|
6526
|
+
"bitbucket_trigger_pipeline"
|
|
6527
|
+
];
|
|
6528
|
+
function bitbucketIntegration(config = {}) {
|
|
6529
|
+
const oauth = {
|
|
6530
|
+
provider: "bitbucket",
|
|
6531
|
+
clientId: config.clientId ?? getEnv("BITBUCKET_CLIENT_ID"),
|
|
6532
|
+
clientSecret: config.clientSecret ?? getEnv("BITBUCKET_CLIENT_SECRET"),
|
|
6533
|
+
scopes: config.scopes ?? [...BITBUCKET_SCOPES],
|
|
6534
|
+
redirectUri: config.redirectUri,
|
|
6535
|
+
config
|
|
6536
|
+
};
|
|
6537
|
+
return {
|
|
6538
|
+
id: "bitbucket",
|
|
6539
|
+
name: "Bitbucket Cloud",
|
|
6540
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/bitbucket.png",
|
|
6541
|
+
description: "Manage Bitbucket Cloud workspaces, repositories, branches, commits, pull requests, issues, and pipelines",
|
|
6542
|
+
category: "Engineering",
|
|
6543
|
+
tools: [...BITBUCKET_TOOLS],
|
|
6544
|
+
authType: "oauth",
|
|
6545
|
+
oauth,
|
|
6546
|
+
async onInit() {
|
|
6547
|
+
logger24.debug("Bitbucket integration initialized");
|
|
6548
|
+
},
|
|
6549
|
+
async onAfterConnect() {
|
|
6550
|
+
logger24.debug("Bitbucket integration connected");
|
|
6551
|
+
}
|
|
6552
|
+
};
|
|
6553
|
+
}
|
|
6554
|
+
// src/integrations/smartthings.ts
|
|
6555
|
+
init_logger();
|
|
6556
|
+
var logger25 = createLogger("SmartThings");
|
|
6557
|
+
var SMARTTHINGS_SCOPES = [
|
|
6558
|
+
"r:locations:*",
|
|
6559
|
+
"x:locations:*",
|
|
6560
|
+
"r:devices:*",
|
|
6561
|
+
"x:devices:*",
|
|
6562
|
+
"r:scenes:*",
|
|
6563
|
+
"x:scenes:*",
|
|
6564
|
+
"r:rules:*",
|
|
6565
|
+
"x:rules:*"
|
|
6566
|
+
];
|
|
6567
|
+
var SMARTTHINGS_TOOLS = [
|
|
6568
|
+
"smartthings_list_locations",
|
|
6569
|
+
"smartthings_get_location",
|
|
6570
|
+
"smartthings_list_rooms",
|
|
6571
|
+
"smartthings_get_room",
|
|
6572
|
+
"smartthings_list_devices",
|
|
6573
|
+
"smartthings_get_device",
|
|
6574
|
+
"smartthings_get_device_status",
|
|
6575
|
+
"smartthings_execute_device_command",
|
|
6576
|
+
"smartthings_list_scenes",
|
|
6577
|
+
"smartthings_execute_scene",
|
|
6578
|
+
"smartthings_list_rules",
|
|
6579
|
+
"smartthings_get_rule",
|
|
6580
|
+
"smartthings_create_rule",
|
|
6581
|
+
"smartthings_update_rule",
|
|
6582
|
+
"smartthings_delete_rule"
|
|
6583
|
+
];
|
|
6584
|
+
function smartthingsIntegration(config = {}) {
|
|
6585
|
+
const accessToken = config.accessToken ?? getEnv("SMARTTHINGS_ACCESS_TOKEN");
|
|
6586
|
+
const oauth = {
|
|
6587
|
+
provider: "smartthings",
|
|
6588
|
+
clientId: config.clientId ?? getEnv("SMARTTHINGS_CLIENT_ID"),
|
|
6589
|
+
clientSecret: config.clientSecret ?? getEnv("SMARTTHINGS_CLIENT_SECRET"),
|
|
6590
|
+
scopes: config.scopes ?? [...SMARTTHINGS_SCOPES],
|
|
6591
|
+
redirectUri: config.redirectUri,
|
|
6592
|
+
config
|
|
6593
|
+
};
|
|
6594
|
+
return {
|
|
6595
|
+
id: "smartthings",
|
|
6596
|
+
name: "Samsung SmartThings",
|
|
6597
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/smartthings.png",
|
|
6598
|
+
description: "Manage SmartThings locations, rooms, devices, commands, scenes, and rules",
|
|
6599
|
+
category: "Other",
|
|
6600
|
+
tools: [...SMARTTHINGS_TOOLS],
|
|
6601
|
+
authType: accessToken ? "apiKey" : "oauth",
|
|
6602
|
+
oauth,
|
|
6603
|
+
getHeaders: () => {
|
|
6604
|
+
const headers = {};
|
|
6605
|
+
if (accessToken)
|
|
6606
|
+
headers.Authorization = `Bearer ${accessToken}`;
|
|
6607
|
+
return headers;
|
|
6608
|
+
},
|
|
6609
|
+
async onInit() {
|
|
6610
|
+
logger25.debug("SmartThings integration initialized");
|
|
6611
|
+
},
|
|
6612
|
+
async onAfterConnect() {
|
|
6613
|
+
logger25.debug("SmartThings integration connected");
|
|
6614
|
+
}
|
|
6615
|
+
};
|
|
6616
|
+
}
|
|
5874
6617
|
// src/integrations/linear.ts
|
|
5875
6618
|
init_logger();
|
|
5876
|
-
var
|
|
6619
|
+
var logger26 = createLogger("Linear");
|
|
5877
6620
|
var LINEAR_TOOLS = [
|
|
5878
6621
|
"linear_create_issue",
|
|
5879
6622
|
"linear_list_issues",
|
|
@@ -5928,16 +6671,16 @@ function linearIntegration(config = {}) {
|
|
|
5928
6671
|
tools: [...LINEAR_TOOLS],
|
|
5929
6672
|
oauth,
|
|
5930
6673
|
async onInit(_client) {
|
|
5931
|
-
|
|
6674
|
+
logger26.debug("Linear integration initialized");
|
|
5932
6675
|
},
|
|
5933
6676
|
async onAfterConnect(_client) {
|
|
5934
|
-
|
|
6677
|
+
logger26.debug("Linear integration connected");
|
|
5935
6678
|
}
|
|
5936
6679
|
};
|
|
5937
6680
|
}
|
|
5938
6681
|
// src/integrations/railway.ts
|
|
5939
6682
|
init_logger();
|
|
5940
|
-
var
|
|
6683
|
+
var logger27 = createLogger("Railway");
|
|
5941
6684
|
var RAILWAY_SCOPES = [
|
|
5942
6685
|
"openid",
|
|
5943
6686
|
"profile",
|
|
@@ -6042,16 +6785,16 @@ function railwayIntegration(config = {}) {
|
|
|
6042
6785
|
tools: [...RAILWAY_TOOLS],
|
|
6043
6786
|
oauth,
|
|
6044
6787
|
async onInit(_client) {
|
|
6045
|
-
|
|
6788
|
+
logger27.debug("Railway integration initialized");
|
|
6046
6789
|
},
|
|
6047
6790
|
async onAfterConnect(_client) {
|
|
6048
|
-
|
|
6791
|
+
logger27.debug("Railway integration connected");
|
|
6049
6792
|
}
|
|
6050
6793
|
};
|
|
6051
6794
|
}
|
|
6052
6795
|
// src/integrations/vercel.ts
|
|
6053
6796
|
init_logger();
|
|
6054
|
-
var
|
|
6797
|
+
var logger28 = createLogger("Vercel");
|
|
6055
6798
|
var VERCEL_TOOLS = [
|
|
6056
6799
|
"vercel_list_projects",
|
|
6057
6800
|
"vercel_get_project",
|
|
@@ -6094,16 +6837,16 @@ function vercelIntegration(config = {}) {
|
|
|
6094
6837
|
tools: [...VERCEL_TOOLS],
|
|
6095
6838
|
oauth,
|
|
6096
6839
|
async onInit(_client) {
|
|
6097
|
-
|
|
6840
|
+
logger28.debug("Vercel integration initialized");
|
|
6098
6841
|
},
|
|
6099
6842
|
async onAfterConnect(_client) {
|
|
6100
|
-
|
|
6843
|
+
logger28.debug("Vercel integration connected");
|
|
6101
6844
|
}
|
|
6102
6845
|
};
|
|
6103
6846
|
}
|
|
6104
6847
|
// src/integrations/zendesk.ts
|
|
6105
6848
|
init_logger();
|
|
6106
|
-
var
|
|
6849
|
+
var logger29 = createLogger("Zendesk");
|
|
6107
6850
|
var ZENDESK_TOOLS = [
|
|
6108
6851
|
"zendesk_list_tickets",
|
|
6109
6852
|
"zendesk_get_ticket",
|
|
@@ -6152,16 +6895,16 @@ function zendeskIntegration(config = {}) {
|
|
|
6152
6895
|
tools: [...ZENDESK_TOOLS],
|
|
6153
6896
|
oauth,
|
|
6154
6897
|
async onInit(_client) {
|
|
6155
|
-
|
|
6898
|
+
logger29.debug("Zendesk integration initialized");
|
|
6156
6899
|
},
|
|
6157
6900
|
async onAfterConnect(_client) {
|
|
6158
|
-
|
|
6901
|
+
logger29.debug("Zendesk integration connected");
|
|
6159
6902
|
}
|
|
6160
6903
|
};
|
|
6161
6904
|
}
|
|
6162
6905
|
// src/integrations/stripe.ts
|
|
6163
6906
|
init_logger();
|
|
6164
|
-
var
|
|
6907
|
+
var logger30 = createLogger("Stripe");
|
|
6165
6908
|
var STRIPE_TOOLS = [
|
|
6166
6909
|
"stripe_list_customers",
|
|
6167
6910
|
"stripe_get_customer",
|
|
@@ -6218,16 +6961,16 @@ function stripeIntegration(config = {}) {
|
|
|
6218
6961
|
tools: [...STRIPE_TOOLS],
|
|
6219
6962
|
oauth,
|
|
6220
6963
|
async onInit(_client) {
|
|
6221
|
-
|
|
6964
|
+
logger30.debug("Stripe integration initialized");
|
|
6222
6965
|
},
|
|
6223
6966
|
async onAfterConnect(_client) {
|
|
6224
|
-
|
|
6967
|
+
logger30.debug("Stripe integration connected");
|
|
6225
6968
|
}
|
|
6226
6969
|
};
|
|
6227
6970
|
}
|
|
6228
6971
|
// src/integrations/gcal.ts
|
|
6229
6972
|
init_logger();
|
|
6230
|
-
var
|
|
6973
|
+
var logger31 = createLogger("Google Calendar");
|
|
6231
6974
|
var GCAL_TOOLS = [
|
|
6232
6975
|
"gcal_create_calendar",
|
|
6233
6976
|
"gcal_create_event",
|
|
@@ -6261,16 +7004,16 @@ function gcalIntegration(config = {}) {
|
|
|
6261
7004
|
tools: [...GCAL_TOOLS],
|
|
6262
7005
|
oauth,
|
|
6263
7006
|
async onInit(_client) {
|
|
6264
|
-
|
|
7007
|
+
logger31.debug("Google Calendar integration initialized");
|
|
6265
7008
|
},
|
|
6266
7009
|
async onAfterConnect(_client) {
|
|
6267
|
-
|
|
7010
|
+
logger31.debug("Google Calendar integration connected");
|
|
6268
7011
|
}
|
|
6269
7012
|
};
|
|
6270
7013
|
}
|
|
6271
7014
|
// src/integrations/gcontacts.ts
|
|
6272
7015
|
init_logger();
|
|
6273
|
-
var
|
|
7016
|
+
var logger32 = createLogger("Google Contacts");
|
|
6274
7017
|
var GCONTACTS_TOOLS = [
|
|
6275
7018
|
"gcontacts_batch_get_contacts",
|
|
6276
7019
|
"gcontacts_copy_other_contact",
|
|
@@ -6304,16 +7047,16 @@ function gcontactsIntegration(config = {}) {
|
|
|
6304
7047
|
tools: [...GCONTACTS_TOOLS],
|
|
6305
7048
|
oauth,
|
|
6306
7049
|
async onInit(_client) {
|
|
6307
|
-
|
|
7050
|
+
logger32.debug("Google Contacts integration initialized");
|
|
6308
7051
|
},
|
|
6309
7052
|
async onAfterConnect(_client) {
|
|
6310
|
-
|
|
7053
|
+
logger32.debug("Google Contacts integration connected");
|
|
6311
7054
|
}
|
|
6312
7055
|
};
|
|
6313
7056
|
}
|
|
6314
7057
|
// src/integrations/gmeet.ts
|
|
6315
7058
|
init_logger();
|
|
6316
|
-
var
|
|
7059
|
+
var logger33 = createLogger("Google Meet");
|
|
6317
7060
|
var GMEET_TOOLS = [
|
|
6318
7061
|
"gmeet_add_meet_to_event",
|
|
6319
7062
|
"gmeet_create_meeting",
|
|
@@ -6341,16 +7084,16 @@ function gmeetIntegration(config = {}) {
|
|
|
6341
7084
|
tools: [...GMEET_TOOLS],
|
|
6342
7085
|
oauth,
|
|
6343
7086
|
async onInit(_client) {
|
|
6344
|
-
|
|
7087
|
+
logger33.debug("Google Meet integration initialized");
|
|
6345
7088
|
},
|
|
6346
7089
|
async onAfterConnect(_client) {
|
|
6347
|
-
|
|
7090
|
+
logger33.debug("Google Meet integration connected");
|
|
6348
7091
|
}
|
|
6349
7092
|
};
|
|
6350
7093
|
}
|
|
6351
7094
|
// src/integrations/gtasks.ts
|
|
6352
7095
|
init_logger();
|
|
6353
|
-
var
|
|
7096
|
+
var logger34 = createLogger("Google Tasks");
|
|
6354
7097
|
var GTASKS_TOOLS = [
|
|
6355
7098
|
"gtasks_clear_completed",
|
|
6356
7099
|
"gtasks_create_task",
|
|
@@ -6386,16 +7129,57 @@ function gtasksIntegration(config = {}) {
|
|
|
6386
7129
|
tools: [...GTASKS_TOOLS],
|
|
6387
7130
|
oauth,
|
|
6388
7131
|
async onInit(_client) {
|
|
6389
|
-
|
|
7132
|
+
logger34.debug("Google Tasks integration initialized");
|
|
7133
|
+
},
|
|
7134
|
+
async onAfterConnect(_client) {
|
|
7135
|
+
logger34.debug("Google Tasks integration connected");
|
|
7136
|
+
}
|
|
7137
|
+
};
|
|
7138
|
+
}
|
|
7139
|
+
// src/integrations/gkeep.ts
|
|
7140
|
+
init_logger();
|
|
7141
|
+
var logger35 = createLogger("Google Keep");
|
|
7142
|
+
var GKEEP_TOOLS = [
|
|
7143
|
+
"gkeep_list_notes",
|
|
7144
|
+
"gkeep_get_note",
|
|
7145
|
+
"gkeep_create_text_note",
|
|
7146
|
+
"gkeep_create_list_note",
|
|
7147
|
+
"gkeep_delete_note",
|
|
7148
|
+
"gkeep_download_attachment",
|
|
7149
|
+
"gkeep_batch_create_permissions",
|
|
7150
|
+
"gkeep_batch_delete_permissions"
|
|
7151
|
+
];
|
|
7152
|
+
function gkeepIntegration(config = {}) {
|
|
7153
|
+
const oauth = {
|
|
7154
|
+
provider: "gkeep",
|
|
7155
|
+
clientId: config.clientId ?? getEnv("GKEEP_CLIENT_ID"),
|
|
7156
|
+
clientSecret: config.clientSecret ?? getEnv("GKEEP_CLIENT_SECRET"),
|
|
7157
|
+
scopes: config.scopes,
|
|
7158
|
+
optionalScopes: config.optionalScopes,
|
|
7159
|
+
redirectUri: config.redirectUri,
|
|
7160
|
+
config: {
|
|
7161
|
+
...config
|
|
7162
|
+
}
|
|
7163
|
+
};
|
|
7164
|
+
return {
|
|
7165
|
+
id: "gkeep",
|
|
7166
|
+
name: "Google Keep",
|
|
7167
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/google_keep.png",
|
|
7168
|
+
description: "Manage Google Keep notes, attachments, and sharing permissions",
|
|
7169
|
+
category: "Productivity",
|
|
7170
|
+
tools: [...GKEEP_TOOLS],
|
|
7171
|
+
oauth,
|
|
7172
|
+
async onInit(_client) {
|
|
7173
|
+
logger35.debug("Google Keep integration initialized");
|
|
6390
7174
|
},
|
|
6391
7175
|
async onAfterConnect(_client) {
|
|
6392
|
-
|
|
7176
|
+
logger35.debug("Google Keep integration connected");
|
|
6393
7177
|
}
|
|
6394
7178
|
};
|
|
6395
7179
|
}
|
|
6396
7180
|
// src/integrations/outlook.ts
|
|
6397
7181
|
init_logger();
|
|
6398
|
-
var
|
|
7182
|
+
var logger36 = createLogger("Outlook");
|
|
6399
7183
|
var OUTLOOK_TOOLS = [
|
|
6400
7184
|
"outlook_accept_event",
|
|
6401
7185
|
"outlook_create_draft",
|
|
@@ -6442,16 +7226,16 @@ function outlookIntegration(config = {}) {
|
|
|
6442
7226
|
tools: [...OUTLOOK_TOOLS],
|
|
6443
7227
|
oauth,
|
|
6444
7228
|
async onInit(_client) {
|
|
6445
|
-
|
|
7229
|
+
logger36.debug("Outlook integration initialized");
|
|
6446
7230
|
},
|
|
6447
7231
|
async onAfterConnect(_client) {
|
|
6448
|
-
|
|
7232
|
+
logger36.debug("Outlook integration connected");
|
|
6449
7233
|
}
|
|
6450
7234
|
};
|
|
6451
7235
|
}
|
|
6452
7236
|
// src/integrations/teams.ts
|
|
6453
7237
|
init_logger();
|
|
6454
|
-
var
|
|
7238
|
+
var logger37 = createLogger("Teams");
|
|
6455
7239
|
var TEAMS_SCOPES = [
|
|
6456
7240
|
"offline_access",
|
|
6457
7241
|
"User.Read",
|
|
@@ -6501,16 +7285,16 @@ function teamsIntegration(config = {}) {
|
|
|
6501
7285
|
tools: [...TEAMS_TOOLS],
|
|
6502
7286
|
oauth,
|
|
6503
7287
|
async onInit(_client) {
|
|
6504
|
-
|
|
7288
|
+
logger37.debug("Teams integration initialized");
|
|
6505
7289
|
},
|
|
6506
7290
|
async onAfterConnect(_client) {
|
|
6507
|
-
|
|
7291
|
+
logger37.debug("Teams integration connected");
|
|
6508
7292
|
}
|
|
6509
7293
|
};
|
|
6510
7294
|
}
|
|
6511
7295
|
// src/integrations/airtable.ts
|
|
6512
7296
|
init_logger();
|
|
6513
|
-
var
|
|
7297
|
+
var logger38 = createLogger("Airtable");
|
|
6514
7298
|
var AIRTABLE_TOOLS = [
|
|
6515
7299
|
"airtable_list_bases",
|
|
6516
7300
|
"airtable_get_base",
|
|
@@ -6556,16 +7340,16 @@ function airtableIntegration(config = {}) {
|
|
|
6556
7340
|
tools: [...AIRTABLE_TOOLS],
|
|
6557
7341
|
oauth,
|
|
6558
7342
|
async onInit(_client) {
|
|
6559
|
-
|
|
7343
|
+
logger38.debug("Airtable integration initialized");
|
|
6560
7344
|
},
|
|
6561
7345
|
async onAfterConnect(_client) {
|
|
6562
|
-
|
|
7346
|
+
logger38.debug("Airtable integration connected");
|
|
6563
7347
|
}
|
|
6564
7348
|
};
|
|
6565
7349
|
}
|
|
6566
7350
|
// src/integrations/auth0.ts
|
|
6567
7351
|
init_logger();
|
|
6568
|
-
var
|
|
7352
|
+
var logger39 = createLogger("Auth0");
|
|
6569
7353
|
var AUTH0_TOOLS = [
|
|
6570
7354
|
"auth0_list_users",
|
|
6571
7355
|
"auth0_get_user",
|
|
@@ -6654,7 +7438,7 @@ function auth0Integration(options) {
|
|
|
6654
7438
|
};
|
|
6655
7439
|
},
|
|
6656
7440
|
async onInit() {
|
|
6657
|
-
|
|
7441
|
+
logger39.debug("Auth0 integration initialized");
|
|
6658
7442
|
},
|
|
6659
7443
|
async onBeforeConnect() {
|
|
6660
7444
|
await ensureFreshToken();
|
|
@@ -6663,13 +7447,13 @@ function auth0Integration(options) {
|
|
|
6663
7447
|
}
|
|
6664
7448
|
},
|
|
6665
7449
|
async onAfterConnect() {
|
|
6666
|
-
|
|
7450
|
+
logger39.debug("Auth0 integration connected");
|
|
6667
7451
|
}
|
|
6668
7452
|
};
|
|
6669
7453
|
}
|
|
6670
7454
|
// src/integrations/astronomer.ts
|
|
6671
7455
|
init_logger();
|
|
6672
|
-
var
|
|
7456
|
+
var logger40 = createLogger("Astronomer");
|
|
6673
7457
|
var ASTRONOMER_TOOLS = [
|
|
6674
7458
|
"astronomer_get_self",
|
|
6675
7459
|
"astronomer_list_organizations",
|
|
@@ -6704,16 +7488,16 @@ function astronomerIntegration(options = {}) {
|
|
|
6704
7488
|
};
|
|
6705
7489
|
},
|
|
6706
7490
|
async onInit(_client) {
|
|
6707
|
-
|
|
7491
|
+
logger40.debug("Astronomer integration initialized");
|
|
6708
7492
|
},
|
|
6709
7493
|
async onAfterConnect(_client) {
|
|
6710
|
-
|
|
7494
|
+
logger40.debug("Astronomer integration connected");
|
|
6711
7495
|
}
|
|
6712
7496
|
};
|
|
6713
7497
|
}
|
|
6714
7498
|
// src/integrations/betterstack.ts
|
|
6715
7499
|
init_logger();
|
|
6716
|
-
var
|
|
7500
|
+
var logger41 = createLogger("BetterStack");
|
|
6717
7501
|
var BETTERSTACK_TOOLS = [
|
|
6718
7502
|
"betterstack_list_sources",
|
|
6719
7503
|
"betterstack_get_source",
|
|
@@ -6746,16 +7530,16 @@ function betterstackIntegration(options = {}) {
|
|
|
6746
7530
|
};
|
|
6747
7531
|
},
|
|
6748
7532
|
async onInit(_client) {
|
|
6749
|
-
|
|
7533
|
+
logger41.debug("Better Stack integration initialized");
|
|
6750
7534
|
},
|
|
6751
7535
|
async onAfterConnect(_client) {
|
|
6752
|
-
|
|
7536
|
+
logger41.debug("Better Stack integration connected");
|
|
6753
7537
|
}
|
|
6754
7538
|
};
|
|
6755
7539
|
}
|
|
6756
7540
|
// src/integrations/todoist.ts
|
|
6757
7541
|
init_logger();
|
|
6758
|
-
var
|
|
7542
|
+
var logger42 = createLogger("Todoist");
|
|
6759
7543
|
var TODOIST_TOOLS = [
|
|
6760
7544
|
"todoist_list_projects",
|
|
6761
7545
|
"todoist_get_project",
|
|
@@ -6810,16 +7594,16 @@ function todoistIntegration(config = {}) {
|
|
|
6810
7594
|
tools: [...TODOIST_TOOLS],
|
|
6811
7595
|
oauth,
|
|
6812
7596
|
async onInit(_client) {
|
|
6813
|
-
|
|
7597
|
+
logger42.debug("Todoist integration initialized");
|
|
6814
7598
|
},
|
|
6815
7599
|
async onAfterConnect(_client) {
|
|
6816
|
-
|
|
7600
|
+
logger42.debug("Todoist integration connected");
|
|
6817
7601
|
}
|
|
6818
7602
|
};
|
|
6819
7603
|
}
|
|
6820
7604
|
// src/integrations/whatsapp.ts
|
|
6821
7605
|
init_logger();
|
|
6822
|
-
var
|
|
7606
|
+
var logger43 = createLogger("WhatsApp");
|
|
6823
7607
|
var WHATSAPP_TOOLS = [
|
|
6824
7608
|
"whatsapp_send_message",
|
|
6825
7609
|
"whatsapp_reply_message",
|
|
@@ -6868,16 +7652,16 @@ function whatsappIntegration(config = {}) {
|
|
|
6868
7652
|
tools: [...WHATSAPP_TOOLS],
|
|
6869
7653
|
oauth,
|
|
6870
7654
|
async onInit(_client) {
|
|
6871
|
-
|
|
7655
|
+
logger43.debug("WhatsApp Business integration initialized");
|
|
6872
7656
|
},
|
|
6873
7657
|
async onAfterConnect(_client) {
|
|
6874
|
-
|
|
7658
|
+
logger43.debug("WhatsApp Business integration connected");
|
|
6875
7659
|
}
|
|
6876
7660
|
};
|
|
6877
7661
|
}
|
|
6878
7662
|
// src/integrations/calcom.ts
|
|
6879
7663
|
init_logger();
|
|
6880
|
-
var
|
|
7664
|
+
var logger44 = createLogger("Cal.com");
|
|
6881
7665
|
var CALCOM_TOOLS = [
|
|
6882
7666
|
"calcom_list_bookings",
|
|
6883
7667
|
"calcom_get_booking",
|
|
@@ -6953,16 +7737,16 @@ function calcomIntegration(config = {}) {
|
|
|
6953
7737
|
tools: [...CALCOM_TOOLS],
|
|
6954
7738
|
oauth,
|
|
6955
7739
|
async onInit(_client) {
|
|
6956
|
-
|
|
7740
|
+
logger44.debug("Cal.com integration initialized");
|
|
6957
7741
|
},
|
|
6958
7742
|
async onAfterConnect(_client) {
|
|
6959
|
-
|
|
7743
|
+
logger44.debug("Cal.com integration connected");
|
|
6960
7744
|
}
|
|
6961
7745
|
};
|
|
6962
7746
|
}
|
|
6963
7747
|
// src/integrations/ramp.ts
|
|
6964
7748
|
init_logger();
|
|
6965
|
-
var
|
|
7749
|
+
var logger45 = createLogger("Ramp");
|
|
6966
7750
|
var RAMP_TOOLS = [
|
|
6967
7751
|
"ramp_list_transactions",
|
|
6968
7752
|
"ramp_get_transaction",
|
|
@@ -6994,16 +7778,16 @@ function rampIntegration(config = {}) {
|
|
|
6994
7778
|
tools: [...RAMP_TOOLS],
|
|
6995
7779
|
oauth,
|
|
6996
7780
|
async onInit(_client) {
|
|
6997
|
-
|
|
7781
|
+
logger45.debug("Ramp integration initialized");
|
|
6998
7782
|
},
|
|
6999
7783
|
async onAfterConnect(_client) {
|
|
7000
|
-
|
|
7784
|
+
logger45.debug("Ramp integration connected");
|
|
7001
7785
|
}
|
|
7002
7786
|
};
|
|
7003
7787
|
}
|
|
7004
7788
|
// src/integrations/onedrive.ts
|
|
7005
7789
|
init_logger();
|
|
7006
|
-
var
|
|
7790
|
+
var logger46 = createLogger("OneDrive");
|
|
7007
7791
|
var ONEDRIVE_TOOLS = [
|
|
7008
7792
|
"onedrive_create_folder",
|
|
7009
7793
|
"onedrive_delete_file",
|
|
@@ -7035,10 +7819,10 @@ function onedriveIntegration(config = {}) {
|
|
|
7035
7819
|
tools: [...ONEDRIVE_TOOLS],
|
|
7036
7820
|
oauth,
|
|
7037
7821
|
async onInit(_client) {
|
|
7038
|
-
|
|
7822
|
+
logger46.debug("OneDrive integration initialized");
|
|
7039
7823
|
},
|
|
7040
7824
|
async onAfterConnect(_client) {
|
|
7041
|
-
|
|
7825
|
+
logger46.debug("OneDrive integration connected");
|
|
7042
7826
|
}
|
|
7043
7827
|
};
|
|
7044
7828
|
}
|
|
@@ -7077,7 +7861,7 @@ function plannerIntegration(config = {}) {
|
|
|
7077
7861
|
}
|
|
7078
7862
|
// src/integrations/sharepoint.ts
|
|
7079
7863
|
init_logger();
|
|
7080
|
-
var
|
|
7864
|
+
var logger47 = createLogger("SharePoint");
|
|
7081
7865
|
var SHAREPOINT_SCOPES = ["Sites.ReadWrite.All", "Files.ReadWrite.All", "offline_access"];
|
|
7082
7866
|
var SHAREPOINT_TOOLS = [
|
|
7083
7867
|
"sharepoint_create_folder",
|
|
@@ -7116,16 +7900,16 @@ function sharepointIntegration(config = {}) {
|
|
|
7116
7900
|
tools: [...SHAREPOINT_TOOLS],
|
|
7117
7901
|
oauth,
|
|
7118
7902
|
async onInit(_client) {
|
|
7119
|
-
|
|
7903
|
+
logger47.debug("SharePoint integration initialized");
|
|
7120
7904
|
},
|
|
7121
7905
|
async onAfterConnect(_client) {
|
|
7122
|
-
|
|
7906
|
+
logger47.debug("SharePoint integration connected");
|
|
7123
7907
|
}
|
|
7124
7908
|
};
|
|
7125
7909
|
}
|
|
7126
7910
|
// src/integrations/dropbox.ts
|
|
7127
7911
|
init_logger();
|
|
7128
|
-
var
|
|
7912
|
+
var logger48 = createLogger("Dropbox");
|
|
7129
7913
|
var DROPBOX_TOOLS = [
|
|
7130
7914
|
"dropbox_get_current_account",
|
|
7131
7915
|
"dropbox_get_space_usage",
|
|
@@ -7167,16 +7951,16 @@ function dropboxIntegration(options = {}) {
|
|
|
7167
7951
|
authType: "oauth",
|
|
7168
7952
|
oauth,
|
|
7169
7953
|
async onInit(_client) {
|
|
7170
|
-
|
|
7954
|
+
logger48.debug("Dropbox integration initialized");
|
|
7171
7955
|
},
|
|
7172
7956
|
async onAfterConnect(_client) {
|
|
7173
|
-
|
|
7957
|
+
logger48.debug("Dropbox integration connected");
|
|
7174
7958
|
}
|
|
7175
7959
|
};
|
|
7176
7960
|
}
|
|
7177
7961
|
// src/integrations/paper.ts
|
|
7178
7962
|
init_logger();
|
|
7179
|
-
var
|
|
7963
|
+
var logger49 = createLogger("Paper");
|
|
7180
7964
|
var PAPER_SCOPES = [
|
|
7181
7965
|
"account_info.read",
|
|
7182
7966
|
"files.metadata.read",
|
|
@@ -7222,16 +8006,16 @@ function paperIntegration(config = {}) {
|
|
|
7222
8006
|
authType: "oauth",
|
|
7223
8007
|
oauth,
|
|
7224
8008
|
async onInit(_client) {
|
|
7225
|
-
|
|
8009
|
+
logger49.debug("Paper integration initialized");
|
|
7226
8010
|
},
|
|
7227
8011
|
async onAfterConnect(_client) {
|
|
7228
|
-
|
|
8012
|
+
logger49.debug("Paper integration connected");
|
|
7229
8013
|
}
|
|
7230
8014
|
};
|
|
7231
8015
|
}
|
|
7232
8016
|
// src/integrations/word.ts
|
|
7233
8017
|
init_logger();
|
|
7234
|
-
var
|
|
8018
|
+
var logger50 = createLogger("Word");
|
|
7235
8019
|
var WORD_TOOLS = [
|
|
7236
8020
|
"word_copy",
|
|
7237
8021
|
"word_create",
|
|
@@ -7258,16 +8042,16 @@ function wordIntegration(config = {}) {
|
|
|
7258
8042
|
tools: [...WORD_TOOLS],
|
|
7259
8043
|
oauth,
|
|
7260
8044
|
async onInit(_client) {
|
|
7261
|
-
|
|
8045
|
+
logger50.debug("Word integration initialized");
|
|
7262
8046
|
},
|
|
7263
8047
|
async onAfterConnect(_client) {
|
|
7264
|
-
|
|
8048
|
+
logger50.debug("Word integration connected");
|
|
7265
8049
|
}
|
|
7266
8050
|
};
|
|
7267
8051
|
}
|
|
7268
8052
|
// src/integrations/excel.ts
|
|
7269
8053
|
init_logger();
|
|
7270
|
-
var
|
|
8054
|
+
var logger51 = createLogger("Excel");
|
|
7271
8055
|
var EXCEL_TOOLS = [
|
|
7272
8056
|
"excel_add_table_rows",
|
|
7273
8057
|
"excel_add_worksheet",
|
|
@@ -7303,16 +8087,16 @@ function excelIntegration(config = {}) {
|
|
|
7303
8087
|
tools: [...EXCEL_TOOLS],
|
|
7304
8088
|
oauth,
|
|
7305
8089
|
async onInit(_client) {
|
|
7306
|
-
|
|
8090
|
+
logger51.debug("Excel integration initialized");
|
|
7307
8091
|
},
|
|
7308
8092
|
async onAfterConnect(_client) {
|
|
7309
|
-
|
|
8093
|
+
logger51.debug("Excel integration connected");
|
|
7310
8094
|
}
|
|
7311
8095
|
};
|
|
7312
8096
|
}
|
|
7313
8097
|
// src/integrations/powerpoint.ts
|
|
7314
8098
|
init_logger();
|
|
7315
|
-
var
|
|
8099
|
+
var logger52 = createLogger("PowerPoint");
|
|
7316
8100
|
var POWERPOINT_TOOLS = [
|
|
7317
8101
|
"powerpoint_copy",
|
|
7318
8102
|
"powerpoint_create",
|
|
@@ -7339,16 +8123,16 @@ function powerpointIntegration(config = {}) {
|
|
|
7339
8123
|
tools: [...POWERPOINT_TOOLS],
|
|
7340
8124
|
oauth,
|
|
7341
8125
|
async onInit(_client) {
|
|
7342
|
-
|
|
8126
|
+
logger52.debug("PowerPoint integration initialized");
|
|
7343
8127
|
},
|
|
7344
8128
|
async onAfterConnect(_client) {
|
|
7345
|
-
|
|
8129
|
+
logger52.debug("PowerPoint integration connected");
|
|
7346
8130
|
}
|
|
7347
8131
|
};
|
|
7348
8132
|
}
|
|
7349
8133
|
// src/integrations/gdocs.ts
|
|
7350
8134
|
init_logger();
|
|
7351
|
-
var
|
|
8135
|
+
var logger53 = createLogger("Google Docs");
|
|
7352
8136
|
var GDOCS_TOOLS = [
|
|
7353
8137
|
"gdocs_append_text",
|
|
7354
8138
|
"gdocs_batch_update",
|
|
@@ -7378,16 +8162,16 @@ function gdocsIntegration(config = {}) {
|
|
|
7378
8162
|
tools: [...GDOCS_TOOLS],
|
|
7379
8163
|
oauth,
|
|
7380
8164
|
async onInit(_client) {
|
|
7381
|
-
|
|
8165
|
+
logger53.debug("Google Docs integration initialized");
|
|
7382
8166
|
},
|
|
7383
8167
|
async onAfterConnect(_client) {
|
|
7384
|
-
|
|
8168
|
+
logger53.debug("Google Docs integration connected");
|
|
7385
8169
|
}
|
|
7386
8170
|
};
|
|
7387
8171
|
}
|
|
7388
8172
|
// src/integrations/gdrive.ts
|
|
7389
8173
|
init_logger();
|
|
7390
|
-
var
|
|
8174
|
+
var logger54 = createLogger("Google Drive");
|
|
7391
8175
|
var GDRIVE_TOOLS = [
|
|
7392
8176
|
"gdrive_copy_file",
|
|
7393
8177
|
"gdrive_create_folder",
|
|
@@ -7421,16 +8205,16 @@ function gdriveIntegration(config = {}) {
|
|
|
7421
8205
|
tools: [...GDRIVE_TOOLS],
|
|
7422
8206
|
oauth,
|
|
7423
8207
|
async onInit(_client) {
|
|
7424
|
-
|
|
8208
|
+
logger54.debug("Google Drive integration initialized");
|
|
7425
8209
|
},
|
|
7426
8210
|
async onAfterConnect(_client) {
|
|
7427
|
-
|
|
8211
|
+
logger54.debug("Google Drive integration connected");
|
|
7428
8212
|
}
|
|
7429
8213
|
};
|
|
7430
8214
|
}
|
|
7431
8215
|
// src/integrations/gsheets.ts
|
|
7432
8216
|
init_logger();
|
|
7433
|
-
var
|
|
8217
|
+
var logger55 = createLogger("Google Sheets");
|
|
7434
8218
|
var GSHEETS_TOOLS = [
|
|
7435
8219
|
"gsheets_append_values",
|
|
7436
8220
|
"gsheets_batch_update",
|
|
@@ -7460,16 +8244,16 @@ function gsheetsIntegration(config = {}) {
|
|
|
7460
8244
|
tools: [...GSHEETS_TOOLS],
|
|
7461
8245
|
oauth,
|
|
7462
8246
|
async onInit(_client) {
|
|
7463
|
-
|
|
8247
|
+
logger55.debug("Google Sheets integration initialized");
|
|
7464
8248
|
},
|
|
7465
8249
|
async onAfterConnect(_client) {
|
|
7466
|
-
|
|
8250
|
+
logger55.debug("Google Sheets integration connected");
|
|
7467
8251
|
}
|
|
7468
8252
|
};
|
|
7469
8253
|
}
|
|
7470
8254
|
// src/integrations/gslides.ts
|
|
7471
8255
|
init_logger();
|
|
7472
|
-
var
|
|
8256
|
+
var logger56 = createLogger("Google Slides");
|
|
7473
8257
|
var GSLIDES_TOOLS = [
|
|
7474
8258
|
"gslides_add_slide",
|
|
7475
8259
|
"gslides_batch_update",
|
|
@@ -7498,16 +8282,16 @@ function gslidesIntegration(config = {}) {
|
|
|
7498
8282
|
tools: [...GSLIDES_TOOLS],
|
|
7499
8283
|
oauth,
|
|
7500
8284
|
async onInit(_client) {
|
|
7501
|
-
|
|
8285
|
+
logger56.debug("Google Slides integration initialized");
|
|
7502
8286
|
},
|
|
7503
8287
|
async onAfterConnect(_client) {
|
|
7504
|
-
|
|
8288
|
+
logger56.debug("Google Slides integration connected");
|
|
7505
8289
|
}
|
|
7506
8290
|
};
|
|
7507
8291
|
}
|
|
7508
8292
|
// src/integrations/polar.ts
|
|
7509
8293
|
init_logger();
|
|
7510
|
-
var
|
|
8294
|
+
var logger57 = createLogger("Polar");
|
|
7511
8295
|
var POLAR_TOOLS = [
|
|
7512
8296
|
"polar_list_products",
|
|
7513
8297
|
"polar_get_product",
|
|
@@ -7564,16 +8348,16 @@ function polarIntegration(config = {}) {
|
|
|
7564
8348
|
tools: [...POLAR_TOOLS],
|
|
7565
8349
|
oauth,
|
|
7566
8350
|
async onInit(_client) {
|
|
7567
|
-
|
|
8351
|
+
logger57.debug("Polar integration initialized");
|
|
7568
8352
|
},
|
|
7569
8353
|
async onAfterConnect(_client) {
|
|
7570
|
-
|
|
8354
|
+
logger57.debug("Polar integration connected");
|
|
7571
8355
|
}
|
|
7572
8356
|
};
|
|
7573
8357
|
}
|
|
7574
8358
|
// src/integrations/phantom.ts
|
|
7575
8359
|
init_logger();
|
|
7576
|
-
var
|
|
8360
|
+
var logger58 = createLogger("Phantom");
|
|
7577
8361
|
var PHANTOM_TOOLS = [
|
|
7578
8362
|
"phantom_build_browse_deeplink",
|
|
7579
8363
|
"phantom_deeplink_provider_reference"
|
|
@@ -7595,16 +8379,16 @@ function phantomIntegration(_options = {}) {
|
|
|
7595
8379
|
category: "Other",
|
|
7596
8380
|
tools: [...PHANTOM_TOOLS],
|
|
7597
8381
|
async onInit(_client) {
|
|
7598
|
-
|
|
8382
|
+
logger58.debug("Phantom integration initialized");
|
|
7599
8383
|
},
|
|
7600
8384
|
async onAfterConnect(_client) {
|
|
7601
|
-
|
|
8385
|
+
logger58.debug("Phantom integration connected");
|
|
7602
8386
|
}
|
|
7603
8387
|
};
|
|
7604
8388
|
}
|
|
7605
8389
|
// src/integrations/figma.ts
|
|
7606
8390
|
init_logger();
|
|
7607
|
-
var
|
|
8391
|
+
var logger59 = createLogger("Figma");
|
|
7608
8392
|
var FIGMA_TOOLS = [
|
|
7609
8393
|
"figma_get_file",
|
|
7610
8394
|
"figma_get_file_nodes",
|
|
@@ -7670,16 +8454,16 @@ function figmaIntegration(config = {}) {
|
|
|
7670
8454
|
tools: [...FIGMA_TOOLS],
|
|
7671
8455
|
oauth,
|
|
7672
8456
|
async onInit(_client) {
|
|
7673
|
-
|
|
8457
|
+
logger59.debug("Figma integration initialized");
|
|
7674
8458
|
},
|
|
7675
8459
|
async onAfterConnect(_client) {
|
|
7676
|
-
|
|
8460
|
+
logger59.debug("Figma integration connected");
|
|
7677
8461
|
}
|
|
7678
8462
|
};
|
|
7679
8463
|
}
|
|
7680
8464
|
// src/integrations/intercom.ts
|
|
7681
8465
|
init_logger();
|
|
7682
|
-
var
|
|
8466
|
+
var logger60 = createLogger("Intercom");
|
|
7683
8467
|
var INTERCOM_TOOLS = [
|
|
7684
8468
|
"intercom_list_contacts",
|
|
7685
8469
|
"intercom_get_contact",
|
|
@@ -7710,16 +8494,16 @@ function intercomIntegration(config = {}) {
|
|
|
7710
8494
|
tools: [...INTERCOM_TOOLS],
|
|
7711
8495
|
oauth,
|
|
7712
8496
|
async onInit(_client) {
|
|
7713
|
-
|
|
8497
|
+
logger60.debug("Intercom integration initialized");
|
|
7714
8498
|
},
|
|
7715
8499
|
async onAfterConnect(_client) {
|
|
7716
|
-
|
|
8500
|
+
logger60.debug("Intercom integration connected");
|
|
7717
8501
|
}
|
|
7718
8502
|
};
|
|
7719
8503
|
}
|
|
7720
8504
|
// src/integrations/hubspot.ts
|
|
7721
8505
|
init_logger();
|
|
7722
|
-
var
|
|
8506
|
+
var logger61 = createLogger("HubSpot");
|
|
7723
8507
|
var HUBSPOT_TOOLS = [
|
|
7724
8508
|
"hubspot_list_contacts",
|
|
7725
8509
|
"hubspot_get_contact",
|
|
@@ -7769,16 +8553,16 @@ function hubspotIntegration(config = {}) {
|
|
|
7769
8553
|
tools: [...HUBSPOT_TOOLS],
|
|
7770
8554
|
oauth,
|
|
7771
8555
|
async onInit(_client) {
|
|
7772
|
-
|
|
8556
|
+
logger61.debug("HubSpot integration initialized");
|
|
7773
8557
|
},
|
|
7774
8558
|
async onAfterConnect(_client) {
|
|
7775
|
-
|
|
8559
|
+
logger61.debug("HubSpot integration connected");
|
|
7776
8560
|
}
|
|
7777
8561
|
};
|
|
7778
8562
|
}
|
|
7779
8563
|
// src/integrations/youtube.ts
|
|
7780
8564
|
init_logger();
|
|
7781
|
-
var
|
|
8565
|
+
var logger62 = createLogger("YouTube");
|
|
7782
8566
|
var YOUTUBE_TOOLS = [
|
|
7783
8567
|
"youtube_add_comment",
|
|
7784
8568
|
"youtube_add_to_playlist",
|
|
@@ -7824,16 +8608,16 @@ function youtubeIntegration(config = {}) {
|
|
|
7824
8608
|
tools: [...YOUTUBE_TOOLS],
|
|
7825
8609
|
oauth,
|
|
7826
8610
|
async onInit(_client) {
|
|
7827
|
-
|
|
8611
|
+
logger62.debug("YouTube integration initialized");
|
|
7828
8612
|
},
|
|
7829
8613
|
async onAfterConnect(_client) {
|
|
7830
|
-
|
|
8614
|
+
logger62.debug("YouTube integration connected");
|
|
7831
8615
|
}
|
|
7832
8616
|
};
|
|
7833
8617
|
}
|
|
7834
8618
|
// src/integrations/zoom.ts
|
|
7835
8619
|
init_logger();
|
|
7836
|
-
var
|
|
8620
|
+
var logger63 = createLogger("Zoom");
|
|
7837
8621
|
var ZOOM_TOOLS = [
|
|
7838
8622
|
"zoom_get_user",
|
|
7839
8623
|
"zoom_list_meetings",
|
|
@@ -7859,10 +8643,10 @@ function zoomIntegration(config = {}) {
|
|
|
7859
8643
|
tools: [...ZOOM_TOOLS],
|
|
7860
8644
|
oauth,
|
|
7861
8645
|
async onInit(_client) {
|
|
7862
|
-
|
|
8646
|
+
logger63.debug("Zoom integration initialized");
|
|
7863
8647
|
},
|
|
7864
8648
|
async onAfterConnect(_client) {
|
|
7865
|
-
|
|
8649
|
+
logger63.debug("Zoom integration connected");
|
|
7866
8650
|
}
|
|
7867
8651
|
};
|
|
7868
8652
|
}
|
|
@@ -7898,7 +8682,7 @@ function redditIntegration(config = {}) {
|
|
|
7898
8682
|
}
|
|
7899
8683
|
// src/integrations/cursor.ts
|
|
7900
8684
|
init_logger();
|
|
7901
|
-
var
|
|
8685
|
+
var logger64 = createLogger("Cursor");
|
|
7902
8686
|
var CURSOR_TOOLS = [
|
|
7903
8687
|
"cursor_list_agents",
|
|
7904
8688
|
"cursor_get_agent",
|
|
@@ -7918,16 +8702,16 @@ function cursorIntegration(_config = {}) {
|
|
|
7918
8702
|
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/cursor.jpeg",
|
|
7919
8703
|
tools: [...CURSOR_TOOLS],
|
|
7920
8704
|
async onInit(_client) {
|
|
7921
|
-
|
|
8705
|
+
logger64.debug("Cursor integration initialized");
|
|
7922
8706
|
},
|
|
7923
8707
|
async onAfterConnect(_client) {
|
|
7924
|
-
|
|
8708
|
+
logger64.debug("Cursor integration connected");
|
|
7925
8709
|
}
|
|
7926
8710
|
};
|
|
7927
8711
|
}
|
|
7928
8712
|
// src/integrations/databricks.ts
|
|
7929
8713
|
init_logger();
|
|
7930
|
-
var
|
|
8714
|
+
var logger65 = createLogger("Databricks");
|
|
7931
8715
|
var DATABRICKS_SCOPES = ["all-apis", "offline_access"];
|
|
7932
8716
|
var DATABRICKS_TOOLS = [
|
|
7933
8717
|
"databricks_current_user",
|
|
@@ -7974,16 +8758,16 @@ function databricksIntegration(config = {}) {
|
|
|
7974
8758
|
tools: [...DATABRICKS_TOOLS],
|
|
7975
8759
|
oauth,
|
|
7976
8760
|
async onInit(_client) {
|
|
7977
|
-
|
|
8761
|
+
logger65.debug("Databricks integration initialized");
|
|
7978
8762
|
},
|
|
7979
8763
|
async onAfterConnect(_client) {
|
|
7980
|
-
|
|
8764
|
+
logger65.debug("Databricks integration connected");
|
|
7981
8765
|
}
|
|
7982
8766
|
};
|
|
7983
8767
|
}
|
|
7984
8768
|
// src/integrations/posthog.ts
|
|
7985
8769
|
init_logger();
|
|
7986
|
-
var
|
|
8770
|
+
var logger66 = createLogger("PostHog");
|
|
7987
8771
|
var DEFAULT_POSTHOG_BASE_URL = "https://us.posthog.com";
|
|
7988
8772
|
var POSTHOG_SCOPES = [
|
|
7989
8773
|
"openid",
|
|
@@ -8069,16 +8853,16 @@ function posthogIntegration(config = {}) {
|
|
|
8069
8853
|
tools: [...POSTHOG_TOOLS],
|
|
8070
8854
|
oauth,
|
|
8071
8855
|
async onInit(_client) {
|
|
8072
|
-
|
|
8856
|
+
logger66.debug("PostHog integration initialized");
|
|
8073
8857
|
},
|
|
8074
8858
|
async onAfterConnect(_client) {
|
|
8075
|
-
|
|
8859
|
+
logger66.debug("PostHog integration connected");
|
|
8076
8860
|
}
|
|
8077
8861
|
};
|
|
8078
8862
|
}
|
|
8079
8863
|
// src/integrations/postman.ts
|
|
8080
8864
|
init_logger();
|
|
8081
|
-
var
|
|
8865
|
+
var logger67 = createLogger("Postman");
|
|
8082
8866
|
var POSTMAN_TOOLS = [
|
|
8083
8867
|
"postman_get_me",
|
|
8084
8868
|
"postman_list_workspaces",
|
|
@@ -8109,16 +8893,16 @@ function postmanIntegration(options = {}) {
|
|
|
8109
8893
|
};
|
|
8110
8894
|
},
|
|
8111
8895
|
async onInit(_client) {
|
|
8112
|
-
|
|
8896
|
+
logger67.debug("Postman integration initialized");
|
|
8113
8897
|
},
|
|
8114
8898
|
async onAfterConnect(_client) {
|
|
8115
|
-
|
|
8899
|
+
logger67.debug("Postman integration connected");
|
|
8116
8900
|
}
|
|
8117
8901
|
};
|
|
8118
8902
|
}
|
|
8119
8903
|
// src/integrations/sentry.ts
|
|
8120
8904
|
init_logger();
|
|
8121
|
-
var
|
|
8905
|
+
var logger68 = createLogger("Sentry");
|
|
8122
8906
|
var SENTRY_SCOPES = [
|
|
8123
8907
|
"org:read",
|
|
8124
8908
|
"project:read",
|
|
@@ -8167,16 +8951,16 @@ function sentryIntegration(config = {}) {
|
|
|
8167
8951
|
tools: [...SENTRY_TOOLS],
|
|
8168
8952
|
oauth,
|
|
8169
8953
|
async onInit(_client) {
|
|
8170
|
-
|
|
8954
|
+
logger68.debug("Sentry integration initialized");
|
|
8171
8955
|
},
|
|
8172
8956
|
async onAfterConnect(_client) {
|
|
8173
|
-
|
|
8957
|
+
logger68.debug("Sentry integration connected");
|
|
8174
8958
|
}
|
|
8175
8959
|
};
|
|
8176
8960
|
}
|
|
8177
8961
|
// src/integrations/supabase.ts
|
|
8178
8962
|
init_logger();
|
|
8179
|
-
var
|
|
8963
|
+
var logger69 = createLogger("Supabase");
|
|
8180
8964
|
var SUPABASE_API_BASE = "https://api.supabase.com";
|
|
8181
8965
|
var SUPABASE_TOOLS = [
|
|
8182
8966
|
"supabase_get_profile",
|
|
@@ -8214,10 +8998,10 @@ function supabaseIntegration(config = {}) {
|
|
|
8214
8998
|
};
|
|
8215
8999
|
},
|
|
8216
9000
|
async onInit(_client) {
|
|
8217
|
-
|
|
9001
|
+
logger69.debug("Supabase integration initialized (personal access token)");
|
|
8218
9002
|
},
|
|
8219
9003
|
async onAfterConnect(_client) {
|
|
8220
|
-
|
|
9004
|
+
logger69.debug("Supabase integration connected");
|
|
8221
9005
|
}
|
|
8222
9006
|
};
|
|
8223
9007
|
}
|
|
@@ -8247,16 +9031,16 @@ function supabaseIntegration(config = {}) {
|
|
|
8247
9031
|
tools: [...SUPABASE_TOOLS],
|
|
8248
9032
|
oauth,
|
|
8249
9033
|
async onInit(_client) {
|
|
8250
|
-
|
|
9034
|
+
logger69.debug("Supabase integration initialized");
|
|
8251
9035
|
},
|
|
8252
9036
|
async onAfterConnect(_client) {
|
|
8253
|
-
|
|
9037
|
+
logger69.debug("Supabase integration connected");
|
|
8254
9038
|
}
|
|
8255
9039
|
};
|
|
8256
9040
|
}
|
|
8257
9041
|
// src/integrations/netlify.ts
|
|
8258
9042
|
init_logger();
|
|
8259
|
-
var
|
|
9043
|
+
var logger70 = createLogger("Netlify");
|
|
8260
9044
|
var NETLIFY_TOOLS = [
|
|
8261
9045
|
"netlify_get_current_user",
|
|
8262
9046
|
"netlify_list_accounts",
|
|
@@ -8319,16 +9103,16 @@ function netlifyIntegration(config = {}) {
|
|
|
8319
9103
|
tools: [...NETLIFY_TOOLS],
|
|
8320
9104
|
oauth,
|
|
8321
9105
|
async onInit(_client) {
|
|
8322
|
-
|
|
9106
|
+
logger70.debug("Netlify integration initialized");
|
|
8323
9107
|
},
|
|
8324
9108
|
async onAfterConnect(_client) {
|
|
8325
|
-
|
|
9109
|
+
logger70.debug("Netlify integration connected");
|
|
8326
9110
|
}
|
|
8327
9111
|
};
|
|
8328
9112
|
}
|
|
8329
9113
|
// src/integrations/datadog.ts
|
|
8330
9114
|
init_logger();
|
|
8331
|
-
var
|
|
9115
|
+
var logger71 = createLogger("Datadog");
|
|
8332
9116
|
var DATADOG_SCOPES = [
|
|
8333
9117
|
"monitors_read",
|
|
8334
9118
|
"dashboards_read",
|
|
@@ -8358,10 +9142,10 @@ function datadogIntegration(config = {}) {
|
|
|
8358
9142
|
category: "Engineering",
|
|
8359
9143
|
tools: [...DATADOG_TOOLS],
|
|
8360
9144
|
async onInit(_client) {
|
|
8361
|
-
|
|
9145
|
+
logger71.debug("Datadog integration initialized");
|
|
8362
9146
|
},
|
|
8363
9147
|
async onAfterConnect(_client) {
|
|
8364
|
-
|
|
9148
|
+
logger71.debug("Datadog integration connected");
|
|
8365
9149
|
}
|
|
8366
9150
|
};
|
|
8367
9151
|
if (apiKey || applicationKey) {
|
|
@@ -8403,7 +9187,7 @@ function datadogIntegration(config = {}) {
|
|
|
8403
9187
|
}
|
|
8404
9188
|
// src/integrations/redis.ts
|
|
8405
9189
|
init_logger();
|
|
8406
|
-
var
|
|
9190
|
+
var logger72 = createLogger("Redis Cloud");
|
|
8407
9191
|
var REDIS_TOOLS = [
|
|
8408
9192
|
"redis_list_subscriptions",
|
|
8409
9193
|
"redis_get_subscription",
|
|
@@ -8458,16 +9242,16 @@ function redisIntegration(options = {}) {
|
|
|
8458
9242
|
};
|
|
8459
9243
|
},
|
|
8460
9244
|
async onInit(_client) {
|
|
8461
|
-
|
|
9245
|
+
logger72.debug("Redis Cloud integration initialized");
|
|
8462
9246
|
},
|
|
8463
9247
|
async onAfterConnect(_client) {
|
|
8464
|
-
|
|
9248
|
+
logger72.debug("Redis Cloud integration connected");
|
|
8465
9249
|
}
|
|
8466
9250
|
};
|
|
8467
9251
|
}
|
|
8468
9252
|
// src/integrations/upstash.ts
|
|
8469
9253
|
init_logger();
|
|
8470
|
-
var
|
|
9254
|
+
var logger73 = createLogger("Upstash");
|
|
8471
9255
|
var UPSTASH_TOOLS = [
|
|
8472
9256
|
"upstash_redis_run",
|
|
8473
9257
|
"upstash_redis_get",
|
|
@@ -8507,16 +9291,16 @@ function upstashIntegration(options = {}) {
|
|
|
8507
9291
|
return headers;
|
|
8508
9292
|
},
|
|
8509
9293
|
async onInit(_client) {
|
|
8510
|
-
|
|
9294
|
+
logger73.debug("Upstash integration initialized");
|
|
8511
9295
|
},
|
|
8512
9296
|
async onAfterConnect(_client) {
|
|
8513
|
-
|
|
9297
|
+
logger73.debug("Upstash integration connected");
|
|
8514
9298
|
}
|
|
8515
9299
|
};
|
|
8516
9300
|
}
|
|
8517
9301
|
// src/integrations/webflow.ts
|
|
8518
9302
|
init_logger();
|
|
8519
|
-
var
|
|
9303
|
+
var logger74 = createLogger("Webflow");
|
|
8520
9304
|
var WEBFLOW_TOOLS = [
|
|
8521
9305
|
"webflow_token_introspect",
|
|
8522
9306
|
"webflow_get_authorized_user",
|
|
@@ -8575,16 +9359,16 @@ function webflowIntegration(config = {}) {
|
|
|
8575
9359
|
tools: [...WEBFLOW_TOOLS],
|
|
8576
9360
|
oauth,
|
|
8577
9361
|
async onInit(_client) {
|
|
8578
|
-
|
|
9362
|
+
logger74.debug("Webflow integration initialized");
|
|
8579
9363
|
},
|
|
8580
9364
|
async onAfterConnect(_client) {
|
|
8581
|
-
|
|
9365
|
+
logger74.debug("Webflow integration connected");
|
|
8582
9366
|
}
|
|
8583
9367
|
};
|
|
8584
9368
|
}
|
|
8585
9369
|
// src/integrations/jira.ts
|
|
8586
9370
|
init_logger();
|
|
8587
|
-
var
|
|
9371
|
+
var logger75 = createLogger("Jira");
|
|
8588
9372
|
var JIRA_SCOPES = [
|
|
8589
9373
|
"read:jira-work",
|
|
8590
9374
|
"write:jira-work",
|
|
@@ -8629,16 +9413,16 @@ function jiraIntegration(config = {}) {
|
|
|
8629
9413
|
tools: [...JIRA_TOOLS],
|
|
8630
9414
|
oauth,
|
|
8631
9415
|
async onInit(_client) {
|
|
8632
|
-
|
|
9416
|
+
logger75.debug("Jira integration initialized");
|
|
8633
9417
|
},
|
|
8634
9418
|
async onAfterConnect(_client) {
|
|
8635
|
-
|
|
9419
|
+
logger75.debug("Jira integration connected");
|
|
8636
9420
|
}
|
|
8637
9421
|
};
|
|
8638
9422
|
}
|
|
8639
9423
|
// src/integrations/salesforce.ts
|
|
8640
9424
|
init_logger();
|
|
8641
|
-
var
|
|
9425
|
+
var logger76 = createLogger("Salesforce");
|
|
8642
9426
|
var SALESFORCE_TOOLS = [
|
|
8643
9427
|
"salesforce_query",
|
|
8644
9428
|
"salesforce_get_limits",
|
|
@@ -8669,16 +9453,16 @@ function salesforceIntegration(config = {}) {
|
|
|
8669
9453
|
tools: [...SALESFORCE_TOOLS],
|
|
8670
9454
|
oauth,
|
|
8671
9455
|
async onInit(_client) {
|
|
8672
|
-
|
|
9456
|
+
logger76.debug("Salesforce integration initialized");
|
|
8673
9457
|
},
|
|
8674
9458
|
async onAfterConnect(_client) {
|
|
8675
|
-
|
|
9459
|
+
logger76.debug("Salesforce integration connected");
|
|
8676
9460
|
}
|
|
8677
9461
|
};
|
|
8678
9462
|
}
|
|
8679
9463
|
// src/integrations/zapier.ts
|
|
8680
9464
|
init_logger();
|
|
8681
|
-
var
|
|
9465
|
+
var logger77 = createLogger("Zapier");
|
|
8682
9466
|
var ZAPIER_TOOLS = [
|
|
8683
9467
|
"zapier_get_profile",
|
|
8684
9468
|
"zapier_list_zaps",
|
|
@@ -8710,16 +9494,16 @@ function zapierIntegration(config = {}) {
|
|
|
8710
9494
|
tools: [...ZAPIER_TOOLS],
|
|
8711
9495
|
oauth,
|
|
8712
9496
|
async onInit(_client) {
|
|
8713
|
-
|
|
9497
|
+
logger77.debug("Zapier integration initialized");
|
|
8714
9498
|
},
|
|
8715
9499
|
async onAfterConnect(_client) {
|
|
8716
|
-
|
|
9500
|
+
logger77.debug("Zapier integration connected");
|
|
8717
9501
|
}
|
|
8718
9502
|
};
|
|
8719
9503
|
}
|
|
8720
9504
|
// src/integrations/linkedin.ts
|
|
8721
9505
|
init_logger();
|
|
8722
|
-
var
|
|
9506
|
+
var logger78 = createLogger("LinkedIn");
|
|
8723
9507
|
var LINKEDIN_SCOPES = ["openid", "profile", "email", "w_member_social"];
|
|
8724
9508
|
var LINKEDIN_TOOLS = ["linkedin_get_userinfo", "linkedin_create_post"];
|
|
8725
9509
|
function linkedinIntegration(config = {}) {
|
|
@@ -8746,16 +9530,16 @@ function linkedinIntegration(config = {}) {
|
|
|
8746
9530
|
tools: [...LINKEDIN_TOOLS],
|
|
8747
9531
|
oauth,
|
|
8748
9532
|
async onInit(_client) {
|
|
8749
|
-
|
|
9533
|
+
logger78.debug("LinkedIn integration initialized");
|
|
8750
9534
|
},
|
|
8751
9535
|
async onAfterConnect(_client) {
|
|
8752
|
-
|
|
9536
|
+
logger78.debug("LinkedIn integration connected");
|
|
8753
9537
|
}
|
|
8754
9538
|
};
|
|
8755
9539
|
}
|
|
8756
9540
|
// src/integrations/threads.ts
|
|
8757
9541
|
init_logger();
|
|
8758
|
-
var
|
|
9542
|
+
var logger79 = createLogger("Threads");
|
|
8759
9543
|
var THREADS_SCOPES = [
|
|
8760
9544
|
"threads_basic",
|
|
8761
9545
|
"threads_content_publish",
|
|
@@ -8806,16 +9590,16 @@ function threadsIntegration(config = {}) {
|
|
|
8806
9590
|
tools: [...THREADS_TOOLS],
|
|
8807
9591
|
oauth,
|
|
8808
9592
|
async onInit(_client) {
|
|
8809
|
-
|
|
9593
|
+
logger79.debug("Threads integration initialized");
|
|
8810
9594
|
},
|
|
8811
9595
|
async onAfterConnect(_client) {
|
|
8812
|
-
|
|
9596
|
+
logger79.debug("Threads integration connected");
|
|
8813
9597
|
}
|
|
8814
9598
|
};
|
|
8815
9599
|
}
|
|
8816
9600
|
// src/integrations/tiktok.ts
|
|
8817
9601
|
init_logger();
|
|
8818
|
-
var
|
|
9602
|
+
var logger80 = createLogger("TikTok");
|
|
8819
9603
|
var TIKTOK_SCOPES = ["user.info.basic", "video.list"];
|
|
8820
9604
|
var TIKTOK_TOOLS = [
|
|
8821
9605
|
"tiktok_get_user_info",
|
|
@@ -8846,16 +9630,16 @@ function tiktokIntegration(config = {}) {
|
|
|
8846
9630
|
tools: [...TIKTOK_TOOLS],
|
|
8847
9631
|
oauth,
|
|
8848
9632
|
async onInit(_client) {
|
|
8849
|
-
|
|
9633
|
+
logger80.debug("TikTok integration initialized");
|
|
8850
9634
|
},
|
|
8851
9635
|
async onAfterConnect(_client) {
|
|
8852
|
-
|
|
9636
|
+
logger80.debug("TikTok integration connected");
|
|
8853
9637
|
}
|
|
8854
9638
|
};
|
|
8855
9639
|
}
|
|
8856
9640
|
// src/integrations/trello.ts
|
|
8857
9641
|
init_logger();
|
|
8858
|
-
var
|
|
9642
|
+
var logger81 = createLogger("Trello");
|
|
8859
9643
|
var TRELLO_TOOLS = [
|
|
8860
9644
|
"trello_get_member",
|
|
8861
9645
|
"trello_list_boards",
|
|
@@ -8892,16 +9676,16 @@ function trelloIntegration(options = {}) {
|
|
|
8892
9676
|
return { Authorization: `Bearer ${encodeCredential(apiKey, memberToken)}` };
|
|
8893
9677
|
},
|
|
8894
9678
|
async onInit(_client) {
|
|
8895
|
-
|
|
9679
|
+
logger81.debug("Trello integration initialized");
|
|
8896
9680
|
},
|
|
8897
9681
|
async onAfterConnect(_client) {
|
|
8898
|
-
|
|
9682
|
+
logger81.debug("Trello integration connected");
|
|
8899
9683
|
}
|
|
8900
9684
|
};
|
|
8901
9685
|
}
|
|
8902
9686
|
// src/integrations/typeform.ts
|
|
8903
9687
|
init_logger();
|
|
8904
|
-
var
|
|
9688
|
+
var logger82 = createLogger("Typeform");
|
|
8905
9689
|
var TYPEFORM_SCOPES = [
|
|
8906
9690
|
"offline",
|
|
8907
9691
|
"accounts:read",
|
|
@@ -8945,16 +9729,16 @@ function typeformIntegration(config = {}) {
|
|
|
8945
9729
|
tools: [...TYPEFORM_TOOLS],
|
|
8946
9730
|
oauth,
|
|
8947
9731
|
async onInit(_client) {
|
|
8948
|
-
|
|
9732
|
+
logger82.debug("Typeform integration initialized");
|
|
8949
9733
|
},
|
|
8950
9734
|
async onAfterConnect(_client) {
|
|
8951
|
-
|
|
9735
|
+
logger82.debug("Typeform integration connected");
|
|
8952
9736
|
}
|
|
8953
9737
|
};
|
|
8954
9738
|
}
|
|
8955
9739
|
// src/integrations/xero.ts
|
|
8956
9740
|
init_logger();
|
|
8957
|
-
var
|
|
9741
|
+
var logger83 = createLogger("Xero");
|
|
8958
9742
|
var XERO_SCOPES = [
|
|
8959
9743
|
"openid",
|
|
8960
9744
|
"profile",
|
|
@@ -9001,16 +9785,16 @@ function xeroIntegration(config = {}) {
|
|
|
9001
9785
|
tools: [...XERO_TOOLS],
|
|
9002
9786
|
oauth,
|
|
9003
9787
|
async onInit(_client) {
|
|
9004
|
-
|
|
9788
|
+
logger83.debug("Xero integration initialized");
|
|
9005
9789
|
},
|
|
9006
9790
|
async onAfterConnect(_client) {
|
|
9007
|
-
|
|
9791
|
+
logger83.debug("Xero integration connected");
|
|
9008
9792
|
}
|
|
9009
9793
|
};
|
|
9010
9794
|
}
|
|
9011
9795
|
// src/integrations/attio.ts
|
|
9012
9796
|
init_logger();
|
|
9013
|
-
var
|
|
9797
|
+
var logger84 = createLogger("Attio");
|
|
9014
9798
|
var ATTIO_SCOPES = [
|
|
9015
9799
|
"record_permission:read-write",
|
|
9016
9800
|
"object_configuration:read",
|
|
@@ -9056,16 +9840,16 @@ function attioIntegration(config = {}) {
|
|
|
9056
9840
|
tools: [...ATTIO_TOOLS],
|
|
9057
9841
|
oauth,
|
|
9058
9842
|
async onInit(_client) {
|
|
9059
|
-
|
|
9843
|
+
logger84.debug("Attio integration initialized");
|
|
9060
9844
|
},
|
|
9061
9845
|
async onAfterConnect(_client) {
|
|
9062
|
-
|
|
9846
|
+
logger84.debug("Attio integration connected");
|
|
9063
9847
|
}
|
|
9064
9848
|
};
|
|
9065
9849
|
}
|
|
9066
9850
|
// src/integrations/gchat.ts
|
|
9067
9851
|
init_logger();
|
|
9068
|
-
var
|
|
9852
|
+
var logger85 = createLogger("Google Chat");
|
|
9069
9853
|
var GCHAT_SCOPES = [
|
|
9070
9854
|
"https://www.googleapis.com/auth/chat.messages",
|
|
9071
9855
|
"https://www.googleapis.com/auth/chat.spaces.readonly"
|
|
@@ -9104,16 +9888,16 @@ function gchatIntegration(config = {}) {
|
|
|
9104
9888
|
tools: [...GCHAT_TOOLS],
|
|
9105
9889
|
oauth,
|
|
9106
9890
|
async onInit(_client) {
|
|
9107
|
-
|
|
9891
|
+
logger85.debug("Google Chat integration initialized");
|
|
9108
9892
|
},
|
|
9109
9893
|
async onAfterConnect(_client) {
|
|
9110
|
-
|
|
9894
|
+
logger85.debug("Google Chat integration connected");
|
|
9111
9895
|
}
|
|
9112
9896
|
};
|
|
9113
9897
|
}
|
|
9114
9898
|
// src/integrations/shopify.ts
|
|
9115
9899
|
init_logger();
|
|
9116
|
-
var
|
|
9900
|
+
var logger86 = createLogger("Shopify");
|
|
9117
9901
|
var SHOPIFY_SCOPES = [
|
|
9118
9902
|
"read_products",
|
|
9119
9903
|
"write_products",
|
|
@@ -9162,16 +9946,16 @@ function shopifyIntegration(config = {}) {
|
|
|
9162
9946
|
tools: [...SHOPIFY_TOOLS],
|
|
9163
9947
|
oauth,
|
|
9164
9948
|
async onInit(_client) {
|
|
9165
|
-
|
|
9949
|
+
logger86.debug("Shopify integration initialized");
|
|
9166
9950
|
},
|
|
9167
9951
|
async onAfterConnect(_client) {
|
|
9168
|
-
|
|
9952
|
+
logger86.debug("Shopify integration connected");
|
|
9169
9953
|
}
|
|
9170
9954
|
};
|
|
9171
9955
|
}
|
|
9172
9956
|
// src/integrations/convex.ts
|
|
9173
9957
|
init_logger();
|
|
9174
|
-
var
|
|
9958
|
+
var logger87 = createLogger("Convex");
|
|
9175
9959
|
var CONVEX_TOOLS = [
|
|
9176
9960
|
"convex_management_token_details",
|
|
9177
9961
|
"convex_management_list_projects",
|
|
@@ -9208,16 +9992,16 @@ function convexIntegration(options = {}) {
|
|
|
9208
9992
|
return { Authorization: `Bearer ${accessToken}` };
|
|
9209
9993
|
},
|
|
9210
9994
|
async onInit(_client) {
|
|
9211
|
-
|
|
9995
|
+
logger87.debug("Convex integration initialized");
|
|
9212
9996
|
},
|
|
9213
9997
|
async onAfterConnect(_client) {
|
|
9214
|
-
|
|
9998
|
+
logger87.debug("Convex integration connected");
|
|
9215
9999
|
}
|
|
9216
10000
|
};
|
|
9217
10001
|
}
|
|
9218
10002
|
// src/integrations/etoro.ts
|
|
9219
10003
|
init_logger();
|
|
9220
|
-
var
|
|
10004
|
+
var logger88 = createLogger("eToro");
|
|
9221
10005
|
var ETORO_TOOLS = [
|
|
9222
10006
|
"etoro_get_identity",
|
|
9223
10007
|
"etoro_get_portfolio",
|
|
@@ -9247,16 +10031,16 @@ function etoroIntegration(options = {}) {
|
|
|
9247
10031
|
};
|
|
9248
10032
|
},
|
|
9249
10033
|
async onInit(_client) {
|
|
9250
|
-
|
|
10034
|
+
logger88.debug("eToro integration initialized");
|
|
9251
10035
|
},
|
|
9252
10036
|
async onAfterConnect(_client) {
|
|
9253
|
-
|
|
10037
|
+
logger88.debug("eToro integration connected");
|
|
9254
10038
|
}
|
|
9255
10039
|
};
|
|
9256
10040
|
}
|
|
9257
10041
|
// src/integrations/alpaca.ts
|
|
9258
10042
|
init_logger();
|
|
9259
|
-
var
|
|
10043
|
+
var logger89 = createLogger("Alpaca");
|
|
9260
10044
|
var ALPACA_TOOLS = [
|
|
9261
10045
|
"alpaca_get_account",
|
|
9262
10046
|
"alpaca_list_positions",
|
|
@@ -9298,16 +10082,16 @@ function alpacaIntegration(options = {}) {
|
|
|
9298
10082
|
return headers;
|
|
9299
10083
|
},
|
|
9300
10084
|
async onInit(_client) {
|
|
9301
|
-
|
|
10085
|
+
logger89.debug("Alpaca integration initialized");
|
|
9302
10086
|
},
|
|
9303
10087
|
async onAfterConnect(_client) {
|
|
9304
|
-
|
|
10088
|
+
logger89.debug("Alpaca integration connected");
|
|
9305
10089
|
}
|
|
9306
10090
|
};
|
|
9307
10091
|
}
|
|
9308
10092
|
// src/integrations/neon.ts
|
|
9309
10093
|
init_logger();
|
|
9310
|
-
var
|
|
10094
|
+
var logger90 = createLogger("Neon");
|
|
9311
10095
|
var NEON_TOOLS = [
|
|
9312
10096
|
"neon_list_api_keys",
|
|
9313
10097
|
"neon_create_api_key",
|
|
@@ -9347,10 +10131,10 @@ function neonIntegration(options = {}) {
|
|
|
9347
10131
|
};
|
|
9348
10132
|
},
|
|
9349
10133
|
async onInit(_client) {
|
|
9350
|
-
|
|
10134
|
+
logger90.debug("Neon integration initialized");
|
|
9351
10135
|
},
|
|
9352
10136
|
async onAfterConnect(_client) {
|
|
9353
|
-
|
|
10137
|
+
logger90.debug("Neon integration connected");
|
|
9354
10138
|
}
|
|
9355
10139
|
};
|
|
9356
10140
|
}
|
|
@@ -9460,7 +10244,7 @@ function mercuryIntegration(options) {
|
|
|
9460
10244
|
}
|
|
9461
10245
|
// src/integrations/aws.ts
|
|
9462
10246
|
init_logger();
|
|
9463
|
-
var
|
|
10247
|
+
var logger91 = createLogger("AWS");
|
|
9464
10248
|
var AWS_TOOLS = [
|
|
9465
10249
|
"aws_sts_get_caller_identity",
|
|
9466
10250
|
"aws_ec2_describe_regions",
|
|
@@ -9513,16 +10297,16 @@ function awsIntegration(options = {}) {
|
|
|
9513
10297
|
};
|
|
9514
10298
|
},
|
|
9515
10299
|
async onInit(_client) {
|
|
9516
|
-
|
|
10300
|
+
logger91.debug("AWS integration initialized");
|
|
9517
10301
|
},
|
|
9518
10302
|
async onAfterConnect(_client) {
|
|
9519
|
-
|
|
10303
|
+
logger91.debug("AWS integration connected");
|
|
9520
10304
|
}
|
|
9521
10305
|
};
|
|
9522
10306
|
}
|
|
9523
10307
|
// src/integrations/wix.ts
|
|
9524
10308
|
init_logger();
|
|
9525
|
-
var
|
|
10309
|
+
var logger92 = createLogger("Wix");
|
|
9526
10310
|
var WIX_TOOLS = [
|
|
9527
10311
|
"wix_query_products",
|
|
9528
10312
|
"wix_get_product",
|
|
@@ -9555,10 +10339,10 @@ function wixIntegration(options = {}) {
|
|
|
9555
10339
|
};
|
|
9556
10340
|
},
|
|
9557
10341
|
async onInit(_client) {
|
|
9558
|
-
|
|
10342
|
+
logger92.debug("Wix integration initialized");
|
|
9559
10343
|
},
|
|
9560
10344
|
async onAfterConnect(_client) {
|
|
9561
|
-
|
|
10345
|
+
logger92.debug("Wix integration connected");
|
|
9562
10346
|
}
|
|
9563
10347
|
};
|
|
9564
10348
|
}
|
|
@@ -9592,7 +10376,7 @@ function mailchimpIntegration(config = {}) {
|
|
|
9592
10376
|
}
|
|
9593
10377
|
// src/integrations/monday.ts
|
|
9594
10378
|
init_logger();
|
|
9595
|
-
var
|
|
10379
|
+
var logger93 = createLogger("Monday");
|
|
9596
10380
|
var MONDAY_TOOLS = [
|
|
9597
10381
|
"monday_me",
|
|
9598
10382
|
"monday_list_workspaces",
|
|
@@ -9629,16 +10413,16 @@ function mondayIntegration(config = {}) {
|
|
|
9629
10413
|
tools: [...MONDAY_TOOLS],
|
|
9630
10414
|
oauth,
|
|
9631
10415
|
async onInit(_client) {
|
|
9632
|
-
|
|
10416
|
+
logger93.debug("Monday.com integration initialized");
|
|
9633
10417
|
},
|
|
9634
10418
|
async onAfterConnect(_client) {
|
|
9635
|
-
|
|
10419
|
+
logger93.debug("Monday.com integration connected");
|
|
9636
10420
|
}
|
|
9637
10421
|
};
|
|
9638
10422
|
}
|
|
9639
10423
|
// src/integrations/binance.ts
|
|
9640
10424
|
init_logger();
|
|
9641
|
-
var
|
|
10425
|
+
var logger94 = createLogger("Binance");
|
|
9642
10426
|
var BINANCE_TOOLS = [
|
|
9643
10427
|
"binance_ping",
|
|
9644
10428
|
"binance_get_server_time",
|
|
@@ -9681,16 +10465,16 @@ function binanceIntegration(options = {}) {
|
|
|
9681
10465
|
};
|
|
9682
10466
|
},
|
|
9683
10467
|
async onInit(_client) {
|
|
9684
|
-
|
|
10468
|
+
logger94.debug("Binance integration initialized");
|
|
9685
10469
|
},
|
|
9686
10470
|
async onAfterConnect(_client) {
|
|
9687
|
-
|
|
10471
|
+
logger94.debug("Binance integration connected");
|
|
9688
10472
|
}
|
|
9689
10473
|
};
|
|
9690
10474
|
}
|
|
9691
10475
|
// src/integrations/canva.ts
|
|
9692
10476
|
init_logger();
|
|
9693
|
-
var
|
|
10477
|
+
var logger95 = createLogger("Canva");
|
|
9694
10478
|
var CANVA_TOOLS = [
|
|
9695
10479
|
"canva_get_me",
|
|
9696
10480
|
"canva_get_profile",
|
|
@@ -9727,16 +10511,16 @@ function canvaIntegration(config = {}) {
|
|
|
9727
10511
|
tools: [...CANVA_TOOLS],
|
|
9728
10512
|
oauth,
|
|
9729
10513
|
async onInit(_client) {
|
|
9730
|
-
|
|
10514
|
+
logger95.debug("Canva integration initialized");
|
|
9731
10515
|
},
|
|
9732
10516
|
async onAfterConnect(_client) {
|
|
9733
|
-
|
|
10517
|
+
logger95.debug("Canva integration connected");
|
|
9734
10518
|
}
|
|
9735
10519
|
};
|
|
9736
10520
|
}
|
|
9737
10521
|
// src/integrations/clerk.ts
|
|
9738
10522
|
init_logger();
|
|
9739
|
-
var
|
|
10523
|
+
var logger96 = createLogger("Clerk");
|
|
9740
10524
|
var CLERK_TOOLS = [
|
|
9741
10525
|
"clerk_list_users",
|
|
9742
10526
|
"clerk_get_user",
|
|
@@ -9771,16 +10555,16 @@ function clerkIntegration(options = {}) {
|
|
|
9771
10555
|
};
|
|
9772
10556
|
},
|
|
9773
10557
|
async onInit(_client) {
|
|
9774
|
-
|
|
10558
|
+
logger96.debug("Clerk integration initialized");
|
|
9775
10559
|
},
|
|
9776
10560
|
async onAfterConnect(_client) {
|
|
9777
|
-
|
|
10561
|
+
logger96.debug("Clerk integration connected");
|
|
9778
10562
|
}
|
|
9779
10563
|
};
|
|
9780
10564
|
}
|
|
9781
10565
|
// src/integrations/clickup.ts
|
|
9782
10566
|
init_logger();
|
|
9783
|
-
var
|
|
10567
|
+
var logger97 = createLogger("ClickUp");
|
|
9784
10568
|
var CLICKUP_TOOLS = [
|
|
9785
10569
|
"clickup_get_authorized_user",
|
|
9786
10570
|
"clickup_list_teams",
|
|
@@ -9816,16 +10600,16 @@ function clickupIntegration(config = {}) {
|
|
|
9816
10600
|
tools: [...CLICKUP_TOOLS],
|
|
9817
10601
|
oauth,
|
|
9818
10602
|
async onInit(_client) {
|
|
9819
|
-
|
|
10603
|
+
logger97.debug("ClickUp integration initialized");
|
|
9820
10604
|
},
|
|
9821
10605
|
async onAfterConnect(_client) {
|
|
9822
|
-
|
|
10606
|
+
logger97.debug("ClickUp integration connected");
|
|
9823
10607
|
}
|
|
9824
10608
|
};
|
|
9825
10609
|
}
|
|
9826
10610
|
// src/integrations/cloudflare.ts
|
|
9827
10611
|
init_logger();
|
|
9828
|
-
var
|
|
10612
|
+
var logger98 = createLogger("Cloudflare");
|
|
9829
10613
|
var CLOUDFLARE_TOOLS = [
|
|
9830
10614
|
"cloudflare_verify_token",
|
|
9831
10615
|
"cloudflare_get_user",
|
|
@@ -9864,10 +10648,10 @@ function cloudflareIntegration(config = {}) {
|
|
|
9864
10648
|
return { Authorization: `Bearer ${apiToken.trim()}` };
|
|
9865
10649
|
},
|
|
9866
10650
|
async onInit(_client) {
|
|
9867
|
-
|
|
10651
|
+
logger98.debug("Cloudflare integration initialized (API token)");
|
|
9868
10652
|
},
|
|
9869
10653
|
async onAfterConnect(_client) {
|
|
9870
|
-
|
|
10654
|
+
logger98.debug("Cloudflare integration connected");
|
|
9871
10655
|
}
|
|
9872
10656
|
};
|
|
9873
10657
|
}
|
|
@@ -9893,16 +10677,16 @@ function cloudflareIntegration(config = {}) {
|
|
|
9893
10677
|
tools: [...CLOUDFLARE_TOOLS],
|
|
9894
10678
|
oauth,
|
|
9895
10679
|
async onInit(_client) {
|
|
9896
|
-
|
|
10680
|
+
logger98.debug("Cloudflare integration initialized (OAuth)");
|
|
9897
10681
|
},
|
|
9898
10682
|
async onAfterConnect(_client) {
|
|
9899
|
-
|
|
10683
|
+
logger98.debug("Cloudflare integration connected");
|
|
9900
10684
|
}
|
|
9901
10685
|
};
|
|
9902
10686
|
}
|
|
9903
10687
|
// src/integrations/instagram.ts
|
|
9904
10688
|
init_logger();
|
|
9905
|
-
var
|
|
10689
|
+
var logger99 = createLogger("Instagram");
|
|
9906
10690
|
var INSTAGRAM_SCOPES = [
|
|
9907
10691
|
"pages_show_list",
|
|
9908
10692
|
"pages_read_engagement",
|
|
@@ -9952,16 +10736,16 @@ function instagramIntegration(config = {}) {
|
|
|
9952
10736
|
tools: [...INSTAGRAM_TOOLS],
|
|
9953
10737
|
oauth,
|
|
9954
10738
|
async onInit(_client) {
|
|
9955
|
-
|
|
10739
|
+
logger99.debug("Instagram integration initialized");
|
|
9956
10740
|
},
|
|
9957
10741
|
async onAfterConnect(_client) {
|
|
9958
|
-
|
|
10742
|
+
logger99.debug("Instagram integration connected");
|
|
9959
10743
|
}
|
|
9960
10744
|
};
|
|
9961
10745
|
}
|
|
9962
10746
|
// src/integrations/facebook.ts
|
|
9963
10747
|
init_logger();
|
|
9964
|
-
var
|
|
10748
|
+
var logger100 = createLogger("Facebook");
|
|
9965
10749
|
var FACEBOOK_SCOPES = [
|
|
9966
10750
|
"public_profile",
|
|
9967
10751
|
"email",
|
|
@@ -10007,10 +10791,10 @@ function facebookIntegration(config = {}) {
|
|
|
10007
10791
|
tools: [...FACEBOOK_TOOLS],
|
|
10008
10792
|
oauth,
|
|
10009
10793
|
async onInit(_client) {
|
|
10010
|
-
|
|
10794
|
+
logger100.debug("Facebook integration initialized");
|
|
10011
10795
|
},
|
|
10012
10796
|
async onAfterConnect(_client) {
|
|
10013
|
-
|
|
10797
|
+
logger100.debug("Facebook integration connected");
|
|
10014
10798
|
}
|
|
10015
10799
|
};
|
|
10016
10800
|
}
|
|
@@ -10041,7 +10825,7 @@ function ga4Integration(config = {}) {
|
|
|
10041
10825
|
}
|
|
10042
10826
|
// src/integrations/resend.ts
|
|
10043
10827
|
init_logger();
|
|
10044
|
-
var
|
|
10828
|
+
var logger101 = createLogger("Resend");
|
|
10045
10829
|
var RESEND_TOOLS = [
|
|
10046
10830
|
"resend_list_domains",
|
|
10047
10831
|
"resend_get_domain",
|
|
@@ -10066,10 +10850,10 @@ function resendIntegration(options = {}) {
|
|
|
10066
10850
|
return { Authorization: `Bearer ${apiKey}` };
|
|
10067
10851
|
},
|
|
10068
10852
|
async onInit(_client) {
|
|
10069
|
-
|
|
10853
|
+
logger101.debug("Resend integration initialized");
|
|
10070
10854
|
},
|
|
10071
10855
|
async onAfterConnect(_client) {
|
|
10072
|
-
|
|
10856
|
+
logger101.debug("Resend integration connected");
|
|
10073
10857
|
}
|
|
10074
10858
|
};
|
|
10075
10859
|
}
|
|
@@ -10093,7 +10877,7 @@ function tldrawIntegration(options = {}) {
|
|
|
10093
10877
|
}
|
|
10094
10878
|
// src/integrations/workday.ts
|
|
10095
10879
|
init_logger();
|
|
10096
|
-
var
|
|
10880
|
+
var logger102 = createLogger("Workday");
|
|
10097
10881
|
var WORKDAY_TOOLS = [
|
|
10098
10882
|
"workday_list_workers",
|
|
10099
10883
|
"workday_get_worker"
|
|
@@ -10118,16 +10902,16 @@ function workdayIntegration(config = {}) {
|
|
|
10118
10902
|
tools: [...WORKDAY_TOOLS],
|
|
10119
10903
|
oauth,
|
|
10120
10904
|
async onInit(_client) {
|
|
10121
|
-
|
|
10905
|
+
logger102.debug("Workday integration initialized");
|
|
10122
10906
|
},
|
|
10123
10907
|
async onAfterConnect(_client) {
|
|
10124
|
-
|
|
10908
|
+
logger102.debug("Workday integration connected");
|
|
10125
10909
|
}
|
|
10126
10910
|
};
|
|
10127
10911
|
}
|
|
10128
10912
|
// src/integrations/workos.ts
|
|
10129
10913
|
init_logger();
|
|
10130
|
-
var
|
|
10914
|
+
var logger103 = createLogger("WorkOS");
|
|
10131
10915
|
var WORKOS_TOOLS = [
|
|
10132
10916
|
"workos_list_organizations",
|
|
10133
10917
|
"workos_get_organization",
|
|
@@ -10160,10 +10944,10 @@ function workosIntegration(options = {}) {
|
|
|
10160
10944
|
};
|
|
10161
10945
|
},
|
|
10162
10946
|
async onInit(_client) {
|
|
10163
|
-
|
|
10947
|
+
logger103.debug("WorkOS integration initialized");
|
|
10164
10948
|
},
|
|
10165
10949
|
async onAfterConnect(_client) {
|
|
10166
|
-
|
|
10950
|
+
logger103.debug("WorkOS integration connected");
|
|
10167
10951
|
}
|
|
10168
10952
|
};
|
|
10169
10953
|
}
|
|
@@ -16370,7 +17154,7 @@ function convertJsonSchemaToGoogleSchema(jsonSchema, TypeEnum) {
|
|
|
16370
17154
|
}
|
|
16371
17155
|
// src/server.ts
|
|
16372
17156
|
var SERVER_LOG_CONTEXT3 = "server";
|
|
16373
|
-
var
|
|
17157
|
+
var logger106 = createLogger("MCPServer", SERVER_LOG_CONTEXT3);
|
|
16374
17158
|
async function refreshTokenIfNeeded(provider, tokenData, providers, config, context) {
|
|
16375
17159
|
const credentials = providers[provider];
|
|
16376
17160
|
if (!credentials || !config.serverUrl) {
|
|
@@ -16392,9 +17176,9 @@ async function refreshTokenIfNeeded(provider, tokenData, providers, config, cont
|
|
|
16392
17176
|
});
|
|
16393
17177
|
} catch (err) {
|
|
16394
17178
|
if (err instanceof RefreshRejectedError) {
|
|
16395
|
-
|
|
17179
|
+
logger106.warn(`[Token Refresh] Refresh token rejected for ${provider}; integration marked disconnected.`);
|
|
16396
17180
|
} else {
|
|
16397
|
-
|
|
17181
|
+
logger106.warn(`[Token Refresh] Failed to refresh ${provider} token: ${err.message}`);
|
|
16398
17182
|
}
|
|
16399
17183
|
return tokenData.accessToken;
|
|
16400
17184
|
}
|
|
@@ -16504,7 +17288,7 @@ function createMCPServer(config) {
|
|
|
16504
17288
|
if (integration.oauth) {
|
|
16505
17289
|
const { clientId, clientSecret, redirectUri: integrationRedirectUri, config: oauthConfig } = integration.oauth;
|
|
16506
17290
|
if (!clientId || !clientSecret) {
|
|
16507
|
-
|
|
17291
|
+
logger106.warn(`Warning: Integration "${integration.id}" is missing OAuth credentials. ` + `Provide clientId and clientSecret in the integration configuration.`);
|
|
16508
17292
|
return integration;
|
|
16509
17293
|
}
|
|
16510
17294
|
const redirectUri = integrationRedirectUri || config.redirectUri || getDefaultRedirectUri();
|
|
@@ -16684,7 +17468,7 @@ function createMCPServer(config) {
|
|
|
16684
17468
|
}
|
|
16685
17469
|
return response2;
|
|
16686
17470
|
} catch (error) {
|
|
16687
|
-
|
|
17471
|
+
logger106.error("[MCP Tool Call] Error:", error);
|
|
16688
17472
|
return Response.json({ error: error.message || "Failed to execute tool call" }, { status: error.statusCode || 500 });
|
|
16689
17473
|
}
|
|
16690
17474
|
}
|
|
@@ -16733,7 +17517,7 @@ function createMCPServer(config) {
|
|
|
16733
17517
|
});
|
|
16734
17518
|
return Response.json(result, { status: result.success ? 200 : 500 });
|
|
16735
17519
|
} catch (error) {
|
|
16736
|
-
|
|
17520
|
+
logger106.error("[Code Mode] Error:", error);
|
|
16737
17521
|
return Response.json({ error: error?.message || "Failed to execute code" }, { status: 500 });
|
|
16738
17522
|
}
|
|
16739
17523
|
}
|
|
@@ -16791,7 +17575,7 @@ function createMCPServer(config) {
|
|
|
16791
17575
|
error: executionResult.error
|
|
16792
17576
|
});
|
|
16793
17577
|
} catch (error) {
|
|
16794
|
-
|
|
17578
|
+
logger106.error("[Trigger Notify] Error:", error);
|
|
16795
17579
|
return Response.json({ error: error.message || "Failed to execute trigger" }, { status: 500 });
|
|
16796
17580
|
}
|
|
16797
17581
|
}
|
|
@@ -16855,7 +17639,7 @@ function createMCPServer(config) {
|
|
|
16855
17639
|
})
|
|
16856
17640
|
});
|
|
16857
17641
|
} catch (scheduleError) {
|
|
16858
|
-
|
|
17642
|
+
logger106.error("[Trigger] Failed to register with scheduler:", scheduleError);
|
|
16859
17643
|
}
|
|
16860
17644
|
return Response.json(created, { status: 201 });
|
|
16861
17645
|
}
|
|
@@ -16890,7 +17674,7 @@ function createMCPServer(config) {
|
|
|
16890
17674
|
body: JSON.stringify({ triggerId })
|
|
16891
17675
|
});
|
|
16892
17676
|
} catch (error) {
|
|
16893
|
-
|
|
17677
|
+
logger106.error("[Trigger] Failed to pause in scheduler:", error);
|
|
16894
17678
|
}
|
|
16895
17679
|
return Response.json(updated);
|
|
16896
17680
|
} else if (subAction === "resume" && method === "POST") {
|
|
@@ -16918,7 +17702,7 @@ function createMCPServer(config) {
|
|
|
16918
17702
|
body: JSON.stringify({ triggerId })
|
|
16919
17703
|
});
|
|
16920
17704
|
} catch (error) {
|
|
16921
|
-
|
|
17705
|
+
logger106.error("[Trigger] Failed to resume in scheduler:", error);
|
|
16922
17706
|
}
|
|
16923
17707
|
return Response.json(updated);
|
|
16924
17708
|
} else if (subAction === "run" && method === "POST") {
|
|
@@ -16989,7 +17773,7 @@ function createMCPServer(config) {
|
|
|
16989
17773
|
})
|
|
16990
17774
|
});
|
|
16991
17775
|
} catch (error) {
|
|
16992
|
-
|
|
17776
|
+
logger106.error("[Trigger] Failed to update scheduler:", error);
|
|
16993
17777
|
}
|
|
16994
17778
|
}
|
|
16995
17779
|
return Response.json(updated);
|
|
@@ -17006,14 +17790,14 @@ function createMCPServer(config) {
|
|
|
17006
17790
|
body: JSON.stringify({ triggerId })
|
|
17007
17791
|
});
|
|
17008
17792
|
} catch (error) {
|
|
17009
|
-
|
|
17793
|
+
logger106.error("[Trigger] Failed to unregister from scheduler:", error);
|
|
17010
17794
|
}
|
|
17011
17795
|
return new Response(null, { status: 204 });
|
|
17012
17796
|
}
|
|
17013
17797
|
}
|
|
17014
17798
|
return Response.json({ error: "Invalid trigger route or method" }, { status: 404 });
|
|
17015
17799
|
} catch (error) {
|
|
17016
|
-
|
|
17800
|
+
logger106.error("[Trigger] Error:", error);
|
|
17017
17801
|
return Response.json({ error: error.message || "Failed to process trigger request" }, { status: error.statusCode || 500 });
|
|
17018
17802
|
}
|
|
17019
17803
|
}
|
|
@@ -17039,11 +17823,11 @@ function createMCPServer(config) {
|
|
|
17039
17823
|
const errorRedirectUrl = "/auth-error";
|
|
17040
17824
|
if (error) {
|
|
17041
17825
|
const errorMsg = errorDescription || error;
|
|
17042
|
-
|
|
17826
|
+
logger106.error("[OAuth Redirect] Error:", errorMsg);
|
|
17043
17827
|
return Response.redirect(new URL(`${errorRedirectUrl}?error=${encodeURIComponent(errorMsg)}`, webRequest.url));
|
|
17044
17828
|
}
|
|
17045
17829
|
if (!code || !state) {
|
|
17046
|
-
|
|
17830
|
+
logger106.error("[OAuth Redirect] Missing code or state parameter");
|
|
17047
17831
|
return Response.redirect(new URL(`${errorRedirectUrl}?error=${encodeURIComponent("Invalid OAuth callback")}`, webRequest.url));
|
|
17048
17832
|
}
|
|
17049
17833
|
let returnUrl = defaultRedirectUrl;
|
|
@@ -17120,7 +17904,7 @@ function createMCPServer(config) {
|
|
|
17120
17904
|
frontendUrl.hash = `oauth_callback=${encodeURIComponent(JSON.stringify({ code, state, tokenData }))}`;
|
|
17121
17905
|
return Response.redirect(frontendUrl);
|
|
17122
17906
|
} catch (error2) {
|
|
17123
|
-
|
|
17907
|
+
logger106.error("[OAuth Backend Callback] Error:", error2);
|
|
17124
17908
|
return Response.redirect(new URL(`${errorRedirectUrl}?error=${encodeURIComponent(error2.message || "Failed to exchange token")}`, webRequest.url));
|
|
17125
17909
|
}
|
|
17126
17910
|
} else {
|
|
@@ -17423,11 +18207,16 @@ export {
|
|
|
17423
18207
|
tldrawIntegration,
|
|
17424
18208
|
tiktokIntegration,
|
|
17425
18209
|
threadsIntegration,
|
|
18210
|
+
telegramIntegration,
|
|
17426
18211
|
teamsIntegration,
|
|
17427
18212
|
svelteKitHandler,
|
|
17428
18213
|
supabaseIntegration,
|
|
17429
18214
|
stripeIntegration,
|
|
18215
|
+
stravaIntegration,
|
|
17430
18216
|
storeCodeVerifier,
|
|
18217
|
+
squareIntegration,
|
|
18218
|
+
spotifyIntegration,
|
|
18219
|
+
smartthingsIntegration,
|
|
17431
18220
|
slackIntegration,
|
|
17432
18221
|
shopifyIntegration,
|
|
17433
18222
|
sharepointIntegration,
|
|
@@ -17439,6 +18228,7 @@ export {
|
|
|
17439
18228
|
redditIntegration,
|
|
17440
18229
|
rampIntegration,
|
|
17441
18230
|
railwayIntegration,
|
|
18231
|
+
quickbooksIntegration,
|
|
17442
18232
|
powerpointIntegration,
|
|
17443
18233
|
postmanIntegration,
|
|
17444
18234
|
posthogIntegration,
|
|
@@ -17446,9 +18236,11 @@ export {
|
|
|
17446
18236
|
plannerIntegration,
|
|
17447
18237
|
planetscaleIntegration,
|
|
17448
18238
|
phantomIntegration,
|
|
18239
|
+
paypalIntegration,
|
|
17449
18240
|
paperIntegration,
|
|
17450
18241
|
outlookIntegration,
|
|
17451
18242
|
onedriveIntegration,
|
|
18243
|
+
oktaIntegration,
|
|
17452
18244
|
notionIntegration,
|
|
17453
18245
|
netlifyIntegration,
|
|
17454
18246
|
neonIntegration,
|
|
@@ -17469,6 +18261,7 @@ export {
|
|
|
17469
18261
|
granolaIntegration,
|
|
17470
18262
|
gmeetIntegration,
|
|
17471
18263
|
gmailIntegration,
|
|
18264
|
+
gkeepIntegration,
|
|
17472
18265
|
gitlabIntegration,
|
|
17473
18266
|
githubIntegration,
|
|
17474
18267
|
getVercelAITools,
|
|
@@ -17503,6 +18296,7 @@ export {
|
|
|
17503
18296
|
createNextOAuthHandler,
|
|
17504
18297
|
createMCPServer,
|
|
17505
18298
|
convexIntegration,
|
|
18299
|
+
confluenceIntegration,
|
|
17506
18300
|
cloudflareIntegration,
|
|
17507
18301
|
clickupIntegration,
|
|
17508
18302
|
clerkIntegration,
|
|
@@ -17510,12 +18304,15 @@ export {
|
|
|
17510
18304
|
calcomIntegration,
|
|
17511
18305
|
buildPhantomBrowseDeeplink,
|
|
17512
18306
|
buildCodeModeTool,
|
|
18307
|
+
boxIntegration,
|
|
18308
|
+
bitbucketIntegration,
|
|
17513
18309
|
binanceIntegration,
|
|
17514
18310
|
betterstackIntegration,
|
|
17515
18311
|
awsIntegration,
|
|
17516
18312
|
auth0Integration,
|
|
17517
18313
|
attioIntegration,
|
|
17518
18314
|
astronomerIntegration,
|
|
18315
|
+
asanaIntegration,
|
|
17519
18316
|
alpacaIntegration,
|
|
17520
18317
|
airtableIntegration,
|
|
17521
18318
|
__resetUnauthenticatedCodeModeWarnings,
|