integrate-sdk 0.9.46-dev.0 → 0.9.48-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/server.js CHANGED
@@ -148,6 +148,10 @@ var init_library_metadata = __esm(() => {
148
148
  description: "Manage Google Tasks lists and to-dos",
149
149
  category: "Productivity"
150
150
  },
151
+ gkeep: {
152
+ description: "Manage Google Keep notes, attachments, and sharing permissions",
153
+ category: "Productivity"
154
+ },
151
155
  gmeet: {
152
156
  description: "Create Google Meet links and manage meeting events via Calendar",
153
157
  category: "Communication"
@@ -248,6 +252,10 @@ var init_library_metadata = __esm(() => {
248
252
  description: "Send and manage Slack messages and channels",
249
253
  category: "Communication"
250
254
  },
255
+ telegram: {
256
+ description: "Use Telegram as an actual user account via MTProto sessions",
257
+ category: "Communication"
258
+ },
251
259
  stripe: {
252
260
  description: "Manage Stripe customers, payments, and subscriptions",
253
261
  category: "Finance"
@@ -312,6 +320,10 @@ var init_library_metadata = __esm(() => {
312
320
  description: "Manage Dropbox files, folders, and sharing",
313
321
  category: "Storage"
314
322
  },
323
+ box: {
324
+ description: "Manage Box files, folders, sharing, comments, search, and collaborations",
325
+ category: "Storage"
326
+ },
315
327
  paper: {
316
328
  description: "Create, update, and export Dropbox Paper documents",
317
329
  category: "Productivity"
@@ -2623,7 +2635,7 @@ async function deliverWebhook(webhook, payload, timeoutMs) {
2623
2635
  signal: controller.signal
2624
2636
  });
2625
2637
  if (!response.ok) {
2626
- logger91.warn(`Webhook delivery to ${webhook.url} returned ${response.status}`);
2638
+ logger94.warn(`Webhook delivery to ${webhook.url} returned ${response.status}`);
2627
2639
  }
2628
2640
  } finally {
2629
2641
  clearTimeout(timeout);
@@ -2636,14 +2648,14 @@ async function deliverWebhooks(webhooks, payload, timeoutMs) {
2636
2648
  for (let i = 0;i < results.length; i++) {
2637
2649
  const result = results[i];
2638
2650
  if (result.status === "rejected") {
2639
- logger91.warn(`Webhook delivery to ${webhooks[i].url} failed:`, result.reason);
2651
+ logger94.warn(`Webhook delivery to ${webhooks[i].url} failed:`, result.reason);
2640
2652
  }
2641
2653
  }
2642
2654
  }
2643
- var logger91;
2655
+ var logger94;
2644
2656
  var init_webhooks = __esm(() => {
2645
2657
  init_logger();
2646
- logger91 = createLogger("Webhooks", "server");
2658
+ logger94 = createLogger("Webhooks", "server");
2647
2659
  });
2648
2660
 
2649
2661
  // src/triggers/types.ts
@@ -2663,13 +2675,13 @@ async function executeTrigger(trigger, config, context) {
2663
2675
  while (stepIndex < MAX_TRIGGER_STEPS) {
2664
2676
  const stepValidation = validateStepLimit(stepIndex, MAX_TRIGGER_STEPS);
2665
2677
  if (!stepValidation.valid) {
2666
- logger92.error(`[Trigger ${trigger.id}] ${stepValidation.error}`);
2678
+ logger95.error(`[Trigger ${trigger.id}] ${stepValidation.error}`);
2667
2679
  break;
2668
2680
  }
2669
2681
  const providerToken = await config.getProviderToken(currentProvider, undefined, context);
2670
2682
  if (!providerToken) {
2671
2683
  const error = `No OAuth token available for provider '${currentProvider}'`;
2672
- logger92.error(`[Trigger ${trigger.id}] ${error}`);
2684
+ logger95.error(`[Trigger ${trigger.id}] ${error}`);
2673
2685
  steps.push({
2674
2686
  stepIndex,
2675
2687
  toolName: currentToolName,
@@ -2695,7 +2707,7 @@ async function executeTrigger(trigger, config, context) {
2695
2707
  } catch (err) {
2696
2708
  stepSuccess = false;
2697
2709
  stepError = err.message || "Tool execution failed";
2698
- logger92.error(`[Trigger ${trigger.id}] Step ${stepIndex} failed:`, err);
2710
+ logger95.error(`[Trigger ${trigger.id}] Step ${stepIndex} failed:`, err);
2699
2711
  }
2700
2712
  if (stepSuccess && toolResult) {
2701
2713
  if (toolResult.isError === true) {
@@ -2788,7 +2800,7 @@ async function executeTrigger(trigger, config, context) {
2788
2800
  return { success: steps.every((s) => s.success), steps, error: stepError };
2789
2801
  }
2790
2802
  const limitError = `Trigger execution exceeded maximum of ${MAX_TRIGGER_STEPS} steps`;
2791
- logger92.error(`[Trigger ${trigger.id}] ${limitError}`);
2803
+ logger95.error(`[Trigger ${trigger.id}] ${limitError}`);
2792
2804
  await config.triggers.update(trigger.id, {
2793
2805
  lastRunAt: new Date().toISOString(),
2794
2806
  runCount: (trigger.runCount || 0) + 1,
@@ -2797,12 +2809,12 @@ async function executeTrigger(trigger, config, context) {
2797
2809
  }, context);
2798
2810
  return { success: false, steps, error: limitError };
2799
2811
  }
2800
- var logger92;
2812
+ var logger95;
2801
2813
  var init_executor2 = __esm(() => {
2802
2814
  init_logger();
2803
2815
  init_utils();
2804
2816
  init_webhooks();
2805
- logger92 = createLogger("TriggerExecutor", "server");
2817
+ logger95 = createLogger("TriggerExecutor", "server");
2806
2818
  });
2807
2819
 
2808
2820
  // src/protocol/jsonrpc.ts
@@ -4719,7 +4731,12 @@ class MCPClientBase {
4719
4731
  if (provider) {
4720
4732
  const tokenData = await this.oauthManager.getProviderToken(provider, undefined, options?.context);
4721
4733
  if (tokenData) {
4722
- temporaryHeaders["Authorization"] = `Bearer ${tokenData.accessToken}`;
4734
+ if (tokenData.sessionToken) {
4735
+ temporaryHeaders["Authorization"] = `Bearer ${tokenData.sessionToken}`;
4736
+ temporaryHeaders["X-Session-Token"] = tokenData.sessionToken;
4737
+ } else {
4738
+ temporaryHeaders["Authorization"] = `Bearer ${tokenData.accessToken}`;
4739
+ }
4723
4740
  }
4724
4741
  }
4725
4742
  const previousHeaders = new Map;
@@ -5866,9 +5883,111 @@ function discordIntegration(config = {}) {
5866
5883
  }
5867
5884
  };
5868
5885
  }
5886
+ // src/integrations/telegram.ts
5887
+ init_logger();
5888
+ var logger14 = createLogger("Telegram");
5889
+ var TELEGRAM_TOOLS = [
5890
+ "telegram_auth_send_code",
5891
+ "telegram_auth_sign_in",
5892
+ "telegram_auth_check_password",
5893
+ "telegram_get_me",
5894
+ "telegram_resolve_username",
5895
+ "telegram_list_dialogs",
5896
+ "telegram_get_history",
5897
+ "telegram_search_messages",
5898
+ "telegram_send_message"
5899
+ ];
5900
+ function telegramIntegration(options = {}) {
5901
+ const apiId = options.apiId ?? getEnv("TELEGRAM_API_ID");
5902
+ const apiHash = options.apiHash ?? getEnv("TELEGRAM_API_HASH");
5903
+ const sessionId = options.sessionId ?? getEnv("TELEGRAM_SESSION_ID");
5904
+ if (!apiId) {
5905
+ throw new Error("telegramIntegration requires apiId or TELEGRAM_API_ID");
5906
+ }
5907
+ if (!apiHash) {
5908
+ throw new Error("telegramIntegration requires apiHash or TELEGRAM_API_HASH");
5909
+ }
5910
+ return {
5911
+ id: "telegram",
5912
+ name: "Telegram",
5913
+ logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/telegram.png",
5914
+ description: "Use Telegram as an actual user account via MTProto sessions, not the Bot API",
5915
+ category: "Communication",
5916
+ tools: [...TELEGRAM_TOOLS],
5917
+ authType: "apiKey",
5918
+ getHeaders() {
5919
+ const headers = {
5920
+ "X-Telegram-Api-Id": String(apiId),
5921
+ "X-Telegram-Api-Hash": String(apiHash)
5922
+ };
5923
+ if (sessionId) {
5924
+ headers["X-Telegram-Session-Id"] = sessionId;
5925
+ }
5926
+ return headers;
5927
+ },
5928
+ async onInit(_client) {
5929
+ logger14.debug("Telegram integration initialized");
5930
+ },
5931
+ async onAfterConnect(_client) {
5932
+ logger14.debug("Telegram integration connected");
5933
+ }
5934
+ };
5935
+ }
5936
+ // src/integrations/box.ts
5937
+ init_logger();
5938
+ var logger15 = createLogger("Box");
5939
+ var BOX_TOOLS = [
5940
+ "box_get_current_user",
5941
+ "box_list_folder_items",
5942
+ "box_get_file",
5943
+ "box_get_folder",
5944
+ "box_create_folder",
5945
+ "box_update_file",
5946
+ "box_update_folder",
5947
+ "box_delete_file",
5948
+ "box_delete_folder",
5949
+ "box_upload_text_file",
5950
+ "box_download_file",
5951
+ "box_search",
5952
+ "box_create_shared_link",
5953
+ "box_create_collaboration",
5954
+ "box_list_comments",
5955
+ "box_create_comment",
5956
+ "box_delete_comment"
5957
+ ];
5958
+ function boxIntegration(options = {}) {
5959
+ if (options.scopes !== undefined && (!Array.isArray(options.scopes) || options.scopes.some((scope) => typeof scope !== "string"))) {
5960
+ throw new Error("boxIntegration scopes must be an array of strings");
5961
+ }
5962
+ const oauth = {
5963
+ provider: "box",
5964
+ clientId: options.clientId ?? getEnv("BOX_CLIENT_ID"),
5965
+ clientSecret: options.clientSecret ?? getEnv("BOX_CLIENT_SECRET"),
5966
+ scopes: options.scopes,
5967
+ optionalScopes: options.optionalScopes,
5968
+ redirectUri: options.redirectUri,
5969
+ config: options
5970
+ };
5971
+ return {
5972
+ id: "box",
5973
+ name: "Box",
5974
+ logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/box.png",
5975
+ description: "Manage Box files, folders, sharing, comments, search, and collaborations",
5976
+ category: "Storage",
5977
+ tools: [...BOX_TOOLS],
5978
+ authType: "oauth",
5979
+ oauth,
5980
+ async onInit(_client) {
5981
+ logger15.debug("Box integration initialized");
5982
+ },
5983
+ async onAfterConnect(_client) {
5984
+ logger15.debug("Box integration connected");
5985
+ }
5986
+ };
5987
+ }
5869
5988
  // src/integrations/linear.ts
5870
5989
  init_logger();
5871
- var logger14 = createLogger("Linear");
5990
+ var logger16 = createLogger("Linear");
5872
5991
  var LINEAR_TOOLS = [
5873
5992
  "linear_create_issue",
5874
5993
  "linear_list_issues",
@@ -5923,16 +6042,16 @@ function linearIntegration(config = {}) {
5923
6042
  tools: [...LINEAR_TOOLS],
5924
6043
  oauth,
5925
6044
  async onInit(_client) {
5926
- logger14.debug("Linear integration initialized");
6045
+ logger16.debug("Linear integration initialized");
5927
6046
  },
5928
6047
  async onAfterConnect(_client) {
5929
- logger14.debug("Linear integration connected");
6048
+ logger16.debug("Linear integration connected");
5930
6049
  }
5931
6050
  };
5932
6051
  }
5933
6052
  // src/integrations/railway.ts
5934
6053
  init_logger();
5935
- var logger15 = createLogger("Railway");
6054
+ var logger17 = createLogger("Railway");
5936
6055
  var RAILWAY_SCOPES = [
5937
6056
  "openid",
5938
6057
  "profile",
@@ -6037,16 +6156,16 @@ function railwayIntegration(config = {}) {
6037
6156
  tools: [...RAILWAY_TOOLS],
6038
6157
  oauth,
6039
6158
  async onInit(_client) {
6040
- logger15.debug("Railway integration initialized");
6159
+ logger17.debug("Railway integration initialized");
6041
6160
  },
6042
6161
  async onAfterConnect(_client) {
6043
- logger15.debug("Railway integration connected");
6162
+ logger17.debug("Railway integration connected");
6044
6163
  }
6045
6164
  };
6046
6165
  }
6047
6166
  // src/integrations/vercel.ts
6048
6167
  init_logger();
6049
- var logger16 = createLogger("Vercel");
6168
+ var logger18 = createLogger("Vercel");
6050
6169
  var VERCEL_TOOLS = [
6051
6170
  "vercel_list_projects",
6052
6171
  "vercel_get_project",
@@ -6089,16 +6208,16 @@ function vercelIntegration(config = {}) {
6089
6208
  tools: [...VERCEL_TOOLS],
6090
6209
  oauth,
6091
6210
  async onInit(_client) {
6092
- logger16.debug("Vercel integration initialized");
6211
+ logger18.debug("Vercel integration initialized");
6093
6212
  },
6094
6213
  async onAfterConnect(_client) {
6095
- logger16.debug("Vercel integration connected");
6214
+ logger18.debug("Vercel integration connected");
6096
6215
  }
6097
6216
  };
6098
6217
  }
6099
6218
  // src/integrations/zendesk.ts
6100
6219
  init_logger();
6101
- var logger17 = createLogger("Zendesk");
6220
+ var logger19 = createLogger("Zendesk");
6102
6221
  var ZENDESK_TOOLS = [
6103
6222
  "zendesk_list_tickets",
6104
6223
  "zendesk_get_ticket",
@@ -6147,16 +6266,16 @@ function zendeskIntegration(config = {}) {
6147
6266
  tools: [...ZENDESK_TOOLS],
6148
6267
  oauth,
6149
6268
  async onInit(_client) {
6150
- logger17.debug("Zendesk integration initialized");
6269
+ logger19.debug("Zendesk integration initialized");
6151
6270
  },
6152
6271
  async onAfterConnect(_client) {
6153
- logger17.debug("Zendesk integration connected");
6272
+ logger19.debug("Zendesk integration connected");
6154
6273
  }
6155
6274
  };
6156
6275
  }
6157
6276
  // src/integrations/stripe.ts
6158
6277
  init_logger();
6159
- var logger18 = createLogger("Stripe");
6278
+ var logger20 = createLogger("Stripe");
6160
6279
  var STRIPE_TOOLS = [
6161
6280
  "stripe_list_customers",
6162
6281
  "stripe_get_customer",
@@ -6213,16 +6332,16 @@ function stripeIntegration(config = {}) {
6213
6332
  tools: [...STRIPE_TOOLS],
6214
6333
  oauth,
6215
6334
  async onInit(_client) {
6216
- logger18.debug("Stripe integration initialized");
6335
+ logger20.debug("Stripe integration initialized");
6217
6336
  },
6218
6337
  async onAfterConnect(_client) {
6219
- logger18.debug("Stripe integration connected");
6338
+ logger20.debug("Stripe integration connected");
6220
6339
  }
6221
6340
  };
6222
6341
  }
6223
6342
  // src/integrations/gcal.ts
6224
6343
  init_logger();
6225
- var logger19 = createLogger("Google Calendar");
6344
+ var logger21 = createLogger("Google Calendar");
6226
6345
  var GCAL_TOOLS = [
6227
6346
  "gcal_create_calendar",
6228
6347
  "gcal_create_event",
@@ -6256,16 +6375,16 @@ function gcalIntegration(config = {}) {
6256
6375
  tools: [...GCAL_TOOLS],
6257
6376
  oauth,
6258
6377
  async onInit(_client) {
6259
- logger19.debug("Google Calendar integration initialized");
6378
+ logger21.debug("Google Calendar integration initialized");
6260
6379
  },
6261
6380
  async onAfterConnect(_client) {
6262
- logger19.debug("Google Calendar integration connected");
6381
+ logger21.debug("Google Calendar integration connected");
6263
6382
  }
6264
6383
  };
6265
6384
  }
6266
6385
  // src/integrations/gcontacts.ts
6267
6386
  init_logger();
6268
- var logger20 = createLogger("Google Contacts");
6387
+ var logger22 = createLogger("Google Contacts");
6269
6388
  var GCONTACTS_TOOLS = [
6270
6389
  "gcontacts_batch_get_contacts",
6271
6390
  "gcontacts_copy_other_contact",
@@ -6299,16 +6418,16 @@ function gcontactsIntegration(config = {}) {
6299
6418
  tools: [...GCONTACTS_TOOLS],
6300
6419
  oauth,
6301
6420
  async onInit(_client) {
6302
- logger20.debug("Google Contacts integration initialized");
6421
+ logger22.debug("Google Contacts integration initialized");
6303
6422
  },
6304
6423
  async onAfterConnect(_client) {
6305
- logger20.debug("Google Contacts integration connected");
6424
+ logger22.debug("Google Contacts integration connected");
6306
6425
  }
6307
6426
  };
6308
6427
  }
6309
6428
  // src/integrations/gmeet.ts
6310
6429
  init_logger();
6311
- var logger21 = createLogger("Google Meet");
6430
+ var logger23 = createLogger("Google Meet");
6312
6431
  var GMEET_TOOLS = [
6313
6432
  "gmeet_add_meet_to_event",
6314
6433
  "gmeet_create_meeting",
@@ -6336,16 +6455,16 @@ function gmeetIntegration(config = {}) {
6336
6455
  tools: [...GMEET_TOOLS],
6337
6456
  oauth,
6338
6457
  async onInit(_client) {
6339
- logger21.debug("Google Meet integration initialized");
6458
+ logger23.debug("Google Meet integration initialized");
6340
6459
  },
6341
6460
  async onAfterConnect(_client) {
6342
- logger21.debug("Google Meet integration connected");
6461
+ logger23.debug("Google Meet integration connected");
6343
6462
  }
6344
6463
  };
6345
6464
  }
6346
6465
  // src/integrations/gtasks.ts
6347
6466
  init_logger();
6348
- var logger22 = createLogger("Google Tasks");
6467
+ var logger24 = createLogger("Google Tasks");
6349
6468
  var GTASKS_TOOLS = [
6350
6469
  "gtasks_clear_completed",
6351
6470
  "gtasks_create_task",
@@ -6381,16 +6500,57 @@ function gtasksIntegration(config = {}) {
6381
6500
  tools: [...GTASKS_TOOLS],
6382
6501
  oauth,
6383
6502
  async onInit(_client) {
6384
- logger22.debug("Google Tasks integration initialized");
6503
+ logger24.debug("Google Tasks integration initialized");
6385
6504
  },
6386
6505
  async onAfterConnect(_client) {
6387
- logger22.debug("Google Tasks integration connected");
6506
+ logger24.debug("Google Tasks integration connected");
6507
+ }
6508
+ };
6509
+ }
6510
+ // src/integrations/gkeep.ts
6511
+ init_logger();
6512
+ var logger25 = createLogger("Google Keep");
6513
+ var GKEEP_TOOLS = [
6514
+ "gkeep_list_notes",
6515
+ "gkeep_get_note",
6516
+ "gkeep_create_text_note",
6517
+ "gkeep_create_list_note",
6518
+ "gkeep_delete_note",
6519
+ "gkeep_download_attachment",
6520
+ "gkeep_batch_create_permissions",
6521
+ "gkeep_batch_delete_permissions"
6522
+ ];
6523
+ function gkeepIntegration(config = {}) {
6524
+ const oauth = {
6525
+ provider: "gkeep",
6526
+ clientId: config.clientId ?? getEnv("GKEEP_CLIENT_ID"),
6527
+ clientSecret: config.clientSecret ?? getEnv("GKEEP_CLIENT_SECRET"),
6528
+ scopes: config.scopes,
6529
+ optionalScopes: config.optionalScopes,
6530
+ redirectUri: config.redirectUri,
6531
+ config: {
6532
+ ...config
6533
+ }
6534
+ };
6535
+ return {
6536
+ id: "gkeep",
6537
+ name: "Google Keep",
6538
+ logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/google_keep.png",
6539
+ description: "Manage Google Keep notes, attachments, and sharing permissions",
6540
+ category: "Productivity",
6541
+ tools: [...GKEEP_TOOLS],
6542
+ oauth,
6543
+ async onInit(_client) {
6544
+ logger25.debug("Google Keep integration initialized");
6545
+ },
6546
+ async onAfterConnect(_client) {
6547
+ logger25.debug("Google Keep integration connected");
6388
6548
  }
6389
6549
  };
6390
6550
  }
6391
6551
  // src/integrations/outlook.ts
6392
6552
  init_logger();
6393
- var logger23 = createLogger("Outlook");
6553
+ var logger26 = createLogger("Outlook");
6394
6554
  var OUTLOOK_TOOLS = [
6395
6555
  "outlook_accept_event",
6396
6556
  "outlook_create_draft",
@@ -6437,16 +6597,16 @@ function outlookIntegration(config = {}) {
6437
6597
  tools: [...OUTLOOK_TOOLS],
6438
6598
  oauth,
6439
6599
  async onInit(_client) {
6440
- logger23.debug("Outlook integration initialized");
6600
+ logger26.debug("Outlook integration initialized");
6441
6601
  },
6442
6602
  async onAfterConnect(_client) {
6443
- logger23.debug("Outlook integration connected");
6603
+ logger26.debug("Outlook integration connected");
6444
6604
  }
6445
6605
  };
6446
6606
  }
6447
6607
  // src/integrations/teams.ts
6448
6608
  init_logger();
6449
- var logger24 = createLogger("Teams");
6609
+ var logger27 = createLogger("Teams");
6450
6610
  var TEAMS_SCOPES = [
6451
6611
  "offline_access",
6452
6612
  "User.Read",
@@ -6496,16 +6656,16 @@ function teamsIntegration(config = {}) {
6496
6656
  tools: [...TEAMS_TOOLS],
6497
6657
  oauth,
6498
6658
  async onInit(_client) {
6499
- logger24.debug("Teams integration initialized");
6659
+ logger27.debug("Teams integration initialized");
6500
6660
  },
6501
6661
  async onAfterConnect(_client) {
6502
- logger24.debug("Teams integration connected");
6662
+ logger27.debug("Teams integration connected");
6503
6663
  }
6504
6664
  };
6505
6665
  }
6506
6666
  // src/integrations/airtable.ts
6507
6667
  init_logger();
6508
- var logger25 = createLogger("Airtable");
6668
+ var logger28 = createLogger("Airtable");
6509
6669
  var AIRTABLE_TOOLS = [
6510
6670
  "airtable_list_bases",
6511
6671
  "airtable_get_base",
@@ -6551,16 +6711,16 @@ function airtableIntegration(config = {}) {
6551
6711
  tools: [...AIRTABLE_TOOLS],
6552
6712
  oauth,
6553
6713
  async onInit(_client) {
6554
- logger25.debug("Airtable integration initialized");
6714
+ logger28.debug("Airtable integration initialized");
6555
6715
  },
6556
6716
  async onAfterConnect(_client) {
6557
- logger25.debug("Airtable integration connected");
6717
+ logger28.debug("Airtable integration connected");
6558
6718
  }
6559
6719
  };
6560
6720
  }
6561
6721
  // src/integrations/auth0.ts
6562
6722
  init_logger();
6563
- var logger26 = createLogger("Auth0");
6723
+ var logger29 = createLogger("Auth0");
6564
6724
  var AUTH0_TOOLS = [
6565
6725
  "auth0_list_users",
6566
6726
  "auth0_get_user",
@@ -6649,7 +6809,7 @@ function auth0Integration(options) {
6649
6809
  };
6650
6810
  },
6651
6811
  async onInit() {
6652
- logger26.debug("Auth0 integration initialized");
6812
+ logger29.debug("Auth0 integration initialized");
6653
6813
  },
6654
6814
  async onBeforeConnect() {
6655
6815
  await ensureFreshToken();
@@ -6658,13 +6818,13 @@ function auth0Integration(options) {
6658
6818
  }
6659
6819
  },
6660
6820
  async onAfterConnect() {
6661
- logger26.debug("Auth0 integration connected");
6821
+ logger29.debug("Auth0 integration connected");
6662
6822
  }
6663
6823
  };
6664
6824
  }
6665
6825
  // src/integrations/astronomer.ts
6666
6826
  init_logger();
6667
- var logger27 = createLogger("Astronomer");
6827
+ var logger30 = createLogger("Astronomer");
6668
6828
  var ASTRONOMER_TOOLS = [
6669
6829
  "astronomer_get_self",
6670
6830
  "astronomer_list_organizations",
@@ -6699,16 +6859,16 @@ function astronomerIntegration(options = {}) {
6699
6859
  };
6700
6860
  },
6701
6861
  async onInit(_client) {
6702
- logger27.debug("Astronomer integration initialized");
6862
+ logger30.debug("Astronomer integration initialized");
6703
6863
  },
6704
6864
  async onAfterConnect(_client) {
6705
- logger27.debug("Astronomer integration connected");
6865
+ logger30.debug("Astronomer integration connected");
6706
6866
  }
6707
6867
  };
6708
6868
  }
6709
6869
  // src/integrations/betterstack.ts
6710
6870
  init_logger();
6711
- var logger28 = createLogger("BetterStack");
6871
+ var logger31 = createLogger("BetterStack");
6712
6872
  var BETTERSTACK_TOOLS = [
6713
6873
  "betterstack_list_sources",
6714
6874
  "betterstack_get_source",
@@ -6741,16 +6901,16 @@ function betterstackIntegration(options = {}) {
6741
6901
  };
6742
6902
  },
6743
6903
  async onInit(_client) {
6744
- logger28.debug("Better Stack integration initialized");
6904
+ logger31.debug("Better Stack integration initialized");
6745
6905
  },
6746
6906
  async onAfterConnect(_client) {
6747
- logger28.debug("Better Stack integration connected");
6907
+ logger31.debug("Better Stack integration connected");
6748
6908
  }
6749
6909
  };
6750
6910
  }
6751
6911
  // src/integrations/todoist.ts
6752
6912
  init_logger();
6753
- var logger29 = createLogger("Todoist");
6913
+ var logger32 = createLogger("Todoist");
6754
6914
  var TODOIST_TOOLS = [
6755
6915
  "todoist_list_projects",
6756
6916
  "todoist_get_project",
@@ -6805,16 +6965,16 @@ function todoistIntegration(config = {}) {
6805
6965
  tools: [...TODOIST_TOOLS],
6806
6966
  oauth,
6807
6967
  async onInit(_client) {
6808
- logger29.debug("Todoist integration initialized");
6968
+ logger32.debug("Todoist integration initialized");
6809
6969
  },
6810
6970
  async onAfterConnect(_client) {
6811
- logger29.debug("Todoist integration connected");
6971
+ logger32.debug("Todoist integration connected");
6812
6972
  }
6813
6973
  };
6814
6974
  }
6815
6975
  // src/integrations/whatsapp.ts
6816
6976
  init_logger();
6817
- var logger30 = createLogger("WhatsApp");
6977
+ var logger33 = createLogger("WhatsApp");
6818
6978
  var WHATSAPP_TOOLS = [
6819
6979
  "whatsapp_send_message",
6820
6980
  "whatsapp_reply_message",
@@ -6863,16 +7023,16 @@ function whatsappIntegration(config = {}) {
6863
7023
  tools: [...WHATSAPP_TOOLS],
6864
7024
  oauth,
6865
7025
  async onInit(_client) {
6866
- logger30.debug("WhatsApp Business integration initialized");
7026
+ logger33.debug("WhatsApp Business integration initialized");
6867
7027
  },
6868
7028
  async onAfterConnect(_client) {
6869
- logger30.debug("WhatsApp Business integration connected");
7029
+ logger33.debug("WhatsApp Business integration connected");
6870
7030
  }
6871
7031
  };
6872
7032
  }
6873
7033
  // src/integrations/calcom.ts
6874
7034
  init_logger();
6875
- var logger31 = createLogger("Cal.com");
7035
+ var logger34 = createLogger("Cal.com");
6876
7036
  var CALCOM_TOOLS = [
6877
7037
  "calcom_list_bookings",
6878
7038
  "calcom_get_booking",
@@ -6948,16 +7108,16 @@ function calcomIntegration(config = {}) {
6948
7108
  tools: [...CALCOM_TOOLS],
6949
7109
  oauth,
6950
7110
  async onInit(_client) {
6951
- logger31.debug("Cal.com integration initialized");
7111
+ logger34.debug("Cal.com integration initialized");
6952
7112
  },
6953
7113
  async onAfterConnect(_client) {
6954
- logger31.debug("Cal.com integration connected");
7114
+ logger34.debug("Cal.com integration connected");
6955
7115
  }
6956
7116
  };
6957
7117
  }
6958
7118
  // src/integrations/ramp.ts
6959
7119
  init_logger();
6960
- var logger32 = createLogger("Ramp");
7120
+ var logger35 = createLogger("Ramp");
6961
7121
  var RAMP_TOOLS = [
6962
7122
  "ramp_list_transactions",
6963
7123
  "ramp_get_transaction",
@@ -6989,16 +7149,16 @@ function rampIntegration(config = {}) {
6989
7149
  tools: [...RAMP_TOOLS],
6990
7150
  oauth,
6991
7151
  async onInit(_client) {
6992
- logger32.debug("Ramp integration initialized");
7152
+ logger35.debug("Ramp integration initialized");
6993
7153
  },
6994
7154
  async onAfterConnect(_client) {
6995
- logger32.debug("Ramp integration connected");
7155
+ logger35.debug("Ramp integration connected");
6996
7156
  }
6997
7157
  };
6998
7158
  }
6999
7159
  // src/integrations/onedrive.ts
7000
7160
  init_logger();
7001
- var logger33 = createLogger("OneDrive");
7161
+ var logger36 = createLogger("OneDrive");
7002
7162
  var ONEDRIVE_TOOLS = [
7003
7163
  "onedrive_create_folder",
7004
7164
  "onedrive_delete_file",
@@ -7030,10 +7190,10 @@ function onedriveIntegration(config = {}) {
7030
7190
  tools: [...ONEDRIVE_TOOLS],
7031
7191
  oauth,
7032
7192
  async onInit(_client) {
7033
- logger33.debug("OneDrive integration initialized");
7193
+ logger36.debug("OneDrive integration initialized");
7034
7194
  },
7035
7195
  async onAfterConnect(_client) {
7036
- logger33.debug("OneDrive integration connected");
7196
+ logger36.debug("OneDrive integration connected");
7037
7197
  }
7038
7198
  };
7039
7199
  }
@@ -7072,7 +7232,7 @@ function plannerIntegration(config = {}) {
7072
7232
  }
7073
7233
  // src/integrations/sharepoint.ts
7074
7234
  init_logger();
7075
- var logger34 = createLogger("SharePoint");
7235
+ var logger37 = createLogger("SharePoint");
7076
7236
  var SHAREPOINT_SCOPES = ["Sites.ReadWrite.All", "Files.ReadWrite.All", "offline_access"];
7077
7237
  var SHAREPOINT_TOOLS = [
7078
7238
  "sharepoint_create_folder",
@@ -7111,16 +7271,16 @@ function sharepointIntegration(config = {}) {
7111
7271
  tools: [...SHAREPOINT_TOOLS],
7112
7272
  oauth,
7113
7273
  async onInit(_client) {
7114
- logger34.debug("SharePoint integration initialized");
7274
+ logger37.debug("SharePoint integration initialized");
7115
7275
  },
7116
7276
  async onAfterConnect(_client) {
7117
- logger34.debug("SharePoint integration connected");
7277
+ logger37.debug("SharePoint integration connected");
7118
7278
  }
7119
7279
  };
7120
7280
  }
7121
7281
  // src/integrations/dropbox.ts
7122
7282
  init_logger();
7123
- var logger35 = createLogger("Dropbox");
7283
+ var logger38 = createLogger("Dropbox");
7124
7284
  var DROPBOX_TOOLS = [
7125
7285
  "dropbox_get_current_account",
7126
7286
  "dropbox_get_space_usage",
@@ -7162,16 +7322,16 @@ function dropboxIntegration(options = {}) {
7162
7322
  authType: "oauth",
7163
7323
  oauth,
7164
7324
  async onInit(_client) {
7165
- logger35.debug("Dropbox integration initialized");
7325
+ logger38.debug("Dropbox integration initialized");
7166
7326
  },
7167
7327
  async onAfterConnect(_client) {
7168
- logger35.debug("Dropbox integration connected");
7328
+ logger38.debug("Dropbox integration connected");
7169
7329
  }
7170
7330
  };
7171
7331
  }
7172
7332
  // src/integrations/paper.ts
7173
7333
  init_logger();
7174
- var logger36 = createLogger("Paper");
7334
+ var logger39 = createLogger("Paper");
7175
7335
  var PAPER_SCOPES = [
7176
7336
  "account_info.read",
7177
7337
  "files.metadata.read",
@@ -7217,16 +7377,16 @@ function paperIntegration(config = {}) {
7217
7377
  authType: "oauth",
7218
7378
  oauth,
7219
7379
  async onInit(_client) {
7220
- logger36.debug("Paper integration initialized");
7380
+ logger39.debug("Paper integration initialized");
7221
7381
  },
7222
7382
  async onAfterConnect(_client) {
7223
- logger36.debug("Paper integration connected");
7383
+ logger39.debug("Paper integration connected");
7224
7384
  }
7225
7385
  };
7226
7386
  }
7227
7387
  // src/integrations/word.ts
7228
7388
  init_logger();
7229
- var logger37 = createLogger("Word");
7389
+ var logger40 = createLogger("Word");
7230
7390
  var WORD_TOOLS = [
7231
7391
  "word_copy",
7232
7392
  "word_create",
@@ -7253,16 +7413,16 @@ function wordIntegration(config = {}) {
7253
7413
  tools: [...WORD_TOOLS],
7254
7414
  oauth,
7255
7415
  async onInit(_client) {
7256
- logger37.debug("Word integration initialized");
7416
+ logger40.debug("Word integration initialized");
7257
7417
  },
7258
7418
  async onAfterConnect(_client) {
7259
- logger37.debug("Word integration connected");
7419
+ logger40.debug("Word integration connected");
7260
7420
  }
7261
7421
  };
7262
7422
  }
7263
7423
  // src/integrations/excel.ts
7264
7424
  init_logger();
7265
- var logger38 = createLogger("Excel");
7425
+ var logger41 = createLogger("Excel");
7266
7426
  var EXCEL_TOOLS = [
7267
7427
  "excel_add_table_rows",
7268
7428
  "excel_add_worksheet",
@@ -7298,16 +7458,16 @@ function excelIntegration(config = {}) {
7298
7458
  tools: [...EXCEL_TOOLS],
7299
7459
  oauth,
7300
7460
  async onInit(_client) {
7301
- logger38.debug("Excel integration initialized");
7461
+ logger41.debug("Excel integration initialized");
7302
7462
  },
7303
7463
  async onAfterConnect(_client) {
7304
- logger38.debug("Excel integration connected");
7464
+ logger41.debug("Excel integration connected");
7305
7465
  }
7306
7466
  };
7307
7467
  }
7308
7468
  // src/integrations/powerpoint.ts
7309
7469
  init_logger();
7310
- var logger39 = createLogger("PowerPoint");
7470
+ var logger42 = createLogger("PowerPoint");
7311
7471
  var POWERPOINT_TOOLS = [
7312
7472
  "powerpoint_copy",
7313
7473
  "powerpoint_create",
@@ -7334,16 +7494,16 @@ function powerpointIntegration(config = {}) {
7334
7494
  tools: [...POWERPOINT_TOOLS],
7335
7495
  oauth,
7336
7496
  async onInit(_client) {
7337
- logger39.debug("PowerPoint integration initialized");
7497
+ logger42.debug("PowerPoint integration initialized");
7338
7498
  },
7339
7499
  async onAfterConnect(_client) {
7340
- logger39.debug("PowerPoint integration connected");
7500
+ logger42.debug("PowerPoint integration connected");
7341
7501
  }
7342
7502
  };
7343
7503
  }
7344
7504
  // src/integrations/gdocs.ts
7345
7505
  init_logger();
7346
- var logger40 = createLogger("Google Docs");
7506
+ var logger43 = createLogger("Google Docs");
7347
7507
  var GDOCS_TOOLS = [
7348
7508
  "gdocs_append_text",
7349
7509
  "gdocs_batch_update",
@@ -7373,16 +7533,16 @@ function gdocsIntegration(config = {}) {
7373
7533
  tools: [...GDOCS_TOOLS],
7374
7534
  oauth,
7375
7535
  async onInit(_client) {
7376
- logger40.debug("Google Docs integration initialized");
7536
+ logger43.debug("Google Docs integration initialized");
7377
7537
  },
7378
7538
  async onAfterConnect(_client) {
7379
- logger40.debug("Google Docs integration connected");
7539
+ logger43.debug("Google Docs integration connected");
7380
7540
  }
7381
7541
  };
7382
7542
  }
7383
7543
  // src/integrations/gdrive.ts
7384
7544
  init_logger();
7385
- var logger41 = createLogger("Google Drive");
7545
+ var logger44 = createLogger("Google Drive");
7386
7546
  var GDRIVE_TOOLS = [
7387
7547
  "gdrive_copy_file",
7388
7548
  "gdrive_create_folder",
@@ -7416,16 +7576,16 @@ function gdriveIntegration(config = {}) {
7416
7576
  tools: [...GDRIVE_TOOLS],
7417
7577
  oauth,
7418
7578
  async onInit(_client) {
7419
- logger41.debug("Google Drive integration initialized");
7579
+ logger44.debug("Google Drive integration initialized");
7420
7580
  },
7421
7581
  async onAfterConnect(_client) {
7422
- logger41.debug("Google Drive integration connected");
7582
+ logger44.debug("Google Drive integration connected");
7423
7583
  }
7424
7584
  };
7425
7585
  }
7426
7586
  // src/integrations/gsheets.ts
7427
7587
  init_logger();
7428
- var logger42 = createLogger("Google Sheets");
7588
+ var logger45 = createLogger("Google Sheets");
7429
7589
  var GSHEETS_TOOLS = [
7430
7590
  "gsheets_append_values",
7431
7591
  "gsheets_batch_update",
@@ -7455,16 +7615,16 @@ function gsheetsIntegration(config = {}) {
7455
7615
  tools: [...GSHEETS_TOOLS],
7456
7616
  oauth,
7457
7617
  async onInit(_client) {
7458
- logger42.debug("Google Sheets integration initialized");
7618
+ logger45.debug("Google Sheets integration initialized");
7459
7619
  },
7460
7620
  async onAfterConnect(_client) {
7461
- logger42.debug("Google Sheets integration connected");
7621
+ logger45.debug("Google Sheets integration connected");
7462
7622
  }
7463
7623
  };
7464
7624
  }
7465
7625
  // src/integrations/gslides.ts
7466
7626
  init_logger();
7467
- var logger43 = createLogger("Google Slides");
7627
+ var logger46 = createLogger("Google Slides");
7468
7628
  var GSLIDES_TOOLS = [
7469
7629
  "gslides_add_slide",
7470
7630
  "gslides_batch_update",
@@ -7493,16 +7653,16 @@ function gslidesIntegration(config = {}) {
7493
7653
  tools: [...GSLIDES_TOOLS],
7494
7654
  oauth,
7495
7655
  async onInit(_client) {
7496
- logger43.debug("Google Slides integration initialized");
7656
+ logger46.debug("Google Slides integration initialized");
7497
7657
  },
7498
7658
  async onAfterConnect(_client) {
7499
- logger43.debug("Google Slides integration connected");
7659
+ logger46.debug("Google Slides integration connected");
7500
7660
  }
7501
7661
  };
7502
7662
  }
7503
7663
  // src/integrations/polar.ts
7504
7664
  init_logger();
7505
- var logger44 = createLogger("Polar");
7665
+ var logger47 = createLogger("Polar");
7506
7666
  var POLAR_TOOLS = [
7507
7667
  "polar_list_products",
7508
7668
  "polar_get_product",
@@ -7559,16 +7719,16 @@ function polarIntegration(config = {}) {
7559
7719
  tools: [...POLAR_TOOLS],
7560
7720
  oauth,
7561
7721
  async onInit(_client) {
7562
- logger44.debug("Polar integration initialized");
7722
+ logger47.debug("Polar integration initialized");
7563
7723
  },
7564
7724
  async onAfterConnect(_client) {
7565
- logger44.debug("Polar integration connected");
7725
+ logger47.debug("Polar integration connected");
7566
7726
  }
7567
7727
  };
7568
7728
  }
7569
7729
  // src/integrations/phantom.ts
7570
7730
  init_logger();
7571
- var logger45 = createLogger("Phantom");
7731
+ var logger48 = createLogger("Phantom");
7572
7732
  var PHANTOM_TOOLS = [
7573
7733
  "phantom_build_browse_deeplink",
7574
7734
  "phantom_deeplink_provider_reference"
@@ -7590,16 +7750,16 @@ function phantomIntegration(_options = {}) {
7590
7750
  category: "Other",
7591
7751
  tools: [...PHANTOM_TOOLS],
7592
7752
  async onInit(_client) {
7593
- logger45.debug("Phantom integration initialized");
7753
+ logger48.debug("Phantom integration initialized");
7594
7754
  },
7595
7755
  async onAfterConnect(_client) {
7596
- logger45.debug("Phantom integration connected");
7756
+ logger48.debug("Phantom integration connected");
7597
7757
  }
7598
7758
  };
7599
7759
  }
7600
7760
  // src/integrations/figma.ts
7601
7761
  init_logger();
7602
- var logger46 = createLogger("Figma");
7762
+ var logger49 = createLogger("Figma");
7603
7763
  var FIGMA_TOOLS = [
7604
7764
  "figma_get_file",
7605
7765
  "figma_get_file_nodes",
@@ -7665,16 +7825,16 @@ function figmaIntegration(config = {}) {
7665
7825
  tools: [...FIGMA_TOOLS],
7666
7826
  oauth,
7667
7827
  async onInit(_client) {
7668
- logger46.debug("Figma integration initialized");
7828
+ logger49.debug("Figma integration initialized");
7669
7829
  },
7670
7830
  async onAfterConnect(_client) {
7671
- logger46.debug("Figma integration connected");
7831
+ logger49.debug("Figma integration connected");
7672
7832
  }
7673
7833
  };
7674
7834
  }
7675
7835
  // src/integrations/intercom.ts
7676
7836
  init_logger();
7677
- var logger47 = createLogger("Intercom");
7837
+ var logger50 = createLogger("Intercom");
7678
7838
  var INTERCOM_TOOLS = [
7679
7839
  "intercom_list_contacts",
7680
7840
  "intercom_get_contact",
@@ -7705,16 +7865,16 @@ function intercomIntegration(config = {}) {
7705
7865
  tools: [...INTERCOM_TOOLS],
7706
7866
  oauth,
7707
7867
  async onInit(_client) {
7708
- logger47.debug("Intercom integration initialized");
7868
+ logger50.debug("Intercom integration initialized");
7709
7869
  },
7710
7870
  async onAfterConnect(_client) {
7711
- logger47.debug("Intercom integration connected");
7871
+ logger50.debug("Intercom integration connected");
7712
7872
  }
7713
7873
  };
7714
7874
  }
7715
7875
  // src/integrations/hubspot.ts
7716
7876
  init_logger();
7717
- var logger48 = createLogger("HubSpot");
7877
+ var logger51 = createLogger("HubSpot");
7718
7878
  var HUBSPOT_TOOLS = [
7719
7879
  "hubspot_list_contacts",
7720
7880
  "hubspot_get_contact",
@@ -7764,16 +7924,16 @@ function hubspotIntegration(config = {}) {
7764
7924
  tools: [...HUBSPOT_TOOLS],
7765
7925
  oauth,
7766
7926
  async onInit(_client) {
7767
- logger48.debug("HubSpot integration initialized");
7927
+ logger51.debug("HubSpot integration initialized");
7768
7928
  },
7769
7929
  async onAfterConnect(_client) {
7770
- logger48.debug("HubSpot integration connected");
7930
+ logger51.debug("HubSpot integration connected");
7771
7931
  }
7772
7932
  };
7773
7933
  }
7774
7934
  // src/integrations/youtube.ts
7775
7935
  init_logger();
7776
- var logger49 = createLogger("YouTube");
7936
+ var logger52 = createLogger("YouTube");
7777
7937
  var YOUTUBE_TOOLS = [
7778
7938
  "youtube_add_comment",
7779
7939
  "youtube_add_to_playlist",
@@ -7819,16 +7979,16 @@ function youtubeIntegration(config = {}) {
7819
7979
  tools: [...YOUTUBE_TOOLS],
7820
7980
  oauth,
7821
7981
  async onInit(_client) {
7822
- logger49.debug("YouTube integration initialized");
7982
+ logger52.debug("YouTube integration initialized");
7823
7983
  },
7824
7984
  async onAfterConnect(_client) {
7825
- logger49.debug("YouTube integration connected");
7985
+ logger52.debug("YouTube integration connected");
7826
7986
  }
7827
7987
  };
7828
7988
  }
7829
7989
  // src/integrations/zoom.ts
7830
7990
  init_logger();
7831
- var logger50 = createLogger("Zoom");
7991
+ var logger53 = createLogger("Zoom");
7832
7992
  var ZOOM_TOOLS = [
7833
7993
  "zoom_get_user",
7834
7994
  "zoom_list_meetings",
@@ -7854,10 +8014,10 @@ function zoomIntegration(config = {}) {
7854
8014
  tools: [...ZOOM_TOOLS],
7855
8015
  oauth,
7856
8016
  async onInit(_client) {
7857
- logger50.debug("Zoom integration initialized");
8017
+ logger53.debug("Zoom integration initialized");
7858
8018
  },
7859
8019
  async onAfterConnect(_client) {
7860
- logger50.debug("Zoom integration connected");
8020
+ logger53.debug("Zoom integration connected");
7861
8021
  }
7862
8022
  };
7863
8023
  }
@@ -7893,7 +8053,7 @@ function redditIntegration(config = {}) {
7893
8053
  }
7894
8054
  // src/integrations/cursor.ts
7895
8055
  init_logger();
7896
- var logger51 = createLogger("Cursor");
8056
+ var logger54 = createLogger("Cursor");
7897
8057
  var CURSOR_TOOLS = [
7898
8058
  "cursor_list_agents",
7899
8059
  "cursor_get_agent",
@@ -7913,16 +8073,16 @@ function cursorIntegration(_config = {}) {
7913
8073
  logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/cursor.jpeg",
7914
8074
  tools: [...CURSOR_TOOLS],
7915
8075
  async onInit(_client) {
7916
- logger51.debug("Cursor integration initialized");
8076
+ logger54.debug("Cursor integration initialized");
7917
8077
  },
7918
8078
  async onAfterConnect(_client) {
7919
- logger51.debug("Cursor integration connected");
8079
+ logger54.debug("Cursor integration connected");
7920
8080
  }
7921
8081
  };
7922
8082
  }
7923
8083
  // src/integrations/databricks.ts
7924
8084
  init_logger();
7925
- var logger52 = createLogger("Databricks");
8085
+ var logger55 = createLogger("Databricks");
7926
8086
  var DATABRICKS_SCOPES = ["all-apis", "offline_access"];
7927
8087
  var DATABRICKS_TOOLS = [
7928
8088
  "databricks_current_user",
@@ -7969,16 +8129,16 @@ function databricksIntegration(config = {}) {
7969
8129
  tools: [...DATABRICKS_TOOLS],
7970
8130
  oauth,
7971
8131
  async onInit(_client) {
7972
- logger52.debug("Databricks integration initialized");
8132
+ logger55.debug("Databricks integration initialized");
7973
8133
  },
7974
8134
  async onAfterConnect(_client) {
7975
- logger52.debug("Databricks integration connected");
8135
+ logger55.debug("Databricks integration connected");
7976
8136
  }
7977
8137
  };
7978
8138
  }
7979
8139
  // src/integrations/posthog.ts
7980
8140
  init_logger();
7981
- var logger53 = createLogger("PostHog");
8141
+ var logger56 = createLogger("PostHog");
7982
8142
  var DEFAULT_POSTHOG_BASE_URL = "https://us.posthog.com";
7983
8143
  var POSTHOG_SCOPES = [
7984
8144
  "openid",
@@ -8064,16 +8224,16 @@ function posthogIntegration(config = {}) {
8064
8224
  tools: [...POSTHOG_TOOLS],
8065
8225
  oauth,
8066
8226
  async onInit(_client) {
8067
- logger53.debug("PostHog integration initialized");
8227
+ logger56.debug("PostHog integration initialized");
8068
8228
  },
8069
8229
  async onAfterConnect(_client) {
8070
- logger53.debug("PostHog integration connected");
8230
+ logger56.debug("PostHog integration connected");
8071
8231
  }
8072
8232
  };
8073
8233
  }
8074
8234
  // src/integrations/postman.ts
8075
8235
  init_logger();
8076
- var logger54 = createLogger("Postman");
8236
+ var logger57 = createLogger("Postman");
8077
8237
  var POSTMAN_TOOLS = [
8078
8238
  "postman_get_me",
8079
8239
  "postman_list_workspaces",
@@ -8104,16 +8264,16 @@ function postmanIntegration(options = {}) {
8104
8264
  };
8105
8265
  },
8106
8266
  async onInit(_client) {
8107
- logger54.debug("Postman integration initialized");
8267
+ logger57.debug("Postman integration initialized");
8108
8268
  },
8109
8269
  async onAfterConnect(_client) {
8110
- logger54.debug("Postman integration connected");
8270
+ logger57.debug("Postman integration connected");
8111
8271
  }
8112
8272
  };
8113
8273
  }
8114
8274
  // src/integrations/sentry.ts
8115
8275
  init_logger();
8116
- var logger55 = createLogger("Sentry");
8276
+ var logger58 = createLogger("Sentry");
8117
8277
  var SENTRY_SCOPES = [
8118
8278
  "org:read",
8119
8279
  "project:read",
@@ -8162,16 +8322,16 @@ function sentryIntegration(config = {}) {
8162
8322
  tools: [...SENTRY_TOOLS],
8163
8323
  oauth,
8164
8324
  async onInit(_client) {
8165
- logger55.debug("Sentry integration initialized");
8325
+ logger58.debug("Sentry integration initialized");
8166
8326
  },
8167
8327
  async onAfterConnect(_client) {
8168
- logger55.debug("Sentry integration connected");
8328
+ logger58.debug("Sentry integration connected");
8169
8329
  }
8170
8330
  };
8171
8331
  }
8172
8332
  // src/integrations/supabase.ts
8173
8333
  init_logger();
8174
- var logger56 = createLogger("Supabase");
8334
+ var logger59 = createLogger("Supabase");
8175
8335
  var SUPABASE_API_BASE = "https://api.supabase.com";
8176
8336
  var SUPABASE_TOOLS = [
8177
8337
  "supabase_get_profile",
@@ -8209,10 +8369,10 @@ function supabaseIntegration(config = {}) {
8209
8369
  };
8210
8370
  },
8211
8371
  async onInit(_client) {
8212
- logger56.debug("Supabase integration initialized (personal access token)");
8372
+ logger59.debug("Supabase integration initialized (personal access token)");
8213
8373
  },
8214
8374
  async onAfterConnect(_client) {
8215
- logger56.debug("Supabase integration connected");
8375
+ logger59.debug("Supabase integration connected");
8216
8376
  }
8217
8377
  };
8218
8378
  }
@@ -8242,16 +8402,16 @@ function supabaseIntegration(config = {}) {
8242
8402
  tools: [...SUPABASE_TOOLS],
8243
8403
  oauth,
8244
8404
  async onInit(_client) {
8245
- logger56.debug("Supabase integration initialized");
8405
+ logger59.debug("Supabase integration initialized");
8246
8406
  },
8247
8407
  async onAfterConnect(_client) {
8248
- logger56.debug("Supabase integration connected");
8408
+ logger59.debug("Supabase integration connected");
8249
8409
  }
8250
8410
  };
8251
8411
  }
8252
8412
  // src/integrations/netlify.ts
8253
8413
  init_logger();
8254
- var logger57 = createLogger("Netlify");
8414
+ var logger60 = createLogger("Netlify");
8255
8415
  var NETLIFY_TOOLS = [
8256
8416
  "netlify_get_current_user",
8257
8417
  "netlify_list_accounts",
@@ -8314,16 +8474,16 @@ function netlifyIntegration(config = {}) {
8314
8474
  tools: [...NETLIFY_TOOLS],
8315
8475
  oauth,
8316
8476
  async onInit(_client) {
8317
- logger57.debug("Netlify integration initialized");
8477
+ logger60.debug("Netlify integration initialized");
8318
8478
  },
8319
8479
  async onAfterConnect(_client) {
8320
- logger57.debug("Netlify integration connected");
8480
+ logger60.debug("Netlify integration connected");
8321
8481
  }
8322
8482
  };
8323
8483
  }
8324
8484
  // src/integrations/datadog.ts
8325
8485
  init_logger();
8326
- var logger58 = createLogger("Datadog");
8486
+ var logger61 = createLogger("Datadog");
8327
8487
  var DATADOG_SCOPES = [
8328
8488
  "monitors_read",
8329
8489
  "dashboards_read",
@@ -8353,10 +8513,10 @@ function datadogIntegration(config = {}) {
8353
8513
  category: "Engineering",
8354
8514
  tools: [...DATADOG_TOOLS],
8355
8515
  async onInit(_client) {
8356
- logger58.debug("Datadog integration initialized");
8516
+ logger61.debug("Datadog integration initialized");
8357
8517
  },
8358
8518
  async onAfterConnect(_client) {
8359
- logger58.debug("Datadog integration connected");
8519
+ logger61.debug("Datadog integration connected");
8360
8520
  }
8361
8521
  };
8362
8522
  if (apiKey || applicationKey) {
@@ -8398,7 +8558,7 @@ function datadogIntegration(config = {}) {
8398
8558
  }
8399
8559
  // src/integrations/redis.ts
8400
8560
  init_logger();
8401
- var logger59 = createLogger("Redis Cloud");
8561
+ var logger62 = createLogger("Redis Cloud");
8402
8562
  var REDIS_TOOLS = [
8403
8563
  "redis_list_subscriptions",
8404
8564
  "redis_get_subscription",
@@ -8453,16 +8613,16 @@ function redisIntegration(options = {}) {
8453
8613
  };
8454
8614
  },
8455
8615
  async onInit(_client) {
8456
- logger59.debug("Redis Cloud integration initialized");
8616
+ logger62.debug("Redis Cloud integration initialized");
8457
8617
  },
8458
8618
  async onAfterConnect(_client) {
8459
- logger59.debug("Redis Cloud integration connected");
8619
+ logger62.debug("Redis Cloud integration connected");
8460
8620
  }
8461
8621
  };
8462
8622
  }
8463
8623
  // src/integrations/upstash.ts
8464
8624
  init_logger();
8465
- var logger60 = createLogger("Upstash");
8625
+ var logger63 = createLogger("Upstash");
8466
8626
  var UPSTASH_TOOLS = [
8467
8627
  "upstash_redis_run",
8468
8628
  "upstash_redis_get",
@@ -8502,16 +8662,16 @@ function upstashIntegration(options = {}) {
8502
8662
  return headers;
8503
8663
  },
8504
8664
  async onInit(_client) {
8505
- logger60.debug("Upstash integration initialized");
8665
+ logger63.debug("Upstash integration initialized");
8506
8666
  },
8507
8667
  async onAfterConnect(_client) {
8508
- logger60.debug("Upstash integration connected");
8668
+ logger63.debug("Upstash integration connected");
8509
8669
  }
8510
8670
  };
8511
8671
  }
8512
8672
  // src/integrations/webflow.ts
8513
8673
  init_logger();
8514
- var logger61 = createLogger("Webflow");
8674
+ var logger64 = createLogger("Webflow");
8515
8675
  var WEBFLOW_TOOLS = [
8516
8676
  "webflow_token_introspect",
8517
8677
  "webflow_get_authorized_user",
@@ -8570,16 +8730,16 @@ function webflowIntegration(config = {}) {
8570
8730
  tools: [...WEBFLOW_TOOLS],
8571
8731
  oauth,
8572
8732
  async onInit(_client) {
8573
- logger61.debug("Webflow integration initialized");
8733
+ logger64.debug("Webflow integration initialized");
8574
8734
  },
8575
8735
  async onAfterConnect(_client) {
8576
- logger61.debug("Webflow integration connected");
8736
+ logger64.debug("Webflow integration connected");
8577
8737
  }
8578
8738
  };
8579
8739
  }
8580
8740
  // src/integrations/jira.ts
8581
8741
  init_logger();
8582
- var logger62 = createLogger("Jira");
8742
+ var logger65 = createLogger("Jira");
8583
8743
  var JIRA_SCOPES = [
8584
8744
  "read:jira-work",
8585
8745
  "write:jira-work",
@@ -8624,16 +8784,16 @@ function jiraIntegration(config = {}) {
8624
8784
  tools: [...JIRA_TOOLS],
8625
8785
  oauth,
8626
8786
  async onInit(_client) {
8627
- logger62.debug("Jira integration initialized");
8787
+ logger65.debug("Jira integration initialized");
8628
8788
  },
8629
8789
  async onAfterConnect(_client) {
8630
- logger62.debug("Jira integration connected");
8790
+ logger65.debug("Jira integration connected");
8631
8791
  }
8632
8792
  };
8633
8793
  }
8634
8794
  // src/integrations/salesforce.ts
8635
8795
  init_logger();
8636
- var logger63 = createLogger("Salesforce");
8796
+ var logger66 = createLogger("Salesforce");
8637
8797
  var SALESFORCE_TOOLS = [
8638
8798
  "salesforce_query",
8639
8799
  "salesforce_get_limits",
@@ -8664,16 +8824,16 @@ function salesforceIntegration(config = {}) {
8664
8824
  tools: [...SALESFORCE_TOOLS],
8665
8825
  oauth,
8666
8826
  async onInit(_client) {
8667
- logger63.debug("Salesforce integration initialized");
8827
+ logger66.debug("Salesforce integration initialized");
8668
8828
  },
8669
8829
  async onAfterConnect(_client) {
8670
- logger63.debug("Salesforce integration connected");
8830
+ logger66.debug("Salesforce integration connected");
8671
8831
  }
8672
8832
  };
8673
8833
  }
8674
8834
  // src/integrations/zapier.ts
8675
8835
  init_logger();
8676
- var logger64 = createLogger("Zapier");
8836
+ var logger67 = createLogger("Zapier");
8677
8837
  var ZAPIER_TOOLS = [
8678
8838
  "zapier_get_profile",
8679
8839
  "zapier_list_zaps",
@@ -8705,16 +8865,16 @@ function zapierIntegration(config = {}) {
8705
8865
  tools: [...ZAPIER_TOOLS],
8706
8866
  oauth,
8707
8867
  async onInit(_client) {
8708
- logger64.debug("Zapier integration initialized");
8868
+ logger67.debug("Zapier integration initialized");
8709
8869
  },
8710
8870
  async onAfterConnect(_client) {
8711
- logger64.debug("Zapier integration connected");
8871
+ logger67.debug("Zapier integration connected");
8712
8872
  }
8713
8873
  };
8714
8874
  }
8715
8875
  // src/integrations/linkedin.ts
8716
8876
  init_logger();
8717
- var logger65 = createLogger("LinkedIn");
8877
+ var logger68 = createLogger("LinkedIn");
8718
8878
  var LINKEDIN_SCOPES = ["openid", "profile", "email", "w_member_social"];
8719
8879
  var LINKEDIN_TOOLS = ["linkedin_get_userinfo", "linkedin_create_post"];
8720
8880
  function linkedinIntegration(config = {}) {
@@ -8741,16 +8901,16 @@ function linkedinIntegration(config = {}) {
8741
8901
  tools: [...LINKEDIN_TOOLS],
8742
8902
  oauth,
8743
8903
  async onInit(_client) {
8744
- logger65.debug("LinkedIn integration initialized");
8904
+ logger68.debug("LinkedIn integration initialized");
8745
8905
  },
8746
8906
  async onAfterConnect(_client) {
8747
- logger65.debug("LinkedIn integration connected");
8907
+ logger68.debug("LinkedIn integration connected");
8748
8908
  }
8749
8909
  };
8750
8910
  }
8751
8911
  // src/integrations/threads.ts
8752
8912
  init_logger();
8753
- var logger66 = createLogger("Threads");
8913
+ var logger69 = createLogger("Threads");
8754
8914
  var THREADS_SCOPES = [
8755
8915
  "threads_basic",
8756
8916
  "threads_content_publish",
@@ -8801,16 +8961,16 @@ function threadsIntegration(config = {}) {
8801
8961
  tools: [...THREADS_TOOLS],
8802
8962
  oauth,
8803
8963
  async onInit(_client) {
8804
- logger66.debug("Threads integration initialized");
8964
+ logger69.debug("Threads integration initialized");
8805
8965
  },
8806
8966
  async onAfterConnect(_client) {
8807
- logger66.debug("Threads integration connected");
8967
+ logger69.debug("Threads integration connected");
8808
8968
  }
8809
8969
  };
8810
8970
  }
8811
8971
  // src/integrations/tiktok.ts
8812
8972
  init_logger();
8813
- var logger67 = createLogger("TikTok");
8973
+ var logger70 = createLogger("TikTok");
8814
8974
  var TIKTOK_SCOPES = ["user.info.basic", "video.list"];
8815
8975
  var TIKTOK_TOOLS = [
8816
8976
  "tiktok_get_user_info",
@@ -8841,16 +9001,16 @@ function tiktokIntegration(config = {}) {
8841
9001
  tools: [...TIKTOK_TOOLS],
8842
9002
  oauth,
8843
9003
  async onInit(_client) {
8844
- logger67.debug("TikTok integration initialized");
9004
+ logger70.debug("TikTok integration initialized");
8845
9005
  },
8846
9006
  async onAfterConnect(_client) {
8847
- logger67.debug("TikTok integration connected");
9007
+ logger70.debug("TikTok integration connected");
8848
9008
  }
8849
9009
  };
8850
9010
  }
8851
9011
  // src/integrations/trello.ts
8852
9012
  init_logger();
8853
- var logger68 = createLogger("Trello");
9013
+ var logger71 = createLogger("Trello");
8854
9014
  var TRELLO_TOOLS = [
8855
9015
  "trello_get_member",
8856
9016
  "trello_list_boards",
@@ -8887,16 +9047,16 @@ function trelloIntegration(options = {}) {
8887
9047
  return { Authorization: `Bearer ${encodeCredential(apiKey, memberToken)}` };
8888
9048
  },
8889
9049
  async onInit(_client) {
8890
- logger68.debug("Trello integration initialized");
9050
+ logger71.debug("Trello integration initialized");
8891
9051
  },
8892
9052
  async onAfterConnect(_client) {
8893
- logger68.debug("Trello integration connected");
9053
+ logger71.debug("Trello integration connected");
8894
9054
  }
8895
9055
  };
8896
9056
  }
8897
9057
  // src/integrations/typeform.ts
8898
9058
  init_logger();
8899
- var logger69 = createLogger("Typeform");
9059
+ var logger72 = createLogger("Typeform");
8900
9060
  var TYPEFORM_SCOPES = [
8901
9061
  "offline",
8902
9062
  "accounts:read",
@@ -8940,16 +9100,16 @@ function typeformIntegration(config = {}) {
8940
9100
  tools: [...TYPEFORM_TOOLS],
8941
9101
  oauth,
8942
9102
  async onInit(_client) {
8943
- logger69.debug("Typeform integration initialized");
9103
+ logger72.debug("Typeform integration initialized");
8944
9104
  },
8945
9105
  async onAfterConnect(_client) {
8946
- logger69.debug("Typeform integration connected");
9106
+ logger72.debug("Typeform integration connected");
8947
9107
  }
8948
9108
  };
8949
9109
  }
8950
9110
  // src/integrations/xero.ts
8951
9111
  init_logger();
8952
- var logger70 = createLogger("Xero");
9112
+ var logger73 = createLogger("Xero");
8953
9113
  var XERO_SCOPES = [
8954
9114
  "openid",
8955
9115
  "profile",
@@ -8996,16 +9156,16 @@ function xeroIntegration(config = {}) {
8996
9156
  tools: [...XERO_TOOLS],
8997
9157
  oauth,
8998
9158
  async onInit(_client) {
8999
- logger70.debug("Xero integration initialized");
9159
+ logger73.debug("Xero integration initialized");
9000
9160
  },
9001
9161
  async onAfterConnect(_client) {
9002
- logger70.debug("Xero integration connected");
9162
+ logger73.debug("Xero integration connected");
9003
9163
  }
9004
9164
  };
9005
9165
  }
9006
9166
  // src/integrations/attio.ts
9007
9167
  init_logger();
9008
- var logger71 = createLogger("Attio");
9168
+ var logger74 = createLogger("Attio");
9009
9169
  var ATTIO_SCOPES = [
9010
9170
  "record_permission:read-write",
9011
9171
  "object_configuration:read",
@@ -9051,16 +9211,16 @@ function attioIntegration(config = {}) {
9051
9211
  tools: [...ATTIO_TOOLS],
9052
9212
  oauth,
9053
9213
  async onInit(_client) {
9054
- logger71.debug("Attio integration initialized");
9214
+ logger74.debug("Attio integration initialized");
9055
9215
  },
9056
9216
  async onAfterConnect(_client) {
9057
- logger71.debug("Attio integration connected");
9217
+ logger74.debug("Attio integration connected");
9058
9218
  }
9059
9219
  };
9060
9220
  }
9061
9221
  // src/integrations/gchat.ts
9062
9222
  init_logger();
9063
- var logger72 = createLogger("Google Chat");
9223
+ var logger75 = createLogger("Google Chat");
9064
9224
  var GCHAT_SCOPES = [
9065
9225
  "https://www.googleapis.com/auth/chat.messages",
9066
9226
  "https://www.googleapis.com/auth/chat.spaces.readonly"
@@ -9099,16 +9259,16 @@ function gchatIntegration(config = {}) {
9099
9259
  tools: [...GCHAT_TOOLS],
9100
9260
  oauth,
9101
9261
  async onInit(_client) {
9102
- logger72.debug("Google Chat integration initialized");
9262
+ logger75.debug("Google Chat integration initialized");
9103
9263
  },
9104
9264
  async onAfterConnect(_client) {
9105
- logger72.debug("Google Chat integration connected");
9265
+ logger75.debug("Google Chat integration connected");
9106
9266
  }
9107
9267
  };
9108
9268
  }
9109
9269
  // src/integrations/shopify.ts
9110
9270
  init_logger();
9111
- var logger73 = createLogger("Shopify");
9271
+ var logger76 = createLogger("Shopify");
9112
9272
  var SHOPIFY_SCOPES = [
9113
9273
  "read_products",
9114
9274
  "write_products",
@@ -9157,16 +9317,16 @@ function shopifyIntegration(config = {}) {
9157
9317
  tools: [...SHOPIFY_TOOLS],
9158
9318
  oauth,
9159
9319
  async onInit(_client) {
9160
- logger73.debug("Shopify integration initialized");
9320
+ logger76.debug("Shopify integration initialized");
9161
9321
  },
9162
9322
  async onAfterConnect(_client) {
9163
- logger73.debug("Shopify integration connected");
9323
+ logger76.debug("Shopify integration connected");
9164
9324
  }
9165
9325
  };
9166
9326
  }
9167
9327
  // src/integrations/convex.ts
9168
9328
  init_logger();
9169
- var logger74 = createLogger("Convex");
9329
+ var logger77 = createLogger("Convex");
9170
9330
  var CONVEX_TOOLS = [
9171
9331
  "convex_management_token_details",
9172
9332
  "convex_management_list_projects",
@@ -9203,16 +9363,16 @@ function convexIntegration(options = {}) {
9203
9363
  return { Authorization: `Bearer ${accessToken}` };
9204
9364
  },
9205
9365
  async onInit(_client) {
9206
- logger74.debug("Convex integration initialized");
9366
+ logger77.debug("Convex integration initialized");
9207
9367
  },
9208
9368
  async onAfterConnect(_client) {
9209
- logger74.debug("Convex integration connected");
9369
+ logger77.debug("Convex integration connected");
9210
9370
  }
9211
9371
  };
9212
9372
  }
9213
9373
  // src/integrations/etoro.ts
9214
9374
  init_logger();
9215
- var logger75 = createLogger("eToro");
9375
+ var logger78 = createLogger("eToro");
9216
9376
  var ETORO_TOOLS = [
9217
9377
  "etoro_get_identity",
9218
9378
  "etoro_get_portfolio",
@@ -9242,16 +9402,16 @@ function etoroIntegration(options = {}) {
9242
9402
  };
9243
9403
  },
9244
9404
  async onInit(_client) {
9245
- logger75.debug("eToro integration initialized");
9405
+ logger78.debug("eToro integration initialized");
9246
9406
  },
9247
9407
  async onAfterConnect(_client) {
9248
- logger75.debug("eToro integration connected");
9408
+ logger78.debug("eToro integration connected");
9249
9409
  }
9250
9410
  };
9251
9411
  }
9252
9412
  // src/integrations/alpaca.ts
9253
9413
  init_logger();
9254
- var logger76 = createLogger("Alpaca");
9414
+ var logger79 = createLogger("Alpaca");
9255
9415
  var ALPACA_TOOLS = [
9256
9416
  "alpaca_get_account",
9257
9417
  "alpaca_list_positions",
@@ -9293,16 +9453,16 @@ function alpacaIntegration(options = {}) {
9293
9453
  return headers;
9294
9454
  },
9295
9455
  async onInit(_client) {
9296
- logger76.debug("Alpaca integration initialized");
9456
+ logger79.debug("Alpaca integration initialized");
9297
9457
  },
9298
9458
  async onAfterConnect(_client) {
9299
- logger76.debug("Alpaca integration connected");
9459
+ logger79.debug("Alpaca integration connected");
9300
9460
  }
9301
9461
  };
9302
9462
  }
9303
9463
  // src/integrations/neon.ts
9304
9464
  init_logger();
9305
- var logger77 = createLogger("Neon");
9465
+ var logger80 = createLogger("Neon");
9306
9466
  var NEON_TOOLS = [
9307
9467
  "neon_list_api_keys",
9308
9468
  "neon_create_api_key",
@@ -9342,10 +9502,10 @@ function neonIntegration(options = {}) {
9342
9502
  };
9343
9503
  },
9344
9504
  async onInit(_client) {
9345
- logger77.debug("Neon integration initialized");
9505
+ logger80.debug("Neon integration initialized");
9346
9506
  },
9347
9507
  async onAfterConnect(_client) {
9348
- logger77.debug("Neon integration connected");
9508
+ logger80.debug("Neon integration connected");
9349
9509
  }
9350
9510
  };
9351
9511
  }
@@ -9455,7 +9615,7 @@ function mercuryIntegration(options) {
9455
9615
  }
9456
9616
  // src/integrations/aws.ts
9457
9617
  init_logger();
9458
- var logger78 = createLogger("AWS");
9618
+ var logger81 = createLogger("AWS");
9459
9619
  var AWS_TOOLS = [
9460
9620
  "aws_sts_get_caller_identity",
9461
9621
  "aws_ec2_describe_regions",
@@ -9508,16 +9668,16 @@ function awsIntegration(options = {}) {
9508
9668
  };
9509
9669
  },
9510
9670
  async onInit(_client) {
9511
- logger78.debug("AWS integration initialized");
9671
+ logger81.debug("AWS integration initialized");
9512
9672
  },
9513
9673
  async onAfterConnect(_client) {
9514
- logger78.debug("AWS integration connected");
9674
+ logger81.debug("AWS integration connected");
9515
9675
  }
9516
9676
  };
9517
9677
  }
9518
9678
  // src/integrations/wix.ts
9519
9679
  init_logger();
9520
- var logger79 = createLogger("Wix");
9680
+ var logger82 = createLogger("Wix");
9521
9681
  var WIX_TOOLS = [
9522
9682
  "wix_query_products",
9523
9683
  "wix_get_product",
@@ -9550,10 +9710,10 @@ function wixIntegration(options = {}) {
9550
9710
  };
9551
9711
  },
9552
9712
  async onInit(_client) {
9553
- logger79.debug("Wix integration initialized");
9713
+ logger82.debug("Wix integration initialized");
9554
9714
  },
9555
9715
  async onAfterConnect(_client) {
9556
- logger79.debug("Wix integration connected");
9716
+ logger82.debug("Wix integration connected");
9557
9717
  }
9558
9718
  };
9559
9719
  }
@@ -9587,7 +9747,7 @@ function mailchimpIntegration(config = {}) {
9587
9747
  }
9588
9748
  // src/integrations/monday.ts
9589
9749
  init_logger();
9590
- var logger80 = createLogger("Monday");
9750
+ var logger83 = createLogger("Monday");
9591
9751
  var MONDAY_TOOLS = [
9592
9752
  "monday_me",
9593
9753
  "monday_list_workspaces",
@@ -9624,16 +9784,16 @@ function mondayIntegration(config = {}) {
9624
9784
  tools: [...MONDAY_TOOLS],
9625
9785
  oauth,
9626
9786
  async onInit(_client) {
9627
- logger80.debug("Monday.com integration initialized");
9787
+ logger83.debug("Monday.com integration initialized");
9628
9788
  },
9629
9789
  async onAfterConnect(_client) {
9630
- logger80.debug("Monday.com integration connected");
9790
+ logger83.debug("Monday.com integration connected");
9631
9791
  }
9632
9792
  };
9633
9793
  }
9634
9794
  // src/integrations/binance.ts
9635
9795
  init_logger();
9636
- var logger81 = createLogger("Binance");
9796
+ var logger84 = createLogger("Binance");
9637
9797
  var BINANCE_TOOLS = [
9638
9798
  "binance_ping",
9639
9799
  "binance_get_server_time",
@@ -9676,16 +9836,16 @@ function binanceIntegration(options = {}) {
9676
9836
  };
9677
9837
  },
9678
9838
  async onInit(_client) {
9679
- logger81.debug("Binance integration initialized");
9839
+ logger84.debug("Binance integration initialized");
9680
9840
  },
9681
9841
  async onAfterConnect(_client) {
9682
- logger81.debug("Binance integration connected");
9842
+ logger84.debug("Binance integration connected");
9683
9843
  }
9684
9844
  };
9685
9845
  }
9686
9846
  // src/integrations/canva.ts
9687
9847
  init_logger();
9688
- var logger82 = createLogger("Canva");
9848
+ var logger85 = createLogger("Canva");
9689
9849
  var CANVA_TOOLS = [
9690
9850
  "canva_get_me",
9691
9851
  "canva_get_profile",
@@ -9722,16 +9882,16 @@ function canvaIntegration(config = {}) {
9722
9882
  tools: [...CANVA_TOOLS],
9723
9883
  oauth,
9724
9884
  async onInit(_client) {
9725
- logger82.debug("Canva integration initialized");
9885
+ logger85.debug("Canva integration initialized");
9726
9886
  },
9727
9887
  async onAfterConnect(_client) {
9728
- logger82.debug("Canva integration connected");
9888
+ logger85.debug("Canva integration connected");
9729
9889
  }
9730
9890
  };
9731
9891
  }
9732
9892
  // src/integrations/clerk.ts
9733
9893
  init_logger();
9734
- var logger83 = createLogger("Clerk");
9894
+ var logger86 = createLogger("Clerk");
9735
9895
  var CLERK_TOOLS = [
9736
9896
  "clerk_list_users",
9737
9897
  "clerk_get_user",
@@ -9766,16 +9926,16 @@ function clerkIntegration(options = {}) {
9766
9926
  };
9767
9927
  },
9768
9928
  async onInit(_client) {
9769
- logger83.debug("Clerk integration initialized");
9929
+ logger86.debug("Clerk integration initialized");
9770
9930
  },
9771
9931
  async onAfterConnect(_client) {
9772
- logger83.debug("Clerk integration connected");
9932
+ logger86.debug("Clerk integration connected");
9773
9933
  }
9774
9934
  };
9775
9935
  }
9776
9936
  // src/integrations/clickup.ts
9777
9937
  init_logger();
9778
- var logger84 = createLogger("ClickUp");
9938
+ var logger87 = createLogger("ClickUp");
9779
9939
  var CLICKUP_TOOLS = [
9780
9940
  "clickup_get_authorized_user",
9781
9941
  "clickup_list_teams",
@@ -9811,16 +9971,16 @@ function clickupIntegration(config = {}) {
9811
9971
  tools: [...CLICKUP_TOOLS],
9812
9972
  oauth,
9813
9973
  async onInit(_client) {
9814
- logger84.debug("ClickUp integration initialized");
9974
+ logger87.debug("ClickUp integration initialized");
9815
9975
  },
9816
9976
  async onAfterConnect(_client) {
9817
- logger84.debug("ClickUp integration connected");
9977
+ logger87.debug("ClickUp integration connected");
9818
9978
  }
9819
9979
  };
9820
9980
  }
9821
9981
  // src/integrations/cloudflare.ts
9822
9982
  init_logger();
9823
- var logger85 = createLogger("Cloudflare");
9983
+ var logger88 = createLogger("Cloudflare");
9824
9984
  var CLOUDFLARE_TOOLS = [
9825
9985
  "cloudflare_verify_token",
9826
9986
  "cloudflare_get_user",
@@ -9859,10 +10019,10 @@ function cloudflareIntegration(config = {}) {
9859
10019
  return { Authorization: `Bearer ${apiToken.trim()}` };
9860
10020
  },
9861
10021
  async onInit(_client) {
9862
- logger85.debug("Cloudflare integration initialized (API token)");
10022
+ logger88.debug("Cloudflare integration initialized (API token)");
9863
10023
  },
9864
10024
  async onAfterConnect(_client) {
9865
- logger85.debug("Cloudflare integration connected");
10025
+ logger88.debug("Cloudflare integration connected");
9866
10026
  }
9867
10027
  };
9868
10028
  }
@@ -9888,16 +10048,16 @@ function cloudflareIntegration(config = {}) {
9888
10048
  tools: [...CLOUDFLARE_TOOLS],
9889
10049
  oauth,
9890
10050
  async onInit(_client) {
9891
- logger85.debug("Cloudflare integration initialized (OAuth)");
10051
+ logger88.debug("Cloudflare integration initialized (OAuth)");
9892
10052
  },
9893
10053
  async onAfterConnect(_client) {
9894
- logger85.debug("Cloudflare integration connected");
10054
+ logger88.debug("Cloudflare integration connected");
9895
10055
  }
9896
10056
  };
9897
10057
  }
9898
10058
  // src/integrations/instagram.ts
9899
10059
  init_logger();
9900
- var logger86 = createLogger("Instagram");
10060
+ var logger89 = createLogger("Instagram");
9901
10061
  var INSTAGRAM_SCOPES = [
9902
10062
  "pages_show_list",
9903
10063
  "pages_read_engagement",
@@ -9947,16 +10107,16 @@ function instagramIntegration(config = {}) {
9947
10107
  tools: [...INSTAGRAM_TOOLS],
9948
10108
  oauth,
9949
10109
  async onInit(_client) {
9950
- logger86.debug("Instagram integration initialized");
10110
+ logger89.debug("Instagram integration initialized");
9951
10111
  },
9952
10112
  async onAfterConnect(_client) {
9953
- logger86.debug("Instagram integration connected");
10113
+ logger89.debug("Instagram integration connected");
9954
10114
  }
9955
10115
  };
9956
10116
  }
9957
10117
  // src/integrations/facebook.ts
9958
10118
  init_logger();
9959
- var logger87 = createLogger("Facebook");
10119
+ var logger90 = createLogger("Facebook");
9960
10120
  var FACEBOOK_SCOPES = [
9961
10121
  "public_profile",
9962
10122
  "email",
@@ -10002,10 +10162,10 @@ function facebookIntegration(config = {}) {
10002
10162
  tools: [...FACEBOOK_TOOLS],
10003
10163
  oauth,
10004
10164
  async onInit(_client) {
10005
- logger87.debug("Facebook integration initialized");
10165
+ logger90.debug("Facebook integration initialized");
10006
10166
  },
10007
10167
  async onAfterConnect(_client) {
10008
- logger87.debug("Facebook integration connected");
10168
+ logger90.debug("Facebook integration connected");
10009
10169
  }
10010
10170
  };
10011
10171
  }
@@ -10036,7 +10196,7 @@ function ga4Integration(config = {}) {
10036
10196
  }
10037
10197
  // src/integrations/resend.ts
10038
10198
  init_logger();
10039
- var logger88 = createLogger("Resend");
10199
+ var logger91 = createLogger("Resend");
10040
10200
  var RESEND_TOOLS = [
10041
10201
  "resend_list_domains",
10042
10202
  "resend_get_domain",
@@ -10061,10 +10221,10 @@ function resendIntegration(options = {}) {
10061
10221
  return { Authorization: `Bearer ${apiKey}` };
10062
10222
  },
10063
10223
  async onInit(_client) {
10064
- logger88.debug("Resend integration initialized");
10224
+ logger91.debug("Resend integration initialized");
10065
10225
  },
10066
10226
  async onAfterConnect(_client) {
10067
- logger88.debug("Resend integration connected");
10227
+ logger91.debug("Resend integration connected");
10068
10228
  }
10069
10229
  };
10070
10230
  }
@@ -10088,7 +10248,7 @@ function tldrawIntegration(options = {}) {
10088
10248
  }
10089
10249
  // src/integrations/workday.ts
10090
10250
  init_logger();
10091
- var logger89 = createLogger("Workday");
10251
+ var logger92 = createLogger("Workday");
10092
10252
  var WORKDAY_TOOLS = [
10093
10253
  "workday_list_workers",
10094
10254
  "workday_get_worker"
@@ -10113,16 +10273,16 @@ function workdayIntegration(config = {}) {
10113
10273
  tools: [...WORKDAY_TOOLS],
10114
10274
  oauth,
10115
10275
  async onInit(_client) {
10116
- logger89.debug("Workday integration initialized");
10276
+ logger92.debug("Workday integration initialized");
10117
10277
  },
10118
10278
  async onAfterConnect(_client) {
10119
- logger89.debug("Workday integration connected");
10279
+ logger92.debug("Workday integration connected");
10120
10280
  }
10121
10281
  };
10122
10282
  }
10123
10283
  // src/integrations/workos.ts
10124
10284
  init_logger();
10125
- var logger90 = createLogger("WorkOS");
10285
+ var logger93 = createLogger("WorkOS");
10126
10286
  var WORKOS_TOOLS = [
10127
10287
  "workos_list_organizations",
10128
10288
  "workos_get_organization",
@@ -10155,10 +10315,10 @@ function workosIntegration(options = {}) {
10155
10315
  };
10156
10316
  },
10157
10317
  async onInit(_client) {
10158
- logger90.debug("WorkOS integration initialized");
10318
+ logger93.debug("WorkOS integration initialized");
10159
10319
  },
10160
10320
  async onAfterConnect(_client) {
10161
- logger90.debug("WorkOS integration connected");
10321
+ logger93.debug("WorkOS integration connected");
10162
10322
  }
10163
10323
  };
10164
10324
  }
@@ -16365,7 +16525,7 @@ function convertJsonSchemaToGoogleSchema(jsonSchema, TypeEnum) {
16365
16525
  }
16366
16526
  // src/server.ts
16367
16527
  var SERVER_LOG_CONTEXT3 = "server";
16368
- var logger93 = createLogger("MCPServer", SERVER_LOG_CONTEXT3);
16528
+ var logger96 = createLogger("MCPServer", SERVER_LOG_CONTEXT3);
16369
16529
  async function refreshTokenIfNeeded(provider, tokenData, providers, config, context) {
16370
16530
  const credentials = providers[provider];
16371
16531
  if (!credentials || !config.serverUrl) {
@@ -16387,9 +16547,9 @@ async function refreshTokenIfNeeded(provider, tokenData, providers, config, cont
16387
16547
  });
16388
16548
  } catch (err) {
16389
16549
  if (err instanceof RefreshRejectedError) {
16390
- logger93.warn(`[Token Refresh] Refresh token rejected for ${provider}; integration marked disconnected.`);
16550
+ logger96.warn(`[Token Refresh] Refresh token rejected for ${provider}; integration marked disconnected.`);
16391
16551
  } else {
16392
- logger93.warn(`[Token Refresh] Failed to refresh ${provider} token: ${err.message}`);
16552
+ logger96.warn(`[Token Refresh] Failed to refresh ${provider} token: ${err.message}`);
16393
16553
  }
16394
16554
  return tokenData.accessToken;
16395
16555
  }
@@ -16499,7 +16659,7 @@ function createMCPServer(config) {
16499
16659
  if (integration.oauth) {
16500
16660
  const { clientId, clientSecret, redirectUri: integrationRedirectUri, config: oauthConfig } = integration.oauth;
16501
16661
  if (!clientId || !clientSecret) {
16502
- logger93.warn(`Warning: Integration "${integration.id}" is missing OAuth credentials. ` + `Provide clientId and clientSecret in the integration configuration.`);
16662
+ logger96.warn(`Warning: Integration "${integration.id}" is missing OAuth credentials. ` + `Provide clientId and clientSecret in the integration configuration.`);
16503
16663
  return integration;
16504
16664
  }
16505
16665
  const redirectUri = integrationRedirectUri || config.redirectUri || getDefaultRedirectUri();
@@ -16644,7 +16804,9 @@ function createMCPServer(config) {
16644
16804
  const provider = resolveProviderFromToolName(toolName, candidates);
16645
16805
  if (provider) {
16646
16806
  const tokenData = await config.getProviderToken(provider, undefined, context2);
16647
- if (tokenData?.accessToken) {
16807
+ if (tokenData?.sessionToken) {
16808
+ authHeader = `Bearer ${tokenData.sessionToken}`;
16809
+ } else if (tokenData?.accessToken) {
16648
16810
  const accessToken = await refreshTokenIfNeeded(provider, tokenData, providers, config, context2);
16649
16811
  authHeader = `Bearer ${accessToken}`;
16650
16812
  }
@@ -16677,7 +16839,7 @@ function createMCPServer(config) {
16677
16839
  }
16678
16840
  return response2;
16679
16841
  } catch (error) {
16680
- logger93.error("[MCP Tool Call] Error:", error);
16842
+ logger96.error("[MCP Tool Call] Error:", error);
16681
16843
  return Response.json({ error: error.message || "Failed to execute tool call" }, { status: error.statusCode || 500 });
16682
16844
  }
16683
16845
  }
@@ -16726,7 +16888,7 @@ function createMCPServer(config) {
16726
16888
  });
16727
16889
  return Response.json(result, { status: result.success ? 200 : 500 });
16728
16890
  } catch (error) {
16729
- logger93.error("[Code Mode] Error:", error);
16891
+ logger96.error("[Code Mode] Error:", error);
16730
16892
  return Response.json({ error: error?.message || "Failed to execute code" }, { status: 500 });
16731
16893
  }
16732
16894
  }
@@ -16784,7 +16946,7 @@ function createMCPServer(config) {
16784
16946
  error: executionResult.error
16785
16947
  });
16786
16948
  } catch (error) {
16787
- logger93.error("[Trigger Notify] Error:", error);
16949
+ logger96.error("[Trigger Notify] Error:", error);
16788
16950
  return Response.json({ error: error.message || "Failed to execute trigger" }, { status: 500 });
16789
16951
  }
16790
16952
  }
@@ -16848,7 +17010,7 @@ function createMCPServer(config) {
16848
17010
  })
16849
17011
  });
16850
17012
  } catch (scheduleError) {
16851
- logger93.error("[Trigger] Failed to register with scheduler:", scheduleError);
17013
+ logger96.error("[Trigger] Failed to register with scheduler:", scheduleError);
16852
17014
  }
16853
17015
  return Response.json(created, { status: 201 });
16854
17016
  }
@@ -16883,7 +17045,7 @@ function createMCPServer(config) {
16883
17045
  body: JSON.stringify({ triggerId })
16884
17046
  });
16885
17047
  } catch (error) {
16886
- logger93.error("[Trigger] Failed to pause in scheduler:", error);
17048
+ logger96.error("[Trigger] Failed to pause in scheduler:", error);
16887
17049
  }
16888
17050
  return Response.json(updated);
16889
17051
  } else if (subAction === "resume" && method === "POST") {
@@ -16911,7 +17073,7 @@ function createMCPServer(config) {
16911
17073
  body: JSON.stringify({ triggerId })
16912
17074
  });
16913
17075
  } catch (error) {
16914
- logger93.error("[Trigger] Failed to resume in scheduler:", error);
17076
+ logger96.error("[Trigger] Failed to resume in scheduler:", error);
16915
17077
  }
16916
17078
  return Response.json(updated);
16917
17079
  } else if (subAction === "run" && method === "POST") {
@@ -16982,7 +17144,7 @@ function createMCPServer(config) {
16982
17144
  })
16983
17145
  });
16984
17146
  } catch (error) {
16985
- logger93.error("[Trigger] Failed to update scheduler:", error);
17147
+ logger96.error("[Trigger] Failed to update scheduler:", error);
16986
17148
  }
16987
17149
  }
16988
17150
  return Response.json(updated);
@@ -16999,14 +17161,14 @@ function createMCPServer(config) {
16999
17161
  body: JSON.stringify({ triggerId })
17000
17162
  });
17001
17163
  } catch (error) {
17002
- logger93.error("[Trigger] Failed to unregister from scheduler:", error);
17164
+ logger96.error("[Trigger] Failed to unregister from scheduler:", error);
17003
17165
  }
17004
17166
  return new Response(null, { status: 204 });
17005
17167
  }
17006
17168
  }
17007
17169
  return Response.json({ error: "Invalid trigger route or method" }, { status: 404 });
17008
17170
  } catch (error) {
17009
- logger93.error("[Trigger] Error:", error);
17171
+ logger96.error("[Trigger] Error:", error);
17010
17172
  return Response.json({ error: error.message || "Failed to process trigger request" }, { status: error.statusCode || 500 });
17011
17173
  }
17012
17174
  }
@@ -17032,11 +17194,11 @@ function createMCPServer(config) {
17032
17194
  const errorRedirectUrl = "/auth-error";
17033
17195
  if (error) {
17034
17196
  const errorMsg = errorDescription || error;
17035
- logger93.error("[OAuth Redirect] Error:", errorMsg);
17197
+ logger96.error("[OAuth Redirect] Error:", errorMsg);
17036
17198
  return Response.redirect(new URL(`${errorRedirectUrl}?error=${encodeURIComponent(errorMsg)}`, webRequest.url));
17037
17199
  }
17038
17200
  if (!code || !state) {
17039
- logger93.error("[OAuth Redirect] Missing code or state parameter");
17201
+ logger96.error("[OAuth Redirect] Missing code or state parameter");
17040
17202
  return Response.redirect(new URL(`${errorRedirectUrl}?error=${encodeURIComponent("Invalid OAuth callback")}`, webRequest.url));
17041
17203
  }
17042
17204
  let returnUrl = defaultRedirectUrl;
@@ -17113,7 +17275,7 @@ function createMCPServer(config) {
17113
17275
  frontendUrl.hash = `oauth_callback=${encodeURIComponent(JSON.stringify({ code, state, tokenData }))}`;
17114
17276
  return Response.redirect(frontendUrl);
17115
17277
  } catch (error2) {
17116
- logger93.error("[OAuth Backend Callback] Error:", error2);
17278
+ logger96.error("[OAuth Backend Callback] Error:", error2);
17117
17279
  return Response.redirect(new URL(`${errorRedirectUrl}?error=${encodeURIComponent(error2.message || "Failed to exchange token")}`, webRequest.url));
17118
17280
  }
17119
17281
  } else {
@@ -17416,6 +17578,7 @@ export {
17416
17578
  tldrawIntegration,
17417
17579
  tiktokIntegration,
17418
17580
  threadsIntegration,
17581
+ telegramIntegration,
17419
17582
  teamsIntegration,
17420
17583
  svelteKitHandler,
17421
17584
  supabaseIntegration,
@@ -17462,6 +17625,7 @@ export {
17462
17625
  granolaIntegration,
17463
17626
  gmeetIntegration,
17464
17627
  gmailIntegration,
17628
+ gkeepIntegration,
17465
17629
  gitlabIntegration,
17466
17630
  githubIntegration,
17467
17631
  getVercelAITools,
@@ -17503,6 +17667,7 @@ export {
17503
17667
  calcomIntegration,
17504
17668
  buildPhantomBrowseDeeplink,
17505
17669
  buildCodeModeTool,
17670
+ boxIntegration,
17506
17671
  binanceIntegration,
17507
17672
  betterstackIntegration,
17508
17673
  awsIntegration,