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/index.js
CHANGED
|
@@ -826,6 +826,14 @@ var INTEGRATION_LIBRARY_METADATA = {
|
|
|
826
826
|
description: "Manage Attio people, companies, tasks, and CRM records",
|
|
827
827
|
category: "Business"
|
|
828
828
|
},
|
|
829
|
+
asana: {
|
|
830
|
+
description: "Manage Asana workspaces, projects, tasks, stories, users, and teams",
|
|
831
|
+
category: "Productivity"
|
|
832
|
+
},
|
|
833
|
+
bitbucket: {
|
|
834
|
+
description: "Manage Bitbucket Cloud repositories, pull requests, issues, and pipelines",
|
|
835
|
+
category: "Engineering"
|
|
836
|
+
},
|
|
829
837
|
calcom: {
|
|
830
838
|
description: "Manage Cal.com bookings and schedules",
|
|
831
839
|
category: "Business"
|
|
@@ -838,6 +846,10 @@ var INTEGRATION_LIBRARY_METADATA = {
|
|
|
838
846
|
description: "Manage Cloudflare zones, DNS, CDN cache, and Workers",
|
|
839
847
|
category: "Infrastructure"
|
|
840
848
|
},
|
|
849
|
+
confluence: {
|
|
850
|
+
description: "Manage Confluence spaces, pages, search, comments, and attachments",
|
|
851
|
+
category: "Productivity"
|
|
852
|
+
},
|
|
841
853
|
cursor: {
|
|
842
854
|
description: "Manage Cursor Cloud Agents and background tasks",
|
|
843
855
|
category: "Engineering"
|
|
@@ -902,6 +914,10 @@ var INTEGRATION_LIBRARY_METADATA = {
|
|
|
902
914
|
description: "Manage Notion pages and databases",
|
|
903
915
|
category: "Productivity"
|
|
904
916
|
},
|
|
917
|
+
okta: {
|
|
918
|
+
description: "Manage Okta users, groups, applications, policies, and system logs",
|
|
919
|
+
category: "Engineering"
|
|
920
|
+
},
|
|
905
921
|
onedrive: {
|
|
906
922
|
description: "Manage OneDrive files, folders, and sharing",
|
|
907
923
|
category: "Storage"
|
|
@@ -918,6 +934,10 @@ var INTEGRATION_LIBRARY_METADATA = {
|
|
|
918
934
|
description: "Manage Polar products, orders, and subscriptions",
|
|
919
935
|
category: "Finance"
|
|
920
936
|
},
|
|
937
|
+
paypal: {
|
|
938
|
+
description: "Manage PayPal orders, captures, refunds, invoices, products, plans, and subscriptions",
|
|
939
|
+
category: "Finance"
|
|
940
|
+
},
|
|
921
941
|
phantom: {
|
|
922
942
|
description: "Build Phantom mobile browse universal links and deeplink provider documentation (Solana)",
|
|
923
943
|
category: "Other"
|
|
@@ -934,6 +954,10 @@ var INTEGRATION_LIBRARY_METADATA = {
|
|
|
934
954
|
description: "Manage Ramp corporate cards, bills, and spend",
|
|
935
955
|
category: "Business"
|
|
936
956
|
},
|
|
957
|
+
quickbooks: {
|
|
958
|
+
description: "Manage QuickBooks Online accounting data, invoices, bills, payments, and reports",
|
|
959
|
+
category: "Finance"
|
|
960
|
+
},
|
|
937
961
|
resend: {
|
|
938
962
|
description: "Send email and manage domains with the Resend API",
|
|
939
963
|
category: "Communication"
|
|
@@ -974,6 +998,22 @@ var INTEGRATION_LIBRARY_METADATA = {
|
|
|
974
998
|
description: "Send and manage Slack messages and channels",
|
|
975
999
|
category: "Communication"
|
|
976
1000
|
},
|
|
1001
|
+
smartthings: {
|
|
1002
|
+
description: "Manage SmartThings locations, rooms, devices, scenes, and rules",
|
|
1003
|
+
category: "Other"
|
|
1004
|
+
},
|
|
1005
|
+
spotify: {
|
|
1006
|
+
description: "Search Spotify, manage playlists and saved tracks, and control playback",
|
|
1007
|
+
category: "Other"
|
|
1008
|
+
},
|
|
1009
|
+
strava: {
|
|
1010
|
+
description: "Manage Strava athletes, activities, routes, clubs, segments, streams, gear, and uploads",
|
|
1011
|
+
category: "Other"
|
|
1012
|
+
},
|
|
1013
|
+
square: {
|
|
1014
|
+
description: "Manage Square merchants, locations, customers, catalog, orders, payments, refunds, and invoices",
|
|
1015
|
+
category: "Finance"
|
|
1016
|
+
},
|
|
977
1017
|
telegram: {
|
|
978
1018
|
description: "Use Telegram as an actual user account via MTProto sessions",
|
|
979
1019
|
category: "Communication"
|
|
@@ -5054,8 +5094,587 @@ function boxIntegration(options = {}) {
|
|
|
5054
5094
|
}
|
|
5055
5095
|
};
|
|
5056
5096
|
}
|
|
5097
|
+
// src/integrations/paypal.ts
|
|
5098
|
+
var logger16 = createLogger("PayPal");
|
|
5099
|
+
var PAYPAL_TOOLS = [
|
|
5100
|
+
"paypal_create_order",
|
|
5101
|
+
"paypal_get_order",
|
|
5102
|
+
"paypal_capture_order",
|
|
5103
|
+
"paypal_get_capture",
|
|
5104
|
+
"paypal_refund_capture",
|
|
5105
|
+
"paypal_get_refund",
|
|
5106
|
+
"paypal_list_invoices",
|
|
5107
|
+
"paypal_get_invoice",
|
|
5108
|
+
"paypal_create_invoice",
|
|
5109
|
+
"paypal_send_invoice",
|
|
5110
|
+
"paypal_list_products",
|
|
5111
|
+
"paypal_create_product",
|
|
5112
|
+
"paypal_list_plans",
|
|
5113
|
+
"paypal_create_plan",
|
|
5114
|
+
"paypal_get_subscription",
|
|
5115
|
+
"paypal_cancel_subscription"
|
|
5116
|
+
];
|
|
5117
|
+
async function fetchPayPalToken(config) {
|
|
5118
|
+
const base = config.environment === "sandbox" ? "https://api-m.sandbox.paypal.com" : "https://api-m.paypal.com";
|
|
5119
|
+
const res = await fetch(`${base}/v1/oauth2/token`, {
|
|
5120
|
+
method: "POST",
|
|
5121
|
+
headers: {
|
|
5122
|
+
Authorization: `Basic ${btoa(`${config.clientId}:${config.clientSecret}`)}`,
|
|
5123
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
5124
|
+
},
|
|
5125
|
+
body: new URLSearchParams({ grant_type: "client_credentials" })
|
|
5126
|
+
});
|
|
5127
|
+
const text = await res.text();
|
|
5128
|
+
if (!res.ok) {
|
|
5129
|
+
throw new Error(`PayPal token request failed (${res.status}): ${text}`);
|
|
5130
|
+
}
|
|
5131
|
+
const data = JSON.parse(text);
|
|
5132
|
+
if (!data.access_token)
|
|
5133
|
+
throw new Error("PayPal token response missing access_token");
|
|
5134
|
+
return data.access_token;
|
|
5135
|
+
}
|
|
5136
|
+
function paypalIntegration(config = {}) {
|
|
5137
|
+
const clientId = config.clientId ?? getEnv("PAYPAL_CLIENT_ID");
|
|
5138
|
+
const clientSecret = config.clientSecret ?? getEnv("PAYPAL_CLIENT_SECRET");
|
|
5139
|
+
const environment = config.environment ?? getEnv("PAYPAL_ENVIRONMENT") ?? "production";
|
|
5140
|
+
let accessToken = "";
|
|
5141
|
+
return {
|
|
5142
|
+
id: "paypal",
|
|
5143
|
+
name: "PayPal",
|
|
5144
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/paypal.png",
|
|
5145
|
+
description: "Manage PayPal orders, captures, refunds, invoices, products, plans, and subscriptions",
|
|
5146
|
+
category: "Finance",
|
|
5147
|
+
tools: [...PAYPAL_TOOLS],
|
|
5148
|
+
authType: "apiKey",
|
|
5149
|
+
getHeaders: () => {
|
|
5150
|
+
const headers = {};
|
|
5151
|
+
if (accessToken)
|
|
5152
|
+
headers.Authorization = `Bearer ${accessToken}`;
|
|
5153
|
+
return headers;
|
|
5154
|
+
},
|
|
5155
|
+
async onBeforeConnect() {
|
|
5156
|
+
if (!clientId || !clientSecret)
|
|
5157
|
+
return;
|
|
5158
|
+
accessToken = await fetchPayPalToken({ clientId, clientSecret, environment });
|
|
5159
|
+
},
|
|
5160
|
+
async onInit() {
|
|
5161
|
+
logger16.debug("PayPal integration initialized");
|
|
5162
|
+
},
|
|
5163
|
+
async onAfterConnect() {
|
|
5164
|
+
logger16.debug("PayPal integration connected");
|
|
5165
|
+
}
|
|
5166
|
+
};
|
|
5167
|
+
}
|
|
5168
|
+
// src/integrations/square.ts
|
|
5169
|
+
var logger17 = createLogger("Square");
|
|
5170
|
+
var SQUARE_SCOPES = [
|
|
5171
|
+
"MERCHANT_PROFILE_READ",
|
|
5172
|
+
"PAYMENTS_READ",
|
|
5173
|
+
"PAYMENTS_WRITE",
|
|
5174
|
+
"CUSTOMERS_READ",
|
|
5175
|
+
"CUSTOMERS_WRITE",
|
|
5176
|
+
"ORDERS_READ",
|
|
5177
|
+
"ORDERS_WRITE",
|
|
5178
|
+
"ITEMS_READ",
|
|
5179
|
+
"ITEMS_WRITE",
|
|
5180
|
+
"INVOICES_READ",
|
|
5181
|
+
"INVOICES_WRITE"
|
|
5182
|
+
];
|
|
5183
|
+
var SQUARE_TOOLS = [
|
|
5184
|
+
"square_get_merchant",
|
|
5185
|
+
"square_list_locations",
|
|
5186
|
+
"square_list_customers",
|
|
5187
|
+
"square_get_customer",
|
|
5188
|
+
"square_create_customer",
|
|
5189
|
+
"square_update_customer",
|
|
5190
|
+
"square_delete_customer",
|
|
5191
|
+
"square_search_catalog",
|
|
5192
|
+
"square_retrieve_catalog_object",
|
|
5193
|
+
"square_upsert_catalog_object",
|
|
5194
|
+
"square_search_orders",
|
|
5195
|
+
"square_create_order",
|
|
5196
|
+
"square_pay_order",
|
|
5197
|
+
"square_list_payments",
|
|
5198
|
+
"square_get_payment",
|
|
5199
|
+
"square_create_payment",
|
|
5200
|
+
"square_list_refunds",
|
|
5201
|
+
"square_refund_payment",
|
|
5202
|
+
"square_list_invoices",
|
|
5203
|
+
"square_get_invoice",
|
|
5204
|
+
"square_create_invoice"
|
|
5205
|
+
];
|
|
5206
|
+
function squareIntegration(config = {}) {
|
|
5207
|
+
const environment = config.environment ?? getEnv("SQUARE_ENVIRONMENT");
|
|
5208
|
+
const oauth = {
|
|
5209
|
+
provider: "square",
|
|
5210
|
+
clientId: config.clientId ?? getEnv("SQUARE_CLIENT_ID"),
|
|
5211
|
+
clientSecret: config.clientSecret ?? getEnv("SQUARE_CLIENT_SECRET"),
|
|
5212
|
+
scopes: config.scopes ?? [...SQUARE_SCOPES],
|
|
5213
|
+
redirectUri: config.redirectUri,
|
|
5214
|
+
config: { ...config, subdomain: environment === "sandbox" ? "sandbox" : undefined }
|
|
5215
|
+
};
|
|
5216
|
+
return {
|
|
5217
|
+
id: "square",
|
|
5218
|
+
name: "Square",
|
|
5219
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/square.png",
|
|
5220
|
+
description: "Manage Square merchants, locations, customers, catalog, orders, payments, refunds, and invoices",
|
|
5221
|
+
category: "Finance",
|
|
5222
|
+
tools: [...SQUARE_TOOLS],
|
|
5223
|
+
authType: "oauth",
|
|
5224
|
+
oauth,
|
|
5225
|
+
async onInit() {
|
|
5226
|
+
logger17.debug("Square integration initialized");
|
|
5227
|
+
},
|
|
5228
|
+
async onAfterConnect() {
|
|
5229
|
+
logger17.debug("Square integration connected");
|
|
5230
|
+
}
|
|
5231
|
+
};
|
|
5232
|
+
}
|
|
5233
|
+
// src/integrations/spotify.ts
|
|
5234
|
+
var logger18 = createLogger("Spotify");
|
|
5235
|
+
var SPOTIFY_SCOPES = [
|
|
5236
|
+
"user-read-email",
|
|
5237
|
+
"playlist-read-private",
|
|
5238
|
+
"playlist-modify-private",
|
|
5239
|
+
"playlist-modify-public",
|
|
5240
|
+
"user-library-read",
|
|
5241
|
+
"user-library-modify",
|
|
5242
|
+
"user-read-playback-state",
|
|
5243
|
+
"user-modify-playback-state"
|
|
5244
|
+
];
|
|
5245
|
+
var SPOTIFY_TOOLS = [
|
|
5246
|
+
"spotify_get_current_user",
|
|
5247
|
+
"spotify_search",
|
|
5248
|
+
"spotify_get_track",
|
|
5249
|
+
"spotify_get_album",
|
|
5250
|
+
"spotify_list_user_playlists",
|
|
5251
|
+
"spotify_get_playlist",
|
|
5252
|
+
"spotify_create_playlist",
|
|
5253
|
+
"spotify_add_playlist_items",
|
|
5254
|
+
"spotify_remove_playlist_items",
|
|
5255
|
+
"spotify_get_saved_tracks",
|
|
5256
|
+
"spotify_save_tracks",
|
|
5257
|
+
"spotify_remove_saved_tracks",
|
|
5258
|
+
"spotify_get_playback_state",
|
|
5259
|
+
"spotify_start_playback",
|
|
5260
|
+
"spotify_pause_playback"
|
|
5261
|
+
];
|
|
5262
|
+
function spotifyIntegration(config = {}) {
|
|
5263
|
+
const oauth = {
|
|
5264
|
+
provider: "spotify",
|
|
5265
|
+
clientId: config.clientId ?? getEnv("SPOTIFY_CLIENT_ID"),
|
|
5266
|
+
clientSecret: config.clientSecret ?? getEnv("SPOTIFY_CLIENT_SECRET"),
|
|
5267
|
+
scopes: config.scopes ?? [...SPOTIFY_SCOPES],
|
|
5268
|
+
redirectUri: config.redirectUri,
|
|
5269
|
+
config
|
|
5270
|
+
};
|
|
5271
|
+
return {
|
|
5272
|
+
id: "spotify",
|
|
5273
|
+
name: "Spotify",
|
|
5274
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/spotify.png",
|
|
5275
|
+
description: "Search Spotify, manage playlists and saved tracks, and control playback",
|
|
5276
|
+
category: "Other",
|
|
5277
|
+
tools: [...SPOTIFY_TOOLS],
|
|
5278
|
+
authType: "oauth",
|
|
5279
|
+
oauth,
|
|
5280
|
+
async onInit() {
|
|
5281
|
+
logger18.debug("Spotify integration initialized");
|
|
5282
|
+
},
|
|
5283
|
+
async onAfterConnect() {
|
|
5284
|
+
logger18.debug("Spotify integration connected");
|
|
5285
|
+
}
|
|
5286
|
+
};
|
|
5287
|
+
}
|
|
5288
|
+
// src/integrations/strava.ts
|
|
5289
|
+
var logger19 = createLogger("Strava");
|
|
5290
|
+
var STRAVA_SCOPES = [
|
|
5291
|
+
"read",
|
|
5292
|
+
"profile:read_all",
|
|
5293
|
+
"profile:write",
|
|
5294
|
+
"activity:read",
|
|
5295
|
+
"activity:read_all",
|
|
5296
|
+
"activity:write"
|
|
5297
|
+
];
|
|
5298
|
+
var STRAVA_TOOLS = [
|
|
5299
|
+
"strava_get_logged_in_athlete",
|
|
5300
|
+
"strava_update_logged_in_athlete",
|
|
5301
|
+
"strava_get_athlete_stats",
|
|
5302
|
+
"strava_list_athlete_activities",
|
|
5303
|
+
"strava_get_activity",
|
|
5304
|
+
"strava_create_activity",
|
|
5305
|
+
"strava_update_activity",
|
|
5306
|
+
"strava_delete_activity",
|
|
5307
|
+
"strava_get_activity_streams",
|
|
5308
|
+
"strava_list_athlete_routes",
|
|
5309
|
+
"strava_get_route",
|
|
5310
|
+
"strava_export_route_gpx",
|
|
5311
|
+
"strava_list_athlete_clubs",
|
|
5312
|
+
"strava_get_club",
|
|
5313
|
+
"strava_list_club_activities",
|
|
5314
|
+
"strava_list_club_members",
|
|
5315
|
+
"strava_get_segment",
|
|
5316
|
+
"strava_explore_segments",
|
|
5317
|
+
"strava_get_segment_leaderboard",
|
|
5318
|
+
"strava_list_starred_segments",
|
|
5319
|
+
"strava_star_segment",
|
|
5320
|
+
"strava_get_gear",
|
|
5321
|
+
"strava_get_upload",
|
|
5322
|
+
"strava_create_upload"
|
|
5323
|
+
];
|
|
5324
|
+
function stravaIntegration(config = {}) {
|
|
5325
|
+
const oauth = {
|
|
5326
|
+
provider: "strava",
|
|
5327
|
+
clientId: config.clientId ?? getEnv("STRAVA_CLIENT_ID"),
|
|
5328
|
+
clientSecret: config.clientSecret ?? getEnv("STRAVA_CLIENT_SECRET"),
|
|
5329
|
+
scopes: config.scopes ?? [...STRAVA_SCOPES],
|
|
5330
|
+
redirectUri: config.redirectUri,
|
|
5331
|
+
config
|
|
5332
|
+
};
|
|
5333
|
+
return {
|
|
5334
|
+
id: "strava",
|
|
5335
|
+
name: "Strava",
|
|
5336
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/strava.png",
|
|
5337
|
+
description: "Manage Strava athletes, activities, routes, clubs, segments, streams, gear, and uploads",
|
|
5338
|
+
category: "Other",
|
|
5339
|
+
tools: [...STRAVA_TOOLS],
|
|
5340
|
+
authType: "oauth",
|
|
5341
|
+
oauth,
|
|
5342
|
+
async onInit() {
|
|
5343
|
+
logger19.debug("Strava integration initialized");
|
|
5344
|
+
},
|
|
5345
|
+
async onAfterConnect() {
|
|
5346
|
+
logger19.debug("Strava integration connected");
|
|
5347
|
+
}
|
|
5348
|
+
};
|
|
5349
|
+
}
|
|
5350
|
+
// src/integrations/asana.ts
|
|
5351
|
+
var logger20 = createLogger("Asana");
|
|
5352
|
+
var ASANA_TOOLS = [
|
|
5353
|
+
"asana_get_current_user",
|
|
5354
|
+
"asana_list_workspaces",
|
|
5355
|
+
"asana_list_projects",
|
|
5356
|
+
"asana_get_project",
|
|
5357
|
+
"asana_create_project",
|
|
5358
|
+
"asana_update_project",
|
|
5359
|
+
"asana_list_sections",
|
|
5360
|
+
"asana_list_tasks",
|
|
5361
|
+
"asana_get_task",
|
|
5362
|
+
"asana_create_task",
|
|
5363
|
+
"asana_update_task",
|
|
5364
|
+
"asana_delete_task",
|
|
5365
|
+
"asana_list_stories",
|
|
5366
|
+
"asana_create_story",
|
|
5367
|
+
"asana_list_users",
|
|
5368
|
+
"asana_list_teams"
|
|
5369
|
+
];
|
|
5370
|
+
function asanaIntegration(config = {}) {
|
|
5371
|
+
const oauth = {
|
|
5372
|
+
provider: "asana",
|
|
5373
|
+
clientId: config.clientId ?? getEnv("ASANA_CLIENT_ID"),
|
|
5374
|
+
clientSecret: config.clientSecret ?? getEnv("ASANA_CLIENT_SECRET"),
|
|
5375
|
+
scopes: config.scopes ?? ["default"],
|
|
5376
|
+
redirectUri: config.redirectUri,
|
|
5377
|
+
config
|
|
5378
|
+
};
|
|
5379
|
+
return {
|
|
5380
|
+
id: "asana",
|
|
5381
|
+
name: "Asana",
|
|
5382
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/asana.png",
|
|
5383
|
+
description: "Manage Asana workspaces, projects, sections, tasks, stories, users, and teams",
|
|
5384
|
+
category: "Productivity",
|
|
5385
|
+
tools: [...ASANA_TOOLS],
|
|
5386
|
+
authType: "oauth",
|
|
5387
|
+
oauth,
|
|
5388
|
+
async onInit() {
|
|
5389
|
+
logger20.debug("Asana integration initialized");
|
|
5390
|
+
},
|
|
5391
|
+
async onAfterConnect() {
|
|
5392
|
+
logger20.debug("Asana integration connected");
|
|
5393
|
+
}
|
|
5394
|
+
};
|
|
5395
|
+
}
|
|
5396
|
+
// src/integrations/confluence.ts
|
|
5397
|
+
var logger21 = createLogger("Confluence");
|
|
5398
|
+
var CONFLUENCE_SCOPES = [
|
|
5399
|
+
"read:confluence-content.all",
|
|
5400
|
+
"write:confluence-content",
|
|
5401
|
+
"read:confluence-space.summary",
|
|
5402
|
+
"read:confluence-props",
|
|
5403
|
+
"offline_access"
|
|
5404
|
+
];
|
|
5405
|
+
var CONFLUENCE_TOOLS = [
|
|
5406
|
+
"confluence_list_accessible_resources",
|
|
5407
|
+
"confluence_list_spaces",
|
|
5408
|
+
"confluence_get_space",
|
|
5409
|
+
"confluence_list_pages",
|
|
5410
|
+
"confluence_get_page",
|
|
5411
|
+
"confluence_create_page",
|
|
5412
|
+
"confluence_update_page",
|
|
5413
|
+
"confluence_delete_page",
|
|
5414
|
+
"confluence_search",
|
|
5415
|
+
"confluence_list_comments",
|
|
5416
|
+
"confluence_create_comment",
|
|
5417
|
+
"confluence_list_attachments"
|
|
5418
|
+
];
|
|
5419
|
+
function confluenceIntegration(config = {}) {
|
|
5420
|
+
const oauth = {
|
|
5421
|
+
provider: "confluence",
|
|
5422
|
+
clientId: config.clientId ?? getEnv("ATLASSIAN_CLIENT_ID"),
|
|
5423
|
+
clientSecret: config.clientSecret ?? getEnv("ATLASSIAN_CLIENT_SECRET"),
|
|
5424
|
+
scopes: config.scopes ?? [...CONFLUENCE_SCOPES],
|
|
5425
|
+
redirectUri: config.redirectUri,
|
|
5426
|
+
config: {
|
|
5427
|
+
authorization_endpoint: "https://auth.atlassian.com/authorize",
|
|
5428
|
+
token_endpoint: "https://auth.atlassian.com/oauth/token",
|
|
5429
|
+
response_type: "code",
|
|
5430
|
+
grant_types_supported: ["authorization_code", "refresh_token"]
|
|
5431
|
+
}
|
|
5432
|
+
};
|
|
5433
|
+
return {
|
|
5434
|
+
id: "confluence",
|
|
5435
|
+
name: "Confluence Cloud",
|
|
5436
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/confluence.png",
|
|
5437
|
+
description: "Manage Confluence spaces, pages, search, comments, and attachments",
|
|
5438
|
+
category: "Productivity",
|
|
5439
|
+
tools: [...CONFLUENCE_TOOLS],
|
|
5440
|
+
authType: "oauth",
|
|
5441
|
+
oauth,
|
|
5442
|
+
async onInit() {
|
|
5443
|
+
logger21.debug("Confluence integration initialized");
|
|
5444
|
+
},
|
|
5445
|
+
async onAfterConnect() {
|
|
5446
|
+
logger21.debug("Confluence integration connected");
|
|
5447
|
+
}
|
|
5448
|
+
};
|
|
5449
|
+
}
|
|
5450
|
+
// src/integrations/okta.ts
|
|
5451
|
+
var logger22 = createLogger("Okta");
|
|
5452
|
+
var OKTA_SCOPES = [
|
|
5453
|
+
"openid",
|
|
5454
|
+
"profile",
|
|
5455
|
+
"email",
|
|
5456
|
+
"offline_access",
|
|
5457
|
+
"okta.users.read",
|
|
5458
|
+
"okta.users.manage",
|
|
5459
|
+
"okta.groups.read",
|
|
5460
|
+
"okta.groups.manage",
|
|
5461
|
+
"okta.apps.read",
|
|
5462
|
+
"okta.logs.read"
|
|
5463
|
+
];
|
|
5464
|
+
var OKTA_TOOLS = [
|
|
5465
|
+
"okta_list_users",
|
|
5466
|
+
"okta_get_user",
|
|
5467
|
+
"okta_create_user",
|
|
5468
|
+
"okta_update_user",
|
|
5469
|
+
"okta_deactivate_user",
|
|
5470
|
+
"okta_list_groups",
|
|
5471
|
+
"okta_get_group",
|
|
5472
|
+
"okta_create_group",
|
|
5473
|
+
"okta_add_user_to_group",
|
|
5474
|
+
"okta_remove_user_from_group",
|
|
5475
|
+
"okta_list_apps",
|
|
5476
|
+
"okta_get_app",
|
|
5477
|
+
"okta_list_authorization_servers",
|
|
5478
|
+
"okta_list_policies",
|
|
5479
|
+
"okta_list_system_logs"
|
|
5480
|
+
];
|
|
5481
|
+
function normalizeDomain(raw = "") {
|
|
5482
|
+
let domain = raw.trim().replace(/^https?:\/\//i, "");
|
|
5483
|
+
const slash = domain.indexOf("/");
|
|
5484
|
+
if (slash >= 0)
|
|
5485
|
+
domain = domain.slice(0, slash);
|
|
5486
|
+
return domain.replace(/\/$/, "");
|
|
5487
|
+
}
|
|
5488
|
+
function oktaIntegration(config = {}) {
|
|
5489
|
+
const domain = normalizeDomain(config.domain ?? getEnv("OKTA_DOMAIN") ?? "");
|
|
5490
|
+
const accessToken = config.accessToken ?? getEnv("OKTA_ACCESS_TOKEN");
|
|
5491
|
+
const oauth = {
|
|
5492
|
+
provider: "okta",
|
|
5493
|
+
clientId: config.clientId ?? getEnv("OKTA_CLIENT_ID"),
|
|
5494
|
+
clientSecret: config.clientSecret ?? getEnv("OKTA_CLIENT_SECRET"),
|
|
5495
|
+
scopes: config.scopes ?? [...OKTA_SCOPES],
|
|
5496
|
+
redirectUri: config.redirectUri,
|
|
5497
|
+
config: { ...config, subdomain: domain || undefined }
|
|
5498
|
+
};
|
|
5499
|
+
return {
|
|
5500
|
+
id: "okta",
|
|
5501
|
+
name: "Okta",
|
|
5502
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/okta.png",
|
|
5503
|
+
description: "Manage Okta users, groups, apps, authorization servers, policies, and system logs",
|
|
5504
|
+
category: "Engineering",
|
|
5505
|
+
tools: [...OKTA_TOOLS],
|
|
5506
|
+
authType: accessToken ? "apiKey" : "oauth",
|
|
5507
|
+
oauth,
|
|
5508
|
+
getHeaders: () => ({
|
|
5509
|
+
...accessToken ? { Authorization: `Bearer ${accessToken}` } : {},
|
|
5510
|
+
...domain ? { "X-Okta-Domain": domain } : {}
|
|
5511
|
+
}),
|
|
5512
|
+
async onInit() {
|
|
5513
|
+
logger22.debug("Okta integration initialized");
|
|
5514
|
+
},
|
|
5515
|
+
async onAfterConnect() {
|
|
5516
|
+
logger22.debug("Okta integration connected");
|
|
5517
|
+
}
|
|
5518
|
+
};
|
|
5519
|
+
}
|
|
5520
|
+
// src/integrations/quickbooks.ts
|
|
5521
|
+
var logger23 = createLogger("QuickBooks");
|
|
5522
|
+
var QUICKBOOKS_SCOPES = ["com.intuit.quickbooks.accounting", "openid", "profile", "email", "offline_access"];
|
|
5523
|
+
var QUICKBOOKS_TOOLS = [
|
|
5524
|
+
"quickbooks_get_company_info",
|
|
5525
|
+
"quickbooks_query",
|
|
5526
|
+
"quickbooks_list_customers",
|
|
5527
|
+
"quickbooks_get_customer",
|
|
5528
|
+
"quickbooks_create_customer",
|
|
5529
|
+
"quickbooks_list_vendors",
|
|
5530
|
+
"quickbooks_create_vendor",
|
|
5531
|
+
"quickbooks_list_items",
|
|
5532
|
+
"quickbooks_create_item",
|
|
5533
|
+
"quickbooks_list_accounts",
|
|
5534
|
+
"quickbooks_list_invoices",
|
|
5535
|
+
"quickbooks_get_invoice",
|
|
5536
|
+
"quickbooks_create_invoice",
|
|
5537
|
+
"quickbooks_list_bills",
|
|
5538
|
+
"quickbooks_create_bill",
|
|
5539
|
+
"quickbooks_create_payment",
|
|
5540
|
+
"quickbooks_get_report"
|
|
5541
|
+
];
|
|
5542
|
+
function quickbooksIntegration(config = {}) {
|
|
5543
|
+
const oauth = {
|
|
5544
|
+
provider: "quickbooks",
|
|
5545
|
+
clientId: config.clientId ?? getEnv("QUICKBOOKS_CLIENT_ID"),
|
|
5546
|
+
clientSecret: config.clientSecret ?? getEnv("QUICKBOOKS_CLIENT_SECRET"),
|
|
5547
|
+
scopes: config.scopes ?? [...QUICKBOOKS_SCOPES],
|
|
5548
|
+
redirectUri: config.redirectUri,
|
|
5549
|
+
config
|
|
5550
|
+
};
|
|
5551
|
+
return {
|
|
5552
|
+
id: "quickbooks",
|
|
5553
|
+
name: "QuickBooks Online",
|
|
5554
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/quickbooks.png",
|
|
5555
|
+
description: "Manage QuickBooks Online company data, customers, vendors, items, accounts, invoices, bills, payments, reports, and queries",
|
|
5556
|
+
category: "Finance",
|
|
5557
|
+
tools: [...QUICKBOOKS_TOOLS],
|
|
5558
|
+
authType: "oauth",
|
|
5559
|
+
oauth,
|
|
5560
|
+
async onInit() {
|
|
5561
|
+
logger23.debug("QuickBooks integration initialized");
|
|
5562
|
+
},
|
|
5563
|
+
async onAfterConnect() {
|
|
5564
|
+
logger23.debug("QuickBooks integration connected");
|
|
5565
|
+
}
|
|
5566
|
+
};
|
|
5567
|
+
}
|
|
5568
|
+
// src/integrations/bitbucket.ts
|
|
5569
|
+
var logger24 = createLogger("Bitbucket");
|
|
5570
|
+
var BITBUCKET_SCOPES = ["account", "repository", "pullrequest", "issue", "pipeline"];
|
|
5571
|
+
var BITBUCKET_TOOLS = [
|
|
5572
|
+
"bitbucket_get_current_user",
|
|
5573
|
+
"bitbucket_list_workspaces",
|
|
5574
|
+
"bitbucket_list_repositories",
|
|
5575
|
+
"bitbucket_get_repository",
|
|
5576
|
+
"bitbucket_list_branches",
|
|
5577
|
+
"bitbucket_list_commits",
|
|
5578
|
+
"bitbucket_get_commit",
|
|
5579
|
+
"bitbucket_list_pull_requests",
|
|
5580
|
+
"bitbucket_get_pull_request",
|
|
5581
|
+
"bitbucket_create_pull_request",
|
|
5582
|
+
"bitbucket_list_issues",
|
|
5583
|
+
"bitbucket_get_issue",
|
|
5584
|
+
"bitbucket_create_issue",
|
|
5585
|
+
"bitbucket_list_pipelines",
|
|
5586
|
+
"bitbucket_trigger_pipeline"
|
|
5587
|
+
];
|
|
5588
|
+
function bitbucketIntegration(config = {}) {
|
|
5589
|
+
const oauth = {
|
|
5590
|
+
provider: "bitbucket",
|
|
5591
|
+
clientId: config.clientId ?? getEnv("BITBUCKET_CLIENT_ID"),
|
|
5592
|
+
clientSecret: config.clientSecret ?? getEnv("BITBUCKET_CLIENT_SECRET"),
|
|
5593
|
+
scopes: config.scopes ?? [...BITBUCKET_SCOPES],
|
|
5594
|
+
redirectUri: config.redirectUri,
|
|
5595
|
+
config
|
|
5596
|
+
};
|
|
5597
|
+
return {
|
|
5598
|
+
id: "bitbucket",
|
|
5599
|
+
name: "Bitbucket Cloud",
|
|
5600
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/bitbucket.png",
|
|
5601
|
+
description: "Manage Bitbucket Cloud workspaces, repositories, branches, commits, pull requests, issues, and pipelines",
|
|
5602
|
+
category: "Engineering",
|
|
5603
|
+
tools: [...BITBUCKET_TOOLS],
|
|
5604
|
+
authType: "oauth",
|
|
5605
|
+
oauth,
|
|
5606
|
+
async onInit() {
|
|
5607
|
+
logger24.debug("Bitbucket integration initialized");
|
|
5608
|
+
},
|
|
5609
|
+
async onAfterConnect() {
|
|
5610
|
+
logger24.debug("Bitbucket integration connected");
|
|
5611
|
+
}
|
|
5612
|
+
};
|
|
5613
|
+
}
|
|
5614
|
+
// src/integrations/smartthings.ts
|
|
5615
|
+
var logger25 = createLogger("SmartThings");
|
|
5616
|
+
var SMARTTHINGS_SCOPES = [
|
|
5617
|
+
"r:locations:*",
|
|
5618
|
+
"x:locations:*",
|
|
5619
|
+
"r:devices:*",
|
|
5620
|
+
"x:devices:*",
|
|
5621
|
+
"r:scenes:*",
|
|
5622
|
+
"x:scenes:*",
|
|
5623
|
+
"r:rules:*",
|
|
5624
|
+
"x:rules:*"
|
|
5625
|
+
];
|
|
5626
|
+
var SMARTTHINGS_TOOLS = [
|
|
5627
|
+
"smartthings_list_locations",
|
|
5628
|
+
"smartthings_get_location",
|
|
5629
|
+
"smartthings_list_rooms",
|
|
5630
|
+
"smartthings_get_room",
|
|
5631
|
+
"smartthings_list_devices",
|
|
5632
|
+
"smartthings_get_device",
|
|
5633
|
+
"smartthings_get_device_status",
|
|
5634
|
+
"smartthings_execute_device_command",
|
|
5635
|
+
"smartthings_list_scenes",
|
|
5636
|
+
"smartthings_execute_scene",
|
|
5637
|
+
"smartthings_list_rules",
|
|
5638
|
+
"smartthings_get_rule",
|
|
5639
|
+
"smartthings_create_rule",
|
|
5640
|
+
"smartthings_update_rule",
|
|
5641
|
+
"smartthings_delete_rule"
|
|
5642
|
+
];
|
|
5643
|
+
function smartthingsIntegration(config = {}) {
|
|
5644
|
+
const accessToken = config.accessToken ?? getEnv("SMARTTHINGS_ACCESS_TOKEN");
|
|
5645
|
+
const oauth = {
|
|
5646
|
+
provider: "smartthings",
|
|
5647
|
+
clientId: config.clientId ?? getEnv("SMARTTHINGS_CLIENT_ID"),
|
|
5648
|
+
clientSecret: config.clientSecret ?? getEnv("SMARTTHINGS_CLIENT_SECRET"),
|
|
5649
|
+
scopes: config.scopes ?? [...SMARTTHINGS_SCOPES],
|
|
5650
|
+
redirectUri: config.redirectUri,
|
|
5651
|
+
config
|
|
5652
|
+
};
|
|
5653
|
+
return {
|
|
5654
|
+
id: "smartthings",
|
|
5655
|
+
name: "Samsung SmartThings",
|
|
5656
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/smartthings.png",
|
|
5657
|
+
description: "Manage SmartThings locations, rooms, devices, commands, scenes, and rules",
|
|
5658
|
+
category: "Other",
|
|
5659
|
+
tools: [...SMARTTHINGS_TOOLS],
|
|
5660
|
+
authType: accessToken ? "apiKey" : "oauth",
|
|
5661
|
+
oauth,
|
|
5662
|
+
getHeaders: () => {
|
|
5663
|
+
const headers = {};
|
|
5664
|
+
if (accessToken)
|
|
5665
|
+
headers.Authorization = `Bearer ${accessToken}`;
|
|
5666
|
+
return headers;
|
|
5667
|
+
},
|
|
5668
|
+
async onInit() {
|
|
5669
|
+
logger25.debug("SmartThings integration initialized");
|
|
5670
|
+
},
|
|
5671
|
+
async onAfterConnect() {
|
|
5672
|
+
logger25.debug("SmartThings integration connected");
|
|
5673
|
+
}
|
|
5674
|
+
};
|
|
5675
|
+
}
|
|
5057
5676
|
// src/integrations/linear.ts
|
|
5058
|
-
var
|
|
5677
|
+
var logger26 = createLogger("Linear");
|
|
5059
5678
|
var LINEAR_TOOLS = [
|
|
5060
5679
|
"linear_create_issue",
|
|
5061
5680
|
"linear_list_issues",
|
|
@@ -5110,15 +5729,15 @@ function linearIntegration(config = {}) {
|
|
|
5110
5729
|
tools: [...LINEAR_TOOLS],
|
|
5111
5730
|
oauth,
|
|
5112
5731
|
async onInit(_client) {
|
|
5113
|
-
|
|
5732
|
+
logger26.debug("Linear integration initialized");
|
|
5114
5733
|
},
|
|
5115
5734
|
async onAfterConnect(_client) {
|
|
5116
|
-
|
|
5735
|
+
logger26.debug("Linear integration connected");
|
|
5117
5736
|
}
|
|
5118
5737
|
};
|
|
5119
5738
|
}
|
|
5120
5739
|
// src/integrations/railway.ts
|
|
5121
|
-
var
|
|
5740
|
+
var logger27 = createLogger("Railway");
|
|
5122
5741
|
var RAILWAY_SCOPES = [
|
|
5123
5742
|
"openid",
|
|
5124
5743
|
"profile",
|
|
@@ -5223,15 +5842,15 @@ function railwayIntegration(config = {}) {
|
|
|
5223
5842
|
tools: [...RAILWAY_TOOLS],
|
|
5224
5843
|
oauth,
|
|
5225
5844
|
async onInit(_client) {
|
|
5226
|
-
|
|
5845
|
+
logger27.debug("Railway integration initialized");
|
|
5227
5846
|
},
|
|
5228
5847
|
async onAfterConnect(_client) {
|
|
5229
|
-
|
|
5848
|
+
logger27.debug("Railway integration connected");
|
|
5230
5849
|
}
|
|
5231
5850
|
};
|
|
5232
5851
|
}
|
|
5233
5852
|
// src/integrations/vercel.ts
|
|
5234
|
-
var
|
|
5853
|
+
var logger28 = createLogger("Vercel");
|
|
5235
5854
|
var VERCEL_TOOLS = [
|
|
5236
5855
|
"vercel_list_projects",
|
|
5237
5856
|
"vercel_get_project",
|
|
@@ -5274,15 +5893,15 @@ function vercelIntegration(config = {}) {
|
|
|
5274
5893
|
tools: [...VERCEL_TOOLS],
|
|
5275
5894
|
oauth,
|
|
5276
5895
|
async onInit(_client) {
|
|
5277
|
-
|
|
5896
|
+
logger28.debug("Vercel integration initialized");
|
|
5278
5897
|
},
|
|
5279
5898
|
async onAfterConnect(_client) {
|
|
5280
|
-
|
|
5899
|
+
logger28.debug("Vercel integration connected");
|
|
5281
5900
|
}
|
|
5282
5901
|
};
|
|
5283
5902
|
}
|
|
5284
5903
|
// src/integrations/zendesk.ts
|
|
5285
|
-
var
|
|
5904
|
+
var logger29 = createLogger("Zendesk");
|
|
5286
5905
|
var ZENDESK_TOOLS = [
|
|
5287
5906
|
"zendesk_list_tickets",
|
|
5288
5907
|
"zendesk_get_ticket",
|
|
@@ -5331,15 +5950,15 @@ function zendeskIntegration(config = {}) {
|
|
|
5331
5950
|
tools: [...ZENDESK_TOOLS],
|
|
5332
5951
|
oauth,
|
|
5333
5952
|
async onInit(_client) {
|
|
5334
|
-
|
|
5953
|
+
logger29.debug("Zendesk integration initialized");
|
|
5335
5954
|
},
|
|
5336
5955
|
async onAfterConnect(_client) {
|
|
5337
|
-
|
|
5956
|
+
logger29.debug("Zendesk integration connected");
|
|
5338
5957
|
}
|
|
5339
5958
|
};
|
|
5340
5959
|
}
|
|
5341
5960
|
// src/integrations/stripe.ts
|
|
5342
|
-
var
|
|
5961
|
+
var logger30 = createLogger("Stripe");
|
|
5343
5962
|
var STRIPE_TOOLS = [
|
|
5344
5963
|
"stripe_list_customers",
|
|
5345
5964
|
"stripe_get_customer",
|
|
@@ -5396,15 +6015,15 @@ function stripeIntegration(config = {}) {
|
|
|
5396
6015
|
tools: [...STRIPE_TOOLS],
|
|
5397
6016
|
oauth,
|
|
5398
6017
|
async onInit(_client) {
|
|
5399
|
-
|
|
6018
|
+
logger30.debug("Stripe integration initialized");
|
|
5400
6019
|
},
|
|
5401
6020
|
async onAfterConnect(_client) {
|
|
5402
|
-
|
|
6021
|
+
logger30.debug("Stripe integration connected");
|
|
5403
6022
|
}
|
|
5404
6023
|
};
|
|
5405
6024
|
}
|
|
5406
6025
|
// src/integrations/gcal.ts
|
|
5407
|
-
var
|
|
6026
|
+
var logger31 = createLogger("Google Calendar");
|
|
5408
6027
|
var GCAL_TOOLS = [
|
|
5409
6028
|
"gcal_create_calendar",
|
|
5410
6029
|
"gcal_create_event",
|
|
@@ -5438,15 +6057,15 @@ function gcalIntegration(config = {}) {
|
|
|
5438
6057
|
tools: [...GCAL_TOOLS],
|
|
5439
6058
|
oauth,
|
|
5440
6059
|
async onInit(_client) {
|
|
5441
|
-
|
|
6060
|
+
logger31.debug("Google Calendar integration initialized");
|
|
5442
6061
|
},
|
|
5443
6062
|
async onAfterConnect(_client) {
|
|
5444
|
-
|
|
6063
|
+
logger31.debug("Google Calendar integration connected");
|
|
5445
6064
|
}
|
|
5446
6065
|
};
|
|
5447
6066
|
}
|
|
5448
6067
|
// src/integrations/gtasks.ts
|
|
5449
|
-
var
|
|
6068
|
+
var logger32 = createLogger("Google Tasks");
|
|
5450
6069
|
var GTASKS_TOOLS = [
|
|
5451
6070
|
"gtasks_clear_completed",
|
|
5452
6071
|
"gtasks_create_task",
|
|
@@ -5482,15 +6101,15 @@ function gtasksIntegration(config = {}) {
|
|
|
5482
6101
|
tools: [...GTASKS_TOOLS],
|
|
5483
6102
|
oauth,
|
|
5484
6103
|
async onInit(_client) {
|
|
5485
|
-
|
|
6104
|
+
logger32.debug("Google Tasks integration initialized");
|
|
5486
6105
|
},
|
|
5487
6106
|
async onAfterConnect(_client) {
|
|
5488
|
-
|
|
6107
|
+
logger32.debug("Google Tasks integration connected");
|
|
5489
6108
|
}
|
|
5490
6109
|
};
|
|
5491
6110
|
}
|
|
5492
6111
|
// src/integrations/gkeep.ts
|
|
5493
|
-
var
|
|
6112
|
+
var logger33 = createLogger("Google Keep");
|
|
5494
6113
|
var GKEEP_TOOLS = [
|
|
5495
6114
|
"gkeep_list_notes",
|
|
5496
6115
|
"gkeep_get_note",
|
|
@@ -5522,15 +6141,15 @@ function gkeepIntegration(config = {}) {
|
|
|
5522
6141
|
tools: [...GKEEP_TOOLS],
|
|
5523
6142
|
oauth,
|
|
5524
6143
|
async onInit(_client) {
|
|
5525
|
-
|
|
6144
|
+
logger33.debug("Google Keep integration initialized");
|
|
5526
6145
|
},
|
|
5527
6146
|
async onAfterConnect(_client) {
|
|
5528
|
-
|
|
6147
|
+
logger33.debug("Google Keep integration connected");
|
|
5529
6148
|
}
|
|
5530
6149
|
};
|
|
5531
6150
|
}
|
|
5532
6151
|
// src/integrations/gcontacts.ts
|
|
5533
|
-
var
|
|
6152
|
+
var logger34 = createLogger("Google Contacts");
|
|
5534
6153
|
var GCONTACTS_TOOLS = [
|
|
5535
6154
|
"gcontacts_batch_get_contacts",
|
|
5536
6155
|
"gcontacts_copy_other_contact",
|
|
@@ -5564,15 +6183,15 @@ function gcontactsIntegration(config = {}) {
|
|
|
5564
6183
|
tools: [...GCONTACTS_TOOLS],
|
|
5565
6184
|
oauth,
|
|
5566
6185
|
async onInit(_client) {
|
|
5567
|
-
|
|
6186
|
+
logger34.debug("Google Contacts integration initialized");
|
|
5568
6187
|
},
|
|
5569
6188
|
async onAfterConnect(_client) {
|
|
5570
|
-
|
|
6189
|
+
logger34.debug("Google Contacts integration connected");
|
|
5571
6190
|
}
|
|
5572
6191
|
};
|
|
5573
6192
|
}
|
|
5574
6193
|
// src/integrations/outlook.ts
|
|
5575
|
-
var
|
|
6194
|
+
var logger35 = createLogger("Outlook");
|
|
5576
6195
|
var OUTLOOK_TOOLS = [
|
|
5577
6196
|
"outlook_accept_event",
|
|
5578
6197
|
"outlook_create_draft",
|
|
@@ -5619,15 +6238,15 @@ function outlookIntegration(config = {}) {
|
|
|
5619
6238
|
tools: [...OUTLOOK_TOOLS],
|
|
5620
6239
|
oauth,
|
|
5621
6240
|
async onInit(_client) {
|
|
5622
|
-
|
|
6241
|
+
logger35.debug("Outlook integration initialized");
|
|
5623
6242
|
},
|
|
5624
6243
|
async onAfterConnect(_client) {
|
|
5625
|
-
|
|
6244
|
+
logger35.debug("Outlook integration connected");
|
|
5626
6245
|
}
|
|
5627
6246
|
};
|
|
5628
6247
|
}
|
|
5629
6248
|
// src/integrations/teams.ts
|
|
5630
|
-
var
|
|
6249
|
+
var logger36 = createLogger("Teams");
|
|
5631
6250
|
var TEAMS_SCOPES = [
|
|
5632
6251
|
"offline_access",
|
|
5633
6252
|
"User.Read",
|
|
@@ -5677,15 +6296,15 @@ function teamsIntegration(config = {}) {
|
|
|
5677
6296
|
tools: [...TEAMS_TOOLS],
|
|
5678
6297
|
oauth,
|
|
5679
6298
|
async onInit(_client) {
|
|
5680
|
-
|
|
6299
|
+
logger36.debug("Teams integration initialized");
|
|
5681
6300
|
},
|
|
5682
6301
|
async onAfterConnect(_client) {
|
|
5683
|
-
|
|
6302
|
+
logger36.debug("Teams integration connected");
|
|
5684
6303
|
}
|
|
5685
6304
|
};
|
|
5686
6305
|
}
|
|
5687
6306
|
// src/integrations/airtable.ts
|
|
5688
|
-
var
|
|
6307
|
+
var logger37 = createLogger("Airtable");
|
|
5689
6308
|
var AIRTABLE_TOOLS = [
|
|
5690
6309
|
"airtable_list_bases",
|
|
5691
6310
|
"airtable_get_base",
|
|
@@ -5731,15 +6350,15 @@ function airtableIntegration(config = {}) {
|
|
|
5731
6350
|
tools: [...AIRTABLE_TOOLS],
|
|
5732
6351
|
oauth,
|
|
5733
6352
|
async onInit(_client) {
|
|
5734
|
-
|
|
6353
|
+
logger37.debug("Airtable integration initialized");
|
|
5735
6354
|
},
|
|
5736
6355
|
async onAfterConnect(_client) {
|
|
5737
|
-
|
|
6356
|
+
logger37.debug("Airtable integration connected");
|
|
5738
6357
|
}
|
|
5739
6358
|
};
|
|
5740
6359
|
}
|
|
5741
6360
|
// src/integrations/astronomer.ts
|
|
5742
|
-
var
|
|
6361
|
+
var logger38 = createLogger("Astronomer");
|
|
5743
6362
|
var ASTRONOMER_TOOLS = [
|
|
5744
6363
|
"astronomer_get_self",
|
|
5745
6364
|
"astronomer_list_organizations",
|
|
@@ -5774,15 +6393,15 @@ function astronomerIntegration(options = {}) {
|
|
|
5774
6393
|
};
|
|
5775
6394
|
},
|
|
5776
6395
|
async onInit(_client) {
|
|
5777
|
-
|
|
6396
|
+
logger38.debug("Astronomer integration initialized");
|
|
5778
6397
|
},
|
|
5779
6398
|
async onAfterConnect(_client) {
|
|
5780
|
-
|
|
6399
|
+
logger38.debug("Astronomer integration connected");
|
|
5781
6400
|
}
|
|
5782
6401
|
};
|
|
5783
6402
|
}
|
|
5784
6403
|
// src/integrations/betterstack.ts
|
|
5785
|
-
var
|
|
6404
|
+
var logger39 = createLogger("BetterStack");
|
|
5786
6405
|
var BETTERSTACK_TOOLS = [
|
|
5787
6406
|
"betterstack_list_sources",
|
|
5788
6407
|
"betterstack_get_source",
|
|
@@ -5815,15 +6434,15 @@ function betterstackIntegration(options = {}) {
|
|
|
5815
6434
|
};
|
|
5816
6435
|
},
|
|
5817
6436
|
async onInit(_client) {
|
|
5818
|
-
|
|
6437
|
+
logger39.debug("Better Stack integration initialized");
|
|
5819
6438
|
},
|
|
5820
6439
|
async onAfterConnect(_client) {
|
|
5821
|
-
|
|
6440
|
+
logger39.debug("Better Stack integration connected");
|
|
5822
6441
|
}
|
|
5823
6442
|
};
|
|
5824
6443
|
}
|
|
5825
6444
|
// src/integrations/todoist.ts
|
|
5826
|
-
var
|
|
6445
|
+
var logger40 = createLogger("Todoist");
|
|
5827
6446
|
var TODOIST_TOOLS = [
|
|
5828
6447
|
"todoist_list_projects",
|
|
5829
6448
|
"todoist_get_project",
|
|
@@ -5878,15 +6497,15 @@ function todoistIntegration(config = {}) {
|
|
|
5878
6497
|
tools: [...TODOIST_TOOLS],
|
|
5879
6498
|
oauth,
|
|
5880
6499
|
async onInit(_client) {
|
|
5881
|
-
|
|
6500
|
+
logger40.debug("Todoist integration initialized");
|
|
5882
6501
|
},
|
|
5883
6502
|
async onAfterConnect(_client) {
|
|
5884
|
-
|
|
6503
|
+
logger40.debug("Todoist integration connected");
|
|
5885
6504
|
}
|
|
5886
6505
|
};
|
|
5887
6506
|
}
|
|
5888
6507
|
// src/integrations/whatsapp.ts
|
|
5889
|
-
var
|
|
6508
|
+
var logger41 = createLogger("WhatsApp");
|
|
5890
6509
|
var WHATSAPP_TOOLS = [
|
|
5891
6510
|
"whatsapp_send_message",
|
|
5892
6511
|
"whatsapp_reply_message",
|
|
@@ -5935,15 +6554,15 @@ function whatsappIntegration(config = {}) {
|
|
|
5935
6554
|
tools: [...WHATSAPP_TOOLS],
|
|
5936
6555
|
oauth,
|
|
5937
6556
|
async onInit(_client) {
|
|
5938
|
-
|
|
6557
|
+
logger41.debug("WhatsApp Business integration initialized");
|
|
5939
6558
|
},
|
|
5940
6559
|
async onAfterConnect(_client) {
|
|
5941
|
-
|
|
6560
|
+
logger41.debug("WhatsApp Business integration connected");
|
|
5942
6561
|
}
|
|
5943
6562
|
};
|
|
5944
6563
|
}
|
|
5945
6564
|
// src/integrations/calcom.ts
|
|
5946
|
-
var
|
|
6565
|
+
var logger42 = createLogger("Cal.com");
|
|
5947
6566
|
var CALCOM_TOOLS = [
|
|
5948
6567
|
"calcom_list_bookings",
|
|
5949
6568
|
"calcom_get_booking",
|
|
@@ -6019,15 +6638,15 @@ function calcomIntegration(config = {}) {
|
|
|
6019
6638
|
tools: [...CALCOM_TOOLS],
|
|
6020
6639
|
oauth,
|
|
6021
6640
|
async onInit(_client) {
|
|
6022
|
-
|
|
6641
|
+
logger42.debug("Cal.com integration initialized");
|
|
6023
6642
|
},
|
|
6024
6643
|
async onAfterConnect(_client) {
|
|
6025
|
-
|
|
6644
|
+
logger42.debug("Cal.com integration connected");
|
|
6026
6645
|
}
|
|
6027
6646
|
};
|
|
6028
6647
|
}
|
|
6029
6648
|
// src/integrations/ramp.ts
|
|
6030
|
-
var
|
|
6649
|
+
var logger43 = createLogger("Ramp");
|
|
6031
6650
|
var RAMP_TOOLS = [
|
|
6032
6651
|
"ramp_list_transactions",
|
|
6033
6652
|
"ramp_get_transaction",
|
|
@@ -6059,15 +6678,15 @@ function rampIntegration(config = {}) {
|
|
|
6059
6678
|
tools: [...RAMP_TOOLS],
|
|
6060
6679
|
oauth,
|
|
6061
6680
|
async onInit(_client) {
|
|
6062
|
-
|
|
6681
|
+
logger43.debug("Ramp integration initialized");
|
|
6063
6682
|
},
|
|
6064
6683
|
async onAfterConnect(_client) {
|
|
6065
|
-
|
|
6684
|
+
logger43.debug("Ramp integration connected");
|
|
6066
6685
|
}
|
|
6067
6686
|
};
|
|
6068
6687
|
}
|
|
6069
6688
|
// src/integrations/onedrive.ts
|
|
6070
|
-
var
|
|
6689
|
+
var logger44 = createLogger("OneDrive");
|
|
6071
6690
|
var ONEDRIVE_TOOLS = [
|
|
6072
6691
|
"onedrive_create_folder",
|
|
6073
6692
|
"onedrive_delete_file",
|
|
@@ -6099,10 +6718,10 @@ function onedriveIntegration(config = {}) {
|
|
|
6099
6718
|
tools: [...ONEDRIVE_TOOLS],
|
|
6100
6719
|
oauth,
|
|
6101
6720
|
async onInit(_client) {
|
|
6102
|
-
|
|
6721
|
+
logger44.debug("OneDrive integration initialized");
|
|
6103
6722
|
},
|
|
6104
6723
|
async onAfterConnect(_client) {
|
|
6105
|
-
|
|
6724
|
+
logger44.debug("OneDrive integration connected");
|
|
6106
6725
|
}
|
|
6107
6726
|
};
|
|
6108
6727
|
}
|
|
@@ -6140,7 +6759,7 @@ function plannerIntegration(config = {}) {
|
|
|
6140
6759
|
};
|
|
6141
6760
|
}
|
|
6142
6761
|
// src/integrations/dropbox.ts
|
|
6143
|
-
var
|
|
6762
|
+
var logger45 = createLogger("Dropbox");
|
|
6144
6763
|
var DROPBOX_TOOLS = [
|
|
6145
6764
|
"dropbox_get_current_account",
|
|
6146
6765
|
"dropbox_get_space_usage",
|
|
@@ -6182,15 +6801,15 @@ function dropboxIntegration(options = {}) {
|
|
|
6182
6801
|
authType: "oauth",
|
|
6183
6802
|
oauth,
|
|
6184
6803
|
async onInit(_client) {
|
|
6185
|
-
|
|
6804
|
+
logger45.debug("Dropbox integration initialized");
|
|
6186
6805
|
},
|
|
6187
6806
|
async onAfterConnect(_client) {
|
|
6188
|
-
|
|
6807
|
+
logger45.debug("Dropbox integration connected");
|
|
6189
6808
|
}
|
|
6190
6809
|
};
|
|
6191
6810
|
}
|
|
6192
6811
|
// src/integrations/paper.ts
|
|
6193
|
-
var
|
|
6812
|
+
var logger46 = createLogger("Paper");
|
|
6194
6813
|
var PAPER_SCOPES = [
|
|
6195
6814
|
"account_info.read",
|
|
6196
6815
|
"files.metadata.read",
|
|
@@ -6236,15 +6855,15 @@ function paperIntegration(config = {}) {
|
|
|
6236
6855
|
authType: "oauth",
|
|
6237
6856
|
oauth,
|
|
6238
6857
|
async onInit(_client) {
|
|
6239
|
-
|
|
6858
|
+
logger46.debug("Paper integration initialized");
|
|
6240
6859
|
},
|
|
6241
6860
|
async onAfterConnect(_client) {
|
|
6242
|
-
|
|
6861
|
+
logger46.debug("Paper integration connected");
|
|
6243
6862
|
}
|
|
6244
6863
|
};
|
|
6245
6864
|
}
|
|
6246
6865
|
// src/integrations/gdocs.ts
|
|
6247
|
-
var
|
|
6866
|
+
var logger47 = createLogger("Google Docs");
|
|
6248
6867
|
var GDOCS_TOOLS = [
|
|
6249
6868
|
"gdocs_append_text",
|
|
6250
6869
|
"gdocs_batch_update",
|
|
@@ -6274,15 +6893,15 @@ function gdocsIntegration(config = {}) {
|
|
|
6274
6893
|
tools: [...GDOCS_TOOLS],
|
|
6275
6894
|
oauth,
|
|
6276
6895
|
async onInit(_client) {
|
|
6277
|
-
|
|
6896
|
+
logger47.debug("Google Docs integration initialized");
|
|
6278
6897
|
},
|
|
6279
6898
|
async onAfterConnect(_client) {
|
|
6280
|
-
|
|
6899
|
+
logger47.debug("Google Docs integration connected");
|
|
6281
6900
|
}
|
|
6282
6901
|
};
|
|
6283
6902
|
}
|
|
6284
6903
|
// src/integrations/gsheets.ts
|
|
6285
|
-
var
|
|
6904
|
+
var logger48 = createLogger("Google Sheets");
|
|
6286
6905
|
var GSHEETS_TOOLS = [
|
|
6287
6906
|
"gsheets_append_values",
|
|
6288
6907
|
"gsheets_batch_update",
|
|
@@ -6312,15 +6931,15 @@ function gsheetsIntegration(config = {}) {
|
|
|
6312
6931
|
tools: [...GSHEETS_TOOLS],
|
|
6313
6932
|
oauth,
|
|
6314
6933
|
async onInit(_client) {
|
|
6315
|
-
|
|
6934
|
+
logger48.debug("Google Sheets integration initialized");
|
|
6316
6935
|
},
|
|
6317
6936
|
async onAfterConnect(_client) {
|
|
6318
|
-
|
|
6937
|
+
logger48.debug("Google Sheets integration connected");
|
|
6319
6938
|
}
|
|
6320
6939
|
};
|
|
6321
6940
|
}
|
|
6322
6941
|
// src/integrations/gslides.ts
|
|
6323
|
-
var
|
|
6942
|
+
var logger49 = createLogger("Google Slides");
|
|
6324
6943
|
var GSLIDES_TOOLS = [
|
|
6325
6944
|
"gslides_add_slide",
|
|
6326
6945
|
"gslides_batch_update",
|
|
@@ -6349,15 +6968,15 @@ function gslidesIntegration(config = {}) {
|
|
|
6349
6968
|
tools: [...GSLIDES_TOOLS],
|
|
6350
6969
|
oauth,
|
|
6351
6970
|
async onInit(_client) {
|
|
6352
|
-
|
|
6971
|
+
logger49.debug("Google Slides integration initialized");
|
|
6353
6972
|
},
|
|
6354
6973
|
async onAfterConnect(_client) {
|
|
6355
|
-
|
|
6974
|
+
logger49.debug("Google Slides integration connected");
|
|
6356
6975
|
}
|
|
6357
6976
|
};
|
|
6358
6977
|
}
|
|
6359
6978
|
// src/integrations/polar.ts
|
|
6360
|
-
var
|
|
6979
|
+
var logger50 = createLogger("Polar");
|
|
6361
6980
|
var POLAR_TOOLS = [
|
|
6362
6981
|
"polar_list_products",
|
|
6363
6982
|
"polar_get_product",
|
|
@@ -6414,15 +7033,15 @@ function polarIntegration(config = {}) {
|
|
|
6414
7033
|
tools: [...POLAR_TOOLS],
|
|
6415
7034
|
oauth,
|
|
6416
7035
|
async onInit(_client) {
|
|
6417
|
-
|
|
7036
|
+
logger50.debug("Polar integration initialized");
|
|
6418
7037
|
},
|
|
6419
7038
|
async onAfterConnect(_client) {
|
|
6420
|
-
|
|
7039
|
+
logger50.debug("Polar integration connected");
|
|
6421
7040
|
}
|
|
6422
7041
|
};
|
|
6423
7042
|
}
|
|
6424
7043
|
// src/integrations/supabase.ts
|
|
6425
|
-
var
|
|
7044
|
+
var logger51 = createLogger("Supabase");
|
|
6426
7045
|
var SUPABASE_API_BASE = "https://api.supabase.com";
|
|
6427
7046
|
var SUPABASE_TOOLS = [
|
|
6428
7047
|
"supabase_get_profile",
|
|
@@ -6460,10 +7079,10 @@ function supabaseIntegration(config = {}) {
|
|
|
6460
7079
|
};
|
|
6461
7080
|
},
|
|
6462
7081
|
async onInit(_client) {
|
|
6463
|
-
|
|
7082
|
+
logger51.debug("Supabase integration initialized (personal access token)");
|
|
6464
7083
|
},
|
|
6465
7084
|
async onAfterConnect(_client) {
|
|
6466
|
-
|
|
7085
|
+
logger51.debug("Supabase integration connected");
|
|
6467
7086
|
}
|
|
6468
7087
|
};
|
|
6469
7088
|
}
|
|
@@ -6493,15 +7112,15 @@ function supabaseIntegration(config = {}) {
|
|
|
6493
7112
|
tools: [...SUPABASE_TOOLS],
|
|
6494
7113
|
oauth,
|
|
6495
7114
|
async onInit(_client) {
|
|
6496
|
-
|
|
7115
|
+
logger51.debug("Supabase integration initialized");
|
|
6497
7116
|
},
|
|
6498
7117
|
async onAfterConnect(_client) {
|
|
6499
|
-
|
|
7118
|
+
logger51.debug("Supabase integration connected");
|
|
6500
7119
|
}
|
|
6501
7120
|
};
|
|
6502
7121
|
}
|
|
6503
7122
|
// src/integrations/phantom.ts
|
|
6504
|
-
var
|
|
7123
|
+
var logger52 = createLogger("Phantom");
|
|
6505
7124
|
var PHANTOM_TOOLS = [
|
|
6506
7125
|
"phantom_build_browse_deeplink",
|
|
6507
7126
|
"phantom_deeplink_provider_reference"
|
|
@@ -6523,15 +7142,15 @@ function phantomIntegration(_options = {}) {
|
|
|
6523
7142
|
category: "Other",
|
|
6524
7143
|
tools: [...PHANTOM_TOOLS],
|
|
6525
7144
|
async onInit(_client) {
|
|
6526
|
-
|
|
7145
|
+
logger52.debug("Phantom integration initialized");
|
|
6527
7146
|
},
|
|
6528
7147
|
async onAfterConnect(_client) {
|
|
6529
|
-
|
|
7148
|
+
logger52.debug("Phantom integration connected");
|
|
6530
7149
|
}
|
|
6531
7150
|
};
|
|
6532
7151
|
}
|
|
6533
7152
|
// src/integrations/facebook.ts
|
|
6534
|
-
var
|
|
7153
|
+
var logger53 = createLogger("Facebook");
|
|
6535
7154
|
var FACEBOOK_SCOPES = [
|
|
6536
7155
|
"public_profile",
|
|
6537
7156
|
"email",
|
|
@@ -6577,15 +7196,15 @@ function facebookIntegration(config = {}) {
|
|
|
6577
7196
|
tools: [...FACEBOOK_TOOLS],
|
|
6578
7197
|
oauth,
|
|
6579
7198
|
async onInit(_client) {
|
|
6580
|
-
|
|
7199
|
+
logger53.debug("Facebook integration initialized");
|
|
6581
7200
|
},
|
|
6582
7201
|
async onAfterConnect(_client) {
|
|
6583
|
-
|
|
7202
|
+
logger53.debug("Facebook integration connected");
|
|
6584
7203
|
}
|
|
6585
7204
|
};
|
|
6586
7205
|
}
|
|
6587
7206
|
// src/integrations/figma.ts
|
|
6588
|
-
var
|
|
7207
|
+
var logger54 = createLogger("Figma");
|
|
6589
7208
|
var FIGMA_TOOLS = [
|
|
6590
7209
|
"figma_get_file",
|
|
6591
7210
|
"figma_get_file_nodes",
|
|
@@ -6651,15 +7270,15 @@ function figmaIntegration(config = {}) {
|
|
|
6651
7270
|
tools: [...FIGMA_TOOLS],
|
|
6652
7271
|
oauth,
|
|
6653
7272
|
async onInit(_client) {
|
|
6654
|
-
|
|
7273
|
+
logger54.debug("Figma integration initialized");
|
|
6655
7274
|
},
|
|
6656
7275
|
async onAfterConnect(_client) {
|
|
6657
|
-
|
|
7276
|
+
logger54.debug("Figma integration connected");
|
|
6658
7277
|
}
|
|
6659
7278
|
};
|
|
6660
7279
|
}
|
|
6661
7280
|
// src/integrations/intercom.ts
|
|
6662
|
-
var
|
|
7281
|
+
var logger55 = createLogger("Intercom");
|
|
6663
7282
|
var INTERCOM_TOOLS = [
|
|
6664
7283
|
"intercom_list_contacts",
|
|
6665
7284
|
"intercom_get_contact",
|
|
@@ -6690,15 +7309,15 @@ function intercomIntegration(config = {}) {
|
|
|
6690
7309
|
tools: [...INTERCOM_TOOLS],
|
|
6691
7310
|
oauth,
|
|
6692
7311
|
async onInit(_client) {
|
|
6693
|
-
|
|
7312
|
+
logger55.debug("Intercom integration initialized");
|
|
6694
7313
|
},
|
|
6695
7314
|
async onAfterConnect(_client) {
|
|
6696
|
-
|
|
7315
|
+
logger55.debug("Intercom integration connected");
|
|
6697
7316
|
}
|
|
6698
7317
|
};
|
|
6699
7318
|
}
|
|
6700
7319
|
// src/integrations/hubspot.ts
|
|
6701
|
-
var
|
|
7320
|
+
var logger56 = createLogger("HubSpot");
|
|
6702
7321
|
var HUBSPOT_TOOLS = [
|
|
6703
7322
|
"hubspot_list_contacts",
|
|
6704
7323
|
"hubspot_get_contact",
|
|
@@ -6748,15 +7367,15 @@ function hubspotIntegration(config = {}) {
|
|
|
6748
7367
|
tools: [...HUBSPOT_TOOLS],
|
|
6749
7368
|
oauth,
|
|
6750
7369
|
async onInit(_client) {
|
|
6751
|
-
|
|
7370
|
+
logger56.debug("HubSpot integration initialized");
|
|
6752
7371
|
},
|
|
6753
7372
|
async onAfterConnect(_client) {
|
|
6754
|
-
|
|
7373
|
+
logger56.debug("HubSpot integration connected");
|
|
6755
7374
|
}
|
|
6756
7375
|
};
|
|
6757
7376
|
}
|
|
6758
7377
|
// src/integrations/instagram.ts
|
|
6759
|
-
var
|
|
7378
|
+
var logger57 = createLogger("Instagram");
|
|
6760
7379
|
var INSTAGRAM_SCOPES = [
|
|
6761
7380
|
"pages_show_list",
|
|
6762
7381
|
"pages_read_engagement",
|
|
@@ -6806,15 +7425,15 @@ function instagramIntegration(config = {}) {
|
|
|
6806
7425
|
tools: [...INSTAGRAM_TOOLS],
|
|
6807
7426
|
oauth,
|
|
6808
7427
|
async onInit(_client) {
|
|
6809
|
-
|
|
7428
|
+
logger57.debug("Instagram integration initialized");
|
|
6810
7429
|
},
|
|
6811
7430
|
async onAfterConnect(_client) {
|
|
6812
|
-
|
|
7431
|
+
logger57.debug("Instagram integration connected");
|
|
6813
7432
|
}
|
|
6814
7433
|
};
|
|
6815
7434
|
}
|
|
6816
7435
|
// src/integrations/youtube.ts
|
|
6817
|
-
var
|
|
7436
|
+
var logger58 = createLogger("YouTube");
|
|
6818
7437
|
var YOUTUBE_TOOLS = [
|
|
6819
7438
|
"youtube_add_comment",
|
|
6820
7439
|
"youtube_add_to_playlist",
|
|
@@ -6860,15 +7479,15 @@ function youtubeIntegration(config = {}) {
|
|
|
6860
7479
|
tools: [...YOUTUBE_TOOLS],
|
|
6861
7480
|
oauth,
|
|
6862
7481
|
async onInit(_client) {
|
|
6863
|
-
|
|
7482
|
+
logger58.debug("YouTube integration initialized");
|
|
6864
7483
|
},
|
|
6865
7484
|
async onAfterConnect(_client) {
|
|
6866
|
-
|
|
7485
|
+
logger58.debug("YouTube integration connected");
|
|
6867
7486
|
}
|
|
6868
7487
|
};
|
|
6869
7488
|
}
|
|
6870
7489
|
// src/integrations/cursor.ts
|
|
6871
|
-
var
|
|
7490
|
+
var logger59 = createLogger("Cursor");
|
|
6872
7491
|
var CURSOR_TOOLS = [
|
|
6873
7492
|
"cursor_list_agents",
|
|
6874
7493
|
"cursor_get_agent",
|
|
@@ -6888,15 +7507,15 @@ function cursorIntegration(_config = {}) {
|
|
|
6888
7507
|
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/cursor.jpeg",
|
|
6889
7508
|
tools: [...CURSOR_TOOLS],
|
|
6890
7509
|
async onInit(_client) {
|
|
6891
|
-
|
|
7510
|
+
logger59.debug("Cursor integration initialized");
|
|
6892
7511
|
},
|
|
6893
7512
|
async onAfterConnect(_client) {
|
|
6894
|
-
|
|
7513
|
+
logger59.debug("Cursor integration connected");
|
|
6895
7514
|
}
|
|
6896
7515
|
};
|
|
6897
7516
|
}
|
|
6898
7517
|
// src/integrations/databricks.ts
|
|
6899
|
-
var
|
|
7518
|
+
var logger60 = createLogger("Databricks");
|
|
6900
7519
|
var DATABRICKS_SCOPES = ["all-apis", "offline_access"];
|
|
6901
7520
|
var DATABRICKS_TOOLS = [
|
|
6902
7521
|
"databricks_current_user",
|
|
@@ -6943,15 +7562,15 @@ function databricksIntegration(config = {}) {
|
|
|
6943
7562
|
tools: [...DATABRICKS_TOOLS],
|
|
6944
7563
|
oauth,
|
|
6945
7564
|
async onInit(_client) {
|
|
6946
|
-
|
|
7565
|
+
logger60.debug("Databricks integration initialized");
|
|
6947
7566
|
},
|
|
6948
7567
|
async onAfterConnect(_client) {
|
|
6949
|
-
|
|
7568
|
+
logger60.debug("Databricks integration connected");
|
|
6950
7569
|
}
|
|
6951
7570
|
};
|
|
6952
7571
|
}
|
|
6953
7572
|
// src/integrations/posthog.ts
|
|
6954
|
-
var
|
|
7573
|
+
var logger61 = createLogger("PostHog");
|
|
6955
7574
|
var DEFAULT_POSTHOG_BASE_URL = "https://us.posthog.com";
|
|
6956
7575
|
var POSTHOG_SCOPES = [
|
|
6957
7576
|
"openid",
|
|
@@ -7037,15 +7656,15 @@ function posthogIntegration(config = {}) {
|
|
|
7037
7656
|
tools: [...POSTHOG_TOOLS],
|
|
7038
7657
|
oauth,
|
|
7039
7658
|
async onInit(_client) {
|
|
7040
|
-
|
|
7659
|
+
logger61.debug("PostHog integration initialized");
|
|
7041
7660
|
},
|
|
7042
7661
|
async onAfterConnect(_client) {
|
|
7043
|
-
|
|
7662
|
+
logger61.debug("PostHog integration connected");
|
|
7044
7663
|
}
|
|
7045
7664
|
};
|
|
7046
7665
|
}
|
|
7047
7666
|
// src/integrations/postman.ts
|
|
7048
|
-
var
|
|
7667
|
+
var logger62 = createLogger("Postman");
|
|
7049
7668
|
var POSTMAN_TOOLS = [
|
|
7050
7669
|
"postman_get_me",
|
|
7051
7670
|
"postman_list_workspaces",
|
|
@@ -7076,15 +7695,15 @@ function postmanIntegration(options = {}) {
|
|
|
7076
7695
|
};
|
|
7077
7696
|
},
|
|
7078
7697
|
async onInit(_client) {
|
|
7079
|
-
|
|
7698
|
+
logger62.debug("Postman integration initialized");
|
|
7080
7699
|
},
|
|
7081
7700
|
async onAfterConnect(_client) {
|
|
7082
|
-
|
|
7701
|
+
logger62.debug("Postman integration connected");
|
|
7083
7702
|
}
|
|
7084
7703
|
};
|
|
7085
7704
|
}
|
|
7086
7705
|
// src/integrations/sentry.ts
|
|
7087
|
-
var
|
|
7706
|
+
var logger63 = createLogger("Sentry");
|
|
7088
7707
|
var SENTRY_SCOPES = [
|
|
7089
7708
|
"org:read",
|
|
7090
7709
|
"project:read",
|
|
@@ -7133,15 +7752,15 @@ function sentryIntegration(config = {}) {
|
|
|
7133
7752
|
tools: [...SENTRY_TOOLS],
|
|
7134
7753
|
oauth,
|
|
7135
7754
|
async onInit(_client) {
|
|
7136
|
-
|
|
7755
|
+
logger63.debug("Sentry integration initialized");
|
|
7137
7756
|
},
|
|
7138
7757
|
async onAfterConnect(_client) {
|
|
7139
|
-
|
|
7758
|
+
logger63.debug("Sentry integration connected");
|
|
7140
7759
|
}
|
|
7141
7760
|
};
|
|
7142
7761
|
}
|
|
7143
7762
|
// src/integrations/datadog.ts
|
|
7144
|
-
var
|
|
7763
|
+
var logger64 = createLogger("Datadog");
|
|
7145
7764
|
var DATADOG_SCOPES = [
|
|
7146
7765
|
"monitors_read",
|
|
7147
7766
|
"dashboards_read",
|
|
@@ -7171,10 +7790,10 @@ function datadogIntegration(config = {}) {
|
|
|
7171
7790
|
category: "Engineering",
|
|
7172
7791
|
tools: [...DATADOG_TOOLS],
|
|
7173
7792
|
async onInit(_client) {
|
|
7174
|
-
|
|
7793
|
+
logger64.debug("Datadog integration initialized");
|
|
7175
7794
|
},
|
|
7176
7795
|
async onAfterConnect(_client) {
|
|
7177
|
-
|
|
7796
|
+
logger64.debug("Datadog integration connected");
|
|
7178
7797
|
}
|
|
7179
7798
|
};
|
|
7180
7799
|
if (apiKey || applicationKey) {
|
|
@@ -7215,7 +7834,7 @@ function datadogIntegration(config = {}) {
|
|
|
7215
7834
|
};
|
|
7216
7835
|
}
|
|
7217
7836
|
// src/integrations/netlify.ts
|
|
7218
|
-
var
|
|
7837
|
+
var logger65 = createLogger("Netlify");
|
|
7219
7838
|
var NETLIFY_TOOLS = [
|
|
7220
7839
|
"netlify_get_current_user",
|
|
7221
7840
|
"netlify_list_accounts",
|
|
@@ -7278,15 +7897,15 @@ function netlifyIntegration(config = {}) {
|
|
|
7278
7897
|
tools: [...NETLIFY_TOOLS],
|
|
7279
7898
|
oauth,
|
|
7280
7899
|
async onInit(_client) {
|
|
7281
|
-
|
|
7900
|
+
logger65.debug("Netlify integration initialized");
|
|
7282
7901
|
},
|
|
7283
7902
|
async onAfterConnect(_client) {
|
|
7284
|
-
|
|
7903
|
+
logger65.debug("Netlify integration connected");
|
|
7285
7904
|
}
|
|
7286
7905
|
};
|
|
7287
7906
|
}
|
|
7288
7907
|
// src/integrations/redis.ts
|
|
7289
|
-
var
|
|
7908
|
+
var logger66 = createLogger("Redis Cloud");
|
|
7290
7909
|
var REDIS_TOOLS = [
|
|
7291
7910
|
"redis_list_subscriptions",
|
|
7292
7911
|
"redis_get_subscription",
|
|
@@ -7341,15 +7960,15 @@ function redisIntegration(options = {}) {
|
|
|
7341
7960
|
};
|
|
7342
7961
|
},
|
|
7343
7962
|
async onInit(_client) {
|
|
7344
|
-
|
|
7963
|
+
logger66.debug("Redis Cloud integration initialized");
|
|
7345
7964
|
},
|
|
7346
7965
|
async onAfterConnect(_client) {
|
|
7347
|
-
|
|
7966
|
+
logger66.debug("Redis Cloud integration connected");
|
|
7348
7967
|
}
|
|
7349
7968
|
};
|
|
7350
7969
|
}
|
|
7351
7970
|
// src/integrations/webflow.ts
|
|
7352
|
-
var
|
|
7971
|
+
var logger67 = createLogger("Webflow");
|
|
7353
7972
|
var WEBFLOW_TOOLS = [
|
|
7354
7973
|
"webflow_token_introspect",
|
|
7355
7974
|
"webflow_get_authorized_user",
|
|
@@ -7408,15 +8027,15 @@ function webflowIntegration(config = {}) {
|
|
|
7408
8027
|
tools: [...WEBFLOW_TOOLS],
|
|
7409
8028
|
oauth,
|
|
7410
8029
|
async onInit(_client) {
|
|
7411
|
-
|
|
8030
|
+
logger67.debug("Webflow integration initialized");
|
|
7412
8031
|
},
|
|
7413
8032
|
async onAfterConnect(_client) {
|
|
7414
|
-
|
|
8033
|
+
logger67.debug("Webflow integration connected");
|
|
7415
8034
|
}
|
|
7416
8035
|
};
|
|
7417
8036
|
}
|
|
7418
8037
|
// src/integrations/jira.ts
|
|
7419
|
-
var
|
|
8038
|
+
var logger68 = createLogger("Jira");
|
|
7420
8039
|
var JIRA_SCOPES = [
|
|
7421
8040
|
"read:jira-work",
|
|
7422
8041
|
"write:jira-work",
|
|
@@ -7461,15 +8080,15 @@ function jiraIntegration(config = {}) {
|
|
|
7461
8080
|
tools: [...JIRA_TOOLS],
|
|
7462
8081
|
oauth,
|
|
7463
8082
|
async onInit(_client) {
|
|
7464
|
-
|
|
8083
|
+
logger68.debug("Jira integration initialized");
|
|
7465
8084
|
},
|
|
7466
8085
|
async onAfterConnect(_client) {
|
|
7467
|
-
|
|
8086
|
+
logger68.debug("Jira integration connected");
|
|
7468
8087
|
}
|
|
7469
8088
|
};
|
|
7470
8089
|
}
|
|
7471
8090
|
// src/integrations/linkedin.ts
|
|
7472
|
-
var
|
|
8091
|
+
var logger69 = createLogger("LinkedIn");
|
|
7473
8092
|
var LINKEDIN_SCOPES = ["openid", "profile", "email", "w_member_social"];
|
|
7474
8093
|
var LINKEDIN_TOOLS = ["linkedin_get_userinfo", "linkedin_create_post"];
|
|
7475
8094
|
function linkedinIntegration(config = {}) {
|
|
@@ -7496,15 +8115,15 @@ function linkedinIntegration(config = {}) {
|
|
|
7496
8115
|
tools: [...LINKEDIN_TOOLS],
|
|
7497
8116
|
oauth,
|
|
7498
8117
|
async onInit(_client) {
|
|
7499
|
-
|
|
8118
|
+
logger69.debug("LinkedIn integration initialized");
|
|
7500
8119
|
},
|
|
7501
8120
|
async onAfterConnect(_client) {
|
|
7502
|
-
|
|
8121
|
+
logger69.debug("LinkedIn integration connected");
|
|
7503
8122
|
}
|
|
7504
8123
|
};
|
|
7505
8124
|
}
|
|
7506
8125
|
// src/integrations/threads.ts
|
|
7507
|
-
var
|
|
8126
|
+
var logger70 = createLogger("Threads");
|
|
7508
8127
|
var THREADS_SCOPES = [
|
|
7509
8128
|
"threads_basic",
|
|
7510
8129
|
"threads_content_publish",
|
|
@@ -7555,15 +8174,15 @@ function threadsIntegration(config = {}) {
|
|
|
7555
8174
|
tools: [...THREADS_TOOLS],
|
|
7556
8175
|
oauth,
|
|
7557
8176
|
async onInit(_client) {
|
|
7558
|
-
|
|
8177
|
+
logger70.debug("Threads integration initialized");
|
|
7559
8178
|
},
|
|
7560
8179
|
async onAfterConnect(_client) {
|
|
7561
|
-
|
|
8180
|
+
logger70.debug("Threads integration connected");
|
|
7562
8181
|
}
|
|
7563
8182
|
};
|
|
7564
8183
|
}
|
|
7565
8184
|
// src/integrations/tiktok.ts
|
|
7566
|
-
var
|
|
8185
|
+
var logger71 = createLogger("TikTok");
|
|
7567
8186
|
var TIKTOK_SCOPES = ["user.info.basic", "video.list"];
|
|
7568
8187
|
var TIKTOK_TOOLS = [
|
|
7569
8188
|
"tiktok_get_user_info",
|
|
@@ -7594,15 +8213,15 @@ function tiktokIntegration(config = {}) {
|
|
|
7594
8213
|
tools: [...TIKTOK_TOOLS],
|
|
7595
8214
|
oauth,
|
|
7596
8215
|
async onInit(_client) {
|
|
7597
|
-
|
|
8216
|
+
logger71.debug("TikTok integration initialized");
|
|
7598
8217
|
},
|
|
7599
8218
|
async onAfterConnect(_client) {
|
|
7600
|
-
|
|
8219
|
+
logger71.debug("TikTok integration connected");
|
|
7601
8220
|
}
|
|
7602
8221
|
};
|
|
7603
8222
|
}
|
|
7604
8223
|
// src/integrations/trello.ts
|
|
7605
|
-
var
|
|
8224
|
+
var logger72 = createLogger("Trello");
|
|
7606
8225
|
var TRELLO_TOOLS = [
|
|
7607
8226
|
"trello_get_member",
|
|
7608
8227
|
"trello_list_boards",
|
|
@@ -7639,15 +8258,15 @@ function trelloIntegration(options = {}) {
|
|
|
7639
8258
|
return { Authorization: `Bearer ${encodeCredential(apiKey, memberToken)}` };
|
|
7640
8259
|
},
|
|
7641
8260
|
async onInit(_client) {
|
|
7642
|
-
|
|
8261
|
+
logger72.debug("Trello integration initialized");
|
|
7643
8262
|
},
|
|
7644
8263
|
async onAfterConnect(_client) {
|
|
7645
|
-
|
|
8264
|
+
logger72.debug("Trello integration connected");
|
|
7646
8265
|
}
|
|
7647
8266
|
};
|
|
7648
8267
|
}
|
|
7649
8268
|
// src/integrations/typeform.ts
|
|
7650
|
-
var
|
|
8269
|
+
var logger73 = createLogger("Typeform");
|
|
7651
8270
|
var TYPEFORM_SCOPES = [
|
|
7652
8271
|
"offline",
|
|
7653
8272
|
"accounts:read",
|
|
@@ -7691,15 +8310,15 @@ function typeformIntegration(config = {}) {
|
|
|
7691
8310
|
tools: [...TYPEFORM_TOOLS],
|
|
7692
8311
|
oauth,
|
|
7693
8312
|
async onInit(_client) {
|
|
7694
|
-
|
|
8313
|
+
logger73.debug("Typeform integration initialized");
|
|
7695
8314
|
},
|
|
7696
8315
|
async onAfterConnect(_client) {
|
|
7697
|
-
|
|
8316
|
+
logger73.debug("Typeform integration connected");
|
|
7698
8317
|
}
|
|
7699
8318
|
};
|
|
7700
8319
|
}
|
|
7701
8320
|
// src/integrations/sharepoint.ts
|
|
7702
|
-
var
|
|
8321
|
+
var logger74 = createLogger("SharePoint");
|
|
7703
8322
|
var SHAREPOINT_SCOPES = ["Sites.ReadWrite.All", "Files.ReadWrite.All", "offline_access"];
|
|
7704
8323
|
var SHAREPOINT_TOOLS = [
|
|
7705
8324
|
"sharepoint_create_folder",
|
|
@@ -7738,15 +8357,15 @@ function sharepointIntegration(config = {}) {
|
|
|
7738
8357
|
tools: [...SHAREPOINT_TOOLS],
|
|
7739
8358
|
oauth,
|
|
7740
8359
|
async onInit(_client) {
|
|
7741
|
-
|
|
8360
|
+
logger74.debug("SharePoint integration initialized");
|
|
7742
8361
|
},
|
|
7743
8362
|
async onAfterConnect(_client) {
|
|
7744
|
-
|
|
8363
|
+
logger74.debug("SharePoint integration connected");
|
|
7745
8364
|
}
|
|
7746
8365
|
};
|
|
7747
8366
|
}
|
|
7748
8367
|
// src/integrations/xero.ts
|
|
7749
|
-
var
|
|
8368
|
+
var logger75 = createLogger("Xero");
|
|
7750
8369
|
var XERO_SCOPES = [
|
|
7751
8370
|
"openid",
|
|
7752
8371
|
"profile",
|
|
@@ -7793,15 +8412,15 @@ function xeroIntegration(config = {}) {
|
|
|
7793
8412
|
tools: [...XERO_TOOLS],
|
|
7794
8413
|
oauth,
|
|
7795
8414
|
async onInit(_client) {
|
|
7796
|
-
|
|
8415
|
+
logger75.debug("Xero integration initialized");
|
|
7797
8416
|
},
|
|
7798
8417
|
async onAfterConnect(_client) {
|
|
7799
|
-
|
|
8418
|
+
logger75.debug("Xero integration connected");
|
|
7800
8419
|
}
|
|
7801
8420
|
};
|
|
7802
8421
|
}
|
|
7803
8422
|
// src/integrations/salesforce.ts
|
|
7804
|
-
var
|
|
8423
|
+
var logger76 = createLogger("Salesforce");
|
|
7805
8424
|
var SALESFORCE_TOOLS = [
|
|
7806
8425
|
"salesforce_query",
|
|
7807
8426
|
"salesforce_get_limits",
|
|
@@ -7832,15 +8451,15 @@ function salesforceIntegration(config = {}) {
|
|
|
7832
8451
|
tools: [...SALESFORCE_TOOLS],
|
|
7833
8452
|
oauth,
|
|
7834
8453
|
async onInit(_client) {
|
|
7835
|
-
|
|
8454
|
+
logger76.debug("Salesforce integration initialized");
|
|
7836
8455
|
},
|
|
7837
8456
|
async onAfterConnect(_client) {
|
|
7838
|
-
|
|
8457
|
+
logger76.debug("Salesforce integration connected");
|
|
7839
8458
|
}
|
|
7840
8459
|
};
|
|
7841
8460
|
}
|
|
7842
8461
|
// src/integrations/attio.ts
|
|
7843
|
-
var
|
|
8462
|
+
var logger77 = createLogger("Attio");
|
|
7844
8463
|
var ATTIO_SCOPES = [
|
|
7845
8464
|
"record_permission:read-write",
|
|
7846
8465
|
"object_configuration:read",
|
|
@@ -7886,15 +8505,15 @@ function attioIntegration(config = {}) {
|
|
|
7886
8505
|
tools: [...ATTIO_TOOLS],
|
|
7887
8506
|
oauth,
|
|
7888
8507
|
async onInit(_client) {
|
|
7889
|
-
|
|
8508
|
+
logger77.debug("Attio integration initialized");
|
|
7890
8509
|
},
|
|
7891
8510
|
async onAfterConnect(_client) {
|
|
7892
|
-
|
|
8511
|
+
logger77.debug("Attio integration connected");
|
|
7893
8512
|
}
|
|
7894
8513
|
};
|
|
7895
8514
|
}
|
|
7896
8515
|
// src/integrations/gchat.ts
|
|
7897
|
-
var
|
|
8516
|
+
var logger78 = createLogger("Google Chat");
|
|
7898
8517
|
var GCHAT_SCOPES = [
|
|
7899
8518
|
"https://www.googleapis.com/auth/chat.messages",
|
|
7900
8519
|
"https://www.googleapis.com/auth/chat.spaces.readonly"
|
|
@@ -7933,15 +8552,15 @@ function gchatIntegration(config = {}) {
|
|
|
7933
8552
|
tools: [...GCHAT_TOOLS],
|
|
7934
8553
|
oauth,
|
|
7935
8554
|
async onInit(_client) {
|
|
7936
|
-
|
|
8555
|
+
logger78.debug("Google Chat integration initialized");
|
|
7937
8556
|
},
|
|
7938
8557
|
async onAfterConnect(_client) {
|
|
7939
|
-
|
|
8558
|
+
logger78.debug("Google Chat integration connected");
|
|
7940
8559
|
}
|
|
7941
8560
|
};
|
|
7942
8561
|
}
|
|
7943
8562
|
// src/integrations/shopify.ts
|
|
7944
|
-
var
|
|
8563
|
+
var logger79 = createLogger("Shopify");
|
|
7945
8564
|
var SHOPIFY_SCOPES = [
|
|
7946
8565
|
"read_products",
|
|
7947
8566
|
"write_products",
|
|
@@ -7990,15 +8609,15 @@ function shopifyIntegration(config = {}) {
|
|
|
7990
8609
|
tools: [...SHOPIFY_TOOLS],
|
|
7991
8610
|
oauth,
|
|
7992
8611
|
async onInit(_client) {
|
|
7993
|
-
|
|
8612
|
+
logger79.debug("Shopify integration initialized");
|
|
7994
8613
|
},
|
|
7995
8614
|
async onAfterConnect(_client) {
|
|
7996
|
-
|
|
8615
|
+
logger79.debug("Shopify integration connected");
|
|
7997
8616
|
}
|
|
7998
8617
|
};
|
|
7999
8618
|
}
|
|
8000
8619
|
// src/integrations/convex.ts
|
|
8001
|
-
var
|
|
8620
|
+
var logger80 = createLogger("Convex");
|
|
8002
8621
|
var CONVEX_TOOLS = [
|
|
8003
8622
|
"convex_management_token_details",
|
|
8004
8623
|
"convex_management_list_projects",
|
|
@@ -8035,15 +8654,15 @@ function convexIntegration(options = {}) {
|
|
|
8035
8654
|
return { Authorization: `Bearer ${accessToken}` };
|
|
8036
8655
|
},
|
|
8037
8656
|
async onInit(_client) {
|
|
8038
|
-
|
|
8657
|
+
logger80.debug("Convex integration initialized");
|
|
8039
8658
|
},
|
|
8040
8659
|
async onAfterConnect(_client) {
|
|
8041
|
-
|
|
8660
|
+
logger80.debug("Convex integration connected");
|
|
8042
8661
|
}
|
|
8043
8662
|
};
|
|
8044
8663
|
}
|
|
8045
8664
|
// src/integrations/etoro.ts
|
|
8046
|
-
var
|
|
8665
|
+
var logger81 = createLogger("eToro");
|
|
8047
8666
|
var ETORO_TOOLS = [
|
|
8048
8667
|
"etoro_get_identity",
|
|
8049
8668
|
"etoro_get_portfolio",
|
|
@@ -8073,15 +8692,15 @@ function etoroIntegration(options = {}) {
|
|
|
8073
8692
|
};
|
|
8074
8693
|
},
|
|
8075
8694
|
async onInit(_client) {
|
|
8076
|
-
|
|
8695
|
+
logger81.debug("eToro integration initialized");
|
|
8077
8696
|
},
|
|
8078
8697
|
async onAfterConnect(_client) {
|
|
8079
|
-
|
|
8698
|
+
logger81.debug("eToro integration connected");
|
|
8080
8699
|
}
|
|
8081
8700
|
};
|
|
8082
8701
|
}
|
|
8083
8702
|
// src/integrations/alpaca.ts
|
|
8084
|
-
var
|
|
8703
|
+
var logger82 = createLogger("Alpaca");
|
|
8085
8704
|
var ALPACA_TOOLS = [
|
|
8086
8705
|
"alpaca_get_account",
|
|
8087
8706
|
"alpaca_list_positions",
|
|
@@ -8123,15 +8742,15 @@ function alpacaIntegration(options = {}) {
|
|
|
8123
8742
|
return headers;
|
|
8124
8743
|
},
|
|
8125
8744
|
async onInit(_client) {
|
|
8126
|
-
|
|
8745
|
+
logger82.debug("Alpaca integration initialized");
|
|
8127
8746
|
},
|
|
8128
8747
|
async onAfterConnect(_client) {
|
|
8129
|
-
|
|
8748
|
+
logger82.debug("Alpaca integration connected");
|
|
8130
8749
|
}
|
|
8131
8750
|
};
|
|
8132
8751
|
}
|
|
8133
8752
|
// src/integrations/neon.ts
|
|
8134
|
-
var
|
|
8753
|
+
var logger83 = createLogger("Neon");
|
|
8135
8754
|
var NEON_TOOLS = [
|
|
8136
8755
|
"neon_list_api_keys",
|
|
8137
8756
|
"neon_create_api_key",
|
|
@@ -8171,15 +8790,15 @@ function neonIntegration(options = {}) {
|
|
|
8171
8790
|
};
|
|
8172
8791
|
},
|
|
8173
8792
|
async onInit(_client) {
|
|
8174
|
-
|
|
8793
|
+
logger83.debug("Neon integration initialized");
|
|
8175
8794
|
},
|
|
8176
8795
|
async onAfterConnect(_client) {
|
|
8177
|
-
|
|
8796
|
+
logger83.debug("Neon integration connected");
|
|
8178
8797
|
}
|
|
8179
8798
|
};
|
|
8180
8799
|
}
|
|
8181
8800
|
// src/integrations/workos.ts
|
|
8182
|
-
var
|
|
8801
|
+
var logger84 = createLogger("WorkOS");
|
|
8183
8802
|
var WORKOS_TOOLS = [
|
|
8184
8803
|
"workos_list_organizations",
|
|
8185
8804
|
"workos_get_organization",
|
|
@@ -8212,15 +8831,15 @@ function workosIntegration(options = {}) {
|
|
|
8212
8831
|
};
|
|
8213
8832
|
},
|
|
8214
8833
|
async onInit(_client) {
|
|
8215
|
-
|
|
8834
|
+
logger84.debug("WorkOS integration initialized");
|
|
8216
8835
|
},
|
|
8217
8836
|
async onAfterConnect(_client) {
|
|
8218
|
-
|
|
8837
|
+
logger84.debug("WorkOS integration connected");
|
|
8219
8838
|
}
|
|
8220
8839
|
};
|
|
8221
8840
|
}
|
|
8222
8841
|
// src/integrations/workday.ts
|
|
8223
|
-
var
|
|
8842
|
+
var logger85 = createLogger("Workday");
|
|
8224
8843
|
var WORKDAY_TOOLS = [
|
|
8225
8844
|
"workday_list_workers",
|
|
8226
8845
|
"workday_get_worker"
|
|
@@ -8245,10 +8864,10 @@ function workdayIntegration(config = {}) {
|
|
|
8245
8864
|
tools: [...WORKDAY_TOOLS],
|
|
8246
8865
|
oauth,
|
|
8247
8866
|
async onInit(_client) {
|
|
8248
|
-
|
|
8867
|
+
logger85.debug("Workday integration initialized");
|
|
8249
8868
|
},
|
|
8250
8869
|
async onAfterConnect(_client) {
|
|
8251
|
-
|
|
8870
|
+
logger85.debug("Workday integration connected");
|
|
8252
8871
|
}
|
|
8253
8872
|
};
|
|
8254
8873
|
}
|
|
@@ -8271,7 +8890,7 @@ function tldrawIntegration(options = {}) {
|
|
|
8271
8890
|
};
|
|
8272
8891
|
}
|
|
8273
8892
|
// src/integrations/upstash.ts
|
|
8274
|
-
var
|
|
8893
|
+
var logger86 = createLogger("Upstash");
|
|
8275
8894
|
var UPSTASH_TOOLS = [
|
|
8276
8895
|
"upstash_redis_run",
|
|
8277
8896
|
"upstash_redis_get",
|
|
@@ -8311,10 +8930,10 @@ function upstashIntegration(options = {}) {
|
|
|
8311
8930
|
return headers;
|
|
8312
8931
|
},
|
|
8313
8932
|
async onInit(_client) {
|
|
8314
|
-
|
|
8933
|
+
logger86.debug("Upstash integration initialized");
|
|
8315
8934
|
},
|
|
8316
8935
|
async onAfterConnect(_client) {
|
|
8317
|
-
|
|
8936
|
+
logger86.debug("Upstash integration connected");
|
|
8318
8937
|
}
|
|
8319
8938
|
};
|
|
8320
8939
|
}
|
|
@@ -8451,7 +9070,7 @@ function mailchimpIntegration(config = {}) {
|
|
|
8451
9070
|
};
|
|
8452
9071
|
}
|
|
8453
9072
|
// src/integrations/aws.ts
|
|
8454
|
-
var
|
|
9073
|
+
var logger87 = createLogger("AWS");
|
|
8455
9074
|
var AWS_TOOLS = [
|
|
8456
9075
|
"aws_sts_get_caller_identity",
|
|
8457
9076
|
"aws_ec2_describe_regions",
|
|
@@ -8504,15 +9123,15 @@ function awsIntegration(options = {}) {
|
|
|
8504
9123
|
};
|
|
8505
9124
|
},
|
|
8506
9125
|
async onInit(_client) {
|
|
8507
|
-
|
|
9126
|
+
logger87.debug("AWS integration initialized");
|
|
8508
9127
|
},
|
|
8509
9128
|
async onAfterConnect(_client) {
|
|
8510
|
-
|
|
9129
|
+
logger87.debug("AWS integration connected");
|
|
8511
9130
|
}
|
|
8512
9131
|
};
|
|
8513
9132
|
}
|
|
8514
9133
|
// src/integrations/wix.ts
|
|
8515
|
-
var
|
|
9134
|
+
var logger88 = createLogger("Wix");
|
|
8516
9135
|
var WIX_TOOLS = [
|
|
8517
9136
|
"wix_query_products",
|
|
8518
9137
|
"wix_get_product",
|
|
@@ -8545,15 +9164,15 @@ function wixIntegration(options = {}) {
|
|
|
8545
9164
|
};
|
|
8546
9165
|
},
|
|
8547
9166
|
async onInit(_client) {
|
|
8548
|
-
|
|
9167
|
+
logger88.debug("Wix integration initialized");
|
|
8549
9168
|
},
|
|
8550
9169
|
async onAfterConnect(_client) {
|
|
8551
|
-
|
|
9170
|
+
logger88.debug("Wix integration connected");
|
|
8552
9171
|
}
|
|
8553
9172
|
};
|
|
8554
9173
|
}
|
|
8555
9174
|
// src/integrations/auth0.ts
|
|
8556
|
-
var
|
|
9175
|
+
var logger89 = createLogger("Auth0");
|
|
8557
9176
|
var AUTH0_TOOLS = [
|
|
8558
9177
|
"auth0_list_users",
|
|
8559
9178
|
"auth0_get_user",
|
|
@@ -8642,7 +9261,7 @@ function auth0Integration(options) {
|
|
|
8642
9261
|
};
|
|
8643
9262
|
},
|
|
8644
9263
|
async onInit() {
|
|
8645
|
-
|
|
9264
|
+
logger89.debug("Auth0 integration initialized");
|
|
8646
9265
|
},
|
|
8647
9266
|
async onBeforeConnect() {
|
|
8648
9267
|
await ensureFreshToken();
|
|
@@ -8651,12 +9270,12 @@ function auth0Integration(options) {
|
|
|
8651
9270
|
}
|
|
8652
9271
|
},
|
|
8653
9272
|
async onAfterConnect() {
|
|
8654
|
-
|
|
9273
|
+
logger89.debug("Auth0 integration connected");
|
|
8655
9274
|
}
|
|
8656
9275
|
};
|
|
8657
9276
|
}
|
|
8658
9277
|
// src/integrations/binance.ts
|
|
8659
|
-
var
|
|
9278
|
+
var logger90 = createLogger("Binance");
|
|
8660
9279
|
var BINANCE_TOOLS = [
|
|
8661
9280
|
"binance_ping",
|
|
8662
9281
|
"binance_get_server_time",
|
|
@@ -8699,15 +9318,15 @@ function binanceIntegration(options = {}) {
|
|
|
8699
9318
|
};
|
|
8700
9319
|
},
|
|
8701
9320
|
async onInit(_client) {
|
|
8702
|
-
|
|
9321
|
+
logger90.debug("Binance integration initialized");
|
|
8703
9322
|
},
|
|
8704
9323
|
async onAfterConnect(_client) {
|
|
8705
|
-
|
|
9324
|
+
logger90.debug("Binance integration connected");
|
|
8706
9325
|
}
|
|
8707
9326
|
};
|
|
8708
9327
|
}
|
|
8709
9328
|
// src/integrations/canva.ts
|
|
8710
|
-
var
|
|
9329
|
+
var logger91 = createLogger("Canva");
|
|
8711
9330
|
var CANVA_TOOLS = [
|
|
8712
9331
|
"canva_get_me",
|
|
8713
9332
|
"canva_get_profile",
|
|
@@ -8744,15 +9363,15 @@ function canvaIntegration(config = {}) {
|
|
|
8744
9363
|
tools: [...CANVA_TOOLS],
|
|
8745
9364
|
oauth,
|
|
8746
9365
|
async onInit(_client) {
|
|
8747
|
-
|
|
9366
|
+
logger91.debug("Canva integration initialized");
|
|
8748
9367
|
},
|
|
8749
9368
|
async onAfterConnect(_client) {
|
|
8750
|
-
|
|
9369
|
+
logger91.debug("Canva integration connected");
|
|
8751
9370
|
}
|
|
8752
9371
|
};
|
|
8753
9372
|
}
|
|
8754
9373
|
// src/integrations/clerk.ts
|
|
8755
|
-
var
|
|
9374
|
+
var logger92 = createLogger("Clerk");
|
|
8756
9375
|
var CLERK_TOOLS = [
|
|
8757
9376
|
"clerk_list_users",
|
|
8758
9377
|
"clerk_get_user",
|
|
@@ -8787,15 +9406,15 @@ function clerkIntegration(options = {}) {
|
|
|
8787
9406
|
};
|
|
8788
9407
|
},
|
|
8789
9408
|
async onInit(_client) {
|
|
8790
|
-
|
|
9409
|
+
logger92.debug("Clerk integration initialized");
|
|
8791
9410
|
},
|
|
8792
9411
|
async onAfterConnect(_client) {
|
|
8793
|
-
|
|
9412
|
+
logger92.debug("Clerk integration connected");
|
|
8794
9413
|
}
|
|
8795
9414
|
};
|
|
8796
9415
|
}
|
|
8797
9416
|
// src/integrations/cloudflare.ts
|
|
8798
|
-
var
|
|
9417
|
+
var logger93 = createLogger("Cloudflare");
|
|
8799
9418
|
var CLOUDFLARE_TOOLS = [
|
|
8800
9419
|
"cloudflare_verify_token",
|
|
8801
9420
|
"cloudflare_get_user",
|
|
@@ -8834,10 +9453,10 @@ function cloudflareIntegration(config = {}) {
|
|
|
8834
9453
|
return { Authorization: `Bearer ${apiToken.trim()}` };
|
|
8835
9454
|
},
|
|
8836
9455
|
async onInit(_client) {
|
|
8837
|
-
|
|
9456
|
+
logger93.debug("Cloudflare integration initialized (API token)");
|
|
8838
9457
|
},
|
|
8839
9458
|
async onAfterConnect(_client) {
|
|
8840
|
-
|
|
9459
|
+
logger93.debug("Cloudflare integration connected");
|
|
8841
9460
|
}
|
|
8842
9461
|
};
|
|
8843
9462
|
}
|
|
@@ -8863,15 +9482,15 @@ function cloudflareIntegration(config = {}) {
|
|
|
8863
9482
|
tools: [...CLOUDFLARE_TOOLS],
|
|
8864
9483
|
oauth,
|
|
8865
9484
|
async onInit(_client) {
|
|
8866
|
-
|
|
9485
|
+
logger93.debug("Cloudflare integration initialized (OAuth)");
|
|
8867
9486
|
},
|
|
8868
9487
|
async onAfterConnect(_client) {
|
|
8869
|
-
|
|
9488
|
+
logger93.debug("Cloudflare integration connected");
|
|
8870
9489
|
}
|
|
8871
9490
|
};
|
|
8872
9491
|
}
|
|
8873
9492
|
// src/integrations/clickup.ts
|
|
8874
|
-
var
|
|
9493
|
+
var logger94 = createLogger("ClickUp");
|
|
8875
9494
|
var CLICKUP_TOOLS = [
|
|
8876
9495
|
"clickup_get_authorized_user",
|
|
8877
9496
|
"clickup_list_teams",
|
|
@@ -8907,15 +9526,15 @@ function clickupIntegration(config = {}) {
|
|
|
8907
9526
|
tools: [...CLICKUP_TOOLS],
|
|
8908
9527
|
oauth,
|
|
8909
9528
|
async onInit(_client) {
|
|
8910
|
-
|
|
9529
|
+
logger94.debug("ClickUp integration initialized");
|
|
8911
9530
|
},
|
|
8912
9531
|
async onAfterConnect(_client) {
|
|
8913
|
-
|
|
9532
|
+
logger94.debug("ClickUp integration connected");
|
|
8914
9533
|
}
|
|
8915
9534
|
};
|
|
8916
9535
|
}
|
|
8917
9536
|
// src/integrations/excel.ts
|
|
8918
|
-
var
|
|
9537
|
+
var logger95 = createLogger("Excel");
|
|
8919
9538
|
var EXCEL_TOOLS = [
|
|
8920
9539
|
"excel_add_table_rows",
|
|
8921
9540
|
"excel_add_worksheet",
|
|
@@ -8951,10 +9570,10 @@ function excelIntegration(config = {}) {
|
|
|
8951
9570
|
tools: [...EXCEL_TOOLS],
|
|
8952
9571
|
oauth,
|
|
8953
9572
|
async onInit(_client) {
|
|
8954
|
-
|
|
9573
|
+
logger95.debug("Excel integration initialized");
|
|
8955
9574
|
},
|
|
8956
9575
|
async onAfterConnect(_client) {
|
|
8957
|
-
|
|
9576
|
+
logger95.debug("Excel integration connected");
|
|
8958
9577
|
}
|
|
8959
9578
|
};
|
|
8960
9579
|
}
|
|
@@ -8984,7 +9603,7 @@ function ga4Integration(config = {}) {
|
|
|
8984
9603
|
};
|
|
8985
9604
|
}
|
|
8986
9605
|
// src/integrations/gdrive.ts
|
|
8987
|
-
var
|
|
9606
|
+
var logger96 = createLogger("Google Drive");
|
|
8988
9607
|
var GDRIVE_TOOLS = [
|
|
8989
9608
|
"gdrive_copy_file",
|
|
8990
9609
|
"gdrive_create_folder",
|
|
@@ -9018,15 +9637,15 @@ function gdriveIntegration(config = {}) {
|
|
|
9018
9637
|
tools: [...GDRIVE_TOOLS],
|
|
9019
9638
|
oauth,
|
|
9020
9639
|
async onInit(_client) {
|
|
9021
|
-
|
|
9640
|
+
logger96.debug("Google Drive integration initialized");
|
|
9022
9641
|
},
|
|
9023
9642
|
async onAfterConnect(_client) {
|
|
9024
|
-
|
|
9643
|
+
logger96.debug("Google Drive integration connected");
|
|
9025
9644
|
}
|
|
9026
9645
|
};
|
|
9027
9646
|
}
|
|
9028
9647
|
// src/integrations/gitlab.ts
|
|
9029
|
-
var
|
|
9648
|
+
var logger97 = createLogger("GitLab");
|
|
9030
9649
|
var GITLAB_TOOLS = [
|
|
9031
9650
|
"gitlab_list_projects",
|
|
9032
9651
|
"gitlab_list_own_projects",
|
|
@@ -9073,15 +9692,15 @@ function gitlabIntegration(config = {}) {
|
|
|
9073
9692
|
tools: [...GITLAB_TOOLS],
|
|
9074
9693
|
oauth,
|
|
9075
9694
|
async onInit(_client) {
|
|
9076
|
-
|
|
9695
|
+
logger97.debug("GitLab integration initialized");
|
|
9077
9696
|
},
|
|
9078
9697
|
async onAfterConnect(_client) {
|
|
9079
|
-
|
|
9698
|
+
logger97.debug("GitLab integration connected");
|
|
9080
9699
|
}
|
|
9081
9700
|
};
|
|
9082
9701
|
}
|
|
9083
9702
|
// src/integrations/gmeet.ts
|
|
9084
|
-
var
|
|
9703
|
+
var logger98 = createLogger("Google Meet");
|
|
9085
9704
|
var GMEET_TOOLS = [
|
|
9086
9705
|
"gmeet_add_meet_to_event",
|
|
9087
9706
|
"gmeet_create_meeting",
|
|
@@ -9109,15 +9728,15 @@ function gmeetIntegration(config = {}) {
|
|
|
9109
9728
|
tools: [...GMEET_TOOLS],
|
|
9110
9729
|
oauth,
|
|
9111
9730
|
async onInit(_client) {
|
|
9112
|
-
|
|
9731
|
+
logger98.debug("Google Meet integration initialized");
|
|
9113
9732
|
},
|
|
9114
9733
|
async onAfterConnect(_client) {
|
|
9115
|
-
|
|
9734
|
+
logger98.debug("Google Meet integration connected");
|
|
9116
9735
|
}
|
|
9117
9736
|
};
|
|
9118
9737
|
}
|
|
9119
9738
|
// src/integrations/monday.ts
|
|
9120
|
-
var
|
|
9739
|
+
var logger99 = createLogger("Monday");
|
|
9121
9740
|
var MONDAY_TOOLS = [
|
|
9122
9741
|
"monday_me",
|
|
9123
9742
|
"monday_list_workspaces",
|
|
@@ -9154,10 +9773,10 @@ function mondayIntegration(config = {}) {
|
|
|
9154
9773
|
tools: [...MONDAY_TOOLS],
|
|
9155
9774
|
oauth,
|
|
9156
9775
|
async onInit(_client) {
|
|
9157
|
-
|
|
9776
|
+
logger99.debug("Monday.com integration initialized");
|
|
9158
9777
|
},
|
|
9159
9778
|
async onAfterConnect(_client) {
|
|
9160
|
-
|
|
9779
|
+
logger99.debug("Monday.com integration connected");
|
|
9161
9780
|
}
|
|
9162
9781
|
};
|
|
9163
9782
|
}
|
|
@@ -9197,7 +9816,7 @@ function planetscaleIntegration(config = {}) {
|
|
|
9197
9816
|
};
|
|
9198
9817
|
}
|
|
9199
9818
|
// src/integrations/powerpoint.ts
|
|
9200
|
-
var
|
|
9819
|
+
var logger100 = createLogger("PowerPoint");
|
|
9201
9820
|
var POWERPOINT_TOOLS = [
|
|
9202
9821
|
"powerpoint_copy",
|
|
9203
9822
|
"powerpoint_create",
|
|
@@ -9224,10 +9843,10 @@ function powerpointIntegration(config = {}) {
|
|
|
9224
9843
|
tools: [...POWERPOINT_TOOLS],
|
|
9225
9844
|
oauth,
|
|
9226
9845
|
async onInit(_client) {
|
|
9227
|
-
|
|
9846
|
+
logger100.debug("PowerPoint integration initialized");
|
|
9228
9847
|
},
|
|
9229
9848
|
async onAfterConnect(_client) {
|
|
9230
|
-
|
|
9849
|
+
logger100.debug("PowerPoint integration connected");
|
|
9231
9850
|
}
|
|
9232
9851
|
};
|
|
9233
9852
|
}
|
|
@@ -9262,7 +9881,7 @@ function redditIntegration(config = {}) {
|
|
|
9262
9881
|
};
|
|
9263
9882
|
}
|
|
9264
9883
|
// src/integrations/resend.ts
|
|
9265
|
-
var
|
|
9884
|
+
var logger101 = createLogger("Resend");
|
|
9266
9885
|
var RESEND_TOOLS = [
|
|
9267
9886
|
"resend_list_domains",
|
|
9268
9887
|
"resend_get_domain",
|
|
@@ -9287,15 +9906,15 @@ function resendIntegration(options = {}) {
|
|
|
9287
9906
|
return { Authorization: `Bearer ${apiKey}` };
|
|
9288
9907
|
},
|
|
9289
9908
|
async onInit(_client) {
|
|
9290
|
-
|
|
9909
|
+
logger101.debug("Resend integration initialized");
|
|
9291
9910
|
},
|
|
9292
9911
|
async onAfterConnect(_client) {
|
|
9293
|
-
|
|
9912
|
+
logger101.debug("Resend integration connected");
|
|
9294
9913
|
}
|
|
9295
9914
|
};
|
|
9296
9915
|
}
|
|
9297
9916
|
// src/integrations/word.ts
|
|
9298
|
-
var
|
|
9917
|
+
var logger102 = createLogger("Word");
|
|
9299
9918
|
var WORD_TOOLS = [
|
|
9300
9919
|
"word_copy",
|
|
9301
9920
|
"word_create",
|
|
@@ -9322,15 +9941,15 @@ function wordIntegration(config = {}) {
|
|
|
9322
9941
|
tools: [...WORD_TOOLS],
|
|
9323
9942
|
oauth,
|
|
9324
9943
|
async onInit(_client) {
|
|
9325
|
-
|
|
9944
|
+
logger102.debug("Word integration initialized");
|
|
9326
9945
|
},
|
|
9327
9946
|
async onAfterConnect(_client) {
|
|
9328
|
-
|
|
9947
|
+
logger102.debug("Word integration connected");
|
|
9329
9948
|
}
|
|
9330
9949
|
};
|
|
9331
9950
|
}
|
|
9332
9951
|
// src/integrations/zapier.ts
|
|
9333
|
-
var
|
|
9952
|
+
var logger103 = createLogger("Zapier");
|
|
9334
9953
|
var ZAPIER_TOOLS = [
|
|
9335
9954
|
"zapier_get_profile",
|
|
9336
9955
|
"zapier_list_zaps",
|
|
@@ -9362,15 +9981,15 @@ function zapierIntegration(config = {}) {
|
|
|
9362
9981
|
tools: [...ZAPIER_TOOLS],
|
|
9363
9982
|
oauth,
|
|
9364
9983
|
async onInit(_client) {
|
|
9365
|
-
|
|
9984
|
+
logger103.debug("Zapier integration initialized");
|
|
9366
9985
|
},
|
|
9367
9986
|
async onAfterConnect(_client) {
|
|
9368
|
-
|
|
9987
|
+
logger103.debug("Zapier integration connected");
|
|
9369
9988
|
}
|
|
9370
9989
|
};
|
|
9371
9990
|
}
|
|
9372
9991
|
// src/integrations/zoom.ts
|
|
9373
|
-
var
|
|
9992
|
+
var logger104 = createLogger("Zoom");
|
|
9374
9993
|
var ZOOM_TOOLS = [
|
|
9375
9994
|
"zoom_get_user",
|
|
9376
9995
|
"zoom_list_meetings",
|
|
@@ -9396,10 +10015,10 @@ function zoomIntegration(config = {}) {
|
|
|
9396
10015
|
tools: [...ZOOM_TOOLS],
|
|
9397
10016
|
oauth,
|
|
9398
10017
|
async onInit(_client) {
|
|
9399
|
-
|
|
10018
|
+
logger104.debug("Zoom integration initialized");
|
|
9400
10019
|
},
|
|
9401
10020
|
async onAfterConnect(_client) {
|
|
9402
|
-
|
|
10021
|
+
logger104.debug("Zoom integration connected");
|
|
9403
10022
|
}
|
|
9404
10023
|
};
|
|
9405
10024
|
}
|
|
@@ -9417,7 +10036,7 @@ function validateStepLimit(stepIndex, maxSteps) {
|
|
|
9417
10036
|
return { valid: true };
|
|
9418
10037
|
}
|
|
9419
10038
|
// src/triggers/webhooks.ts
|
|
9420
|
-
var
|
|
10039
|
+
var logger105 = createLogger("Webhooks", "server");
|
|
9421
10040
|
async function signPayload(payload, secret) {
|
|
9422
10041
|
const encoder = new TextEncoder;
|
|
9423
10042
|
const data = encoder.encode(JSON.stringify(payload));
|
|
@@ -9443,7 +10062,7 @@ async function deliverWebhook(webhook, payload, timeoutMs) {
|
|
|
9443
10062
|
signal: controller.signal
|
|
9444
10063
|
});
|
|
9445
10064
|
if (!response.ok) {
|
|
9446
|
-
|
|
10065
|
+
logger105.warn(`Webhook delivery to ${webhook.url} returned ${response.status}`);
|
|
9447
10066
|
}
|
|
9448
10067
|
} finally {
|
|
9449
10068
|
clearTimeout(timeout);
|
|
@@ -9456,7 +10075,7 @@ async function deliverWebhooks(webhooks, payload, timeoutMs) {
|
|
|
9456
10075
|
for (let i = 0;i < results.length; i++) {
|
|
9457
10076
|
const result = results[i];
|
|
9458
10077
|
if (result.status === "rejected") {
|
|
9459
|
-
|
|
10078
|
+
logger105.warn(`Webhook delivery to ${webhooks[i].url} failed:`, result.reason);
|
|
9460
10079
|
}
|
|
9461
10080
|
}
|
|
9462
10081
|
}
|
|
@@ -9501,6 +10120,16 @@ var client = createMCPClient({
|
|
|
9501
10120
|
slackIntegration(),
|
|
9502
10121
|
discordIntegration(),
|
|
9503
10122
|
boxIntegration(),
|
|
10123
|
+
paypalIntegration(),
|
|
10124
|
+
squareIntegration(),
|
|
10125
|
+
spotifyIntegration(),
|
|
10126
|
+
stravaIntegration(),
|
|
10127
|
+
asanaIntegration(),
|
|
10128
|
+
confluenceIntegration(),
|
|
10129
|
+
oktaIntegration(),
|
|
10130
|
+
quickbooksIntegration(),
|
|
10131
|
+
bitbucketIntegration(),
|
|
10132
|
+
smartthingsIntegration(),
|
|
9504
10133
|
linearIntegration(),
|
|
9505
10134
|
vercelIntegration(),
|
|
9506
10135
|
zendeskIntegration(),
|
|
@@ -9586,6 +10215,10 @@ export {
|
|
|
9586
10215
|
teamsIntegration,
|
|
9587
10216
|
supabaseIntegration,
|
|
9588
10217
|
stripeIntegration,
|
|
10218
|
+
stravaIntegration,
|
|
10219
|
+
squareIntegration,
|
|
10220
|
+
spotifyIntegration,
|
|
10221
|
+
smartthingsIntegration,
|
|
9589
10222
|
slackIntegration,
|
|
9590
10223
|
shouldRefreshToken,
|
|
9591
10224
|
shopifyIntegration,
|
|
@@ -9600,6 +10233,7 @@ export {
|
|
|
9600
10233
|
redditIntegration,
|
|
9601
10234
|
rampIntegration,
|
|
9602
10235
|
railwayIntegration,
|
|
10236
|
+
quickbooksIntegration,
|
|
9603
10237
|
powerpointIntegration,
|
|
9604
10238
|
postmanIntegration,
|
|
9605
10239
|
posthogIntegration,
|
|
@@ -9607,11 +10241,13 @@ export {
|
|
|
9607
10241
|
plannerIntegration,
|
|
9608
10242
|
planetscaleIntegration,
|
|
9609
10243
|
phantomIntegration,
|
|
10244
|
+
paypalIntegration,
|
|
9610
10245
|
parseState,
|
|
9611
10246
|
parseServerError,
|
|
9612
10247
|
paperIntegration,
|
|
9613
10248
|
outlookIntegration,
|
|
9614
10249
|
onedriveIntegration,
|
|
10250
|
+
oktaIntegration,
|
|
9615
10251
|
notionIntegration,
|
|
9616
10252
|
netlifyIntegration,
|
|
9617
10253
|
neonIntegration,
|
|
@@ -9665,6 +10301,7 @@ export {
|
|
|
9665
10301
|
createNextOAuthHandler,
|
|
9666
10302
|
createMCPClient,
|
|
9667
10303
|
convexIntegration,
|
|
10304
|
+
confluenceIntegration,
|
|
9668
10305
|
cloudflareIntegration,
|
|
9669
10306
|
client,
|
|
9670
10307
|
clickupIntegration,
|
|
@@ -9674,12 +10311,14 @@ export {
|
|
|
9674
10311
|
calcomIntegration,
|
|
9675
10312
|
buildPhantomBrowseDeeplink,
|
|
9676
10313
|
boxIntegration,
|
|
10314
|
+
bitbucketIntegration,
|
|
9677
10315
|
binanceIntegration,
|
|
9678
10316
|
betterstackIntegration,
|
|
9679
10317
|
awsIntegration,
|
|
9680
10318
|
auth0Integration,
|
|
9681
10319
|
attioIntegration,
|
|
9682
10320
|
astronomerIntegration,
|
|
10321
|
+
asanaIntegration,
|
|
9683
10322
|
alpacaIntegration,
|
|
9684
10323
|
airtableIntegration,
|
|
9685
10324
|
WEBHOOK_DELIVERY_TIMEOUT_MS,
|