integrate-sdk 0.9.48-dev.0 → 0.9.49-dev.0
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 +40 -0
- package/dist/adapters/base-handler.js +40 -0
- package/dist/adapters/index.js +149 -79
- package/dist/adapters/nextjs.js +40 -0
- package/dist/adapters/solid-start.js +149 -79
- package/dist/adapters/svelte-kit.js +149 -79
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +883 -244
- package/dist/oauth.js +40 -0
- package/dist/server.js +903 -264
- package/dist/src/client.d.ts +11 -1
- package/dist/src/client.d.ts.map +1 -1
- package/dist/src/index.d.ts +20 -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/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/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/server.d.ts +10 -0
- package/dist/src/server.d.ts.map +1 -1
- package/index.ts +20 -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"
|
|
@@ -180,6 +192,10 @@ var init_library_metadata = __esm(() => {
|
|
|
180
192
|
description: "Manage Notion pages and databases",
|
|
181
193
|
category: "Productivity"
|
|
182
194
|
},
|
|
195
|
+
okta: {
|
|
196
|
+
description: "Manage Okta users, groups, applications, policies, and system logs",
|
|
197
|
+
category: "Engineering"
|
|
198
|
+
},
|
|
183
199
|
onedrive: {
|
|
184
200
|
description: "Manage OneDrive files, folders, and sharing",
|
|
185
201
|
category: "Storage"
|
|
@@ -196,6 +212,10 @@ var init_library_metadata = __esm(() => {
|
|
|
196
212
|
description: "Manage Polar products, orders, and subscriptions",
|
|
197
213
|
category: "Finance"
|
|
198
214
|
},
|
|
215
|
+
paypal: {
|
|
216
|
+
description: "Manage PayPal orders, captures, refunds, invoices, products, plans, and subscriptions",
|
|
217
|
+
category: "Finance"
|
|
218
|
+
},
|
|
199
219
|
phantom: {
|
|
200
220
|
description: "Build Phantom mobile browse universal links and deeplink provider documentation (Solana)",
|
|
201
221
|
category: "Other"
|
|
@@ -212,6 +232,10 @@ var init_library_metadata = __esm(() => {
|
|
|
212
232
|
description: "Manage Ramp corporate cards, bills, and spend",
|
|
213
233
|
category: "Business"
|
|
214
234
|
},
|
|
235
|
+
quickbooks: {
|
|
236
|
+
description: "Manage QuickBooks Online accounting data, invoices, bills, payments, and reports",
|
|
237
|
+
category: "Finance"
|
|
238
|
+
},
|
|
215
239
|
resend: {
|
|
216
240
|
description: "Send email and manage domains with the Resend API",
|
|
217
241
|
category: "Communication"
|
|
@@ -252,6 +276,22 @@ var init_library_metadata = __esm(() => {
|
|
|
252
276
|
description: "Send and manage Slack messages and channels",
|
|
253
277
|
category: "Communication"
|
|
254
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
|
+
},
|
|
255
295
|
telegram: {
|
|
256
296
|
description: "Use Telegram as an actual user account via MTProto sessions",
|
|
257
297
|
category: "Communication"
|
|
@@ -2635,7 +2675,7 @@ async function deliverWebhook(webhook, payload, timeoutMs) {
|
|
|
2635
2675
|
signal: controller.signal
|
|
2636
2676
|
});
|
|
2637
2677
|
if (!response.ok) {
|
|
2638
|
-
|
|
2678
|
+
logger104.warn(`Webhook delivery to ${webhook.url} returned ${response.status}`);
|
|
2639
2679
|
}
|
|
2640
2680
|
} finally {
|
|
2641
2681
|
clearTimeout(timeout);
|
|
@@ -2648,14 +2688,14 @@ async function deliverWebhooks(webhooks, payload, timeoutMs) {
|
|
|
2648
2688
|
for (let i = 0;i < results.length; i++) {
|
|
2649
2689
|
const result = results[i];
|
|
2650
2690
|
if (result.status === "rejected") {
|
|
2651
|
-
|
|
2691
|
+
logger104.warn(`Webhook delivery to ${webhooks[i].url} failed:`, result.reason);
|
|
2652
2692
|
}
|
|
2653
2693
|
}
|
|
2654
2694
|
}
|
|
2655
|
-
var
|
|
2695
|
+
var logger104;
|
|
2656
2696
|
var init_webhooks = __esm(() => {
|
|
2657
2697
|
init_logger();
|
|
2658
|
-
|
|
2698
|
+
logger104 = createLogger("Webhooks", "server");
|
|
2659
2699
|
});
|
|
2660
2700
|
|
|
2661
2701
|
// src/triggers/types.ts
|
|
@@ -2675,13 +2715,13 @@ async function executeTrigger(trigger, config, context) {
|
|
|
2675
2715
|
while (stepIndex < MAX_TRIGGER_STEPS) {
|
|
2676
2716
|
const stepValidation = validateStepLimit(stepIndex, MAX_TRIGGER_STEPS);
|
|
2677
2717
|
if (!stepValidation.valid) {
|
|
2678
|
-
|
|
2718
|
+
logger105.error(`[Trigger ${trigger.id}] ${stepValidation.error}`);
|
|
2679
2719
|
break;
|
|
2680
2720
|
}
|
|
2681
2721
|
const providerToken = await config.getProviderToken(currentProvider, undefined, context);
|
|
2682
2722
|
if (!providerToken) {
|
|
2683
2723
|
const error = `No OAuth token available for provider '${currentProvider}'`;
|
|
2684
|
-
|
|
2724
|
+
logger105.error(`[Trigger ${trigger.id}] ${error}`);
|
|
2685
2725
|
steps.push({
|
|
2686
2726
|
stepIndex,
|
|
2687
2727
|
toolName: currentToolName,
|
|
@@ -2707,7 +2747,7 @@ async function executeTrigger(trigger, config, context) {
|
|
|
2707
2747
|
} catch (err) {
|
|
2708
2748
|
stepSuccess = false;
|
|
2709
2749
|
stepError = err.message || "Tool execution failed";
|
|
2710
|
-
|
|
2750
|
+
logger105.error(`[Trigger ${trigger.id}] Step ${stepIndex} failed:`, err);
|
|
2711
2751
|
}
|
|
2712
2752
|
if (stepSuccess && toolResult) {
|
|
2713
2753
|
if (toolResult.isError === true) {
|
|
@@ -2800,7 +2840,7 @@ async function executeTrigger(trigger, config, context) {
|
|
|
2800
2840
|
return { success: steps.every((s) => s.success), steps, error: stepError };
|
|
2801
2841
|
}
|
|
2802
2842
|
const limitError = `Trigger execution exceeded maximum of ${MAX_TRIGGER_STEPS} steps`;
|
|
2803
|
-
|
|
2843
|
+
logger105.error(`[Trigger ${trigger.id}] ${limitError}`);
|
|
2804
2844
|
await config.triggers.update(trigger.id, {
|
|
2805
2845
|
lastRunAt: new Date().toISOString(),
|
|
2806
2846
|
runCount: (trigger.runCount || 0) + 1,
|
|
@@ -2809,12 +2849,12 @@ async function executeTrigger(trigger, config, context) {
|
|
|
2809
2849
|
}, context);
|
|
2810
2850
|
return { success: false, steps, error: limitError };
|
|
2811
2851
|
}
|
|
2812
|
-
var
|
|
2852
|
+
var logger105;
|
|
2813
2853
|
var init_executor2 = __esm(() => {
|
|
2814
2854
|
init_logger();
|
|
2815
2855
|
init_utils();
|
|
2816
2856
|
init_webhooks();
|
|
2817
|
-
|
|
2857
|
+
logger105 = createLogger("TriggerExecutor", "server");
|
|
2818
2858
|
});
|
|
2819
2859
|
|
|
2820
2860
|
// src/protocol/jsonrpc.ts
|
|
@@ -5985,9 +6025,598 @@ function boxIntegration(options = {}) {
|
|
|
5985
6025
|
}
|
|
5986
6026
|
};
|
|
5987
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
|
+
}
|
|
5988
6617
|
// src/integrations/linear.ts
|
|
5989
6618
|
init_logger();
|
|
5990
|
-
var
|
|
6619
|
+
var logger26 = createLogger("Linear");
|
|
5991
6620
|
var LINEAR_TOOLS = [
|
|
5992
6621
|
"linear_create_issue",
|
|
5993
6622
|
"linear_list_issues",
|
|
@@ -6042,16 +6671,16 @@ function linearIntegration(config = {}) {
|
|
|
6042
6671
|
tools: [...LINEAR_TOOLS],
|
|
6043
6672
|
oauth,
|
|
6044
6673
|
async onInit(_client) {
|
|
6045
|
-
|
|
6674
|
+
logger26.debug("Linear integration initialized");
|
|
6046
6675
|
},
|
|
6047
6676
|
async onAfterConnect(_client) {
|
|
6048
|
-
|
|
6677
|
+
logger26.debug("Linear integration connected");
|
|
6049
6678
|
}
|
|
6050
6679
|
};
|
|
6051
6680
|
}
|
|
6052
6681
|
// src/integrations/railway.ts
|
|
6053
6682
|
init_logger();
|
|
6054
|
-
var
|
|
6683
|
+
var logger27 = createLogger("Railway");
|
|
6055
6684
|
var RAILWAY_SCOPES = [
|
|
6056
6685
|
"openid",
|
|
6057
6686
|
"profile",
|
|
@@ -6156,16 +6785,16 @@ function railwayIntegration(config = {}) {
|
|
|
6156
6785
|
tools: [...RAILWAY_TOOLS],
|
|
6157
6786
|
oauth,
|
|
6158
6787
|
async onInit(_client) {
|
|
6159
|
-
|
|
6788
|
+
logger27.debug("Railway integration initialized");
|
|
6160
6789
|
},
|
|
6161
6790
|
async onAfterConnect(_client) {
|
|
6162
|
-
|
|
6791
|
+
logger27.debug("Railway integration connected");
|
|
6163
6792
|
}
|
|
6164
6793
|
};
|
|
6165
6794
|
}
|
|
6166
6795
|
// src/integrations/vercel.ts
|
|
6167
6796
|
init_logger();
|
|
6168
|
-
var
|
|
6797
|
+
var logger28 = createLogger("Vercel");
|
|
6169
6798
|
var VERCEL_TOOLS = [
|
|
6170
6799
|
"vercel_list_projects",
|
|
6171
6800
|
"vercel_get_project",
|
|
@@ -6208,16 +6837,16 @@ function vercelIntegration(config = {}) {
|
|
|
6208
6837
|
tools: [...VERCEL_TOOLS],
|
|
6209
6838
|
oauth,
|
|
6210
6839
|
async onInit(_client) {
|
|
6211
|
-
|
|
6840
|
+
logger28.debug("Vercel integration initialized");
|
|
6212
6841
|
},
|
|
6213
6842
|
async onAfterConnect(_client) {
|
|
6214
|
-
|
|
6843
|
+
logger28.debug("Vercel integration connected");
|
|
6215
6844
|
}
|
|
6216
6845
|
};
|
|
6217
6846
|
}
|
|
6218
6847
|
// src/integrations/zendesk.ts
|
|
6219
6848
|
init_logger();
|
|
6220
|
-
var
|
|
6849
|
+
var logger29 = createLogger("Zendesk");
|
|
6221
6850
|
var ZENDESK_TOOLS = [
|
|
6222
6851
|
"zendesk_list_tickets",
|
|
6223
6852
|
"zendesk_get_ticket",
|
|
@@ -6266,16 +6895,16 @@ function zendeskIntegration(config = {}) {
|
|
|
6266
6895
|
tools: [...ZENDESK_TOOLS],
|
|
6267
6896
|
oauth,
|
|
6268
6897
|
async onInit(_client) {
|
|
6269
|
-
|
|
6898
|
+
logger29.debug("Zendesk integration initialized");
|
|
6270
6899
|
},
|
|
6271
6900
|
async onAfterConnect(_client) {
|
|
6272
|
-
|
|
6901
|
+
logger29.debug("Zendesk integration connected");
|
|
6273
6902
|
}
|
|
6274
6903
|
};
|
|
6275
6904
|
}
|
|
6276
6905
|
// src/integrations/stripe.ts
|
|
6277
6906
|
init_logger();
|
|
6278
|
-
var
|
|
6907
|
+
var logger30 = createLogger("Stripe");
|
|
6279
6908
|
var STRIPE_TOOLS = [
|
|
6280
6909
|
"stripe_list_customers",
|
|
6281
6910
|
"stripe_get_customer",
|
|
@@ -6332,16 +6961,16 @@ function stripeIntegration(config = {}) {
|
|
|
6332
6961
|
tools: [...STRIPE_TOOLS],
|
|
6333
6962
|
oauth,
|
|
6334
6963
|
async onInit(_client) {
|
|
6335
|
-
|
|
6964
|
+
logger30.debug("Stripe integration initialized");
|
|
6336
6965
|
},
|
|
6337
6966
|
async onAfterConnect(_client) {
|
|
6338
|
-
|
|
6967
|
+
logger30.debug("Stripe integration connected");
|
|
6339
6968
|
}
|
|
6340
6969
|
};
|
|
6341
6970
|
}
|
|
6342
6971
|
// src/integrations/gcal.ts
|
|
6343
6972
|
init_logger();
|
|
6344
|
-
var
|
|
6973
|
+
var logger31 = createLogger("Google Calendar");
|
|
6345
6974
|
var GCAL_TOOLS = [
|
|
6346
6975
|
"gcal_create_calendar",
|
|
6347
6976
|
"gcal_create_event",
|
|
@@ -6375,16 +7004,16 @@ function gcalIntegration(config = {}) {
|
|
|
6375
7004
|
tools: [...GCAL_TOOLS],
|
|
6376
7005
|
oauth,
|
|
6377
7006
|
async onInit(_client) {
|
|
6378
|
-
|
|
7007
|
+
logger31.debug("Google Calendar integration initialized");
|
|
6379
7008
|
},
|
|
6380
7009
|
async onAfterConnect(_client) {
|
|
6381
|
-
|
|
7010
|
+
logger31.debug("Google Calendar integration connected");
|
|
6382
7011
|
}
|
|
6383
7012
|
};
|
|
6384
7013
|
}
|
|
6385
7014
|
// src/integrations/gcontacts.ts
|
|
6386
7015
|
init_logger();
|
|
6387
|
-
var
|
|
7016
|
+
var logger32 = createLogger("Google Contacts");
|
|
6388
7017
|
var GCONTACTS_TOOLS = [
|
|
6389
7018
|
"gcontacts_batch_get_contacts",
|
|
6390
7019
|
"gcontacts_copy_other_contact",
|
|
@@ -6418,16 +7047,16 @@ function gcontactsIntegration(config = {}) {
|
|
|
6418
7047
|
tools: [...GCONTACTS_TOOLS],
|
|
6419
7048
|
oauth,
|
|
6420
7049
|
async onInit(_client) {
|
|
6421
|
-
|
|
7050
|
+
logger32.debug("Google Contacts integration initialized");
|
|
6422
7051
|
},
|
|
6423
7052
|
async onAfterConnect(_client) {
|
|
6424
|
-
|
|
7053
|
+
logger32.debug("Google Contacts integration connected");
|
|
6425
7054
|
}
|
|
6426
7055
|
};
|
|
6427
7056
|
}
|
|
6428
7057
|
// src/integrations/gmeet.ts
|
|
6429
7058
|
init_logger();
|
|
6430
|
-
var
|
|
7059
|
+
var logger33 = createLogger("Google Meet");
|
|
6431
7060
|
var GMEET_TOOLS = [
|
|
6432
7061
|
"gmeet_add_meet_to_event",
|
|
6433
7062
|
"gmeet_create_meeting",
|
|
@@ -6455,16 +7084,16 @@ function gmeetIntegration(config = {}) {
|
|
|
6455
7084
|
tools: [...GMEET_TOOLS],
|
|
6456
7085
|
oauth,
|
|
6457
7086
|
async onInit(_client) {
|
|
6458
|
-
|
|
7087
|
+
logger33.debug("Google Meet integration initialized");
|
|
6459
7088
|
},
|
|
6460
7089
|
async onAfterConnect(_client) {
|
|
6461
|
-
|
|
7090
|
+
logger33.debug("Google Meet integration connected");
|
|
6462
7091
|
}
|
|
6463
7092
|
};
|
|
6464
7093
|
}
|
|
6465
7094
|
// src/integrations/gtasks.ts
|
|
6466
7095
|
init_logger();
|
|
6467
|
-
var
|
|
7096
|
+
var logger34 = createLogger("Google Tasks");
|
|
6468
7097
|
var GTASKS_TOOLS = [
|
|
6469
7098
|
"gtasks_clear_completed",
|
|
6470
7099
|
"gtasks_create_task",
|
|
@@ -6500,16 +7129,16 @@ function gtasksIntegration(config = {}) {
|
|
|
6500
7129
|
tools: [...GTASKS_TOOLS],
|
|
6501
7130
|
oauth,
|
|
6502
7131
|
async onInit(_client) {
|
|
6503
|
-
|
|
7132
|
+
logger34.debug("Google Tasks integration initialized");
|
|
6504
7133
|
},
|
|
6505
7134
|
async onAfterConnect(_client) {
|
|
6506
|
-
|
|
7135
|
+
logger34.debug("Google Tasks integration connected");
|
|
6507
7136
|
}
|
|
6508
7137
|
};
|
|
6509
7138
|
}
|
|
6510
7139
|
// src/integrations/gkeep.ts
|
|
6511
7140
|
init_logger();
|
|
6512
|
-
var
|
|
7141
|
+
var logger35 = createLogger("Google Keep");
|
|
6513
7142
|
var GKEEP_TOOLS = [
|
|
6514
7143
|
"gkeep_list_notes",
|
|
6515
7144
|
"gkeep_get_note",
|
|
@@ -6541,16 +7170,16 @@ function gkeepIntegration(config = {}) {
|
|
|
6541
7170
|
tools: [...GKEEP_TOOLS],
|
|
6542
7171
|
oauth,
|
|
6543
7172
|
async onInit(_client) {
|
|
6544
|
-
|
|
7173
|
+
logger35.debug("Google Keep integration initialized");
|
|
6545
7174
|
},
|
|
6546
7175
|
async onAfterConnect(_client) {
|
|
6547
|
-
|
|
7176
|
+
logger35.debug("Google Keep integration connected");
|
|
6548
7177
|
}
|
|
6549
7178
|
};
|
|
6550
7179
|
}
|
|
6551
7180
|
// src/integrations/outlook.ts
|
|
6552
7181
|
init_logger();
|
|
6553
|
-
var
|
|
7182
|
+
var logger36 = createLogger("Outlook");
|
|
6554
7183
|
var OUTLOOK_TOOLS = [
|
|
6555
7184
|
"outlook_accept_event",
|
|
6556
7185
|
"outlook_create_draft",
|
|
@@ -6597,16 +7226,16 @@ function outlookIntegration(config = {}) {
|
|
|
6597
7226
|
tools: [...OUTLOOK_TOOLS],
|
|
6598
7227
|
oauth,
|
|
6599
7228
|
async onInit(_client) {
|
|
6600
|
-
|
|
7229
|
+
logger36.debug("Outlook integration initialized");
|
|
6601
7230
|
},
|
|
6602
7231
|
async onAfterConnect(_client) {
|
|
6603
|
-
|
|
7232
|
+
logger36.debug("Outlook integration connected");
|
|
6604
7233
|
}
|
|
6605
7234
|
};
|
|
6606
7235
|
}
|
|
6607
7236
|
// src/integrations/teams.ts
|
|
6608
7237
|
init_logger();
|
|
6609
|
-
var
|
|
7238
|
+
var logger37 = createLogger("Teams");
|
|
6610
7239
|
var TEAMS_SCOPES = [
|
|
6611
7240
|
"offline_access",
|
|
6612
7241
|
"User.Read",
|
|
@@ -6656,16 +7285,16 @@ function teamsIntegration(config = {}) {
|
|
|
6656
7285
|
tools: [...TEAMS_TOOLS],
|
|
6657
7286
|
oauth,
|
|
6658
7287
|
async onInit(_client) {
|
|
6659
|
-
|
|
7288
|
+
logger37.debug("Teams integration initialized");
|
|
6660
7289
|
},
|
|
6661
7290
|
async onAfterConnect(_client) {
|
|
6662
|
-
|
|
7291
|
+
logger37.debug("Teams integration connected");
|
|
6663
7292
|
}
|
|
6664
7293
|
};
|
|
6665
7294
|
}
|
|
6666
7295
|
// src/integrations/airtable.ts
|
|
6667
7296
|
init_logger();
|
|
6668
|
-
var
|
|
7297
|
+
var logger38 = createLogger("Airtable");
|
|
6669
7298
|
var AIRTABLE_TOOLS = [
|
|
6670
7299
|
"airtable_list_bases",
|
|
6671
7300
|
"airtable_get_base",
|
|
@@ -6711,16 +7340,16 @@ function airtableIntegration(config = {}) {
|
|
|
6711
7340
|
tools: [...AIRTABLE_TOOLS],
|
|
6712
7341
|
oauth,
|
|
6713
7342
|
async onInit(_client) {
|
|
6714
|
-
|
|
7343
|
+
logger38.debug("Airtable integration initialized");
|
|
6715
7344
|
},
|
|
6716
7345
|
async onAfterConnect(_client) {
|
|
6717
|
-
|
|
7346
|
+
logger38.debug("Airtable integration connected");
|
|
6718
7347
|
}
|
|
6719
7348
|
};
|
|
6720
7349
|
}
|
|
6721
7350
|
// src/integrations/auth0.ts
|
|
6722
7351
|
init_logger();
|
|
6723
|
-
var
|
|
7352
|
+
var logger39 = createLogger("Auth0");
|
|
6724
7353
|
var AUTH0_TOOLS = [
|
|
6725
7354
|
"auth0_list_users",
|
|
6726
7355
|
"auth0_get_user",
|
|
@@ -6809,7 +7438,7 @@ function auth0Integration(options) {
|
|
|
6809
7438
|
};
|
|
6810
7439
|
},
|
|
6811
7440
|
async onInit() {
|
|
6812
|
-
|
|
7441
|
+
logger39.debug("Auth0 integration initialized");
|
|
6813
7442
|
},
|
|
6814
7443
|
async onBeforeConnect() {
|
|
6815
7444
|
await ensureFreshToken();
|
|
@@ -6818,13 +7447,13 @@ function auth0Integration(options) {
|
|
|
6818
7447
|
}
|
|
6819
7448
|
},
|
|
6820
7449
|
async onAfterConnect() {
|
|
6821
|
-
|
|
7450
|
+
logger39.debug("Auth0 integration connected");
|
|
6822
7451
|
}
|
|
6823
7452
|
};
|
|
6824
7453
|
}
|
|
6825
7454
|
// src/integrations/astronomer.ts
|
|
6826
7455
|
init_logger();
|
|
6827
|
-
var
|
|
7456
|
+
var logger40 = createLogger("Astronomer");
|
|
6828
7457
|
var ASTRONOMER_TOOLS = [
|
|
6829
7458
|
"astronomer_get_self",
|
|
6830
7459
|
"astronomer_list_organizations",
|
|
@@ -6859,16 +7488,16 @@ function astronomerIntegration(options = {}) {
|
|
|
6859
7488
|
};
|
|
6860
7489
|
},
|
|
6861
7490
|
async onInit(_client) {
|
|
6862
|
-
|
|
7491
|
+
logger40.debug("Astronomer integration initialized");
|
|
6863
7492
|
},
|
|
6864
7493
|
async onAfterConnect(_client) {
|
|
6865
|
-
|
|
7494
|
+
logger40.debug("Astronomer integration connected");
|
|
6866
7495
|
}
|
|
6867
7496
|
};
|
|
6868
7497
|
}
|
|
6869
7498
|
// src/integrations/betterstack.ts
|
|
6870
7499
|
init_logger();
|
|
6871
|
-
var
|
|
7500
|
+
var logger41 = createLogger("BetterStack");
|
|
6872
7501
|
var BETTERSTACK_TOOLS = [
|
|
6873
7502
|
"betterstack_list_sources",
|
|
6874
7503
|
"betterstack_get_source",
|
|
@@ -6901,16 +7530,16 @@ function betterstackIntegration(options = {}) {
|
|
|
6901
7530
|
};
|
|
6902
7531
|
},
|
|
6903
7532
|
async onInit(_client) {
|
|
6904
|
-
|
|
7533
|
+
logger41.debug("Better Stack integration initialized");
|
|
6905
7534
|
},
|
|
6906
7535
|
async onAfterConnect(_client) {
|
|
6907
|
-
|
|
7536
|
+
logger41.debug("Better Stack integration connected");
|
|
6908
7537
|
}
|
|
6909
7538
|
};
|
|
6910
7539
|
}
|
|
6911
7540
|
// src/integrations/todoist.ts
|
|
6912
7541
|
init_logger();
|
|
6913
|
-
var
|
|
7542
|
+
var logger42 = createLogger("Todoist");
|
|
6914
7543
|
var TODOIST_TOOLS = [
|
|
6915
7544
|
"todoist_list_projects",
|
|
6916
7545
|
"todoist_get_project",
|
|
@@ -6965,16 +7594,16 @@ function todoistIntegration(config = {}) {
|
|
|
6965
7594
|
tools: [...TODOIST_TOOLS],
|
|
6966
7595
|
oauth,
|
|
6967
7596
|
async onInit(_client) {
|
|
6968
|
-
|
|
7597
|
+
logger42.debug("Todoist integration initialized");
|
|
6969
7598
|
},
|
|
6970
7599
|
async onAfterConnect(_client) {
|
|
6971
|
-
|
|
7600
|
+
logger42.debug("Todoist integration connected");
|
|
6972
7601
|
}
|
|
6973
7602
|
};
|
|
6974
7603
|
}
|
|
6975
7604
|
// src/integrations/whatsapp.ts
|
|
6976
7605
|
init_logger();
|
|
6977
|
-
var
|
|
7606
|
+
var logger43 = createLogger("WhatsApp");
|
|
6978
7607
|
var WHATSAPP_TOOLS = [
|
|
6979
7608
|
"whatsapp_send_message",
|
|
6980
7609
|
"whatsapp_reply_message",
|
|
@@ -7023,16 +7652,16 @@ function whatsappIntegration(config = {}) {
|
|
|
7023
7652
|
tools: [...WHATSAPP_TOOLS],
|
|
7024
7653
|
oauth,
|
|
7025
7654
|
async onInit(_client) {
|
|
7026
|
-
|
|
7655
|
+
logger43.debug("WhatsApp Business integration initialized");
|
|
7027
7656
|
},
|
|
7028
7657
|
async onAfterConnect(_client) {
|
|
7029
|
-
|
|
7658
|
+
logger43.debug("WhatsApp Business integration connected");
|
|
7030
7659
|
}
|
|
7031
7660
|
};
|
|
7032
7661
|
}
|
|
7033
7662
|
// src/integrations/calcom.ts
|
|
7034
7663
|
init_logger();
|
|
7035
|
-
var
|
|
7664
|
+
var logger44 = createLogger("Cal.com");
|
|
7036
7665
|
var CALCOM_TOOLS = [
|
|
7037
7666
|
"calcom_list_bookings",
|
|
7038
7667
|
"calcom_get_booking",
|
|
@@ -7108,16 +7737,16 @@ function calcomIntegration(config = {}) {
|
|
|
7108
7737
|
tools: [...CALCOM_TOOLS],
|
|
7109
7738
|
oauth,
|
|
7110
7739
|
async onInit(_client) {
|
|
7111
|
-
|
|
7740
|
+
logger44.debug("Cal.com integration initialized");
|
|
7112
7741
|
},
|
|
7113
7742
|
async onAfterConnect(_client) {
|
|
7114
|
-
|
|
7743
|
+
logger44.debug("Cal.com integration connected");
|
|
7115
7744
|
}
|
|
7116
7745
|
};
|
|
7117
7746
|
}
|
|
7118
7747
|
// src/integrations/ramp.ts
|
|
7119
7748
|
init_logger();
|
|
7120
|
-
var
|
|
7749
|
+
var logger45 = createLogger("Ramp");
|
|
7121
7750
|
var RAMP_TOOLS = [
|
|
7122
7751
|
"ramp_list_transactions",
|
|
7123
7752
|
"ramp_get_transaction",
|
|
@@ -7149,16 +7778,16 @@ function rampIntegration(config = {}) {
|
|
|
7149
7778
|
tools: [...RAMP_TOOLS],
|
|
7150
7779
|
oauth,
|
|
7151
7780
|
async onInit(_client) {
|
|
7152
|
-
|
|
7781
|
+
logger45.debug("Ramp integration initialized");
|
|
7153
7782
|
},
|
|
7154
7783
|
async onAfterConnect(_client) {
|
|
7155
|
-
|
|
7784
|
+
logger45.debug("Ramp integration connected");
|
|
7156
7785
|
}
|
|
7157
7786
|
};
|
|
7158
7787
|
}
|
|
7159
7788
|
// src/integrations/onedrive.ts
|
|
7160
7789
|
init_logger();
|
|
7161
|
-
var
|
|
7790
|
+
var logger46 = createLogger("OneDrive");
|
|
7162
7791
|
var ONEDRIVE_TOOLS = [
|
|
7163
7792
|
"onedrive_create_folder",
|
|
7164
7793
|
"onedrive_delete_file",
|
|
@@ -7190,10 +7819,10 @@ function onedriveIntegration(config = {}) {
|
|
|
7190
7819
|
tools: [...ONEDRIVE_TOOLS],
|
|
7191
7820
|
oauth,
|
|
7192
7821
|
async onInit(_client) {
|
|
7193
|
-
|
|
7822
|
+
logger46.debug("OneDrive integration initialized");
|
|
7194
7823
|
},
|
|
7195
7824
|
async onAfterConnect(_client) {
|
|
7196
|
-
|
|
7825
|
+
logger46.debug("OneDrive integration connected");
|
|
7197
7826
|
}
|
|
7198
7827
|
};
|
|
7199
7828
|
}
|
|
@@ -7232,7 +7861,7 @@ function plannerIntegration(config = {}) {
|
|
|
7232
7861
|
}
|
|
7233
7862
|
// src/integrations/sharepoint.ts
|
|
7234
7863
|
init_logger();
|
|
7235
|
-
var
|
|
7864
|
+
var logger47 = createLogger("SharePoint");
|
|
7236
7865
|
var SHAREPOINT_SCOPES = ["Sites.ReadWrite.All", "Files.ReadWrite.All", "offline_access"];
|
|
7237
7866
|
var SHAREPOINT_TOOLS = [
|
|
7238
7867
|
"sharepoint_create_folder",
|
|
@@ -7271,16 +7900,16 @@ function sharepointIntegration(config = {}) {
|
|
|
7271
7900
|
tools: [...SHAREPOINT_TOOLS],
|
|
7272
7901
|
oauth,
|
|
7273
7902
|
async onInit(_client) {
|
|
7274
|
-
|
|
7903
|
+
logger47.debug("SharePoint integration initialized");
|
|
7275
7904
|
},
|
|
7276
7905
|
async onAfterConnect(_client) {
|
|
7277
|
-
|
|
7906
|
+
logger47.debug("SharePoint integration connected");
|
|
7278
7907
|
}
|
|
7279
7908
|
};
|
|
7280
7909
|
}
|
|
7281
7910
|
// src/integrations/dropbox.ts
|
|
7282
7911
|
init_logger();
|
|
7283
|
-
var
|
|
7912
|
+
var logger48 = createLogger("Dropbox");
|
|
7284
7913
|
var DROPBOX_TOOLS = [
|
|
7285
7914
|
"dropbox_get_current_account",
|
|
7286
7915
|
"dropbox_get_space_usage",
|
|
@@ -7322,16 +7951,16 @@ function dropboxIntegration(options = {}) {
|
|
|
7322
7951
|
authType: "oauth",
|
|
7323
7952
|
oauth,
|
|
7324
7953
|
async onInit(_client) {
|
|
7325
|
-
|
|
7954
|
+
logger48.debug("Dropbox integration initialized");
|
|
7326
7955
|
},
|
|
7327
7956
|
async onAfterConnect(_client) {
|
|
7328
|
-
|
|
7957
|
+
logger48.debug("Dropbox integration connected");
|
|
7329
7958
|
}
|
|
7330
7959
|
};
|
|
7331
7960
|
}
|
|
7332
7961
|
// src/integrations/paper.ts
|
|
7333
7962
|
init_logger();
|
|
7334
|
-
var
|
|
7963
|
+
var logger49 = createLogger("Paper");
|
|
7335
7964
|
var PAPER_SCOPES = [
|
|
7336
7965
|
"account_info.read",
|
|
7337
7966
|
"files.metadata.read",
|
|
@@ -7377,16 +8006,16 @@ function paperIntegration(config = {}) {
|
|
|
7377
8006
|
authType: "oauth",
|
|
7378
8007
|
oauth,
|
|
7379
8008
|
async onInit(_client) {
|
|
7380
|
-
|
|
8009
|
+
logger49.debug("Paper integration initialized");
|
|
7381
8010
|
},
|
|
7382
8011
|
async onAfterConnect(_client) {
|
|
7383
|
-
|
|
8012
|
+
logger49.debug("Paper integration connected");
|
|
7384
8013
|
}
|
|
7385
8014
|
};
|
|
7386
8015
|
}
|
|
7387
8016
|
// src/integrations/word.ts
|
|
7388
8017
|
init_logger();
|
|
7389
|
-
var
|
|
8018
|
+
var logger50 = createLogger("Word");
|
|
7390
8019
|
var WORD_TOOLS = [
|
|
7391
8020
|
"word_copy",
|
|
7392
8021
|
"word_create",
|
|
@@ -7413,16 +8042,16 @@ function wordIntegration(config = {}) {
|
|
|
7413
8042
|
tools: [...WORD_TOOLS],
|
|
7414
8043
|
oauth,
|
|
7415
8044
|
async onInit(_client) {
|
|
7416
|
-
|
|
8045
|
+
logger50.debug("Word integration initialized");
|
|
7417
8046
|
},
|
|
7418
8047
|
async onAfterConnect(_client) {
|
|
7419
|
-
|
|
8048
|
+
logger50.debug("Word integration connected");
|
|
7420
8049
|
}
|
|
7421
8050
|
};
|
|
7422
8051
|
}
|
|
7423
8052
|
// src/integrations/excel.ts
|
|
7424
8053
|
init_logger();
|
|
7425
|
-
var
|
|
8054
|
+
var logger51 = createLogger("Excel");
|
|
7426
8055
|
var EXCEL_TOOLS = [
|
|
7427
8056
|
"excel_add_table_rows",
|
|
7428
8057
|
"excel_add_worksheet",
|
|
@@ -7458,16 +8087,16 @@ function excelIntegration(config = {}) {
|
|
|
7458
8087
|
tools: [...EXCEL_TOOLS],
|
|
7459
8088
|
oauth,
|
|
7460
8089
|
async onInit(_client) {
|
|
7461
|
-
|
|
8090
|
+
logger51.debug("Excel integration initialized");
|
|
7462
8091
|
},
|
|
7463
8092
|
async onAfterConnect(_client) {
|
|
7464
|
-
|
|
8093
|
+
logger51.debug("Excel integration connected");
|
|
7465
8094
|
}
|
|
7466
8095
|
};
|
|
7467
8096
|
}
|
|
7468
8097
|
// src/integrations/powerpoint.ts
|
|
7469
8098
|
init_logger();
|
|
7470
|
-
var
|
|
8099
|
+
var logger52 = createLogger("PowerPoint");
|
|
7471
8100
|
var POWERPOINT_TOOLS = [
|
|
7472
8101
|
"powerpoint_copy",
|
|
7473
8102
|
"powerpoint_create",
|
|
@@ -7494,16 +8123,16 @@ function powerpointIntegration(config = {}) {
|
|
|
7494
8123
|
tools: [...POWERPOINT_TOOLS],
|
|
7495
8124
|
oauth,
|
|
7496
8125
|
async onInit(_client) {
|
|
7497
|
-
|
|
8126
|
+
logger52.debug("PowerPoint integration initialized");
|
|
7498
8127
|
},
|
|
7499
8128
|
async onAfterConnect(_client) {
|
|
7500
|
-
|
|
8129
|
+
logger52.debug("PowerPoint integration connected");
|
|
7501
8130
|
}
|
|
7502
8131
|
};
|
|
7503
8132
|
}
|
|
7504
8133
|
// src/integrations/gdocs.ts
|
|
7505
8134
|
init_logger();
|
|
7506
|
-
var
|
|
8135
|
+
var logger53 = createLogger("Google Docs");
|
|
7507
8136
|
var GDOCS_TOOLS = [
|
|
7508
8137
|
"gdocs_append_text",
|
|
7509
8138
|
"gdocs_batch_update",
|
|
@@ -7533,16 +8162,16 @@ function gdocsIntegration(config = {}) {
|
|
|
7533
8162
|
tools: [...GDOCS_TOOLS],
|
|
7534
8163
|
oauth,
|
|
7535
8164
|
async onInit(_client) {
|
|
7536
|
-
|
|
8165
|
+
logger53.debug("Google Docs integration initialized");
|
|
7537
8166
|
},
|
|
7538
8167
|
async onAfterConnect(_client) {
|
|
7539
|
-
|
|
8168
|
+
logger53.debug("Google Docs integration connected");
|
|
7540
8169
|
}
|
|
7541
8170
|
};
|
|
7542
8171
|
}
|
|
7543
8172
|
// src/integrations/gdrive.ts
|
|
7544
8173
|
init_logger();
|
|
7545
|
-
var
|
|
8174
|
+
var logger54 = createLogger("Google Drive");
|
|
7546
8175
|
var GDRIVE_TOOLS = [
|
|
7547
8176
|
"gdrive_copy_file",
|
|
7548
8177
|
"gdrive_create_folder",
|
|
@@ -7576,16 +8205,16 @@ function gdriveIntegration(config = {}) {
|
|
|
7576
8205
|
tools: [...GDRIVE_TOOLS],
|
|
7577
8206
|
oauth,
|
|
7578
8207
|
async onInit(_client) {
|
|
7579
|
-
|
|
8208
|
+
logger54.debug("Google Drive integration initialized");
|
|
7580
8209
|
},
|
|
7581
8210
|
async onAfterConnect(_client) {
|
|
7582
|
-
|
|
8211
|
+
logger54.debug("Google Drive integration connected");
|
|
7583
8212
|
}
|
|
7584
8213
|
};
|
|
7585
8214
|
}
|
|
7586
8215
|
// src/integrations/gsheets.ts
|
|
7587
8216
|
init_logger();
|
|
7588
|
-
var
|
|
8217
|
+
var logger55 = createLogger("Google Sheets");
|
|
7589
8218
|
var GSHEETS_TOOLS = [
|
|
7590
8219
|
"gsheets_append_values",
|
|
7591
8220
|
"gsheets_batch_update",
|
|
@@ -7615,16 +8244,16 @@ function gsheetsIntegration(config = {}) {
|
|
|
7615
8244
|
tools: [...GSHEETS_TOOLS],
|
|
7616
8245
|
oauth,
|
|
7617
8246
|
async onInit(_client) {
|
|
7618
|
-
|
|
8247
|
+
logger55.debug("Google Sheets integration initialized");
|
|
7619
8248
|
},
|
|
7620
8249
|
async onAfterConnect(_client) {
|
|
7621
|
-
|
|
8250
|
+
logger55.debug("Google Sheets integration connected");
|
|
7622
8251
|
}
|
|
7623
8252
|
};
|
|
7624
8253
|
}
|
|
7625
8254
|
// src/integrations/gslides.ts
|
|
7626
8255
|
init_logger();
|
|
7627
|
-
var
|
|
8256
|
+
var logger56 = createLogger("Google Slides");
|
|
7628
8257
|
var GSLIDES_TOOLS = [
|
|
7629
8258
|
"gslides_add_slide",
|
|
7630
8259
|
"gslides_batch_update",
|
|
@@ -7653,16 +8282,16 @@ function gslidesIntegration(config = {}) {
|
|
|
7653
8282
|
tools: [...GSLIDES_TOOLS],
|
|
7654
8283
|
oauth,
|
|
7655
8284
|
async onInit(_client) {
|
|
7656
|
-
|
|
8285
|
+
logger56.debug("Google Slides integration initialized");
|
|
7657
8286
|
},
|
|
7658
8287
|
async onAfterConnect(_client) {
|
|
7659
|
-
|
|
8288
|
+
logger56.debug("Google Slides integration connected");
|
|
7660
8289
|
}
|
|
7661
8290
|
};
|
|
7662
8291
|
}
|
|
7663
8292
|
// src/integrations/polar.ts
|
|
7664
8293
|
init_logger();
|
|
7665
|
-
var
|
|
8294
|
+
var logger57 = createLogger("Polar");
|
|
7666
8295
|
var POLAR_TOOLS = [
|
|
7667
8296
|
"polar_list_products",
|
|
7668
8297
|
"polar_get_product",
|
|
@@ -7719,16 +8348,16 @@ function polarIntegration(config = {}) {
|
|
|
7719
8348
|
tools: [...POLAR_TOOLS],
|
|
7720
8349
|
oauth,
|
|
7721
8350
|
async onInit(_client) {
|
|
7722
|
-
|
|
8351
|
+
logger57.debug("Polar integration initialized");
|
|
7723
8352
|
},
|
|
7724
8353
|
async onAfterConnect(_client) {
|
|
7725
|
-
|
|
8354
|
+
logger57.debug("Polar integration connected");
|
|
7726
8355
|
}
|
|
7727
8356
|
};
|
|
7728
8357
|
}
|
|
7729
8358
|
// src/integrations/phantom.ts
|
|
7730
8359
|
init_logger();
|
|
7731
|
-
var
|
|
8360
|
+
var logger58 = createLogger("Phantom");
|
|
7732
8361
|
var PHANTOM_TOOLS = [
|
|
7733
8362
|
"phantom_build_browse_deeplink",
|
|
7734
8363
|
"phantom_deeplink_provider_reference"
|
|
@@ -7750,16 +8379,16 @@ function phantomIntegration(_options = {}) {
|
|
|
7750
8379
|
category: "Other",
|
|
7751
8380
|
tools: [...PHANTOM_TOOLS],
|
|
7752
8381
|
async onInit(_client) {
|
|
7753
|
-
|
|
8382
|
+
logger58.debug("Phantom integration initialized");
|
|
7754
8383
|
},
|
|
7755
8384
|
async onAfterConnect(_client) {
|
|
7756
|
-
|
|
8385
|
+
logger58.debug("Phantom integration connected");
|
|
7757
8386
|
}
|
|
7758
8387
|
};
|
|
7759
8388
|
}
|
|
7760
8389
|
// src/integrations/figma.ts
|
|
7761
8390
|
init_logger();
|
|
7762
|
-
var
|
|
8391
|
+
var logger59 = createLogger("Figma");
|
|
7763
8392
|
var FIGMA_TOOLS = [
|
|
7764
8393
|
"figma_get_file",
|
|
7765
8394
|
"figma_get_file_nodes",
|
|
@@ -7825,16 +8454,16 @@ function figmaIntegration(config = {}) {
|
|
|
7825
8454
|
tools: [...FIGMA_TOOLS],
|
|
7826
8455
|
oauth,
|
|
7827
8456
|
async onInit(_client) {
|
|
7828
|
-
|
|
8457
|
+
logger59.debug("Figma integration initialized");
|
|
7829
8458
|
},
|
|
7830
8459
|
async onAfterConnect(_client) {
|
|
7831
|
-
|
|
8460
|
+
logger59.debug("Figma integration connected");
|
|
7832
8461
|
}
|
|
7833
8462
|
};
|
|
7834
8463
|
}
|
|
7835
8464
|
// src/integrations/intercom.ts
|
|
7836
8465
|
init_logger();
|
|
7837
|
-
var
|
|
8466
|
+
var logger60 = createLogger("Intercom");
|
|
7838
8467
|
var INTERCOM_TOOLS = [
|
|
7839
8468
|
"intercom_list_contacts",
|
|
7840
8469
|
"intercom_get_contact",
|
|
@@ -7865,16 +8494,16 @@ function intercomIntegration(config = {}) {
|
|
|
7865
8494
|
tools: [...INTERCOM_TOOLS],
|
|
7866
8495
|
oauth,
|
|
7867
8496
|
async onInit(_client) {
|
|
7868
|
-
|
|
8497
|
+
logger60.debug("Intercom integration initialized");
|
|
7869
8498
|
},
|
|
7870
8499
|
async onAfterConnect(_client) {
|
|
7871
|
-
|
|
8500
|
+
logger60.debug("Intercom integration connected");
|
|
7872
8501
|
}
|
|
7873
8502
|
};
|
|
7874
8503
|
}
|
|
7875
8504
|
// src/integrations/hubspot.ts
|
|
7876
8505
|
init_logger();
|
|
7877
|
-
var
|
|
8506
|
+
var logger61 = createLogger("HubSpot");
|
|
7878
8507
|
var HUBSPOT_TOOLS = [
|
|
7879
8508
|
"hubspot_list_contacts",
|
|
7880
8509
|
"hubspot_get_contact",
|
|
@@ -7924,16 +8553,16 @@ function hubspotIntegration(config = {}) {
|
|
|
7924
8553
|
tools: [...HUBSPOT_TOOLS],
|
|
7925
8554
|
oauth,
|
|
7926
8555
|
async onInit(_client) {
|
|
7927
|
-
|
|
8556
|
+
logger61.debug("HubSpot integration initialized");
|
|
7928
8557
|
},
|
|
7929
8558
|
async onAfterConnect(_client) {
|
|
7930
|
-
|
|
8559
|
+
logger61.debug("HubSpot integration connected");
|
|
7931
8560
|
}
|
|
7932
8561
|
};
|
|
7933
8562
|
}
|
|
7934
8563
|
// src/integrations/youtube.ts
|
|
7935
8564
|
init_logger();
|
|
7936
|
-
var
|
|
8565
|
+
var logger62 = createLogger("YouTube");
|
|
7937
8566
|
var YOUTUBE_TOOLS = [
|
|
7938
8567
|
"youtube_add_comment",
|
|
7939
8568
|
"youtube_add_to_playlist",
|
|
@@ -7979,16 +8608,16 @@ function youtubeIntegration(config = {}) {
|
|
|
7979
8608
|
tools: [...YOUTUBE_TOOLS],
|
|
7980
8609
|
oauth,
|
|
7981
8610
|
async onInit(_client) {
|
|
7982
|
-
|
|
8611
|
+
logger62.debug("YouTube integration initialized");
|
|
7983
8612
|
},
|
|
7984
8613
|
async onAfterConnect(_client) {
|
|
7985
|
-
|
|
8614
|
+
logger62.debug("YouTube integration connected");
|
|
7986
8615
|
}
|
|
7987
8616
|
};
|
|
7988
8617
|
}
|
|
7989
8618
|
// src/integrations/zoom.ts
|
|
7990
8619
|
init_logger();
|
|
7991
|
-
var
|
|
8620
|
+
var logger63 = createLogger("Zoom");
|
|
7992
8621
|
var ZOOM_TOOLS = [
|
|
7993
8622
|
"zoom_get_user",
|
|
7994
8623
|
"zoom_list_meetings",
|
|
@@ -8014,10 +8643,10 @@ function zoomIntegration(config = {}) {
|
|
|
8014
8643
|
tools: [...ZOOM_TOOLS],
|
|
8015
8644
|
oauth,
|
|
8016
8645
|
async onInit(_client) {
|
|
8017
|
-
|
|
8646
|
+
logger63.debug("Zoom integration initialized");
|
|
8018
8647
|
},
|
|
8019
8648
|
async onAfterConnect(_client) {
|
|
8020
|
-
|
|
8649
|
+
logger63.debug("Zoom integration connected");
|
|
8021
8650
|
}
|
|
8022
8651
|
};
|
|
8023
8652
|
}
|
|
@@ -8053,7 +8682,7 @@ function redditIntegration(config = {}) {
|
|
|
8053
8682
|
}
|
|
8054
8683
|
// src/integrations/cursor.ts
|
|
8055
8684
|
init_logger();
|
|
8056
|
-
var
|
|
8685
|
+
var logger64 = createLogger("Cursor");
|
|
8057
8686
|
var CURSOR_TOOLS = [
|
|
8058
8687
|
"cursor_list_agents",
|
|
8059
8688
|
"cursor_get_agent",
|
|
@@ -8073,16 +8702,16 @@ function cursorIntegration(_config = {}) {
|
|
|
8073
8702
|
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/cursor.jpeg",
|
|
8074
8703
|
tools: [...CURSOR_TOOLS],
|
|
8075
8704
|
async onInit(_client) {
|
|
8076
|
-
|
|
8705
|
+
logger64.debug("Cursor integration initialized");
|
|
8077
8706
|
},
|
|
8078
8707
|
async onAfterConnect(_client) {
|
|
8079
|
-
|
|
8708
|
+
logger64.debug("Cursor integration connected");
|
|
8080
8709
|
}
|
|
8081
8710
|
};
|
|
8082
8711
|
}
|
|
8083
8712
|
// src/integrations/databricks.ts
|
|
8084
8713
|
init_logger();
|
|
8085
|
-
var
|
|
8714
|
+
var logger65 = createLogger("Databricks");
|
|
8086
8715
|
var DATABRICKS_SCOPES = ["all-apis", "offline_access"];
|
|
8087
8716
|
var DATABRICKS_TOOLS = [
|
|
8088
8717
|
"databricks_current_user",
|
|
@@ -8129,16 +8758,16 @@ function databricksIntegration(config = {}) {
|
|
|
8129
8758
|
tools: [...DATABRICKS_TOOLS],
|
|
8130
8759
|
oauth,
|
|
8131
8760
|
async onInit(_client) {
|
|
8132
|
-
|
|
8761
|
+
logger65.debug("Databricks integration initialized");
|
|
8133
8762
|
},
|
|
8134
8763
|
async onAfterConnect(_client) {
|
|
8135
|
-
|
|
8764
|
+
logger65.debug("Databricks integration connected");
|
|
8136
8765
|
}
|
|
8137
8766
|
};
|
|
8138
8767
|
}
|
|
8139
8768
|
// src/integrations/posthog.ts
|
|
8140
8769
|
init_logger();
|
|
8141
|
-
var
|
|
8770
|
+
var logger66 = createLogger("PostHog");
|
|
8142
8771
|
var DEFAULT_POSTHOG_BASE_URL = "https://us.posthog.com";
|
|
8143
8772
|
var POSTHOG_SCOPES = [
|
|
8144
8773
|
"openid",
|
|
@@ -8224,16 +8853,16 @@ function posthogIntegration(config = {}) {
|
|
|
8224
8853
|
tools: [...POSTHOG_TOOLS],
|
|
8225
8854
|
oauth,
|
|
8226
8855
|
async onInit(_client) {
|
|
8227
|
-
|
|
8856
|
+
logger66.debug("PostHog integration initialized");
|
|
8228
8857
|
},
|
|
8229
8858
|
async onAfterConnect(_client) {
|
|
8230
|
-
|
|
8859
|
+
logger66.debug("PostHog integration connected");
|
|
8231
8860
|
}
|
|
8232
8861
|
};
|
|
8233
8862
|
}
|
|
8234
8863
|
// src/integrations/postman.ts
|
|
8235
8864
|
init_logger();
|
|
8236
|
-
var
|
|
8865
|
+
var logger67 = createLogger("Postman");
|
|
8237
8866
|
var POSTMAN_TOOLS = [
|
|
8238
8867
|
"postman_get_me",
|
|
8239
8868
|
"postman_list_workspaces",
|
|
@@ -8264,16 +8893,16 @@ function postmanIntegration(options = {}) {
|
|
|
8264
8893
|
};
|
|
8265
8894
|
},
|
|
8266
8895
|
async onInit(_client) {
|
|
8267
|
-
|
|
8896
|
+
logger67.debug("Postman integration initialized");
|
|
8268
8897
|
},
|
|
8269
8898
|
async onAfterConnect(_client) {
|
|
8270
|
-
|
|
8899
|
+
logger67.debug("Postman integration connected");
|
|
8271
8900
|
}
|
|
8272
8901
|
};
|
|
8273
8902
|
}
|
|
8274
8903
|
// src/integrations/sentry.ts
|
|
8275
8904
|
init_logger();
|
|
8276
|
-
var
|
|
8905
|
+
var logger68 = createLogger("Sentry");
|
|
8277
8906
|
var SENTRY_SCOPES = [
|
|
8278
8907
|
"org:read",
|
|
8279
8908
|
"project:read",
|
|
@@ -8322,16 +8951,16 @@ function sentryIntegration(config = {}) {
|
|
|
8322
8951
|
tools: [...SENTRY_TOOLS],
|
|
8323
8952
|
oauth,
|
|
8324
8953
|
async onInit(_client) {
|
|
8325
|
-
|
|
8954
|
+
logger68.debug("Sentry integration initialized");
|
|
8326
8955
|
},
|
|
8327
8956
|
async onAfterConnect(_client) {
|
|
8328
|
-
|
|
8957
|
+
logger68.debug("Sentry integration connected");
|
|
8329
8958
|
}
|
|
8330
8959
|
};
|
|
8331
8960
|
}
|
|
8332
8961
|
// src/integrations/supabase.ts
|
|
8333
8962
|
init_logger();
|
|
8334
|
-
var
|
|
8963
|
+
var logger69 = createLogger("Supabase");
|
|
8335
8964
|
var SUPABASE_API_BASE = "https://api.supabase.com";
|
|
8336
8965
|
var SUPABASE_TOOLS = [
|
|
8337
8966
|
"supabase_get_profile",
|
|
@@ -8369,10 +8998,10 @@ function supabaseIntegration(config = {}) {
|
|
|
8369
8998
|
};
|
|
8370
8999
|
},
|
|
8371
9000
|
async onInit(_client) {
|
|
8372
|
-
|
|
9001
|
+
logger69.debug("Supabase integration initialized (personal access token)");
|
|
8373
9002
|
},
|
|
8374
9003
|
async onAfterConnect(_client) {
|
|
8375
|
-
|
|
9004
|
+
logger69.debug("Supabase integration connected");
|
|
8376
9005
|
}
|
|
8377
9006
|
};
|
|
8378
9007
|
}
|
|
@@ -8402,16 +9031,16 @@ function supabaseIntegration(config = {}) {
|
|
|
8402
9031
|
tools: [...SUPABASE_TOOLS],
|
|
8403
9032
|
oauth,
|
|
8404
9033
|
async onInit(_client) {
|
|
8405
|
-
|
|
9034
|
+
logger69.debug("Supabase integration initialized");
|
|
8406
9035
|
},
|
|
8407
9036
|
async onAfterConnect(_client) {
|
|
8408
|
-
|
|
9037
|
+
logger69.debug("Supabase integration connected");
|
|
8409
9038
|
}
|
|
8410
9039
|
};
|
|
8411
9040
|
}
|
|
8412
9041
|
// src/integrations/netlify.ts
|
|
8413
9042
|
init_logger();
|
|
8414
|
-
var
|
|
9043
|
+
var logger70 = createLogger("Netlify");
|
|
8415
9044
|
var NETLIFY_TOOLS = [
|
|
8416
9045
|
"netlify_get_current_user",
|
|
8417
9046
|
"netlify_list_accounts",
|
|
@@ -8474,16 +9103,16 @@ function netlifyIntegration(config = {}) {
|
|
|
8474
9103
|
tools: [...NETLIFY_TOOLS],
|
|
8475
9104
|
oauth,
|
|
8476
9105
|
async onInit(_client) {
|
|
8477
|
-
|
|
9106
|
+
logger70.debug("Netlify integration initialized");
|
|
8478
9107
|
},
|
|
8479
9108
|
async onAfterConnect(_client) {
|
|
8480
|
-
|
|
9109
|
+
logger70.debug("Netlify integration connected");
|
|
8481
9110
|
}
|
|
8482
9111
|
};
|
|
8483
9112
|
}
|
|
8484
9113
|
// src/integrations/datadog.ts
|
|
8485
9114
|
init_logger();
|
|
8486
|
-
var
|
|
9115
|
+
var logger71 = createLogger("Datadog");
|
|
8487
9116
|
var DATADOG_SCOPES = [
|
|
8488
9117
|
"monitors_read",
|
|
8489
9118
|
"dashboards_read",
|
|
@@ -8513,10 +9142,10 @@ function datadogIntegration(config = {}) {
|
|
|
8513
9142
|
category: "Engineering",
|
|
8514
9143
|
tools: [...DATADOG_TOOLS],
|
|
8515
9144
|
async onInit(_client) {
|
|
8516
|
-
|
|
9145
|
+
logger71.debug("Datadog integration initialized");
|
|
8517
9146
|
},
|
|
8518
9147
|
async onAfterConnect(_client) {
|
|
8519
|
-
|
|
9148
|
+
logger71.debug("Datadog integration connected");
|
|
8520
9149
|
}
|
|
8521
9150
|
};
|
|
8522
9151
|
if (apiKey || applicationKey) {
|
|
@@ -8558,7 +9187,7 @@ function datadogIntegration(config = {}) {
|
|
|
8558
9187
|
}
|
|
8559
9188
|
// src/integrations/redis.ts
|
|
8560
9189
|
init_logger();
|
|
8561
|
-
var
|
|
9190
|
+
var logger72 = createLogger("Redis Cloud");
|
|
8562
9191
|
var REDIS_TOOLS = [
|
|
8563
9192
|
"redis_list_subscriptions",
|
|
8564
9193
|
"redis_get_subscription",
|
|
@@ -8613,16 +9242,16 @@ function redisIntegration(options = {}) {
|
|
|
8613
9242
|
};
|
|
8614
9243
|
},
|
|
8615
9244
|
async onInit(_client) {
|
|
8616
|
-
|
|
9245
|
+
logger72.debug("Redis Cloud integration initialized");
|
|
8617
9246
|
},
|
|
8618
9247
|
async onAfterConnect(_client) {
|
|
8619
|
-
|
|
9248
|
+
logger72.debug("Redis Cloud integration connected");
|
|
8620
9249
|
}
|
|
8621
9250
|
};
|
|
8622
9251
|
}
|
|
8623
9252
|
// src/integrations/upstash.ts
|
|
8624
9253
|
init_logger();
|
|
8625
|
-
var
|
|
9254
|
+
var logger73 = createLogger("Upstash");
|
|
8626
9255
|
var UPSTASH_TOOLS = [
|
|
8627
9256
|
"upstash_redis_run",
|
|
8628
9257
|
"upstash_redis_get",
|
|
@@ -8662,16 +9291,16 @@ function upstashIntegration(options = {}) {
|
|
|
8662
9291
|
return headers;
|
|
8663
9292
|
},
|
|
8664
9293
|
async onInit(_client) {
|
|
8665
|
-
|
|
9294
|
+
logger73.debug("Upstash integration initialized");
|
|
8666
9295
|
},
|
|
8667
9296
|
async onAfterConnect(_client) {
|
|
8668
|
-
|
|
9297
|
+
logger73.debug("Upstash integration connected");
|
|
8669
9298
|
}
|
|
8670
9299
|
};
|
|
8671
9300
|
}
|
|
8672
9301
|
// src/integrations/webflow.ts
|
|
8673
9302
|
init_logger();
|
|
8674
|
-
var
|
|
9303
|
+
var logger74 = createLogger("Webflow");
|
|
8675
9304
|
var WEBFLOW_TOOLS = [
|
|
8676
9305
|
"webflow_token_introspect",
|
|
8677
9306
|
"webflow_get_authorized_user",
|
|
@@ -8730,16 +9359,16 @@ function webflowIntegration(config = {}) {
|
|
|
8730
9359
|
tools: [...WEBFLOW_TOOLS],
|
|
8731
9360
|
oauth,
|
|
8732
9361
|
async onInit(_client) {
|
|
8733
|
-
|
|
9362
|
+
logger74.debug("Webflow integration initialized");
|
|
8734
9363
|
},
|
|
8735
9364
|
async onAfterConnect(_client) {
|
|
8736
|
-
|
|
9365
|
+
logger74.debug("Webflow integration connected");
|
|
8737
9366
|
}
|
|
8738
9367
|
};
|
|
8739
9368
|
}
|
|
8740
9369
|
// src/integrations/jira.ts
|
|
8741
9370
|
init_logger();
|
|
8742
|
-
var
|
|
9371
|
+
var logger75 = createLogger("Jira");
|
|
8743
9372
|
var JIRA_SCOPES = [
|
|
8744
9373
|
"read:jira-work",
|
|
8745
9374
|
"write:jira-work",
|
|
@@ -8784,16 +9413,16 @@ function jiraIntegration(config = {}) {
|
|
|
8784
9413
|
tools: [...JIRA_TOOLS],
|
|
8785
9414
|
oauth,
|
|
8786
9415
|
async onInit(_client) {
|
|
8787
|
-
|
|
9416
|
+
logger75.debug("Jira integration initialized");
|
|
8788
9417
|
},
|
|
8789
9418
|
async onAfterConnect(_client) {
|
|
8790
|
-
|
|
9419
|
+
logger75.debug("Jira integration connected");
|
|
8791
9420
|
}
|
|
8792
9421
|
};
|
|
8793
9422
|
}
|
|
8794
9423
|
// src/integrations/salesforce.ts
|
|
8795
9424
|
init_logger();
|
|
8796
|
-
var
|
|
9425
|
+
var logger76 = createLogger("Salesforce");
|
|
8797
9426
|
var SALESFORCE_TOOLS = [
|
|
8798
9427
|
"salesforce_query",
|
|
8799
9428
|
"salesforce_get_limits",
|
|
@@ -8824,16 +9453,16 @@ function salesforceIntegration(config = {}) {
|
|
|
8824
9453
|
tools: [...SALESFORCE_TOOLS],
|
|
8825
9454
|
oauth,
|
|
8826
9455
|
async onInit(_client) {
|
|
8827
|
-
|
|
9456
|
+
logger76.debug("Salesforce integration initialized");
|
|
8828
9457
|
},
|
|
8829
9458
|
async onAfterConnect(_client) {
|
|
8830
|
-
|
|
9459
|
+
logger76.debug("Salesforce integration connected");
|
|
8831
9460
|
}
|
|
8832
9461
|
};
|
|
8833
9462
|
}
|
|
8834
9463
|
// src/integrations/zapier.ts
|
|
8835
9464
|
init_logger();
|
|
8836
|
-
var
|
|
9465
|
+
var logger77 = createLogger("Zapier");
|
|
8837
9466
|
var ZAPIER_TOOLS = [
|
|
8838
9467
|
"zapier_get_profile",
|
|
8839
9468
|
"zapier_list_zaps",
|
|
@@ -8865,16 +9494,16 @@ function zapierIntegration(config = {}) {
|
|
|
8865
9494
|
tools: [...ZAPIER_TOOLS],
|
|
8866
9495
|
oauth,
|
|
8867
9496
|
async onInit(_client) {
|
|
8868
|
-
|
|
9497
|
+
logger77.debug("Zapier integration initialized");
|
|
8869
9498
|
},
|
|
8870
9499
|
async onAfterConnect(_client) {
|
|
8871
|
-
|
|
9500
|
+
logger77.debug("Zapier integration connected");
|
|
8872
9501
|
}
|
|
8873
9502
|
};
|
|
8874
9503
|
}
|
|
8875
9504
|
// src/integrations/linkedin.ts
|
|
8876
9505
|
init_logger();
|
|
8877
|
-
var
|
|
9506
|
+
var logger78 = createLogger("LinkedIn");
|
|
8878
9507
|
var LINKEDIN_SCOPES = ["openid", "profile", "email", "w_member_social"];
|
|
8879
9508
|
var LINKEDIN_TOOLS = ["linkedin_get_userinfo", "linkedin_create_post"];
|
|
8880
9509
|
function linkedinIntegration(config = {}) {
|
|
@@ -8901,16 +9530,16 @@ function linkedinIntegration(config = {}) {
|
|
|
8901
9530
|
tools: [...LINKEDIN_TOOLS],
|
|
8902
9531
|
oauth,
|
|
8903
9532
|
async onInit(_client) {
|
|
8904
|
-
|
|
9533
|
+
logger78.debug("LinkedIn integration initialized");
|
|
8905
9534
|
},
|
|
8906
9535
|
async onAfterConnect(_client) {
|
|
8907
|
-
|
|
9536
|
+
logger78.debug("LinkedIn integration connected");
|
|
8908
9537
|
}
|
|
8909
9538
|
};
|
|
8910
9539
|
}
|
|
8911
9540
|
// src/integrations/threads.ts
|
|
8912
9541
|
init_logger();
|
|
8913
|
-
var
|
|
9542
|
+
var logger79 = createLogger("Threads");
|
|
8914
9543
|
var THREADS_SCOPES = [
|
|
8915
9544
|
"threads_basic",
|
|
8916
9545
|
"threads_content_publish",
|
|
@@ -8961,16 +9590,16 @@ function threadsIntegration(config = {}) {
|
|
|
8961
9590
|
tools: [...THREADS_TOOLS],
|
|
8962
9591
|
oauth,
|
|
8963
9592
|
async onInit(_client) {
|
|
8964
|
-
|
|
9593
|
+
logger79.debug("Threads integration initialized");
|
|
8965
9594
|
},
|
|
8966
9595
|
async onAfterConnect(_client) {
|
|
8967
|
-
|
|
9596
|
+
logger79.debug("Threads integration connected");
|
|
8968
9597
|
}
|
|
8969
9598
|
};
|
|
8970
9599
|
}
|
|
8971
9600
|
// src/integrations/tiktok.ts
|
|
8972
9601
|
init_logger();
|
|
8973
|
-
var
|
|
9602
|
+
var logger80 = createLogger("TikTok");
|
|
8974
9603
|
var TIKTOK_SCOPES = ["user.info.basic", "video.list"];
|
|
8975
9604
|
var TIKTOK_TOOLS = [
|
|
8976
9605
|
"tiktok_get_user_info",
|
|
@@ -9001,16 +9630,16 @@ function tiktokIntegration(config = {}) {
|
|
|
9001
9630
|
tools: [...TIKTOK_TOOLS],
|
|
9002
9631
|
oauth,
|
|
9003
9632
|
async onInit(_client) {
|
|
9004
|
-
|
|
9633
|
+
logger80.debug("TikTok integration initialized");
|
|
9005
9634
|
},
|
|
9006
9635
|
async onAfterConnect(_client) {
|
|
9007
|
-
|
|
9636
|
+
logger80.debug("TikTok integration connected");
|
|
9008
9637
|
}
|
|
9009
9638
|
};
|
|
9010
9639
|
}
|
|
9011
9640
|
// src/integrations/trello.ts
|
|
9012
9641
|
init_logger();
|
|
9013
|
-
var
|
|
9642
|
+
var logger81 = createLogger("Trello");
|
|
9014
9643
|
var TRELLO_TOOLS = [
|
|
9015
9644
|
"trello_get_member",
|
|
9016
9645
|
"trello_list_boards",
|
|
@@ -9047,16 +9676,16 @@ function trelloIntegration(options = {}) {
|
|
|
9047
9676
|
return { Authorization: `Bearer ${encodeCredential(apiKey, memberToken)}` };
|
|
9048
9677
|
},
|
|
9049
9678
|
async onInit(_client) {
|
|
9050
|
-
|
|
9679
|
+
logger81.debug("Trello integration initialized");
|
|
9051
9680
|
},
|
|
9052
9681
|
async onAfterConnect(_client) {
|
|
9053
|
-
|
|
9682
|
+
logger81.debug("Trello integration connected");
|
|
9054
9683
|
}
|
|
9055
9684
|
};
|
|
9056
9685
|
}
|
|
9057
9686
|
// src/integrations/typeform.ts
|
|
9058
9687
|
init_logger();
|
|
9059
|
-
var
|
|
9688
|
+
var logger82 = createLogger("Typeform");
|
|
9060
9689
|
var TYPEFORM_SCOPES = [
|
|
9061
9690
|
"offline",
|
|
9062
9691
|
"accounts:read",
|
|
@@ -9100,16 +9729,16 @@ function typeformIntegration(config = {}) {
|
|
|
9100
9729
|
tools: [...TYPEFORM_TOOLS],
|
|
9101
9730
|
oauth,
|
|
9102
9731
|
async onInit(_client) {
|
|
9103
|
-
|
|
9732
|
+
logger82.debug("Typeform integration initialized");
|
|
9104
9733
|
},
|
|
9105
9734
|
async onAfterConnect(_client) {
|
|
9106
|
-
|
|
9735
|
+
logger82.debug("Typeform integration connected");
|
|
9107
9736
|
}
|
|
9108
9737
|
};
|
|
9109
9738
|
}
|
|
9110
9739
|
// src/integrations/xero.ts
|
|
9111
9740
|
init_logger();
|
|
9112
|
-
var
|
|
9741
|
+
var logger83 = createLogger("Xero");
|
|
9113
9742
|
var XERO_SCOPES = [
|
|
9114
9743
|
"openid",
|
|
9115
9744
|
"profile",
|
|
@@ -9156,16 +9785,16 @@ function xeroIntegration(config = {}) {
|
|
|
9156
9785
|
tools: [...XERO_TOOLS],
|
|
9157
9786
|
oauth,
|
|
9158
9787
|
async onInit(_client) {
|
|
9159
|
-
|
|
9788
|
+
logger83.debug("Xero integration initialized");
|
|
9160
9789
|
},
|
|
9161
9790
|
async onAfterConnect(_client) {
|
|
9162
|
-
|
|
9791
|
+
logger83.debug("Xero integration connected");
|
|
9163
9792
|
}
|
|
9164
9793
|
};
|
|
9165
9794
|
}
|
|
9166
9795
|
// src/integrations/attio.ts
|
|
9167
9796
|
init_logger();
|
|
9168
|
-
var
|
|
9797
|
+
var logger84 = createLogger("Attio");
|
|
9169
9798
|
var ATTIO_SCOPES = [
|
|
9170
9799
|
"record_permission:read-write",
|
|
9171
9800
|
"object_configuration:read",
|
|
@@ -9211,16 +9840,16 @@ function attioIntegration(config = {}) {
|
|
|
9211
9840
|
tools: [...ATTIO_TOOLS],
|
|
9212
9841
|
oauth,
|
|
9213
9842
|
async onInit(_client) {
|
|
9214
|
-
|
|
9843
|
+
logger84.debug("Attio integration initialized");
|
|
9215
9844
|
},
|
|
9216
9845
|
async onAfterConnect(_client) {
|
|
9217
|
-
|
|
9846
|
+
logger84.debug("Attio integration connected");
|
|
9218
9847
|
}
|
|
9219
9848
|
};
|
|
9220
9849
|
}
|
|
9221
9850
|
// src/integrations/gchat.ts
|
|
9222
9851
|
init_logger();
|
|
9223
|
-
var
|
|
9852
|
+
var logger85 = createLogger("Google Chat");
|
|
9224
9853
|
var GCHAT_SCOPES = [
|
|
9225
9854
|
"https://www.googleapis.com/auth/chat.messages",
|
|
9226
9855
|
"https://www.googleapis.com/auth/chat.spaces.readonly"
|
|
@@ -9259,16 +9888,16 @@ function gchatIntegration(config = {}) {
|
|
|
9259
9888
|
tools: [...GCHAT_TOOLS],
|
|
9260
9889
|
oauth,
|
|
9261
9890
|
async onInit(_client) {
|
|
9262
|
-
|
|
9891
|
+
logger85.debug("Google Chat integration initialized");
|
|
9263
9892
|
},
|
|
9264
9893
|
async onAfterConnect(_client) {
|
|
9265
|
-
|
|
9894
|
+
logger85.debug("Google Chat integration connected");
|
|
9266
9895
|
}
|
|
9267
9896
|
};
|
|
9268
9897
|
}
|
|
9269
9898
|
// src/integrations/shopify.ts
|
|
9270
9899
|
init_logger();
|
|
9271
|
-
var
|
|
9900
|
+
var logger86 = createLogger("Shopify");
|
|
9272
9901
|
var SHOPIFY_SCOPES = [
|
|
9273
9902
|
"read_products",
|
|
9274
9903
|
"write_products",
|
|
@@ -9317,16 +9946,16 @@ function shopifyIntegration(config = {}) {
|
|
|
9317
9946
|
tools: [...SHOPIFY_TOOLS],
|
|
9318
9947
|
oauth,
|
|
9319
9948
|
async onInit(_client) {
|
|
9320
|
-
|
|
9949
|
+
logger86.debug("Shopify integration initialized");
|
|
9321
9950
|
},
|
|
9322
9951
|
async onAfterConnect(_client) {
|
|
9323
|
-
|
|
9952
|
+
logger86.debug("Shopify integration connected");
|
|
9324
9953
|
}
|
|
9325
9954
|
};
|
|
9326
9955
|
}
|
|
9327
9956
|
// src/integrations/convex.ts
|
|
9328
9957
|
init_logger();
|
|
9329
|
-
var
|
|
9958
|
+
var logger87 = createLogger("Convex");
|
|
9330
9959
|
var CONVEX_TOOLS = [
|
|
9331
9960
|
"convex_management_token_details",
|
|
9332
9961
|
"convex_management_list_projects",
|
|
@@ -9363,16 +9992,16 @@ function convexIntegration(options = {}) {
|
|
|
9363
9992
|
return { Authorization: `Bearer ${accessToken}` };
|
|
9364
9993
|
},
|
|
9365
9994
|
async onInit(_client) {
|
|
9366
|
-
|
|
9995
|
+
logger87.debug("Convex integration initialized");
|
|
9367
9996
|
},
|
|
9368
9997
|
async onAfterConnect(_client) {
|
|
9369
|
-
|
|
9998
|
+
logger87.debug("Convex integration connected");
|
|
9370
9999
|
}
|
|
9371
10000
|
};
|
|
9372
10001
|
}
|
|
9373
10002
|
// src/integrations/etoro.ts
|
|
9374
10003
|
init_logger();
|
|
9375
|
-
var
|
|
10004
|
+
var logger88 = createLogger("eToro");
|
|
9376
10005
|
var ETORO_TOOLS = [
|
|
9377
10006
|
"etoro_get_identity",
|
|
9378
10007
|
"etoro_get_portfolio",
|
|
@@ -9402,16 +10031,16 @@ function etoroIntegration(options = {}) {
|
|
|
9402
10031
|
};
|
|
9403
10032
|
},
|
|
9404
10033
|
async onInit(_client) {
|
|
9405
|
-
|
|
10034
|
+
logger88.debug("eToro integration initialized");
|
|
9406
10035
|
},
|
|
9407
10036
|
async onAfterConnect(_client) {
|
|
9408
|
-
|
|
10037
|
+
logger88.debug("eToro integration connected");
|
|
9409
10038
|
}
|
|
9410
10039
|
};
|
|
9411
10040
|
}
|
|
9412
10041
|
// src/integrations/alpaca.ts
|
|
9413
10042
|
init_logger();
|
|
9414
|
-
var
|
|
10043
|
+
var logger89 = createLogger("Alpaca");
|
|
9415
10044
|
var ALPACA_TOOLS = [
|
|
9416
10045
|
"alpaca_get_account",
|
|
9417
10046
|
"alpaca_list_positions",
|
|
@@ -9453,16 +10082,16 @@ function alpacaIntegration(options = {}) {
|
|
|
9453
10082
|
return headers;
|
|
9454
10083
|
},
|
|
9455
10084
|
async onInit(_client) {
|
|
9456
|
-
|
|
10085
|
+
logger89.debug("Alpaca integration initialized");
|
|
9457
10086
|
},
|
|
9458
10087
|
async onAfterConnect(_client) {
|
|
9459
|
-
|
|
10088
|
+
logger89.debug("Alpaca integration connected");
|
|
9460
10089
|
}
|
|
9461
10090
|
};
|
|
9462
10091
|
}
|
|
9463
10092
|
// src/integrations/neon.ts
|
|
9464
10093
|
init_logger();
|
|
9465
|
-
var
|
|
10094
|
+
var logger90 = createLogger("Neon");
|
|
9466
10095
|
var NEON_TOOLS = [
|
|
9467
10096
|
"neon_list_api_keys",
|
|
9468
10097
|
"neon_create_api_key",
|
|
@@ -9502,10 +10131,10 @@ function neonIntegration(options = {}) {
|
|
|
9502
10131
|
};
|
|
9503
10132
|
},
|
|
9504
10133
|
async onInit(_client) {
|
|
9505
|
-
|
|
10134
|
+
logger90.debug("Neon integration initialized");
|
|
9506
10135
|
},
|
|
9507
10136
|
async onAfterConnect(_client) {
|
|
9508
|
-
|
|
10137
|
+
logger90.debug("Neon integration connected");
|
|
9509
10138
|
}
|
|
9510
10139
|
};
|
|
9511
10140
|
}
|
|
@@ -9615,7 +10244,7 @@ function mercuryIntegration(options) {
|
|
|
9615
10244
|
}
|
|
9616
10245
|
// src/integrations/aws.ts
|
|
9617
10246
|
init_logger();
|
|
9618
|
-
var
|
|
10247
|
+
var logger91 = createLogger("AWS");
|
|
9619
10248
|
var AWS_TOOLS = [
|
|
9620
10249
|
"aws_sts_get_caller_identity",
|
|
9621
10250
|
"aws_ec2_describe_regions",
|
|
@@ -9668,16 +10297,16 @@ function awsIntegration(options = {}) {
|
|
|
9668
10297
|
};
|
|
9669
10298
|
},
|
|
9670
10299
|
async onInit(_client) {
|
|
9671
|
-
|
|
10300
|
+
logger91.debug("AWS integration initialized");
|
|
9672
10301
|
},
|
|
9673
10302
|
async onAfterConnect(_client) {
|
|
9674
|
-
|
|
10303
|
+
logger91.debug("AWS integration connected");
|
|
9675
10304
|
}
|
|
9676
10305
|
};
|
|
9677
10306
|
}
|
|
9678
10307
|
// src/integrations/wix.ts
|
|
9679
10308
|
init_logger();
|
|
9680
|
-
var
|
|
10309
|
+
var logger92 = createLogger("Wix");
|
|
9681
10310
|
var WIX_TOOLS = [
|
|
9682
10311
|
"wix_query_products",
|
|
9683
10312
|
"wix_get_product",
|
|
@@ -9710,10 +10339,10 @@ function wixIntegration(options = {}) {
|
|
|
9710
10339
|
};
|
|
9711
10340
|
},
|
|
9712
10341
|
async onInit(_client) {
|
|
9713
|
-
|
|
10342
|
+
logger92.debug("Wix integration initialized");
|
|
9714
10343
|
},
|
|
9715
10344
|
async onAfterConnect(_client) {
|
|
9716
|
-
|
|
10345
|
+
logger92.debug("Wix integration connected");
|
|
9717
10346
|
}
|
|
9718
10347
|
};
|
|
9719
10348
|
}
|
|
@@ -9747,7 +10376,7 @@ function mailchimpIntegration(config = {}) {
|
|
|
9747
10376
|
}
|
|
9748
10377
|
// src/integrations/monday.ts
|
|
9749
10378
|
init_logger();
|
|
9750
|
-
var
|
|
10379
|
+
var logger93 = createLogger("Monday");
|
|
9751
10380
|
var MONDAY_TOOLS = [
|
|
9752
10381
|
"monday_me",
|
|
9753
10382
|
"monday_list_workspaces",
|
|
@@ -9784,16 +10413,16 @@ function mondayIntegration(config = {}) {
|
|
|
9784
10413
|
tools: [...MONDAY_TOOLS],
|
|
9785
10414
|
oauth,
|
|
9786
10415
|
async onInit(_client) {
|
|
9787
|
-
|
|
10416
|
+
logger93.debug("Monday.com integration initialized");
|
|
9788
10417
|
},
|
|
9789
10418
|
async onAfterConnect(_client) {
|
|
9790
|
-
|
|
10419
|
+
logger93.debug("Monday.com integration connected");
|
|
9791
10420
|
}
|
|
9792
10421
|
};
|
|
9793
10422
|
}
|
|
9794
10423
|
// src/integrations/binance.ts
|
|
9795
10424
|
init_logger();
|
|
9796
|
-
var
|
|
10425
|
+
var logger94 = createLogger("Binance");
|
|
9797
10426
|
var BINANCE_TOOLS = [
|
|
9798
10427
|
"binance_ping",
|
|
9799
10428
|
"binance_get_server_time",
|
|
@@ -9836,16 +10465,16 @@ function binanceIntegration(options = {}) {
|
|
|
9836
10465
|
};
|
|
9837
10466
|
},
|
|
9838
10467
|
async onInit(_client) {
|
|
9839
|
-
|
|
10468
|
+
logger94.debug("Binance integration initialized");
|
|
9840
10469
|
},
|
|
9841
10470
|
async onAfterConnect(_client) {
|
|
9842
|
-
|
|
10471
|
+
logger94.debug("Binance integration connected");
|
|
9843
10472
|
}
|
|
9844
10473
|
};
|
|
9845
10474
|
}
|
|
9846
10475
|
// src/integrations/canva.ts
|
|
9847
10476
|
init_logger();
|
|
9848
|
-
var
|
|
10477
|
+
var logger95 = createLogger("Canva");
|
|
9849
10478
|
var CANVA_TOOLS = [
|
|
9850
10479
|
"canva_get_me",
|
|
9851
10480
|
"canva_get_profile",
|
|
@@ -9882,16 +10511,16 @@ function canvaIntegration(config = {}) {
|
|
|
9882
10511
|
tools: [...CANVA_TOOLS],
|
|
9883
10512
|
oauth,
|
|
9884
10513
|
async onInit(_client) {
|
|
9885
|
-
|
|
10514
|
+
logger95.debug("Canva integration initialized");
|
|
9886
10515
|
},
|
|
9887
10516
|
async onAfterConnect(_client) {
|
|
9888
|
-
|
|
10517
|
+
logger95.debug("Canva integration connected");
|
|
9889
10518
|
}
|
|
9890
10519
|
};
|
|
9891
10520
|
}
|
|
9892
10521
|
// src/integrations/clerk.ts
|
|
9893
10522
|
init_logger();
|
|
9894
|
-
var
|
|
10523
|
+
var logger96 = createLogger("Clerk");
|
|
9895
10524
|
var CLERK_TOOLS = [
|
|
9896
10525
|
"clerk_list_users",
|
|
9897
10526
|
"clerk_get_user",
|
|
@@ -9926,16 +10555,16 @@ function clerkIntegration(options = {}) {
|
|
|
9926
10555
|
};
|
|
9927
10556
|
},
|
|
9928
10557
|
async onInit(_client) {
|
|
9929
|
-
|
|
10558
|
+
logger96.debug("Clerk integration initialized");
|
|
9930
10559
|
},
|
|
9931
10560
|
async onAfterConnect(_client) {
|
|
9932
|
-
|
|
10561
|
+
logger96.debug("Clerk integration connected");
|
|
9933
10562
|
}
|
|
9934
10563
|
};
|
|
9935
10564
|
}
|
|
9936
10565
|
// src/integrations/clickup.ts
|
|
9937
10566
|
init_logger();
|
|
9938
|
-
var
|
|
10567
|
+
var logger97 = createLogger("ClickUp");
|
|
9939
10568
|
var CLICKUP_TOOLS = [
|
|
9940
10569
|
"clickup_get_authorized_user",
|
|
9941
10570
|
"clickup_list_teams",
|
|
@@ -9971,16 +10600,16 @@ function clickupIntegration(config = {}) {
|
|
|
9971
10600
|
tools: [...CLICKUP_TOOLS],
|
|
9972
10601
|
oauth,
|
|
9973
10602
|
async onInit(_client) {
|
|
9974
|
-
|
|
10603
|
+
logger97.debug("ClickUp integration initialized");
|
|
9975
10604
|
},
|
|
9976
10605
|
async onAfterConnect(_client) {
|
|
9977
|
-
|
|
10606
|
+
logger97.debug("ClickUp integration connected");
|
|
9978
10607
|
}
|
|
9979
10608
|
};
|
|
9980
10609
|
}
|
|
9981
10610
|
// src/integrations/cloudflare.ts
|
|
9982
10611
|
init_logger();
|
|
9983
|
-
var
|
|
10612
|
+
var logger98 = createLogger("Cloudflare");
|
|
9984
10613
|
var CLOUDFLARE_TOOLS = [
|
|
9985
10614
|
"cloudflare_verify_token",
|
|
9986
10615
|
"cloudflare_get_user",
|
|
@@ -10019,10 +10648,10 @@ function cloudflareIntegration(config = {}) {
|
|
|
10019
10648
|
return { Authorization: `Bearer ${apiToken.trim()}` };
|
|
10020
10649
|
},
|
|
10021
10650
|
async onInit(_client) {
|
|
10022
|
-
|
|
10651
|
+
logger98.debug("Cloudflare integration initialized (API token)");
|
|
10023
10652
|
},
|
|
10024
10653
|
async onAfterConnect(_client) {
|
|
10025
|
-
|
|
10654
|
+
logger98.debug("Cloudflare integration connected");
|
|
10026
10655
|
}
|
|
10027
10656
|
};
|
|
10028
10657
|
}
|
|
@@ -10048,16 +10677,16 @@ function cloudflareIntegration(config = {}) {
|
|
|
10048
10677
|
tools: [...CLOUDFLARE_TOOLS],
|
|
10049
10678
|
oauth,
|
|
10050
10679
|
async onInit(_client) {
|
|
10051
|
-
|
|
10680
|
+
logger98.debug("Cloudflare integration initialized (OAuth)");
|
|
10052
10681
|
},
|
|
10053
10682
|
async onAfterConnect(_client) {
|
|
10054
|
-
|
|
10683
|
+
logger98.debug("Cloudflare integration connected");
|
|
10055
10684
|
}
|
|
10056
10685
|
};
|
|
10057
10686
|
}
|
|
10058
10687
|
// src/integrations/instagram.ts
|
|
10059
10688
|
init_logger();
|
|
10060
|
-
var
|
|
10689
|
+
var logger99 = createLogger("Instagram");
|
|
10061
10690
|
var INSTAGRAM_SCOPES = [
|
|
10062
10691
|
"pages_show_list",
|
|
10063
10692
|
"pages_read_engagement",
|
|
@@ -10107,16 +10736,16 @@ function instagramIntegration(config = {}) {
|
|
|
10107
10736
|
tools: [...INSTAGRAM_TOOLS],
|
|
10108
10737
|
oauth,
|
|
10109
10738
|
async onInit(_client) {
|
|
10110
|
-
|
|
10739
|
+
logger99.debug("Instagram integration initialized");
|
|
10111
10740
|
},
|
|
10112
10741
|
async onAfterConnect(_client) {
|
|
10113
|
-
|
|
10742
|
+
logger99.debug("Instagram integration connected");
|
|
10114
10743
|
}
|
|
10115
10744
|
};
|
|
10116
10745
|
}
|
|
10117
10746
|
// src/integrations/facebook.ts
|
|
10118
10747
|
init_logger();
|
|
10119
|
-
var
|
|
10748
|
+
var logger100 = createLogger("Facebook");
|
|
10120
10749
|
var FACEBOOK_SCOPES = [
|
|
10121
10750
|
"public_profile",
|
|
10122
10751
|
"email",
|
|
@@ -10162,10 +10791,10 @@ function facebookIntegration(config = {}) {
|
|
|
10162
10791
|
tools: [...FACEBOOK_TOOLS],
|
|
10163
10792
|
oauth,
|
|
10164
10793
|
async onInit(_client) {
|
|
10165
|
-
|
|
10794
|
+
logger100.debug("Facebook integration initialized");
|
|
10166
10795
|
},
|
|
10167
10796
|
async onAfterConnect(_client) {
|
|
10168
|
-
|
|
10797
|
+
logger100.debug("Facebook integration connected");
|
|
10169
10798
|
}
|
|
10170
10799
|
};
|
|
10171
10800
|
}
|
|
@@ -10196,7 +10825,7 @@ function ga4Integration(config = {}) {
|
|
|
10196
10825
|
}
|
|
10197
10826
|
// src/integrations/resend.ts
|
|
10198
10827
|
init_logger();
|
|
10199
|
-
var
|
|
10828
|
+
var logger101 = createLogger("Resend");
|
|
10200
10829
|
var RESEND_TOOLS = [
|
|
10201
10830
|
"resend_list_domains",
|
|
10202
10831
|
"resend_get_domain",
|
|
@@ -10221,10 +10850,10 @@ function resendIntegration(options = {}) {
|
|
|
10221
10850
|
return { Authorization: `Bearer ${apiKey}` };
|
|
10222
10851
|
},
|
|
10223
10852
|
async onInit(_client) {
|
|
10224
|
-
|
|
10853
|
+
logger101.debug("Resend integration initialized");
|
|
10225
10854
|
},
|
|
10226
10855
|
async onAfterConnect(_client) {
|
|
10227
|
-
|
|
10856
|
+
logger101.debug("Resend integration connected");
|
|
10228
10857
|
}
|
|
10229
10858
|
};
|
|
10230
10859
|
}
|
|
@@ -10248,7 +10877,7 @@ function tldrawIntegration(options = {}) {
|
|
|
10248
10877
|
}
|
|
10249
10878
|
// src/integrations/workday.ts
|
|
10250
10879
|
init_logger();
|
|
10251
|
-
var
|
|
10880
|
+
var logger102 = createLogger("Workday");
|
|
10252
10881
|
var WORKDAY_TOOLS = [
|
|
10253
10882
|
"workday_list_workers",
|
|
10254
10883
|
"workday_get_worker"
|
|
@@ -10273,16 +10902,16 @@ function workdayIntegration(config = {}) {
|
|
|
10273
10902
|
tools: [...WORKDAY_TOOLS],
|
|
10274
10903
|
oauth,
|
|
10275
10904
|
async onInit(_client) {
|
|
10276
|
-
|
|
10905
|
+
logger102.debug("Workday integration initialized");
|
|
10277
10906
|
},
|
|
10278
10907
|
async onAfterConnect(_client) {
|
|
10279
|
-
|
|
10908
|
+
logger102.debug("Workday integration connected");
|
|
10280
10909
|
}
|
|
10281
10910
|
};
|
|
10282
10911
|
}
|
|
10283
10912
|
// src/integrations/workos.ts
|
|
10284
10913
|
init_logger();
|
|
10285
|
-
var
|
|
10914
|
+
var logger103 = createLogger("WorkOS");
|
|
10286
10915
|
var WORKOS_TOOLS = [
|
|
10287
10916
|
"workos_list_organizations",
|
|
10288
10917
|
"workos_get_organization",
|
|
@@ -10315,10 +10944,10 @@ function workosIntegration(options = {}) {
|
|
|
10315
10944
|
};
|
|
10316
10945
|
},
|
|
10317
10946
|
async onInit(_client) {
|
|
10318
|
-
|
|
10947
|
+
logger103.debug("WorkOS integration initialized");
|
|
10319
10948
|
},
|
|
10320
10949
|
async onAfterConnect(_client) {
|
|
10321
|
-
|
|
10950
|
+
logger103.debug("WorkOS integration connected");
|
|
10322
10951
|
}
|
|
10323
10952
|
};
|
|
10324
10953
|
}
|
|
@@ -16525,7 +17154,7 @@ function convertJsonSchemaToGoogleSchema(jsonSchema, TypeEnum) {
|
|
|
16525
17154
|
}
|
|
16526
17155
|
// src/server.ts
|
|
16527
17156
|
var SERVER_LOG_CONTEXT3 = "server";
|
|
16528
|
-
var
|
|
17157
|
+
var logger106 = createLogger("MCPServer", SERVER_LOG_CONTEXT3);
|
|
16529
17158
|
async function refreshTokenIfNeeded(provider, tokenData, providers, config, context) {
|
|
16530
17159
|
const credentials = providers[provider];
|
|
16531
17160
|
if (!credentials || !config.serverUrl) {
|
|
@@ -16547,9 +17176,9 @@ async function refreshTokenIfNeeded(provider, tokenData, providers, config, cont
|
|
|
16547
17176
|
});
|
|
16548
17177
|
} catch (err) {
|
|
16549
17178
|
if (err instanceof RefreshRejectedError) {
|
|
16550
|
-
|
|
17179
|
+
logger106.warn(`[Token Refresh] Refresh token rejected for ${provider}; integration marked disconnected.`);
|
|
16551
17180
|
} else {
|
|
16552
|
-
|
|
17181
|
+
logger106.warn(`[Token Refresh] Failed to refresh ${provider} token: ${err.message}`);
|
|
16553
17182
|
}
|
|
16554
17183
|
return tokenData.accessToken;
|
|
16555
17184
|
}
|
|
@@ -16659,7 +17288,7 @@ function createMCPServer(config) {
|
|
|
16659
17288
|
if (integration.oauth) {
|
|
16660
17289
|
const { clientId, clientSecret, redirectUri: integrationRedirectUri, config: oauthConfig } = integration.oauth;
|
|
16661
17290
|
if (!clientId || !clientSecret) {
|
|
16662
|
-
|
|
17291
|
+
logger106.warn(`Warning: Integration "${integration.id}" is missing OAuth credentials. ` + `Provide clientId and clientSecret in the integration configuration.`);
|
|
16663
17292
|
return integration;
|
|
16664
17293
|
}
|
|
16665
17294
|
const redirectUri = integrationRedirectUri || config.redirectUri || getDefaultRedirectUri();
|
|
@@ -16839,7 +17468,7 @@ function createMCPServer(config) {
|
|
|
16839
17468
|
}
|
|
16840
17469
|
return response2;
|
|
16841
17470
|
} catch (error) {
|
|
16842
|
-
|
|
17471
|
+
logger106.error("[MCP Tool Call] Error:", error);
|
|
16843
17472
|
return Response.json({ error: error.message || "Failed to execute tool call" }, { status: error.statusCode || 500 });
|
|
16844
17473
|
}
|
|
16845
17474
|
}
|
|
@@ -16888,7 +17517,7 @@ function createMCPServer(config) {
|
|
|
16888
17517
|
});
|
|
16889
17518
|
return Response.json(result, { status: result.success ? 200 : 500 });
|
|
16890
17519
|
} catch (error) {
|
|
16891
|
-
|
|
17520
|
+
logger106.error("[Code Mode] Error:", error);
|
|
16892
17521
|
return Response.json({ error: error?.message || "Failed to execute code" }, { status: 500 });
|
|
16893
17522
|
}
|
|
16894
17523
|
}
|
|
@@ -16946,7 +17575,7 @@ function createMCPServer(config) {
|
|
|
16946
17575
|
error: executionResult.error
|
|
16947
17576
|
});
|
|
16948
17577
|
} catch (error) {
|
|
16949
|
-
|
|
17578
|
+
logger106.error("[Trigger Notify] Error:", error);
|
|
16950
17579
|
return Response.json({ error: error.message || "Failed to execute trigger" }, { status: 500 });
|
|
16951
17580
|
}
|
|
16952
17581
|
}
|
|
@@ -17010,7 +17639,7 @@ function createMCPServer(config) {
|
|
|
17010
17639
|
})
|
|
17011
17640
|
});
|
|
17012
17641
|
} catch (scheduleError) {
|
|
17013
|
-
|
|
17642
|
+
logger106.error("[Trigger] Failed to register with scheduler:", scheduleError);
|
|
17014
17643
|
}
|
|
17015
17644
|
return Response.json(created, { status: 201 });
|
|
17016
17645
|
}
|
|
@@ -17045,7 +17674,7 @@ function createMCPServer(config) {
|
|
|
17045
17674
|
body: JSON.stringify({ triggerId })
|
|
17046
17675
|
});
|
|
17047
17676
|
} catch (error) {
|
|
17048
|
-
|
|
17677
|
+
logger106.error("[Trigger] Failed to pause in scheduler:", error);
|
|
17049
17678
|
}
|
|
17050
17679
|
return Response.json(updated);
|
|
17051
17680
|
} else if (subAction === "resume" && method === "POST") {
|
|
@@ -17073,7 +17702,7 @@ function createMCPServer(config) {
|
|
|
17073
17702
|
body: JSON.stringify({ triggerId })
|
|
17074
17703
|
});
|
|
17075
17704
|
} catch (error) {
|
|
17076
|
-
|
|
17705
|
+
logger106.error("[Trigger] Failed to resume in scheduler:", error);
|
|
17077
17706
|
}
|
|
17078
17707
|
return Response.json(updated);
|
|
17079
17708
|
} else if (subAction === "run" && method === "POST") {
|
|
@@ -17144,7 +17773,7 @@ function createMCPServer(config) {
|
|
|
17144
17773
|
})
|
|
17145
17774
|
});
|
|
17146
17775
|
} catch (error) {
|
|
17147
|
-
|
|
17776
|
+
logger106.error("[Trigger] Failed to update scheduler:", error);
|
|
17148
17777
|
}
|
|
17149
17778
|
}
|
|
17150
17779
|
return Response.json(updated);
|
|
@@ -17161,14 +17790,14 @@ function createMCPServer(config) {
|
|
|
17161
17790
|
body: JSON.stringify({ triggerId })
|
|
17162
17791
|
});
|
|
17163
17792
|
} catch (error) {
|
|
17164
|
-
|
|
17793
|
+
logger106.error("[Trigger] Failed to unregister from scheduler:", error);
|
|
17165
17794
|
}
|
|
17166
17795
|
return new Response(null, { status: 204 });
|
|
17167
17796
|
}
|
|
17168
17797
|
}
|
|
17169
17798
|
return Response.json({ error: "Invalid trigger route or method" }, { status: 404 });
|
|
17170
17799
|
} catch (error) {
|
|
17171
|
-
|
|
17800
|
+
logger106.error("[Trigger] Error:", error);
|
|
17172
17801
|
return Response.json({ error: error.message || "Failed to process trigger request" }, { status: error.statusCode || 500 });
|
|
17173
17802
|
}
|
|
17174
17803
|
}
|
|
@@ -17194,11 +17823,11 @@ function createMCPServer(config) {
|
|
|
17194
17823
|
const errorRedirectUrl = "/auth-error";
|
|
17195
17824
|
if (error) {
|
|
17196
17825
|
const errorMsg = errorDescription || error;
|
|
17197
|
-
|
|
17826
|
+
logger106.error("[OAuth Redirect] Error:", errorMsg);
|
|
17198
17827
|
return Response.redirect(new URL(`${errorRedirectUrl}?error=${encodeURIComponent(errorMsg)}`, webRequest.url));
|
|
17199
17828
|
}
|
|
17200
17829
|
if (!code || !state) {
|
|
17201
|
-
|
|
17830
|
+
logger106.error("[OAuth Redirect] Missing code or state parameter");
|
|
17202
17831
|
return Response.redirect(new URL(`${errorRedirectUrl}?error=${encodeURIComponent("Invalid OAuth callback")}`, webRequest.url));
|
|
17203
17832
|
}
|
|
17204
17833
|
let returnUrl = defaultRedirectUrl;
|
|
@@ -17275,7 +17904,7 @@ function createMCPServer(config) {
|
|
|
17275
17904
|
frontendUrl.hash = `oauth_callback=${encodeURIComponent(JSON.stringify({ code, state, tokenData }))}`;
|
|
17276
17905
|
return Response.redirect(frontendUrl);
|
|
17277
17906
|
} catch (error2) {
|
|
17278
|
-
|
|
17907
|
+
logger106.error("[OAuth Backend Callback] Error:", error2);
|
|
17279
17908
|
return Response.redirect(new URL(`${errorRedirectUrl}?error=${encodeURIComponent(error2.message || "Failed to exchange token")}`, webRequest.url));
|
|
17280
17909
|
}
|
|
17281
17910
|
} else {
|
|
@@ -17583,7 +18212,11 @@ export {
|
|
|
17583
18212
|
svelteKitHandler,
|
|
17584
18213
|
supabaseIntegration,
|
|
17585
18214
|
stripeIntegration,
|
|
18215
|
+
stravaIntegration,
|
|
17586
18216
|
storeCodeVerifier,
|
|
18217
|
+
squareIntegration,
|
|
18218
|
+
spotifyIntegration,
|
|
18219
|
+
smartthingsIntegration,
|
|
17587
18220
|
slackIntegration,
|
|
17588
18221
|
shopifyIntegration,
|
|
17589
18222
|
sharepointIntegration,
|
|
@@ -17595,6 +18228,7 @@ export {
|
|
|
17595
18228
|
redditIntegration,
|
|
17596
18229
|
rampIntegration,
|
|
17597
18230
|
railwayIntegration,
|
|
18231
|
+
quickbooksIntegration,
|
|
17598
18232
|
powerpointIntegration,
|
|
17599
18233
|
postmanIntegration,
|
|
17600
18234
|
posthogIntegration,
|
|
@@ -17602,9 +18236,11 @@ export {
|
|
|
17602
18236
|
plannerIntegration,
|
|
17603
18237
|
planetscaleIntegration,
|
|
17604
18238
|
phantomIntegration,
|
|
18239
|
+
paypalIntegration,
|
|
17605
18240
|
paperIntegration,
|
|
17606
18241
|
outlookIntegration,
|
|
17607
18242
|
onedriveIntegration,
|
|
18243
|
+
oktaIntegration,
|
|
17608
18244
|
notionIntegration,
|
|
17609
18245
|
netlifyIntegration,
|
|
17610
18246
|
neonIntegration,
|
|
@@ -17660,6 +18296,7 @@ export {
|
|
|
17660
18296
|
createNextOAuthHandler,
|
|
17661
18297
|
createMCPServer,
|
|
17662
18298
|
convexIntegration,
|
|
18299
|
+
confluenceIntegration,
|
|
17663
18300
|
cloudflareIntegration,
|
|
17664
18301
|
clickupIntegration,
|
|
17665
18302
|
clerkIntegration,
|
|
@@ -17668,12 +18305,14 @@ export {
|
|
|
17668
18305
|
buildPhantomBrowseDeeplink,
|
|
17669
18306
|
buildCodeModeTool,
|
|
17670
18307
|
boxIntegration,
|
|
18308
|
+
bitbucketIntegration,
|
|
17671
18309
|
binanceIntegration,
|
|
17672
18310
|
betterstackIntegration,
|
|
17673
18311
|
awsIntegration,
|
|
17674
18312
|
auth0Integration,
|
|
17675
18313
|
attioIntegration,
|
|
17676
18314
|
astronomerIntegration,
|
|
18315
|
+
asanaIntegration,
|
|
17677
18316
|
alpacaIntegration,
|
|
17678
18317
|
airtableIntegration,
|
|
17679
18318
|
__resetUnauthenticatedCodeModeWarnings,
|