integrate-sdk 0.9.47-dev.0 → 0.9.48-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/auto-routes.js +52 -0
- package/dist/adapters/base-handler.js +52 -0
- package/dist/adapters/index.js +169 -78
- package/dist/adapters/nextjs.js +52 -0
- package/dist/adapters/solid-start.js +169 -78
- package/dist/adapters/svelte-kit.js +169 -78
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1037 -241
- package/dist/oauth.js +52 -0
- package/dist/server.js +1058 -261
- package/dist/src/client.d.ts +14 -1
- package/dist/src/client.d.ts.map +1 -1
- package/dist/src/index.d.ts +26 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/integrations/asana-client.d.ts +74 -0
- package/dist/src/integrations/asana-client.d.ts.map +1 -0
- package/dist/src/integrations/asana.d.ts +12 -0
- package/dist/src/integrations/asana.d.ts.map +1 -0
- package/dist/src/integrations/bitbucket-client.d.ts +94 -0
- package/dist/src/integrations/bitbucket-client.d.ts.map +1 -0
- package/dist/src/integrations/bitbucket.d.ts +14 -0
- package/dist/src/integrations/bitbucket.d.ts.map +1 -0
- package/dist/src/integrations/box-client.d.ts +83 -0
- package/dist/src/integrations/box-client.d.ts.map +1 -0
- package/dist/src/integrations/box.d.ts +22 -0
- package/dist/src/integrations/box.d.ts.map +1 -0
- package/dist/src/integrations/confluence-client.d.ts +69 -0
- package/dist/src/integrations/confluence-client.d.ts.map +1 -0
- package/dist/src/integrations/confluence.d.ts +14 -0
- package/dist/src/integrations/confluence.d.ts.map +1 -0
- package/dist/src/integrations/gkeep-client.d.ts +38 -0
- package/dist/src/integrations/gkeep-client.d.ts.map +1 -0
- package/dist/src/integrations/gkeep.d.ts +22 -0
- package/dist/src/integrations/gkeep.d.ts.map +1 -0
- package/dist/src/integrations/library-metadata.d.ts.map +1 -1
- package/dist/src/integrations/okta-client.d.ts +75 -0
- package/dist/src/integrations/okta-client.d.ts.map +1 -0
- package/dist/src/integrations/okta.d.ts +16 -0
- package/dist/src/integrations/okta.d.ts.map +1 -0
- package/dist/src/integrations/paypal-client.d.ts +64 -0
- package/dist/src/integrations/paypal-client.d.ts.map +1 -0
- package/dist/src/integrations/paypal.d.ts +11 -0
- package/dist/src/integrations/paypal.d.ts.map +1 -0
- package/dist/src/integrations/quickbooks-client.d.ts +91 -0
- package/dist/src/integrations/quickbooks-client.d.ts.map +1 -0
- package/dist/src/integrations/quickbooks.d.ts +14 -0
- package/dist/src/integrations/quickbooks.d.ts.map +1 -0
- package/dist/src/integrations/smartthings-client.d.ts +57 -0
- package/dist/src/integrations/smartthings-client.d.ts.map +1 -0
- package/dist/src/integrations/smartthings.d.ts +15 -0
- package/dist/src/integrations/smartthings.d.ts.map +1 -0
- package/dist/src/integrations/spotify-client.d.ts +62 -0
- package/dist/src/integrations/spotify-client.d.ts.map +1 -0
- package/dist/src/integrations/spotify.d.ts +14 -0
- package/dist/src/integrations/spotify.d.ts.map +1 -0
- package/dist/src/integrations/square-client.d.ts +79 -0
- package/dist/src/integrations/square-client.d.ts.map +1 -0
- package/dist/src/integrations/square.d.ts +15 -0
- package/dist/src/integrations/square.d.ts.map +1 -0
- package/dist/src/integrations/strava-client.d.ts +117 -0
- package/dist/src/integrations/strava-client.d.ts.map +1 -0
- package/dist/src/integrations/strava.d.ts +14 -0
- package/dist/src/integrations/strava.d.ts.map +1 -0
- package/dist/src/integrations/telegram-client.d.ts +46 -0
- package/dist/src/integrations/telegram-client.d.ts.map +1 -0
- package/dist/src/integrations/telegram.d.ts +19 -0
- package/dist/src/integrations/telegram.d.ts.map +1 -0
- package/dist/src/server.d.ts +13 -0
- package/dist/src/server.d.ts.map +1 -1
- package/index.ts +24 -0
- package/package.json +1 -1
package/dist/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"
|
|
@@ -870,6 +882,10 @@ var INTEGRATION_LIBRARY_METADATA = {
|
|
|
870
882
|
description: "Manage Google Tasks lists and to-dos",
|
|
871
883
|
category: "Productivity"
|
|
872
884
|
},
|
|
885
|
+
gkeep: {
|
|
886
|
+
description: "Manage Google Keep notes, attachments, and sharing permissions",
|
|
887
|
+
category: "Productivity"
|
|
888
|
+
},
|
|
873
889
|
gmeet: {
|
|
874
890
|
description: "Create Google Meet links and manage meeting events via Calendar",
|
|
875
891
|
category: "Communication"
|
|
@@ -898,6 +914,10 @@ var INTEGRATION_LIBRARY_METADATA = {
|
|
|
898
914
|
description: "Manage Notion pages and databases",
|
|
899
915
|
category: "Productivity"
|
|
900
916
|
},
|
|
917
|
+
okta: {
|
|
918
|
+
description: "Manage Okta users, groups, applications, policies, and system logs",
|
|
919
|
+
category: "Engineering"
|
|
920
|
+
},
|
|
901
921
|
onedrive: {
|
|
902
922
|
description: "Manage OneDrive files, folders, and sharing",
|
|
903
923
|
category: "Storage"
|
|
@@ -914,6 +934,10 @@ var INTEGRATION_LIBRARY_METADATA = {
|
|
|
914
934
|
description: "Manage Polar products, orders, and subscriptions",
|
|
915
935
|
category: "Finance"
|
|
916
936
|
},
|
|
937
|
+
paypal: {
|
|
938
|
+
description: "Manage PayPal orders, captures, refunds, invoices, products, plans, and subscriptions",
|
|
939
|
+
category: "Finance"
|
|
940
|
+
},
|
|
917
941
|
phantom: {
|
|
918
942
|
description: "Build Phantom mobile browse universal links and deeplink provider documentation (Solana)",
|
|
919
943
|
category: "Other"
|
|
@@ -930,6 +954,10 @@ var INTEGRATION_LIBRARY_METADATA = {
|
|
|
930
954
|
description: "Manage Ramp corporate cards, bills, and spend",
|
|
931
955
|
category: "Business"
|
|
932
956
|
},
|
|
957
|
+
quickbooks: {
|
|
958
|
+
description: "Manage QuickBooks Online accounting data, invoices, bills, payments, and reports",
|
|
959
|
+
category: "Finance"
|
|
960
|
+
},
|
|
933
961
|
resend: {
|
|
934
962
|
description: "Send email and manage domains with the Resend API",
|
|
935
963
|
category: "Communication"
|
|
@@ -970,6 +998,26 @@ var INTEGRATION_LIBRARY_METADATA = {
|
|
|
970
998
|
description: "Send and manage Slack messages and channels",
|
|
971
999
|
category: "Communication"
|
|
972
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
|
+
},
|
|
1017
|
+
telegram: {
|
|
1018
|
+
description: "Use Telegram as an actual user account via MTProto sessions",
|
|
1019
|
+
category: "Communication"
|
|
1020
|
+
},
|
|
973
1021
|
stripe: {
|
|
974
1022
|
description: "Manage Stripe customers, payments, and subscriptions",
|
|
975
1023
|
category: "Finance"
|
|
@@ -1034,6 +1082,10 @@ var INTEGRATION_LIBRARY_METADATA = {
|
|
|
1034
1082
|
description: "Manage Dropbox files, folders, and sharing",
|
|
1035
1083
|
category: "Storage"
|
|
1036
1084
|
},
|
|
1085
|
+
box: {
|
|
1086
|
+
description: "Manage Box files, folders, sharing, comments, search, and collaborations",
|
|
1087
|
+
category: "Storage"
|
|
1088
|
+
},
|
|
1037
1089
|
paper: {
|
|
1038
1090
|
description: "Create, update, and export Dropbox Paper documents",
|
|
1039
1091
|
category: "Productivity"
|
|
@@ -4942,8 +4994,687 @@ function discordIntegration(config = {}) {
|
|
|
4942
4994
|
}
|
|
4943
4995
|
};
|
|
4944
4996
|
}
|
|
4997
|
+
// src/integrations/telegram.ts
|
|
4998
|
+
var logger14 = createLogger("Telegram");
|
|
4999
|
+
var TELEGRAM_TOOLS = [
|
|
5000
|
+
"telegram_auth_send_code",
|
|
5001
|
+
"telegram_auth_sign_in",
|
|
5002
|
+
"telegram_auth_check_password",
|
|
5003
|
+
"telegram_get_me",
|
|
5004
|
+
"telegram_resolve_username",
|
|
5005
|
+
"telegram_list_dialogs",
|
|
5006
|
+
"telegram_get_history",
|
|
5007
|
+
"telegram_search_messages",
|
|
5008
|
+
"telegram_send_message"
|
|
5009
|
+
];
|
|
5010
|
+
function telegramIntegration(options = {}) {
|
|
5011
|
+
const apiId = options.apiId ?? getEnv("TELEGRAM_API_ID");
|
|
5012
|
+
const apiHash = options.apiHash ?? getEnv("TELEGRAM_API_HASH");
|
|
5013
|
+
const sessionId = options.sessionId ?? getEnv("TELEGRAM_SESSION_ID");
|
|
5014
|
+
if (!apiId) {
|
|
5015
|
+
throw new Error("telegramIntegration requires apiId or TELEGRAM_API_ID");
|
|
5016
|
+
}
|
|
5017
|
+
if (!apiHash) {
|
|
5018
|
+
throw new Error("telegramIntegration requires apiHash or TELEGRAM_API_HASH");
|
|
5019
|
+
}
|
|
5020
|
+
return {
|
|
5021
|
+
id: "telegram",
|
|
5022
|
+
name: "Telegram",
|
|
5023
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/telegram.png",
|
|
5024
|
+
description: "Use Telegram as an actual user account via MTProto sessions, not the Bot API",
|
|
5025
|
+
category: "Communication",
|
|
5026
|
+
tools: [...TELEGRAM_TOOLS],
|
|
5027
|
+
authType: "apiKey",
|
|
5028
|
+
getHeaders() {
|
|
5029
|
+
const headers = {
|
|
5030
|
+
"X-Telegram-Api-Id": String(apiId),
|
|
5031
|
+
"X-Telegram-Api-Hash": String(apiHash)
|
|
5032
|
+
};
|
|
5033
|
+
if (sessionId) {
|
|
5034
|
+
headers["X-Telegram-Session-Id"] = sessionId;
|
|
5035
|
+
}
|
|
5036
|
+
return headers;
|
|
5037
|
+
},
|
|
5038
|
+
async onInit(_client) {
|
|
5039
|
+
logger14.debug("Telegram integration initialized");
|
|
5040
|
+
},
|
|
5041
|
+
async onAfterConnect(_client) {
|
|
5042
|
+
logger14.debug("Telegram integration connected");
|
|
5043
|
+
}
|
|
5044
|
+
};
|
|
5045
|
+
}
|
|
5046
|
+
// src/integrations/box.ts
|
|
5047
|
+
var logger15 = createLogger("Box");
|
|
5048
|
+
var BOX_TOOLS = [
|
|
5049
|
+
"box_get_current_user",
|
|
5050
|
+
"box_list_folder_items",
|
|
5051
|
+
"box_get_file",
|
|
5052
|
+
"box_get_folder",
|
|
5053
|
+
"box_create_folder",
|
|
5054
|
+
"box_update_file",
|
|
5055
|
+
"box_update_folder",
|
|
5056
|
+
"box_delete_file",
|
|
5057
|
+
"box_delete_folder",
|
|
5058
|
+
"box_upload_text_file",
|
|
5059
|
+
"box_download_file",
|
|
5060
|
+
"box_search",
|
|
5061
|
+
"box_create_shared_link",
|
|
5062
|
+
"box_create_collaboration",
|
|
5063
|
+
"box_list_comments",
|
|
5064
|
+
"box_create_comment",
|
|
5065
|
+
"box_delete_comment"
|
|
5066
|
+
];
|
|
5067
|
+
function boxIntegration(options = {}) {
|
|
5068
|
+
if (options.scopes !== undefined && (!Array.isArray(options.scopes) || options.scopes.some((scope) => typeof scope !== "string"))) {
|
|
5069
|
+
throw new Error("boxIntegration scopes must be an array of strings");
|
|
5070
|
+
}
|
|
5071
|
+
const oauth = {
|
|
5072
|
+
provider: "box",
|
|
5073
|
+
clientId: options.clientId ?? getEnv("BOX_CLIENT_ID"),
|
|
5074
|
+
clientSecret: options.clientSecret ?? getEnv("BOX_CLIENT_SECRET"),
|
|
5075
|
+
scopes: options.scopes,
|
|
5076
|
+
optionalScopes: options.optionalScopes,
|
|
5077
|
+
redirectUri: options.redirectUri,
|
|
5078
|
+
config: options
|
|
5079
|
+
};
|
|
5080
|
+
return {
|
|
5081
|
+
id: "box",
|
|
5082
|
+
name: "Box",
|
|
5083
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/box.png",
|
|
5084
|
+
description: "Manage Box files, folders, sharing, comments, search, and collaborations",
|
|
5085
|
+
category: "Storage",
|
|
5086
|
+
tools: [...BOX_TOOLS],
|
|
5087
|
+
authType: "oauth",
|
|
5088
|
+
oauth,
|
|
5089
|
+
async onInit(_client) {
|
|
5090
|
+
logger15.debug("Box integration initialized");
|
|
5091
|
+
},
|
|
5092
|
+
async onAfterConnect(_client) {
|
|
5093
|
+
logger15.debug("Box integration connected");
|
|
5094
|
+
}
|
|
5095
|
+
};
|
|
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
|
+
}
|
|
4945
5676
|
// src/integrations/linear.ts
|
|
4946
|
-
var
|
|
5677
|
+
var logger26 = createLogger("Linear");
|
|
4947
5678
|
var LINEAR_TOOLS = [
|
|
4948
5679
|
"linear_create_issue",
|
|
4949
5680
|
"linear_list_issues",
|
|
@@ -4998,15 +5729,15 @@ function linearIntegration(config = {}) {
|
|
|
4998
5729
|
tools: [...LINEAR_TOOLS],
|
|
4999
5730
|
oauth,
|
|
5000
5731
|
async onInit(_client) {
|
|
5001
|
-
|
|
5732
|
+
logger26.debug("Linear integration initialized");
|
|
5002
5733
|
},
|
|
5003
5734
|
async onAfterConnect(_client) {
|
|
5004
|
-
|
|
5735
|
+
logger26.debug("Linear integration connected");
|
|
5005
5736
|
}
|
|
5006
5737
|
};
|
|
5007
5738
|
}
|
|
5008
5739
|
// src/integrations/railway.ts
|
|
5009
|
-
var
|
|
5740
|
+
var logger27 = createLogger("Railway");
|
|
5010
5741
|
var RAILWAY_SCOPES = [
|
|
5011
5742
|
"openid",
|
|
5012
5743
|
"profile",
|
|
@@ -5111,15 +5842,15 @@ function railwayIntegration(config = {}) {
|
|
|
5111
5842
|
tools: [...RAILWAY_TOOLS],
|
|
5112
5843
|
oauth,
|
|
5113
5844
|
async onInit(_client) {
|
|
5114
|
-
|
|
5845
|
+
logger27.debug("Railway integration initialized");
|
|
5115
5846
|
},
|
|
5116
5847
|
async onAfterConnect(_client) {
|
|
5117
|
-
|
|
5848
|
+
logger27.debug("Railway integration connected");
|
|
5118
5849
|
}
|
|
5119
5850
|
};
|
|
5120
5851
|
}
|
|
5121
5852
|
// src/integrations/vercel.ts
|
|
5122
|
-
var
|
|
5853
|
+
var logger28 = createLogger("Vercel");
|
|
5123
5854
|
var VERCEL_TOOLS = [
|
|
5124
5855
|
"vercel_list_projects",
|
|
5125
5856
|
"vercel_get_project",
|
|
@@ -5162,15 +5893,15 @@ function vercelIntegration(config = {}) {
|
|
|
5162
5893
|
tools: [...VERCEL_TOOLS],
|
|
5163
5894
|
oauth,
|
|
5164
5895
|
async onInit(_client) {
|
|
5165
|
-
|
|
5896
|
+
logger28.debug("Vercel integration initialized");
|
|
5166
5897
|
},
|
|
5167
5898
|
async onAfterConnect(_client) {
|
|
5168
|
-
|
|
5899
|
+
logger28.debug("Vercel integration connected");
|
|
5169
5900
|
}
|
|
5170
5901
|
};
|
|
5171
5902
|
}
|
|
5172
5903
|
// src/integrations/zendesk.ts
|
|
5173
|
-
var
|
|
5904
|
+
var logger29 = createLogger("Zendesk");
|
|
5174
5905
|
var ZENDESK_TOOLS = [
|
|
5175
5906
|
"zendesk_list_tickets",
|
|
5176
5907
|
"zendesk_get_ticket",
|
|
@@ -5219,15 +5950,15 @@ function zendeskIntegration(config = {}) {
|
|
|
5219
5950
|
tools: [...ZENDESK_TOOLS],
|
|
5220
5951
|
oauth,
|
|
5221
5952
|
async onInit(_client) {
|
|
5222
|
-
|
|
5953
|
+
logger29.debug("Zendesk integration initialized");
|
|
5223
5954
|
},
|
|
5224
5955
|
async onAfterConnect(_client) {
|
|
5225
|
-
|
|
5956
|
+
logger29.debug("Zendesk integration connected");
|
|
5226
5957
|
}
|
|
5227
5958
|
};
|
|
5228
5959
|
}
|
|
5229
5960
|
// src/integrations/stripe.ts
|
|
5230
|
-
var
|
|
5961
|
+
var logger30 = createLogger("Stripe");
|
|
5231
5962
|
var STRIPE_TOOLS = [
|
|
5232
5963
|
"stripe_list_customers",
|
|
5233
5964
|
"stripe_get_customer",
|
|
@@ -5284,15 +6015,15 @@ function stripeIntegration(config = {}) {
|
|
|
5284
6015
|
tools: [...STRIPE_TOOLS],
|
|
5285
6016
|
oauth,
|
|
5286
6017
|
async onInit(_client) {
|
|
5287
|
-
|
|
6018
|
+
logger30.debug("Stripe integration initialized");
|
|
5288
6019
|
},
|
|
5289
6020
|
async onAfterConnect(_client) {
|
|
5290
|
-
|
|
6021
|
+
logger30.debug("Stripe integration connected");
|
|
5291
6022
|
}
|
|
5292
6023
|
};
|
|
5293
6024
|
}
|
|
5294
6025
|
// src/integrations/gcal.ts
|
|
5295
|
-
var
|
|
6026
|
+
var logger31 = createLogger("Google Calendar");
|
|
5296
6027
|
var GCAL_TOOLS = [
|
|
5297
6028
|
"gcal_create_calendar",
|
|
5298
6029
|
"gcal_create_event",
|
|
@@ -5326,15 +6057,15 @@ function gcalIntegration(config = {}) {
|
|
|
5326
6057
|
tools: [...GCAL_TOOLS],
|
|
5327
6058
|
oauth,
|
|
5328
6059
|
async onInit(_client) {
|
|
5329
|
-
|
|
6060
|
+
logger31.debug("Google Calendar integration initialized");
|
|
5330
6061
|
},
|
|
5331
6062
|
async onAfterConnect(_client) {
|
|
5332
|
-
|
|
6063
|
+
logger31.debug("Google Calendar integration connected");
|
|
5333
6064
|
}
|
|
5334
6065
|
};
|
|
5335
6066
|
}
|
|
5336
6067
|
// src/integrations/gtasks.ts
|
|
5337
|
-
var
|
|
6068
|
+
var logger32 = createLogger("Google Tasks");
|
|
5338
6069
|
var GTASKS_TOOLS = [
|
|
5339
6070
|
"gtasks_clear_completed",
|
|
5340
6071
|
"gtasks_create_task",
|
|
@@ -5370,15 +6101,55 @@ function gtasksIntegration(config = {}) {
|
|
|
5370
6101
|
tools: [...GTASKS_TOOLS],
|
|
5371
6102
|
oauth,
|
|
5372
6103
|
async onInit(_client) {
|
|
5373
|
-
|
|
6104
|
+
logger32.debug("Google Tasks integration initialized");
|
|
6105
|
+
},
|
|
6106
|
+
async onAfterConnect(_client) {
|
|
6107
|
+
logger32.debug("Google Tasks integration connected");
|
|
6108
|
+
}
|
|
6109
|
+
};
|
|
6110
|
+
}
|
|
6111
|
+
// src/integrations/gkeep.ts
|
|
6112
|
+
var logger33 = createLogger("Google Keep");
|
|
6113
|
+
var GKEEP_TOOLS = [
|
|
6114
|
+
"gkeep_list_notes",
|
|
6115
|
+
"gkeep_get_note",
|
|
6116
|
+
"gkeep_create_text_note",
|
|
6117
|
+
"gkeep_create_list_note",
|
|
6118
|
+
"gkeep_delete_note",
|
|
6119
|
+
"gkeep_download_attachment",
|
|
6120
|
+
"gkeep_batch_create_permissions",
|
|
6121
|
+
"gkeep_batch_delete_permissions"
|
|
6122
|
+
];
|
|
6123
|
+
function gkeepIntegration(config = {}) {
|
|
6124
|
+
const oauth = {
|
|
6125
|
+
provider: "gkeep",
|
|
6126
|
+
clientId: config.clientId ?? getEnv("GKEEP_CLIENT_ID"),
|
|
6127
|
+
clientSecret: config.clientSecret ?? getEnv("GKEEP_CLIENT_SECRET"),
|
|
6128
|
+
scopes: config.scopes,
|
|
6129
|
+
optionalScopes: config.optionalScopes,
|
|
6130
|
+
redirectUri: config.redirectUri,
|
|
6131
|
+
config: {
|
|
6132
|
+
...config
|
|
6133
|
+
}
|
|
6134
|
+
};
|
|
6135
|
+
return {
|
|
6136
|
+
id: "gkeep",
|
|
6137
|
+
name: "Google Keep",
|
|
6138
|
+
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/google_keep.png",
|
|
6139
|
+
description: "Manage Google Keep notes, attachments, and sharing permissions",
|
|
6140
|
+
category: "Productivity",
|
|
6141
|
+
tools: [...GKEEP_TOOLS],
|
|
6142
|
+
oauth,
|
|
6143
|
+
async onInit(_client) {
|
|
6144
|
+
logger33.debug("Google Keep integration initialized");
|
|
5374
6145
|
},
|
|
5375
6146
|
async onAfterConnect(_client) {
|
|
5376
|
-
|
|
6147
|
+
logger33.debug("Google Keep integration connected");
|
|
5377
6148
|
}
|
|
5378
6149
|
};
|
|
5379
6150
|
}
|
|
5380
6151
|
// src/integrations/gcontacts.ts
|
|
5381
|
-
var
|
|
6152
|
+
var logger34 = createLogger("Google Contacts");
|
|
5382
6153
|
var GCONTACTS_TOOLS = [
|
|
5383
6154
|
"gcontacts_batch_get_contacts",
|
|
5384
6155
|
"gcontacts_copy_other_contact",
|
|
@@ -5412,15 +6183,15 @@ function gcontactsIntegration(config = {}) {
|
|
|
5412
6183
|
tools: [...GCONTACTS_TOOLS],
|
|
5413
6184
|
oauth,
|
|
5414
6185
|
async onInit(_client) {
|
|
5415
|
-
|
|
6186
|
+
logger34.debug("Google Contacts integration initialized");
|
|
5416
6187
|
},
|
|
5417
6188
|
async onAfterConnect(_client) {
|
|
5418
|
-
|
|
6189
|
+
logger34.debug("Google Contacts integration connected");
|
|
5419
6190
|
}
|
|
5420
6191
|
};
|
|
5421
6192
|
}
|
|
5422
6193
|
// src/integrations/outlook.ts
|
|
5423
|
-
var
|
|
6194
|
+
var logger35 = createLogger("Outlook");
|
|
5424
6195
|
var OUTLOOK_TOOLS = [
|
|
5425
6196
|
"outlook_accept_event",
|
|
5426
6197
|
"outlook_create_draft",
|
|
@@ -5467,15 +6238,15 @@ function outlookIntegration(config = {}) {
|
|
|
5467
6238
|
tools: [...OUTLOOK_TOOLS],
|
|
5468
6239
|
oauth,
|
|
5469
6240
|
async onInit(_client) {
|
|
5470
|
-
|
|
6241
|
+
logger35.debug("Outlook integration initialized");
|
|
5471
6242
|
},
|
|
5472
6243
|
async onAfterConnect(_client) {
|
|
5473
|
-
|
|
6244
|
+
logger35.debug("Outlook integration connected");
|
|
5474
6245
|
}
|
|
5475
6246
|
};
|
|
5476
6247
|
}
|
|
5477
6248
|
// src/integrations/teams.ts
|
|
5478
|
-
var
|
|
6249
|
+
var logger36 = createLogger("Teams");
|
|
5479
6250
|
var TEAMS_SCOPES = [
|
|
5480
6251
|
"offline_access",
|
|
5481
6252
|
"User.Read",
|
|
@@ -5525,15 +6296,15 @@ function teamsIntegration(config = {}) {
|
|
|
5525
6296
|
tools: [...TEAMS_TOOLS],
|
|
5526
6297
|
oauth,
|
|
5527
6298
|
async onInit(_client) {
|
|
5528
|
-
|
|
6299
|
+
logger36.debug("Teams integration initialized");
|
|
5529
6300
|
},
|
|
5530
6301
|
async onAfterConnect(_client) {
|
|
5531
|
-
|
|
6302
|
+
logger36.debug("Teams integration connected");
|
|
5532
6303
|
}
|
|
5533
6304
|
};
|
|
5534
6305
|
}
|
|
5535
6306
|
// src/integrations/airtable.ts
|
|
5536
|
-
var
|
|
6307
|
+
var logger37 = createLogger("Airtable");
|
|
5537
6308
|
var AIRTABLE_TOOLS = [
|
|
5538
6309
|
"airtable_list_bases",
|
|
5539
6310
|
"airtable_get_base",
|
|
@@ -5579,15 +6350,15 @@ function airtableIntegration(config = {}) {
|
|
|
5579
6350
|
tools: [...AIRTABLE_TOOLS],
|
|
5580
6351
|
oauth,
|
|
5581
6352
|
async onInit(_client) {
|
|
5582
|
-
|
|
6353
|
+
logger37.debug("Airtable integration initialized");
|
|
5583
6354
|
},
|
|
5584
6355
|
async onAfterConnect(_client) {
|
|
5585
|
-
|
|
6356
|
+
logger37.debug("Airtable integration connected");
|
|
5586
6357
|
}
|
|
5587
6358
|
};
|
|
5588
6359
|
}
|
|
5589
6360
|
// src/integrations/astronomer.ts
|
|
5590
|
-
var
|
|
6361
|
+
var logger38 = createLogger("Astronomer");
|
|
5591
6362
|
var ASTRONOMER_TOOLS = [
|
|
5592
6363
|
"astronomer_get_self",
|
|
5593
6364
|
"astronomer_list_organizations",
|
|
@@ -5622,15 +6393,15 @@ function astronomerIntegration(options = {}) {
|
|
|
5622
6393
|
};
|
|
5623
6394
|
},
|
|
5624
6395
|
async onInit(_client) {
|
|
5625
|
-
|
|
6396
|
+
logger38.debug("Astronomer integration initialized");
|
|
5626
6397
|
},
|
|
5627
6398
|
async onAfterConnect(_client) {
|
|
5628
|
-
|
|
6399
|
+
logger38.debug("Astronomer integration connected");
|
|
5629
6400
|
}
|
|
5630
6401
|
};
|
|
5631
6402
|
}
|
|
5632
6403
|
// src/integrations/betterstack.ts
|
|
5633
|
-
var
|
|
6404
|
+
var logger39 = createLogger("BetterStack");
|
|
5634
6405
|
var BETTERSTACK_TOOLS = [
|
|
5635
6406
|
"betterstack_list_sources",
|
|
5636
6407
|
"betterstack_get_source",
|
|
@@ -5663,15 +6434,15 @@ function betterstackIntegration(options = {}) {
|
|
|
5663
6434
|
};
|
|
5664
6435
|
},
|
|
5665
6436
|
async onInit(_client) {
|
|
5666
|
-
|
|
6437
|
+
logger39.debug("Better Stack integration initialized");
|
|
5667
6438
|
},
|
|
5668
6439
|
async onAfterConnect(_client) {
|
|
5669
|
-
|
|
6440
|
+
logger39.debug("Better Stack integration connected");
|
|
5670
6441
|
}
|
|
5671
6442
|
};
|
|
5672
6443
|
}
|
|
5673
6444
|
// src/integrations/todoist.ts
|
|
5674
|
-
var
|
|
6445
|
+
var logger40 = createLogger("Todoist");
|
|
5675
6446
|
var TODOIST_TOOLS = [
|
|
5676
6447
|
"todoist_list_projects",
|
|
5677
6448
|
"todoist_get_project",
|
|
@@ -5726,15 +6497,15 @@ function todoistIntegration(config = {}) {
|
|
|
5726
6497
|
tools: [...TODOIST_TOOLS],
|
|
5727
6498
|
oauth,
|
|
5728
6499
|
async onInit(_client) {
|
|
5729
|
-
|
|
6500
|
+
logger40.debug("Todoist integration initialized");
|
|
5730
6501
|
},
|
|
5731
6502
|
async onAfterConnect(_client) {
|
|
5732
|
-
|
|
6503
|
+
logger40.debug("Todoist integration connected");
|
|
5733
6504
|
}
|
|
5734
6505
|
};
|
|
5735
6506
|
}
|
|
5736
6507
|
// src/integrations/whatsapp.ts
|
|
5737
|
-
var
|
|
6508
|
+
var logger41 = createLogger("WhatsApp");
|
|
5738
6509
|
var WHATSAPP_TOOLS = [
|
|
5739
6510
|
"whatsapp_send_message",
|
|
5740
6511
|
"whatsapp_reply_message",
|
|
@@ -5783,15 +6554,15 @@ function whatsappIntegration(config = {}) {
|
|
|
5783
6554
|
tools: [...WHATSAPP_TOOLS],
|
|
5784
6555
|
oauth,
|
|
5785
6556
|
async onInit(_client) {
|
|
5786
|
-
|
|
6557
|
+
logger41.debug("WhatsApp Business integration initialized");
|
|
5787
6558
|
},
|
|
5788
6559
|
async onAfterConnect(_client) {
|
|
5789
|
-
|
|
6560
|
+
logger41.debug("WhatsApp Business integration connected");
|
|
5790
6561
|
}
|
|
5791
6562
|
};
|
|
5792
6563
|
}
|
|
5793
6564
|
// src/integrations/calcom.ts
|
|
5794
|
-
var
|
|
6565
|
+
var logger42 = createLogger("Cal.com");
|
|
5795
6566
|
var CALCOM_TOOLS = [
|
|
5796
6567
|
"calcom_list_bookings",
|
|
5797
6568
|
"calcom_get_booking",
|
|
@@ -5867,15 +6638,15 @@ function calcomIntegration(config = {}) {
|
|
|
5867
6638
|
tools: [...CALCOM_TOOLS],
|
|
5868
6639
|
oauth,
|
|
5869
6640
|
async onInit(_client) {
|
|
5870
|
-
|
|
6641
|
+
logger42.debug("Cal.com integration initialized");
|
|
5871
6642
|
},
|
|
5872
6643
|
async onAfterConnect(_client) {
|
|
5873
|
-
|
|
6644
|
+
logger42.debug("Cal.com integration connected");
|
|
5874
6645
|
}
|
|
5875
6646
|
};
|
|
5876
6647
|
}
|
|
5877
6648
|
// src/integrations/ramp.ts
|
|
5878
|
-
var
|
|
6649
|
+
var logger43 = createLogger("Ramp");
|
|
5879
6650
|
var RAMP_TOOLS = [
|
|
5880
6651
|
"ramp_list_transactions",
|
|
5881
6652
|
"ramp_get_transaction",
|
|
@@ -5907,15 +6678,15 @@ function rampIntegration(config = {}) {
|
|
|
5907
6678
|
tools: [...RAMP_TOOLS],
|
|
5908
6679
|
oauth,
|
|
5909
6680
|
async onInit(_client) {
|
|
5910
|
-
|
|
6681
|
+
logger43.debug("Ramp integration initialized");
|
|
5911
6682
|
},
|
|
5912
6683
|
async onAfterConnect(_client) {
|
|
5913
|
-
|
|
6684
|
+
logger43.debug("Ramp integration connected");
|
|
5914
6685
|
}
|
|
5915
6686
|
};
|
|
5916
6687
|
}
|
|
5917
6688
|
// src/integrations/onedrive.ts
|
|
5918
|
-
var
|
|
6689
|
+
var logger44 = createLogger("OneDrive");
|
|
5919
6690
|
var ONEDRIVE_TOOLS = [
|
|
5920
6691
|
"onedrive_create_folder",
|
|
5921
6692
|
"onedrive_delete_file",
|
|
@@ -5947,10 +6718,10 @@ function onedriveIntegration(config = {}) {
|
|
|
5947
6718
|
tools: [...ONEDRIVE_TOOLS],
|
|
5948
6719
|
oauth,
|
|
5949
6720
|
async onInit(_client) {
|
|
5950
|
-
|
|
6721
|
+
logger44.debug("OneDrive integration initialized");
|
|
5951
6722
|
},
|
|
5952
6723
|
async onAfterConnect(_client) {
|
|
5953
|
-
|
|
6724
|
+
logger44.debug("OneDrive integration connected");
|
|
5954
6725
|
}
|
|
5955
6726
|
};
|
|
5956
6727
|
}
|
|
@@ -5988,7 +6759,7 @@ function plannerIntegration(config = {}) {
|
|
|
5988
6759
|
};
|
|
5989
6760
|
}
|
|
5990
6761
|
// src/integrations/dropbox.ts
|
|
5991
|
-
var
|
|
6762
|
+
var logger45 = createLogger("Dropbox");
|
|
5992
6763
|
var DROPBOX_TOOLS = [
|
|
5993
6764
|
"dropbox_get_current_account",
|
|
5994
6765
|
"dropbox_get_space_usage",
|
|
@@ -6030,15 +6801,15 @@ function dropboxIntegration(options = {}) {
|
|
|
6030
6801
|
authType: "oauth",
|
|
6031
6802
|
oauth,
|
|
6032
6803
|
async onInit(_client) {
|
|
6033
|
-
|
|
6804
|
+
logger45.debug("Dropbox integration initialized");
|
|
6034
6805
|
},
|
|
6035
6806
|
async onAfterConnect(_client) {
|
|
6036
|
-
|
|
6807
|
+
logger45.debug("Dropbox integration connected");
|
|
6037
6808
|
}
|
|
6038
6809
|
};
|
|
6039
6810
|
}
|
|
6040
6811
|
// src/integrations/paper.ts
|
|
6041
|
-
var
|
|
6812
|
+
var logger46 = createLogger("Paper");
|
|
6042
6813
|
var PAPER_SCOPES = [
|
|
6043
6814
|
"account_info.read",
|
|
6044
6815
|
"files.metadata.read",
|
|
@@ -6084,15 +6855,15 @@ function paperIntegration(config = {}) {
|
|
|
6084
6855
|
authType: "oauth",
|
|
6085
6856
|
oauth,
|
|
6086
6857
|
async onInit(_client) {
|
|
6087
|
-
|
|
6858
|
+
logger46.debug("Paper integration initialized");
|
|
6088
6859
|
},
|
|
6089
6860
|
async onAfterConnect(_client) {
|
|
6090
|
-
|
|
6861
|
+
logger46.debug("Paper integration connected");
|
|
6091
6862
|
}
|
|
6092
6863
|
};
|
|
6093
6864
|
}
|
|
6094
6865
|
// src/integrations/gdocs.ts
|
|
6095
|
-
var
|
|
6866
|
+
var logger47 = createLogger("Google Docs");
|
|
6096
6867
|
var GDOCS_TOOLS = [
|
|
6097
6868
|
"gdocs_append_text",
|
|
6098
6869
|
"gdocs_batch_update",
|
|
@@ -6122,15 +6893,15 @@ function gdocsIntegration(config = {}) {
|
|
|
6122
6893
|
tools: [...GDOCS_TOOLS],
|
|
6123
6894
|
oauth,
|
|
6124
6895
|
async onInit(_client) {
|
|
6125
|
-
|
|
6896
|
+
logger47.debug("Google Docs integration initialized");
|
|
6126
6897
|
},
|
|
6127
6898
|
async onAfterConnect(_client) {
|
|
6128
|
-
|
|
6899
|
+
logger47.debug("Google Docs integration connected");
|
|
6129
6900
|
}
|
|
6130
6901
|
};
|
|
6131
6902
|
}
|
|
6132
6903
|
// src/integrations/gsheets.ts
|
|
6133
|
-
var
|
|
6904
|
+
var logger48 = createLogger("Google Sheets");
|
|
6134
6905
|
var GSHEETS_TOOLS = [
|
|
6135
6906
|
"gsheets_append_values",
|
|
6136
6907
|
"gsheets_batch_update",
|
|
@@ -6160,15 +6931,15 @@ function gsheetsIntegration(config = {}) {
|
|
|
6160
6931
|
tools: [...GSHEETS_TOOLS],
|
|
6161
6932
|
oauth,
|
|
6162
6933
|
async onInit(_client) {
|
|
6163
|
-
|
|
6934
|
+
logger48.debug("Google Sheets integration initialized");
|
|
6164
6935
|
},
|
|
6165
6936
|
async onAfterConnect(_client) {
|
|
6166
|
-
|
|
6937
|
+
logger48.debug("Google Sheets integration connected");
|
|
6167
6938
|
}
|
|
6168
6939
|
};
|
|
6169
6940
|
}
|
|
6170
6941
|
// src/integrations/gslides.ts
|
|
6171
|
-
var
|
|
6942
|
+
var logger49 = createLogger("Google Slides");
|
|
6172
6943
|
var GSLIDES_TOOLS = [
|
|
6173
6944
|
"gslides_add_slide",
|
|
6174
6945
|
"gslides_batch_update",
|
|
@@ -6197,15 +6968,15 @@ function gslidesIntegration(config = {}) {
|
|
|
6197
6968
|
tools: [...GSLIDES_TOOLS],
|
|
6198
6969
|
oauth,
|
|
6199
6970
|
async onInit(_client) {
|
|
6200
|
-
|
|
6971
|
+
logger49.debug("Google Slides integration initialized");
|
|
6201
6972
|
},
|
|
6202
6973
|
async onAfterConnect(_client) {
|
|
6203
|
-
|
|
6974
|
+
logger49.debug("Google Slides integration connected");
|
|
6204
6975
|
}
|
|
6205
6976
|
};
|
|
6206
6977
|
}
|
|
6207
6978
|
// src/integrations/polar.ts
|
|
6208
|
-
var
|
|
6979
|
+
var logger50 = createLogger("Polar");
|
|
6209
6980
|
var POLAR_TOOLS = [
|
|
6210
6981
|
"polar_list_products",
|
|
6211
6982
|
"polar_get_product",
|
|
@@ -6262,15 +7033,15 @@ function polarIntegration(config = {}) {
|
|
|
6262
7033
|
tools: [...POLAR_TOOLS],
|
|
6263
7034
|
oauth,
|
|
6264
7035
|
async onInit(_client) {
|
|
6265
|
-
|
|
7036
|
+
logger50.debug("Polar integration initialized");
|
|
6266
7037
|
},
|
|
6267
7038
|
async onAfterConnect(_client) {
|
|
6268
|
-
|
|
7039
|
+
logger50.debug("Polar integration connected");
|
|
6269
7040
|
}
|
|
6270
7041
|
};
|
|
6271
7042
|
}
|
|
6272
7043
|
// src/integrations/supabase.ts
|
|
6273
|
-
var
|
|
7044
|
+
var logger51 = createLogger("Supabase");
|
|
6274
7045
|
var SUPABASE_API_BASE = "https://api.supabase.com";
|
|
6275
7046
|
var SUPABASE_TOOLS = [
|
|
6276
7047
|
"supabase_get_profile",
|
|
@@ -6308,10 +7079,10 @@ function supabaseIntegration(config = {}) {
|
|
|
6308
7079
|
};
|
|
6309
7080
|
},
|
|
6310
7081
|
async onInit(_client) {
|
|
6311
|
-
|
|
7082
|
+
logger51.debug("Supabase integration initialized (personal access token)");
|
|
6312
7083
|
},
|
|
6313
7084
|
async onAfterConnect(_client) {
|
|
6314
|
-
|
|
7085
|
+
logger51.debug("Supabase integration connected");
|
|
6315
7086
|
}
|
|
6316
7087
|
};
|
|
6317
7088
|
}
|
|
@@ -6341,15 +7112,15 @@ function supabaseIntegration(config = {}) {
|
|
|
6341
7112
|
tools: [...SUPABASE_TOOLS],
|
|
6342
7113
|
oauth,
|
|
6343
7114
|
async onInit(_client) {
|
|
6344
|
-
|
|
7115
|
+
logger51.debug("Supabase integration initialized");
|
|
6345
7116
|
},
|
|
6346
7117
|
async onAfterConnect(_client) {
|
|
6347
|
-
|
|
7118
|
+
logger51.debug("Supabase integration connected");
|
|
6348
7119
|
}
|
|
6349
7120
|
};
|
|
6350
7121
|
}
|
|
6351
7122
|
// src/integrations/phantom.ts
|
|
6352
|
-
var
|
|
7123
|
+
var logger52 = createLogger("Phantom");
|
|
6353
7124
|
var PHANTOM_TOOLS = [
|
|
6354
7125
|
"phantom_build_browse_deeplink",
|
|
6355
7126
|
"phantom_deeplink_provider_reference"
|
|
@@ -6371,15 +7142,15 @@ function phantomIntegration(_options = {}) {
|
|
|
6371
7142
|
category: "Other",
|
|
6372
7143
|
tools: [...PHANTOM_TOOLS],
|
|
6373
7144
|
async onInit(_client) {
|
|
6374
|
-
|
|
7145
|
+
logger52.debug("Phantom integration initialized");
|
|
6375
7146
|
},
|
|
6376
7147
|
async onAfterConnect(_client) {
|
|
6377
|
-
|
|
7148
|
+
logger52.debug("Phantom integration connected");
|
|
6378
7149
|
}
|
|
6379
7150
|
};
|
|
6380
7151
|
}
|
|
6381
7152
|
// src/integrations/facebook.ts
|
|
6382
|
-
var
|
|
7153
|
+
var logger53 = createLogger("Facebook");
|
|
6383
7154
|
var FACEBOOK_SCOPES = [
|
|
6384
7155
|
"public_profile",
|
|
6385
7156
|
"email",
|
|
@@ -6425,15 +7196,15 @@ function facebookIntegration(config = {}) {
|
|
|
6425
7196
|
tools: [...FACEBOOK_TOOLS],
|
|
6426
7197
|
oauth,
|
|
6427
7198
|
async onInit(_client) {
|
|
6428
|
-
|
|
7199
|
+
logger53.debug("Facebook integration initialized");
|
|
6429
7200
|
},
|
|
6430
7201
|
async onAfterConnect(_client) {
|
|
6431
|
-
|
|
7202
|
+
logger53.debug("Facebook integration connected");
|
|
6432
7203
|
}
|
|
6433
7204
|
};
|
|
6434
7205
|
}
|
|
6435
7206
|
// src/integrations/figma.ts
|
|
6436
|
-
var
|
|
7207
|
+
var logger54 = createLogger("Figma");
|
|
6437
7208
|
var FIGMA_TOOLS = [
|
|
6438
7209
|
"figma_get_file",
|
|
6439
7210
|
"figma_get_file_nodes",
|
|
@@ -6499,15 +7270,15 @@ function figmaIntegration(config = {}) {
|
|
|
6499
7270
|
tools: [...FIGMA_TOOLS],
|
|
6500
7271
|
oauth,
|
|
6501
7272
|
async onInit(_client) {
|
|
6502
|
-
|
|
7273
|
+
logger54.debug("Figma integration initialized");
|
|
6503
7274
|
},
|
|
6504
7275
|
async onAfterConnect(_client) {
|
|
6505
|
-
|
|
7276
|
+
logger54.debug("Figma integration connected");
|
|
6506
7277
|
}
|
|
6507
7278
|
};
|
|
6508
7279
|
}
|
|
6509
7280
|
// src/integrations/intercom.ts
|
|
6510
|
-
var
|
|
7281
|
+
var logger55 = createLogger("Intercom");
|
|
6511
7282
|
var INTERCOM_TOOLS = [
|
|
6512
7283
|
"intercom_list_contacts",
|
|
6513
7284
|
"intercom_get_contact",
|
|
@@ -6538,15 +7309,15 @@ function intercomIntegration(config = {}) {
|
|
|
6538
7309
|
tools: [...INTERCOM_TOOLS],
|
|
6539
7310
|
oauth,
|
|
6540
7311
|
async onInit(_client) {
|
|
6541
|
-
|
|
7312
|
+
logger55.debug("Intercom integration initialized");
|
|
6542
7313
|
},
|
|
6543
7314
|
async onAfterConnect(_client) {
|
|
6544
|
-
|
|
7315
|
+
logger55.debug("Intercom integration connected");
|
|
6545
7316
|
}
|
|
6546
7317
|
};
|
|
6547
7318
|
}
|
|
6548
7319
|
// src/integrations/hubspot.ts
|
|
6549
|
-
var
|
|
7320
|
+
var logger56 = createLogger("HubSpot");
|
|
6550
7321
|
var HUBSPOT_TOOLS = [
|
|
6551
7322
|
"hubspot_list_contacts",
|
|
6552
7323
|
"hubspot_get_contact",
|
|
@@ -6596,15 +7367,15 @@ function hubspotIntegration(config = {}) {
|
|
|
6596
7367
|
tools: [...HUBSPOT_TOOLS],
|
|
6597
7368
|
oauth,
|
|
6598
7369
|
async onInit(_client) {
|
|
6599
|
-
|
|
7370
|
+
logger56.debug("HubSpot integration initialized");
|
|
6600
7371
|
},
|
|
6601
7372
|
async onAfterConnect(_client) {
|
|
6602
|
-
|
|
7373
|
+
logger56.debug("HubSpot integration connected");
|
|
6603
7374
|
}
|
|
6604
7375
|
};
|
|
6605
7376
|
}
|
|
6606
7377
|
// src/integrations/instagram.ts
|
|
6607
|
-
var
|
|
7378
|
+
var logger57 = createLogger("Instagram");
|
|
6608
7379
|
var INSTAGRAM_SCOPES = [
|
|
6609
7380
|
"pages_show_list",
|
|
6610
7381
|
"pages_read_engagement",
|
|
@@ -6654,15 +7425,15 @@ function instagramIntegration(config = {}) {
|
|
|
6654
7425
|
tools: [...INSTAGRAM_TOOLS],
|
|
6655
7426
|
oauth,
|
|
6656
7427
|
async onInit(_client) {
|
|
6657
|
-
|
|
7428
|
+
logger57.debug("Instagram integration initialized");
|
|
6658
7429
|
},
|
|
6659
7430
|
async onAfterConnect(_client) {
|
|
6660
|
-
|
|
7431
|
+
logger57.debug("Instagram integration connected");
|
|
6661
7432
|
}
|
|
6662
7433
|
};
|
|
6663
7434
|
}
|
|
6664
7435
|
// src/integrations/youtube.ts
|
|
6665
|
-
var
|
|
7436
|
+
var logger58 = createLogger("YouTube");
|
|
6666
7437
|
var YOUTUBE_TOOLS = [
|
|
6667
7438
|
"youtube_add_comment",
|
|
6668
7439
|
"youtube_add_to_playlist",
|
|
@@ -6708,15 +7479,15 @@ function youtubeIntegration(config = {}) {
|
|
|
6708
7479
|
tools: [...YOUTUBE_TOOLS],
|
|
6709
7480
|
oauth,
|
|
6710
7481
|
async onInit(_client) {
|
|
6711
|
-
|
|
7482
|
+
logger58.debug("YouTube integration initialized");
|
|
6712
7483
|
},
|
|
6713
7484
|
async onAfterConnect(_client) {
|
|
6714
|
-
|
|
7485
|
+
logger58.debug("YouTube integration connected");
|
|
6715
7486
|
}
|
|
6716
7487
|
};
|
|
6717
7488
|
}
|
|
6718
7489
|
// src/integrations/cursor.ts
|
|
6719
|
-
var
|
|
7490
|
+
var logger59 = createLogger("Cursor");
|
|
6720
7491
|
var CURSOR_TOOLS = [
|
|
6721
7492
|
"cursor_list_agents",
|
|
6722
7493
|
"cursor_get_agent",
|
|
@@ -6736,15 +7507,15 @@ function cursorIntegration(_config = {}) {
|
|
|
6736
7507
|
logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/cursor.jpeg",
|
|
6737
7508
|
tools: [...CURSOR_TOOLS],
|
|
6738
7509
|
async onInit(_client) {
|
|
6739
|
-
|
|
7510
|
+
logger59.debug("Cursor integration initialized");
|
|
6740
7511
|
},
|
|
6741
7512
|
async onAfterConnect(_client) {
|
|
6742
|
-
|
|
7513
|
+
logger59.debug("Cursor integration connected");
|
|
6743
7514
|
}
|
|
6744
7515
|
};
|
|
6745
7516
|
}
|
|
6746
7517
|
// src/integrations/databricks.ts
|
|
6747
|
-
var
|
|
7518
|
+
var logger60 = createLogger("Databricks");
|
|
6748
7519
|
var DATABRICKS_SCOPES = ["all-apis", "offline_access"];
|
|
6749
7520
|
var DATABRICKS_TOOLS = [
|
|
6750
7521
|
"databricks_current_user",
|
|
@@ -6791,15 +7562,15 @@ function databricksIntegration(config = {}) {
|
|
|
6791
7562
|
tools: [...DATABRICKS_TOOLS],
|
|
6792
7563
|
oauth,
|
|
6793
7564
|
async onInit(_client) {
|
|
6794
|
-
|
|
7565
|
+
logger60.debug("Databricks integration initialized");
|
|
6795
7566
|
},
|
|
6796
7567
|
async onAfterConnect(_client) {
|
|
6797
|
-
|
|
7568
|
+
logger60.debug("Databricks integration connected");
|
|
6798
7569
|
}
|
|
6799
7570
|
};
|
|
6800
7571
|
}
|
|
6801
7572
|
// src/integrations/posthog.ts
|
|
6802
|
-
var
|
|
7573
|
+
var logger61 = createLogger("PostHog");
|
|
6803
7574
|
var DEFAULT_POSTHOG_BASE_URL = "https://us.posthog.com";
|
|
6804
7575
|
var POSTHOG_SCOPES = [
|
|
6805
7576
|
"openid",
|
|
@@ -6885,15 +7656,15 @@ function posthogIntegration(config = {}) {
|
|
|
6885
7656
|
tools: [...POSTHOG_TOOLS],
|
|
6886
7657
|
oauth,
|
|
6887
7658
|
async onInit(_client) {
|
|
6888
|
-
|
|
7659
|
+
logger61.debug("PostHog integration initialized");
|
|
6889
7660
|
},
|
|
6890
7661
|
async onAfterConnect(_client) {
|
|
6891
|
-
|
|
7662
|
+
logger61.debug("PostHog integration connected");
|
|
6892
7663
|
}
|
|
6893
7664
|
};
|
|
6894
7665
|
}
|
|
6895
7666
|
// src/integrations/postman.ts
|
|
6896
|
-
var
|
|
7667
|
+
var logger62 = createLogger("Postman");
|
|
6897
7668
|
var POSTMAN_TOOLS = [
|
|
6898
7669
|
"postman_get_me",
|
|
6899
7670
|
"postman_list_workspaces",
|
|
@@ -6924,15 +7695,15 @@ function postmanIntegration(options = {}) {
|
|
|
6924
7695
|
};
|
|
6925
7696
|
},
|
|
6926
7697
|
async onInit(_client) {
|
|
6927
|
-
|
|
7698
|
+
logger62.debug("Postman integration initialized");
|
|
6928
7699
|
},
|
|
6929
7700
|
async onAfterConnect(_client) {
|
|
6930
|
-
|
|
7701
|
+
logger62.debug("Postman integration connected");
|
|
6931
7702
|
}
|
|
6932
7703
|
};
|
|
6933
7704
|
}
|
|
6934
7705
|
// src/integrations/sentry.ts
|
|
6935
|
-
var
|
|
7706
|
+
var logger63 = createLogger("Sentry");
|
|
6936
7707
|
var SENTRY_SCOPES = [
|
|
6937
7708
|
"org:read",
|
|
6938
7709
|
"project:read",
|
|
@@ -6981,15 +7752,15 @@ function sentryIntegration(config = {}) {
|
|
|
6981
7752
|
tools: [...SENTRY_TOOLS],
|
|
6982
7753
|
oauth,
|
|
6983
7754
|
async onInit(_client) {
|
|
6984
|
-
|
|
7755
|
+
logger63.debug("Sentry integration initialized");
|
|
6985
7756
|
},
|
|
6986
7757
|
async onAfterConnect(_client) {
|
|
6987
|
-
|
|
7758
|
+
logger63.debug("Sentry integration connected");
|
|
6988
7759
|
}
|
|
6989
7760
|
};
|
|
6990
7761
|
}
|
|
6991
7762
|
// src/integrations/datadog.ts
|
|
6992
|
-
var
|
|
7763
|
+
var logger64 = createLogger("Datadog");
|
|
6993
7764
|
var DATADOG_SCOPES = [
|
|
6994
7765
|
"monitors_read",
|
|
6995
7766
|
"dashboards_read",
|
|
@@ -7019,10 +7790,10 @@ function datadogIntegration(config = {}) {
|
|
|
7019
7790
|
category: "Engineering",
|
|
7020
7791
|
tools: [...DATADOG_TOOLS],
|
|
7021
7792
|
async onInit(_client) {
|
|
7022
|
-
|
|
7793
|
+
logger64.debug("Datadog integration initialized");
|
|
7023
7794
|
},
|
|
7024
7795
|
async onAfterConnect(_client) {
|
|
7025
|
-
|
|
7796
|
+
logger64.debug("Datadog integration connected");
|
|
7026
7797
|
}
|
|
7027
7798
|
};
|
|
7028
7799
|
if (apiKey || applicationKey) {
|
|
@@ -7063,7 +7834,7 @@ function datadogIntegration(config = {}) {
|
|
|
7063
7834
|
};
|
|
7064
7835
|
}
|
|
7065
7836
|
// src/integrations/netlify.ts
|
|
7066
|
-
var
|
|
7837
|
+
var logger65 = createLogger("Netlify");
|
|
7067
7838
|
var NETLIFY_TOOLS = [
|
|
7068
7839
|
"netlify_get_current_user",
|
|
7069
7840
|
"netlify_list_accounts",
|
|
@@ -7126,15 +7897,15 @@ function netlifyIntegration(config = {}) {
|
|
|
7126
7897
|
tools: [...NETLIFY_TOOLS],
|
|
7127
7898
|
oauth,
|
|
7128
7899
|
async onInit(_client) {
|
|
7129
|
-
|
|
7900
|
+
logger65.debug("Netlify integration initialized");
|
|
7130
7901
|
},
|
|
7131
7902
|
async onAfterConnect(_client) {
|
|
7132
|
-
|
|
7903
|
+
logger65.debug("Netlify integration connected");
|
|
7133
7904
|
}
|
|
7134
7905
|
};
|
|
7135
7906
|
}
|
|
7136
7907
|
// src/integrations/redis.ts
|
|
7137
|
-
var
|
|
7908
|
+
var logger66 = createLogger("Redis Cloud");
|
|
7138
7909
|
var REDIS_TOOLS = [
|
|
7139
7910
|
"redis_list_subscriptions",
|
|
7140
7911
|
"redis_get_subscription",
|
|
@@ -7189,15 +7960,15 @@ function redisIntegration(options = {}) {
|
|
|
7189
7960
|
};
|
|
7190
7961
|
},
|
|
7191
7962
|
async onInit(_client) {
|
|
7192
|
-
|
|
7963
|
+
logger66.debug("Redis Cloud integration initialized");
|
|
7193
7964
|
},
|
|
7194
7965
|
async onAfterConnect(_client) {
|
|
7195
|
-
|
|
7966
|
+
logger66.debug("Redis Cloud integration connected");
|
|
7196
7967
|
}
|
|
7197
7968
|
};
|
|
7198
7969
|
}
|
|
7199
7970
|
// src/integrations/webflow.ts
|
|
7200
|
-
var
|
|
7971
|
+
var logger67 = createLogger("Webflow");
|
|
7201
7972
|
var WEBFLOW_TOOLS = [
|
|
7202
7973
|
"webflow_token_introspect",
|
|
7203
7974
|
"webflow_get_authorized_user",
|
|
@@ -7256,15 +8027,15 @@ function webflowIntegration(config = {}) {
|
|
|
7256
8027
|
tools: [...WEBFLOW_TOOLS],
|
|
7257
8028
|
oauth,
|
|
7258
8029
|
async onInit(_client) {
|
|
7259
|
-
|
|
8030
|
+
logger67.debug("Webflow integration initialized");
|
|
7260
8031
|
},
|
|
7261
8032
|
async onAfterConnect(_client) {
|
|
7262
|
-
|
|
8033
|
+
logger67.debug("Webflow integration connected");
|
|
7263
8034
|
}
|
|
7264
8035
|
};
|
|
7265
8036
|
}
|
|
7266
8037
|
// src/integrations/jira.ts
|
|
7267
|
-
var
|
|
8038
|
+
var logger68 = createLogger("Jira");
|
|
7268
8039
|
var JIRA_SCOPES = [
|
|
7269
8040
|
"read:jira-work",
|
|
7270
8041
|
"write:jira-work",
|
|
@@ -7309,15 +8080,15 @@ function jiraIntegration(config = {}) {
|
|
|
7309
8080
|
tools: [...JIRA_TOOLS],
|
|
7310
8081
|
oauth,
|
|
7311
8082
|
async onInit(_client) {
|
|
7312
|
-
|
|
8083
|
+
logger68.debug("Jira integration initialized");
|
|
7313
8084
|
},
|
|
7314
8085
|
async onAfterConnect(_client) {
|
|
7315
|
-
|
|
8086
|
+
logger68.debug("Jira integration connected");
|
|
7316
8087
|
}
|
|
7317
8088
|
};
|
|
7318
8089
|
}
|
|
7319
8090
|
// src/integrations/linkedin.ts
|
|
7320
|
-
var
|
|
8091
|
+
var logger69 = createLogger("LinkedIn");
|
|
7321
8092
|
var LINKEDIN_SCOPES = ["openid", "profile", "email", "w_member_social"];
|
|
7322
8093
|
var LINKEDIN_TOOLS = ["linkedin_get_userinfo", "linkedin_create_post"];
|
|
7323
8094
|
function linkedinIntegration(config = {}) {
|
|
@@ -7344,15 +8115,15 @@ function linkedinIntegration(config = {}) {
|
|
|
7344
8115
|
tools: [...LINKEDIN_TOOLS],
|
|
7345
8116
|
oauth,
|
|
7346
8117
|
async onInit(_client) {
|
|
7347
|
-
|
|
8118
|
+
logger69.debug("LinkedIn integration initialized");
|
|
7348
8119
|
},
|
|
7349
8120
|
async onAfterConnect(_client) {
|
|
7350
|
-
|
|
8121
|
+
logger69.debug("LinkedIn integration connected");
|
|
7351
8122
|
}
|
|
7352
8123
|
};
|
|
7353
8124
|
}
|
|
7354
8125
|
// src/integrations/threads.ts
|
|
7355
|
-
var
|
|
8126
|
+
var logger70 = createLogger("Threads");
|
|
7356
8127
|
var THREADS_SCOPES = [
|
|
7357
8128
|
"threads_basic",
|
|
7358
8129
|
"threads_content_publish",
|
|
@@ -7403,15 +8174,15 @@ function threadsIntegration(config = {}) {
|
|
|
7403
8174
|
tools: [...THREADS_TOOLS],
|
|
7404
8175
|
oauth,
|
|
7405
8176
|
async onInit(_client) {
|
|
7406
|
-
|
|
8177
|
+
logger70.debug("Threads integration initialized");
|
|
7407
8178
|
},
|
|
7408
8179
|
async onAfterConnect(_client) {
|
|
7409
|
-
|
|
8180
|
+
logger70.debug("Threads integration connected");
|
|
7410
8181
|
}
|
|
7411
8182
|
};
|
|
7412
8183
|
}
|
|
7413
8184
|
// src/integrations/tiktok.ts
|
|
7414
|
-
var
|
|
8185
|
+
var logger71 = createLogger("TikTok");
|
|
7415
8186
|
var TIKTOK_SCOPES = ["user.info.basic", "video.list"];
|
|
7416
8187
|
var TIKTOK_TOOLS = [
|
|
7417
8188
|
"tiktok_get_user_info",
|
|
@@ -7442,15 +8213,15 @@ function tiktokIntegration(config = {}) {
|
|
|
7442
8213
|
tools: [...TIKTOK_TOOLS],
|
|
7443
8214
|
oauth,
|
|
7444
8215
|
async onInit(_client) {
|
|
7445
|
-
|
|
8216
|
+
logger71.debug("TikTok integration initialized");
|
|
7446
8217
|
},
|
|
7447
8218
|
async onAfterConnect(_client) {
|
|
7448
|
-
|
|
8219
|
+
logger71.debug("TikTok integration connected");
|
|
7449
8220
|
}
|
|
7450
8221
|
};
|
|
7451
8222
|
}
|
|
7452
8223
|
// src/integrations/trello.ts
|
|
7453
|
-
var
|
|
8224
|
+
var logger72 = createLogger("Trello");
|
|
7454
8225
|
var TRELLO_TOOLS = [
|
|
7455
8226
|
"trello_get_member",
|
|
7456
8227
|
"trello_list_boards",
|
|
@@ -7487,15 +8258,15 @@ function trelloIntegration(options = {}) {
|
|
|
7487
8258
|
return { Authorization: `Bearer ${encodeCredential(apiKey, memberToken)}` };
|
|
7488
8259
|
},
|
|
7489
8260
|
async onInit(_client) {
|
|
7490
|
-
|
|
8261
|
+
logger72.debug("Trello integration initialized");
|
|
7491
8262
|
},
|
|
7492
8263
|
async onAfterConnect(_client) {
|
|
7493
|
-
|
|
8264
|
+
logger72.debug("Trello integration connected");
|
|
7494
8265
|
}
|
|
7495
8266
|
};
|
|
7496
8267
|
}
|
|
7497
8268
|
// src/integrations/typeform.ts
|
|
7498
|
-
var
|
|
8269
|
+
var logger73 = createLogger("Typeform");
|
|
7499
8270
|
var TYPEFORM_SCOPES = [
|
|
7500
8271
|
"offline",
|
|
7501
8272
|
"accounts:read",
|
|
@@ -7539,15 +8310,15 @@ function typeformIntegration(config = {}) {
|
|
|
7539
8310
|
tools: [...TYPEFORM_TOOLS],
|
|
7540
8311
|
oauth,
|
|
7541
8312
|
async onInit(_client) {
|
|
7542
|
-
|
|
8313
|
+
logger73.debug("Typeform integration initialized");
|
|
7543
8314
|
},
|
|
7544
8315
|
async onAfterConnect(_client) {
|
|
7545
|
-
|
|
8316
|
+
logger73.debug("Typeform integration connected");
|
|
7546
8317
|
}
|
|
7547
8318
|
};
|
|
7548
8319
|
}
|
|
7549
8320
|
// src/integrations/sharepoint.ts
|
|
7550
|
-
var
|
|
8321
|
+
var logger74 = createLogger("SharePoint");
|
|
7551
8322
|
var SHAREPOINT_SCOPES = ["Sites.ReadWrite.All", "Files.ReadWrite.All", "offline_access"];
|
|
7552
8323
|
var SHAREPOINT_TOOLS = [
|
|
7553
8324
|
"sharepoint_create_folder",
|
|
@@ -7586,15 +8357,15 @@ function sharepointIntegration(config = {}) {
|
|
|
7586
8357
|
tools: [...SHAREPOINT_TOOLS],
|
|
7587
8358
|
oauth,
|
|
7588
8359
|
async onInit(_client) {
|
|
7589
|
-
|
|
8360
|
+
logger74.debug("SharePoint integration initialized");
|
|
7590
8361
|
},
|
|
7591
8362
|
async onAfterConnect(_client) {
|
|
7592
|
-
|
|
8363
|
+
logger74.debug("SharePoint integration connected");
|
|
7593
8364
|
}
|
|
7594
8365
|
};
|
|
7595
8366
|
}
|
|
7596
8367
|
// src/integrations/xero.ts
|
|
7597
|
-
var
|
|
8368
|
+
var logger75 = createLogger("Xero");
|
|
7598
8369
|
var XERO_SCOPES = [
|
|
7599
8370
|
"openid",
|
|
7600
8371
|
"profile",
|
|
@@ -7641,15 +8412,15 @@ function xeroIntegration(config = {}) {
|
|
|
7641
8412
|
tools: [...XERO_TOOLS],
|
|
7642
8413
|
oauth,
|
|
7643
8414
|
async onInit(_client) {
|
|
7644
|
-
|
|
8415
|
+
logger75.debug("Xero integration initialized");
|
|
7645
8416
|
},
|
|
7646
8417
|
async onAfterConnect(_client) {
|
|
7647
|
-
|
|
8418
|
+
logger75.debug("Xero integration connected");
|
|
7648
8419
|
}
|
|
7649
8420
|
};
|
|
7650
8421
|
}
|
|
7651
8422
|
// src/integrations/salesforce.ts
|
|
7652
|
-
var
|
|
8423
|
+
var logger76 = createLogger("Salesforce");
|
|
7653
8424
|
var SALESFORCE_TOOLS = [
|
|
7654
8425
|
"salesforce_query",
|
|
7655
8426
|
"salesforce_get_limits",
|
|
@@ -7680,15 +8451,15 @@ function salesforceIntegration(config = {}) {
|
|
|
7680
8451
|
tools: [...SALESFORCE_TOOLS],
|
|
7681
8452
|
oauth,
|
|
7682
8453
|
async onInit(_client) {
|
|
7683
|
-
|
|
8454
|
+
logger76.debug("Salesforce integration initialized");
|
|
7684
8455
|
},
|
|
7685
8456
|
async onAfterConnect(_client) {
|
|
7686
|
-
|
|
8457
|
+
logger76.debug("Salesforce integration connected");
|
|
7687
8458
|
}
|
|
7688
8459
|
};
|
|
7689
8460
|
}
|
|
7690
8461
|
// src/integrations/attio.ts
|
|
7691
|
-
var
|
|
8462
|
+
var logger77 = createLogger("Attio");
|
|
7692
8463
|
var ATTIO_SCOPES = [
|
|
7693
8464
|
"record_permission:read-write",
|
|
7694
8465
|
"object_configuration:read",
|
|
@@ -7734,15 +8505,15 @@ function attioIntegration(config = {}) {
|
|
|
7734
8505
|
tools: [...ATTIO_TOOLS],
|
|
7735
8506
|
oauth,
|
|
7736
8507
|
async onInit(_client) {
|
|
7737
|
-
|
|
8508
|
+
logger77.debug("Attio integration initialized");
|
|
7738
8509
|
},
|
|
7739
8510
|
async onAfterConnect(_client) {
|
|
7740
|
-
|
|
8511
|
+
logger77.debug("Attio integration connected");
|
|
7741
8512
|
}
|
|
7742
8513
|
};
|
|
7743
8514
|
}
|
|
7744
8515
|
// src/integrations/gchat.ts
|
|
7745
|
-
var
|
|
8516
|
+
var logger78 = createLogger("Google Chat");
|
|
7746
8517
|
var GCHAT_SCOPES = [
|
|
7747
8518
|
"https://www.googleapis.com/auth/chat.messages",
|
|
7748
8519
|
"https://www.googleapis.com/auth/chat.spaces.readonly"
|
|
@@ -7781,15 +8552,15 @@ function gchatIntegration(config = {}) {
|
|
|
7781
8552
|
tools: [...GCHAT_TOOLS],
|
|
7782
8553
|
oauth,
|
|
7783
8554
|
async onInit(_client) {
|
|
7784
|
-
|
|
8555
|
+
logger78.debug("Google Chat integration initialized");
|
|
7785
8556
|
},
|
|
7786
8557
|
async onAfterConnect(_client) {
|
|
7787
|
-
|
|
8558
|
+
logger78.debug("Google Chat integration connected");
|
|
7788
8559
|
}
|
|
7789
8560
|
};
|
|
7790
8561
|
}
|
|
7791
8562
|
// src/integrations/shopify.ts
|
|
7792
|
-
var
|
|
8563
|
+
var logger79 = createLogger("Shopify");
|
|
7793
8564
|
var SHOPIFY_SCOPES = [
|
|
7794
8565
|
"read_products",
|
|
7795
8566
|
"write_products",
|
|
@@ -7838,15 +8609,15 @@ function shopifyIntegration(config = {}) {
|
|
|
7838
8609
|
tools: [...SHOPIFY_TOOLS],
|
|
7839
8610
|
oauth,
|
|
7840
8611
|
async onInit(_client) {
|
|
7841
|
-
|
|
8612
|
+
logger79.debug("Shopify integration initialized");
|
|
7842
8613
|
},
|
|
7843
8614
|
async onAfterConnect(_client) {
|
|
7844
|
-
|
|
8615
|
+
logger79.debug("Shopify integration connected");
|
|
7845
8616
|
}
|
|
7846
8617
|
};
|
|
7847
8618
|
}
|
|
7848
8619
|
// src/integrations/convex.ts
|
|
7849
|
-
var
|
|
8620
|
+
var logger80 = createLogger("Convex");
|
|
7850
8621
|
var CONVEX_TOOLS = [
|
|
7851
8622
|
"convex_management_token_details",
|
|
7852
8623
|
"convex_management_list_projects",
|
|
@@ -7883,15 +8654,15 @@ function convexIntegration(options = {}) {
|
|
|
7883
8654
|
return { Authorization: `Bearer ${accessToken}` };
|
|
7884
8655
|
},
|
|
7885
8656
|
async onInit(_client) {
|
|
7886
|
-
|
|
8657
|
+
logger80.debug("Convex integration initialized");
|
|
7887
8658
|
},
|
|
7888
8659
|
async onAfterConnect(_client) {
|
|
7889
|
-
|
|
8660
|
+
logger80.debug("Convex integration connected");
|
|
7890
8661
|
}
|
|
7891
8662
|
};
|
|
7892
8663
|
}
|
|
7893
8664
|
// src/integrations/etoro.ts
|
|
7894
|
-
var
|
|
8665
|
+
var logger81 = createLogger("eToro");
|
|
7895
8666
|
var ETORO_TOOLS = [
|
|
7896
8667
|
"etoro_get_identity",
|
|
7897
8668
|
"etoro_get_portfolio",
|
|
@@ -7921,15 +8692,15 @@ function etoroIntegration(options = {}) {
|
|
|
7921
8692
|
};
|
|
7922
8693
|
},
|
|
7923
8694
|
async onInit(_client) {
|
|
7924
|
-
|
|
8695
|
+
logger81.debug("eToro integration initialized");
|
|
7925
8696
|
},
|
|
7926
8697
|
async onAfterConnect(_client) {
|
|
7927
|
-
|
|
8698
|
+
logger81.debug("eToro integration connected");
|
|
7928
8699
|
}
|
|
7929
8700
|
};
|
|
7930
8701
|
}
|
|
7931
8702
|
// src/integrations/alpaca.ts
|
|
7932
|
-
var
|
|
8703
|
+
var logger82 = createLogger("Alpaca");
|
|
7933
8704
|
var ALPACA_TOOLS = [
|
|
7934
8705
|
"alpaca_get_account",
|
|
7935
8706
|
"alpaca_list_positions",
|
|
@@ -7971,15 +8742,15 @@ function alpacaIntegration(options = {}) {
|
|
|
7971
8742
|
return headers;
|
|
7972
8743
|
},
|
|
7973
8744
|
async onInit(_client) {
|
|
7974
|
-
|
|
8745
|
+
logger82.debug("Alpaca integration initialized");
|
|
7975
8746
|
},
|
|
7976
8747
|
async onAfterConnect(_client) {
|
|
7977
|
-
|
|
8748
|
+
logger82.debug("Alpaca integration connected");
|
|
7978
8749
|
}
|
|
7979
8750
|
};
|
|
7980
8751
|
}
|
|
7981
8752
|
// src/integrations/neon.ts
|
|
7982
|
-
var
|
|
8753
|
+
var logger83 = createLogger("Neon");
|
|
7983
8754
|
var NEON_TOOLS = [
|
|
7984
8755
|
"neon_list_api_keys",
|
|
7985
8756
|
"neon_create_api_key",
|
|
@@ -8019,15 +8790,15 @@ function neonIntegration(options = {}) {
|
|
|
8019
8790
|
};
|
|
8020
8791
|
},
|
|
8021
8792
|
async onInit(_client) {
|
|
8022
|
-
|
|
8793
|
+
logger83.debug("Neon integration initialized");
|
|
8023
8794
|
},
|
|
8024
8795
|
async onAfterConnect(_client) {
|
|
8025
|
-
|
|
8796
|
+
logger83.debug("Neon integration connected");
|
|
8026
8797
|
}
|
|
8027
8798
|
};
|
|
8028
8799
|
}
|
|
8029
8800
|
// src/integrations/workos.ts
|
|
8030
|
-
var
|
|
8801
|
+
var logger84 = createLogger("WorkOS");
|
|
8031
8802
|
var WORKOS_TOOLS = [
|
|
8032
8803
|
"workos_list_organizations",
|
|
8033
8804
|
"workos_get_organization",
|
|
@@ -8060,15 +8831,15 @@ function workosIntegration(options = {}) {
|
|
|
8060
8831
|
};
|
|
8061
8832
|
},
|
|
8062
8833
|
async onInit(_client) {
|
|
8063
|
-
|
|
8834
|
+
logger84.debug("WorkOS integration initialized");
|
|
8064
8835
|
},
|
|
8065
8836
|
async onAfterConnect(_client) {
|
|
8066
|
-
|
|
8837
|
+
logger84.debug("WorkOS integration connected");
|
|
8067
8838
|
}
|
|
8068
8839
|
};
|
|
8069
8840
|
}
|
|
8070
8841
|
// src/integrations/workday.ts
|
|
8071
|
-
var
|
|
8842
|
+
var logger85 = createLogger("Workday");
|
|
8072
8843
|
var WORKDAY_TOOLS = [
|
|
8073
8844
|
"workday_list_workers",
|
|
8074
8845
|
"workday_get_worker"
|
|
@@ -8093,10 +8864,10 @@ function workdayIntegration(config = {}) {
|
|
|
8093
8864
|
tools: [...WORKDAY_TOOLS],
|
|
8094
8865
|
oauth,
|
|
8095
8866
|
async onInit(_client) {
|
|
8096
|
-
|
|
8867
|
+
logger85.debug("Workday integration initialized");
|
|
8097
8868
|
},
|
|
8098
8869
|
async onAfterConnect(_client) {
|
|
8099
|
-
|
|
8870
|
+
logger85.debug("Workday integration connected");
|
|
8100
8871
|
}
|
|
8101
8872
|
};
|
|
8102
8873
|
}
|
|
@@ -8119,7 +8890,7 @@ function tldrawIntegration(options = {}) {
|
|
|
8119
8890
|
};
|
|
8120
8891
|
}
|
|
8121
8892
|
// src/integrations/upstash.ts
|
|
8122
|
-
var
|
|
8893
|
+
var logger86 = createLogger("Upstash");
|
|
8123
8894
|
var UPSTASH_TOOLS = [
|
|
8124
8895
|
"upstash_redis_run",
|
|
8125
8896
|
"upstash_redis_get",
|
|
@@ -8159,10 +8930,10 @@ function upstashIntegration(options = {}) {
|
|
|
8159
8930
|
return headers;
|
|
8160
8931
|
},
|
|
8161
8932
|
async onInit(_client) {
|
|
8162
|
-
|
|
8933
|
+
logger86.debug("Upstash integration initialized");
|
|
8163
8934
|
},
|
|
8164
8935
|
async onAfterConnect(_client) {
|
|
8165
|
-
|
|
8936
|
+
logger86.debug("Upstash integration connected");
|
|
8166
8937
|
}
|
|
8167
8938
|
};
|
|
8168
8939
|
}
|
|
@@ -8299,7 +9070,7 @@ function mailchimpIntegration(config = {}) {
|
|
|
8299
9070
|
};
|
|
8300
9071
|
}
|
|
8301
9072
|
// src/integrations/aws.ts
|
|
8302
|
-
var
|
|
9073
|
+
var logger87 = createLogger("AWS");
|
|
8303
9074
|
var AWS_TOOLS = [
|
|
8304
9075
|
"aws_sts_get_caller_identity",
|
|
8305
9076
|
"aws_ec2_describe_regions",
|
|
@@ -8352,15 +9123,15 @@ function awsIntegration(options = {}) {
|
|
|
8352
9123
|
};
|
|
8353
9124
|
},
|
|
8354
9125
|
async onInit(_client) {
|
|
8355
|
-
|
|
9126
|
+
logger87.debug("AWS integration initialized");
|
|
8356
9127
|
},
|
|
8357
9128
|
async onAfterConnect(_client) {
|
|
8358
|
-
|
|
9129
|
+
logger87.debug("AWS integration connected");
|
|
8359
9130
|
}
|
|
8360
9131
|
};
|
|
8361
9132
|
}
|
|
8362
9133
|
// src/integrations/wix.ts
|
|
8363
|
-
var
|
|
9134
|
+
var logger88 = createLogger("Wix");
|
|
8364
9135
|
var WIX_TOOLS = [
|
|
8365
9136
|
"wix_query_products",
|
|
8366
9137
|
"wix_get_product",
|
|
@@ -8393,15 +9164,15 @@ function wixIntegration(options = {}) {
|
|
|
8393
9164
|
};
|
|
8394
9165
|
},
|
|
8395
9166
|
async onInit(_client) {
|
|
8396
|
-
|
|
9167
|
+
logger88.debug("Wix integration initialized");
|
|
8397
9168
|
},
|
|
8398
9169
|
async onAfterConnect(_client) {
|
|
8399
|
-
|
|
9170
|
+
logger88.debug("Wix integration connected");
|
|
8400
9171
|
}
|
|
8401
9172
|
};
|
|
8402
9173
|
}
|
|
8403
9174
|
// src/integrations/auth0.ts
|
|
8404
|
-
var
|
|
9175
|
+
var logger89 = createLogger("Auth0");
|
|
8405
9176
|
var AUTH0_TOOLS = [
|
|
8406
9177
|
"auth0_list_users",
|
|
8407
9178
|
"auth0_get_user",
|
|
@@ -8490,7 +9261,7 @@ function auth0Integration(options) {
|
|
|
8490
9261
|
};
|
|
8491
9262
|
},
|
|
8492
9263
|
async onInit() {
|
|
8493
|
-
|
|
9264
|
+
logger89.debug("Auth0 integration initialized");
|
|
8494
9265
|
},
|
|
8495
9266
|
async onBeforeConnect() {
|
|
8496
9267
|
await ensureFreshToken();
|
|
@@ -8499,12 +9270,12 @@ function auth0Integration(options) {
|
|
|
8499
9270
|
}
|
|
8500
9271
|
},
|
|
8501
9272
|
async onAfterConnect() {
|
|
8502
|
-
|
|
9273
|
+
logger89.debug("Auth0 integration connected");
|
|
8503
9274
|
}
|
|
8504
9275
|
};
|
|
8505
9276
|
}
|
|
8506
9277
|
// src/integrations/binance.ts
|
|
8507
|
-
var
|
|
9278
|
+
var logger90 = createLogger("Binance");
|
|
8508
9279
|
var BINANCE_TOOLS = [
|
|
8509
9280
|
"binance_ping",
|
|
8510
9281
|
"binance_get_server_time",
|
|
@@ -8547,15 +9318,15 @@ function binanceIntegration(options = {}) {
|
|
|
8547
9318
|
};
|
|
8548
9319
|
},
|
|
8549
9320
|
async onInit(_client) {
|
|
8550
|
-
|
|
9321
|
+
logger90.debug("Binance integration initialized");
|
|
8551
9322
|
},
|
|
8552
9323
|
async onAfterConnect(_client) {
|
|
8553
|
-
|
|
9324
|
+
logger90.debug("Binance integration connected");
|
|
8554
9325
|
}
|
|
8555
9326
|
};
|
|
8556
9327
|
}
|
|
8557
9328
|
// src/integrations/canva.ts
|
|
8558
|
-
var
|
|
9329
|
+
var logger91 = createLogger("Canva");
|
|
8559
9330
|
var CANVA_TOOLS = [
|
|
8560
9331
|
"canva_get_me",
|
|
8561
9332
|
"canva_get_profile",
|
|
@@ -8592,15 +9363,15 @@ function canvaIntegration(config = {}) {
|
|
|
8592
9363
|
tools: [...CANVA_TOOLS],
|
|
8593
9364
|
oauth,
|
|
8594
9365
|
async onInit(_client) {
|
|
8595
|
-
|
|
9366
|
+
logger91.debug("Canva integration initialized");
|
|
8596
9367
|
},
|
|
8597
9368
|
async onAfterConnect(_client) {
|
|
8598
|
-
|
|
9369
|
+
logger91.debug("Canva integration connected");
|
|
8599
9370
|
}
|
|
8600
9371
|
};
|
|
8601
9372
|
}
|
|
8602
9373
|
// src/integrations/clerk.ts
|
|
8603
|
-
var
|
|
9374
|
+
var logger92 = createLogger("Clerk");
|
|
8604
9375
|
var CLERK_TOOLS = [
|
|
8605
9376
|
"clerk_list_users",
|
|
8606
9377
|
"clerk_get_user",
|
|
@@ -8635,15 +9406,15 @@ function clerkIntegration(options = {}) {
|
|
|
8635
9406
|
};
|
|
8636
9407
|
},
|
|
8637
9408
|
async onInit(_client) {
|
|
8638
|
-
|
|
9409
|
+
logger92.debug("Clerk integration initialized");
|
|
8639
9410
|
},
|
|
8640
9411
|
async onAfterConnect(_client) {
|
|
8641
|
-
|
|
9412
|
+
logger92.debug("Clerk integration connected");
|
|
8642
9413
|
}
|
|
8643
9414
|
};
|
|
8644
9415
|
}
|
|
8645
9416
|
// src/integrations/cloudflare.ts
|
|
8646
|
-
var
|
|
9417
|
+
var logger93 = createLogger("Cloudflare");
|
|
8647
9418
|
var CLOUDFLARE_TOOLS = [
|
|
8648
9419
|
"cloudflare_verify_token",
|
|
8649
9420
|
"cloudflare_get_user",
|
|
@@ -8682,10 +9453,10 @@ function cloudflareIntegration(config = {}) {
|
|
|
8682
9453
|
return { Authorization: `Bearer ${apiToken.trim()}` };
|
|
8683
9454
|
},
|
|
8684
9455
|
async onInit(_client) {
|
|
8685
|
-
|
|
9456
|
+
logger93.debug("Cloudflare integration initialized (API token)");
|
|
8686
9457
|
},
|
|
8687
9458
|
async onAfterConnect(_client) {
|
|
8688
|
-
|
|
9459
|
+
logger93.debug("Cloudflare integration connected");
|
|
8689
9460
|
}
|
|
8690
9461
|
};
|
|
8691
9462
|
}
|
|
@@ -8711,15 +9482,15 @@ function cloudflareIntegration(config = {}) {
|
|
|
8711
9482
|
tools: [...CLOUDFLARE_TOOLS],
|
|
8712
9483
|
oauth,
|
|
8713
9484
|
async onInit(_client) {
|
|
8714
|
-
|
|
9485
|
+
logger93.debug("Cloudflare integration initialized (OAuth)");
|
|
8715
9486
|
},
|
|
8716
9487
|
async onAfterConnect(_client) {
|
|
8717
|
-
|
|
9488
|
+
logger93.debug("Cloudflare integration connected");
|
|
8718
9489
|
}
|
|
8719
9490
|
};
|
|
8720
9491
|
}
|
|
8721
9492
|
// src/integrations/clickup.ts
|
|
8722
|
-
var
|
|
9493
|
+
var logger94 = createLogger("ClickUp");
|
|
8723
9494
|
var CLICKUP_TOOLS = [
|
|
8724
9495
|
"clickup_get_authorized_user",
|
|
8725
9496
|
"clickup_list_teams",
|
|
@@ -8755,15 +9526,15 @@ function clickupIntegration(config = {}) {
|
|
|
8755
9526
|
tools: [...CLICKUP_TOOLS],
|
|
8756
9527
|
oauth,
|
|
8757
9528
|
async onInit(_client) {
|
|
8758
|
-
|
|
9529
|
+
logger94.debug("ClickUp integration initialized");
|
|
8759
9530
|
},
|
|
8760
9531
|
async onAfterConnect(_client) {
|
|
8761
|
-
|
|
9532
|
+
logger94.debug("ClickUp integration connected");
|
|
8762
9533
|
}
|
|
8763
9534
|
};
|
|
8764
9535
|
}
|
|
8765
9536
|
// src/integrations/excel.ts
|
|
8766
|
-
var
|
|
9537
|
+
var logger95 = createLogger("Excel");
|
|
8767
9538
|
var EXCEL_TOOLS = [
|
|
8768
9539
|
"excel_add_table_rows",
|
|
8769
9540
|
"excel_add_worksheet",
|
|
@@ -8799,10 +9570,10 @@ function excelIntegration(config = {}) {
|
|
|
8799
9570
|
tools: [...EXCEL_TOOLS],
|
|
8800
9571
|
oauth,
|
|
8801
9572
|
async onInit(_client) {
|
|
8802
|
-
|
|
9573
|
+
logger95.debug("Excel integration initialized");
|
|
8803
9574
|
},
|
|
8804
9575
|
async onAfterConnect(_client) {
|
|
8805
|
-
|
|
9576
|
+
logger95.debug("Excel integration connected");
|
|
8806
9577
|
}
|
|
8807
9578
|
};
|
|
8808
9579
|
}
|
|
@@ -8832,7 +9603,7 @@ function ga4Integration(config = {}) {
|
|
|
8832
9603
|
};
|
|
8833
9604
|
}
|
|
8834
9605
|
// src/integrations/gdrive.ts
|
|
8835
|
-
var
|
|
9606
|
+
var logger96 = createLogger("Google Drive");
|
|
8836
9607
|
var GDRIVE_TOOLS = [
|
|
8837
9608
|
"gdrive_copy_file",
|
|
8838
9609
|
"gdrive_create_folder",
|
|
@@ -8866,15 +9637,15 @@ function gdriveIntegration(config = {}) {
|
|
|
8866
9637
|
tools: [...GDRIVE_TOOLS],
|
|
8867
9638
|
oauth,
|
|
8868
9639
|
async onInit(_client) {
|
|
8869
|
-
|
|
9640
|
+
logger96.debug("Google Drive integration initialized");
|
|
8870
9641
|
},
|
|
8871
9642
|
async onAfterConnect(_client) {
|
|
8872
|
-
|
|
9643
|
+
logger96.debug("Google Drive integration connected");
|
|
8873
9644
|
}
|
|
8874
9645
|
};
|
|
8875
9646
|
}
|
|
8876
9647
|
// src/integrations/gitlab.ts
|
|
8877
|
-
var
|
|
9648
|
+
var logger97 = createLogger("GitLab");
|
|
8878
9649
|
var GITLAB_TOOLS = [
|
|
8879
9650
|
"gitlab_list_projects",
|
|
8880
9651
|
"gitlab_list_own_projects",
|
|
@@ -8921,15 +9692,15 @@ function gitlabIntegration(config = {}) {
|
|
|
8921
9692
|
tools: [...GITLAB_TOOLS],
|
|
8922
9693
|
oauth,
|
|
8923
9694
|
async onInit(_client) {
|
|
8924
|
-
|
|
9695
|
+
logger97.debug("GitLab integration initialized");
|
|
8925
9696
|
},
|
|
8926
9697
|
async onAfterConnect(_client) {
|
|
8927
|
-
|
|
9698
|
+
logger97.debug("GitLab integration connected");
|
|
8928
9699
|
}
|
|
8929
9700
|
};
|
|
8930
9701
|
}
|
|
8931
9702
|
// src/integrations/gmeet.ts
|
|
8932
|
-
var
|
|
9703
|
+
var logger98 = createLogger("Google Meet");
|
|
8933
9704
|
var GMEET_TOOLS = [
|
|
8934
9705
|
"gmeet_add_meet_to_event",
|
|
8935
9706
|
"gmeet_create_meeting",
|
|
@@ -8957,15 +9728,15 @@ function gmeetIntegration(config = {}) {
|
|
|
8957
9728
|
tools: [...GMEET_TOOLS],
|
|
8958
9729
|
oauth,
|
|
8959
9730
|
async onInit(_client) {
|
|
8960
|
-
|
|
9731
|
+
logger98.debug("Google Meet integration initialized");
|
|
8961
9732
|
},
|
|
8962
9733
|
async onAfterConnect(_client) {
|
|
8963
|
-
|
|
9734
|
+
logger98.debug("Google Meet integration connected");
|
|
8964
9735
|
}
|
|
8965
9736
|
};
|
|
8966
9737
|
}
|
|
8967
9738
|
// src/integrations/monday.ts
|
|
8968
|
-
var
|
|
9739
|
+
var logger99 = createLogger("Monday");
|
|
8969
9740
|
var MONDAY_TOOLS = [
|
|
8970
9741
|
"monday_me",
|
|
8971
9742
|
"monday_list_workspaces",
|
|
@@ -9002,10 +9773,10 @@ function mondayIntegration(config = {}) {
|
|
|
9002
9773
|
tools: [...MONDAY_TOOLS],
|
|
9003
9774
|
oauth,
|
|
9004
9775
|
async onInit(_client) {
|
|
9005
|
-
|
|
9776
|
+
logger99.debug("Monday.com integration initialized");
|
|
9006
9777
|
},
|
|
9007
9778
|
async onAfterConnect(_client) {
|
|
9008
|
-
|
|
9779
|
+
logger99.debug("Monday.com integration connected");
|
|
9009
9780
|
}
|
|
9010
9781
|
};
|
|
9011
9782
|
}
|
|
@@ -9045,7 +9816,7 @@ function planetscaleIntegration(config = {}) {
|
|
|
9045
9816
|
};
|
|
9046
9817
|
}
|
|
9047
9818
|
// src/integrations/powerpoint.ts
|
|
9048
|
-
var
|
|
9819
|
+
var logger100 = createLogger("PowerPoint");
|
|
9049
9820
|
var POWERPOINT_TOOLS = [
|
|
9050
9821
|
"powerpoint_copy",
|
|
9051
9822
|
"powerpoint_create",
|
|
@@ -9072,10 +9843,10 @@ function powerpointIntegration(config = {}) {
|
|
|
9072
9843
|
tools: [...POWERPOINT_TOOLS],
|
|
9073
9844
|
oauth,
|
|
9074
9845
|
async onInit(_client) {
|
|
9075
|
-
|
|
9846
|
+
logger100.debug("PowerPoint integration initialized");
|
|
9076
9847
|
},
|
|
9077
9848
|
async onAfterConnect(_client) {
|
|
9078
|
-
|
|
9849
|
+
logger100.debug("PowerPoint integration connected");
|
|
9079
9850
|
}
|
|
9080
9851
|
};
|
|
9081
9852
|
}
|
|
@@ -9110,7 +9881,7 @@ function redditIntegration(config = {}) {
|
|
|
9110
9881
|
};
|
|
9111
9882
|
}
|
|
9112
9883
|
// src/integrations/resend.ts
|
|
9113
|
-
var
|
|
9884
|
+
var logger101 = createLogger("Resend");
|
|
9114
9885
|
var RESEND_TOOLS = [
|
|
9115
9886
|
"resend_list_domains",
|
|
9116
9887
|
"resend_get_domain",
|
|
@@ -9135,15 +9906,15 @@ function resendIntegration(options = {}) {
|
|
|
9135
9906
|
return { Authorization: `Bearer ${apiKey}` };
|
|
9136
9907
|
},
|
|
9137
9908
|
async onInit(_client) {
|
|
9138
|
-
|
|
9909
|
+
logger101.debug("Resend integration initialized");
|
|
9139
9910
|
},
|
|
9140
9911
|
async onAfterConnect(_client) {
|
|
9141
|
-
|
|
9912
|
+
logger101.debug("Resend integration connected");
|
|
9142
9913
|
}
|
|
9143
9914
|
};
|
|
9144
9915
|
}
|
|
9145
9916
|
// src/integrations/word.ts
|
|
9146
|
-
var
|
|
9917
|
+
var logger102 = createLogger("Word");
|
|
9147
9918
|
var WORD_TOOLS = [
|
|
9148
9919
|
"word_copy",
|
|
9149
9920
|
"word_create",
|
|
@@ -9170,15 +9941,15 @@ function wordIntegration(config = {}) {
|
|
|
9170
9941
|
tools: [...WORD_TOOLS],
|
|
9171
9942
|
oauth,
|
|
9172
9943
|
async onInit(_client) {
|
|
9173
|
-
|
|
9944
|
+
logger102.debug("Word integration initialized");
|
|
9174
9945
|
},
|
|
9175
9946
|
async onAfterConnect(_client) {
|
|
9176
|
-
|
|
9947
|
+
logger102.debug("Word integration connected");
|
|
9177
9948
|
}
|
|
9178
9949
|
};
|
|
9179
9950
|
}
|
|
9180
9951
|
// src/integrations/zapier.ts
|
|
9181
|
-
var
|
|
9952
|
+
var logger103 = createLogger("Zapier");
|
|
9182
9953
|
var ZAPIER_TOOLS = [
|
|
9183
9954
|
"zapier_get_profile",
|
|
9184
9955
|
"zapier_list_zaps",
|
|
@@ -9210,15 +9981,15 @@ function zapierIntegration(config = {}) {
|
|
|
9210
9981
|
tools: [...ZAPIER_TOOLS],
|
|
9211
9982
|
oauth,
|
|
9212
9983
|
async onInit(_client) {
|
|
9213
|
-
|
|
9984
|
+
logger103.debug("Zapier integration initialized");
|
|
9214
9985
|
},
|
|
9215
9986
|
async onAfterConnect(_client) {
|
|
9216
|
-
|
|
9987
|
+
logger103.debug("Zapier integration connected");
|
|
9217
9988
|
}
|
|
9218
9989
|
};
|
|
9219
9990
|
}
|
|
9220
9991
|
// src/integrations/zoom.ts
|
|
9221
|
-
var
|
|
9992
|
+
var logger104 = createLogger("Zoom");
|
|
9222
9993
|
var ZOOM_TOOLS = [
|
|
9223
9994
|
"zoom_get_user",
|
|
9224
9995
|
"zoom_list_meetings",
|
|
@@ -9244,10 +10015,10 @@ function zoomIntegration(config = {}) {
|
|
|
9244
10015
|
tools: [...ZOOM_TOOLS],
|
|
9245
10016
|
oauth,
|
|
9246
10017
|
async onInit(_client) {
|
|
9247
|
-
|
|
10018
|
+
logger104.debug("Zoom integration initialized");
|
|
9248
10019
|
},
|
|
9249
10020
|
async onAfterConnect(_client) {
|
|
9250
|
-
|
|
10021
|
+
logger104.debug("Zoom integration connected");
|
|
9251
10022
|
}
|
|
9252
10023
|
};
|
|
9253
10024
|
}
|
|
@@ -9265,7 +10036,7 @@ function validateStepLimit(stepIndex, maxSteps) {
|
|
|
9265
10036
|
return { valid: true };
|
|
9266
10037
|
}
|
|
9267
10038
|
// src/triggers/webhooks.ts
|
|
9268
|
-
var
|
|
10039
|
+
var logger105 = createLogger("Webhooks", "server");
|
|
9269
10040
|
async function signPayload(payload, secret) {
|
|
9270
10041
|
const encoder = new TextEncoder;
|
|
9271
10042
|
const data = encoder.encode(JSON.stringify(payload));
|
|
@@ -9291,7 +10062,7 @@ async function deliverWebhook(webhook, payload, timeoutMs) {
|
|
|
9291
10062
|
signal: controller.signal
|
|
9292
10063
|
});
|
|
9293
10064
|
if (!response.ok) {
|
|
9294
|
-
|
|
10065
|
+
logger105.warn(`Webhook delivery to ${webhook.url} returned ${response.status}`);
|
|
9295
10066
|
}
|
|
9296
10067
|
} finally {
|
|
9297
10068
|
clearTimeout(timeout);
|
|
@@ -9304,7 +10075,7 @@ async function deliverWebhooks(webhooks, payload, timeoutMs) {
|
|
|
9304
10075
|
for (let i = 0;i < results.length; i++) {
|
|
9305
10076
|
const result = results[i];
|
|
9306
10077
|
if (result.status === "rejected") {
|
|
9307
|
-
|
|
10078
|
+
logger105.warn(`Webhook delivery to ${webhooks[i].url} failed:`, result.reason);
|
|
9308
10079
|
}
|
|
9309
10080
|
}
|
|
9310
10081
|
}
|
|
@@ -9348,6 +10119,17 @@ var client = createMCPClient({
|
|
|
9348
10119
|
notionIntegration(),
|
|
9349
10120
|
slackIntegration(),
|
|
9350
10121
|
discordIntegration(),
|
|
10122
|
+
boxIntegration(),
|
|
10123
|
+
paypalIntegration(),
|
|
10124
|
+
squareIntegration(),
|
|
10125
|
+
spotifyIntegration(),
|
|
10126
|
+
stravaIntegration(),
|
|
10127
|
+
asanaIntegration(),
|
|
10128
|
+
confluenceIntegration(),
|
|
10129
|
+
oktaIntegration(),
|
|
10130
|
+
quickbooksIntegration(),
|
|
10131
|
+
bitbucketIntegration(),
|
|
10132
|
+
smartthingsIntegration(),
|
|
9351
10133
|
linearIntegration(),
|
|
9352
10134
|
vercelIntegration(),
|
|
9353
10135
|
zendeskIntegration(),
|
|
@@ -9355,6 +10137,7 @@ var client = createMCPClient({
|
|
|
9355
10137
|
gcalIntegration(),
|
|
9356
10138
|
gmeetIntegration(),
|
|
9357
10139
|
gtasksIntegration(),
|
|
10140
|
+
gkeepIntegration(),
|
|
9358
10141
|
gcontactsIntegration(),
|
|
9359
10142
|
outlookIntegration(),
|
|
9360
10143
|
teamsIntegration(),
|
|
@@ -9428,9 +10211,14 @@ export {
|
|
|
9428
10211
|
tldrawIntegration,
|
|
9429
10212
|
tiktokIntegration,
|
|
9430
10213
|
threadsIntegration,
|
|
10214
|
+
telegramIntegration,
|
|
9431
10215
|
teamsIntegration,
|
|
9432
10216
|
supabaseIntegration,
|
|
9433
10217
|
stripeIntegration,
|
|
10218
|
+
stravaIntegration,
|
|
10219
|
+
squareIntegration,
|
|
10220
|
+
spotifyIntegration,
|
|
10221
|
+
smartthingsIntegration,
|
|
9434
10222
|
slackIntegration,
|
|
9435
10223
|
shouldRefreshToken,
|
|
9436
10224
|
shopifyIntegration,
|
|
@@ -9445,6 +10233,7 @@ export {
|
|
|
9445
10233
|
redditIntegration,
|
|
9446
10234
|
rampIntegration,
|
|
9447
10235
|
railwayIntegration,
|
|
10236
|
+
quickbooksIntegration,
|
|
9448
10237
|
powerpointIntegration,
|
|
9449
10238
|
postmanIntegration,
|
|
9450
10239
|
posthogIntegration,
|
|
@@ -9452,11 +10241,13 @@ export {
|
|
|
9452
10241
|
plannerIntegration,
|
|
9453
10242
|
planetscaleIntegration,
|
|
9454
10243
|
phantomIntegration,
|
|
10244
|
+
paypalIntegration,
|
|
9455
10245
|
parseState,
|
|
9456
10246
|
parseServerError,
|
|
9457
10247
|
paperIntegration,
|
|
9458
10248
|
outlookIntegration,
|
|
9459
10249
|
onedriveIntegration,
|
|
10250
|
+
oktaIntegration,
|
|
9460
10251
|
notionIntegration,
|
|
9461
10252
|
netlifyIntegration,
|
|
9462
10253
|
neonIntegration,
|
|
@@ -9478,6 +10269,7 @@ export {
|
|
|
9478
10269
|
granolaIntegration,
|
|
9479
10270
|
gmeetIntegration,
|
|
9480
10271
|
gmailIntegration,
|
|
10272
|
+
gkeepIntegration,
|
|
9481
10273
|
gitlabIntegration,
|
|
9482
10274
|
githubIntegration,
|
|
9483
10275
|
genericOAuthIntegration,
|
|
@@ -9509,6 +10301,7 @@ export {
|
|
|
9509
10301
|
createNextOAuthHandler,
|
|
9510
10302
|
createMCPClient,
|
|
9511
10303
|
convexIntegration,
|
|
10304
|
+
confluenceIntegration,
|
|
9512
10305
|
cloudflareIntegration,
|
|
9513
10306
|
client,
|
|
9514
10307
|
clickupIntegration,
|
|
@@ -9517,12 +10310,15 @@ export {
|
|
|
9517
10310
|
canvaIntegration,
|
|
9518
10311
|
calcomIntegration,
|
|
9519
10312
|
buildPhantomBrowseDeeplink,
|
|
10313
|
+
boxIntegration,
|
|
10314
|
+
bitbucketIntegration,
|
|
9520
10315
|
binanceIntegration,
|
|
9521
10316
|
betterstackIntegration,
|
|
9522
10317
|
awsIntegration,
|
|
9523
10318
|
auth0Integration,
|
|
9524
10319
|
attioIntegration,
|
|
9525
10320
|
astronomerIntegration,
|
|
10321
|
+
asanaIntegration,
|
|
9526
10322
|
alpacaIntegration,
|
|
9527
10323
|
airtableIntegration,
|
|
9528
10324
|
WEBHOOK_DELIVERY_TIMEOUT_MS,
|