integrate-sdk 0.9.50-dev.0 → 0.9.52-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.
Files changed (97) hide show
  1. package/dist/adapters/auto-routes.js +72 -0
  2. package/dist/adapters/base-handler.js +72 -0
  3. package/dist/adapters/index.js +205 -79
  4. package/dist/adapters/nextjs.js +72 -0
  5. package/dist/adapters/solid-start.js +205 -79
  6. package/dist/adapters/svelte-kit.js +205 -79
  7. package/dist/index.d.ts +1 -1
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +1108 -244
  10. package/dist/integrations.d.ts +8 -0
  11. package/dist/integrations.d.ts.map +1 -0
  12. package/dist/integrations.js +11113 -0
  13. package/dist/oauth.js +72 -0
  14. package/dist/server.js +1127 -264
  15. package/dist/src/client.d.ts +136 -1
  16. package/dist/src/client.d.ts.map +1 -1
  17. package/dist/src/index.d.ts +36 -0
  18. package/dist/src/index.d.ts.map +1 -1
  19. package/dist/src/integrations/docusign-client.d.ts +41 -0
  20. package/dist/src/integrations/docusign-client.d.ts.map +1 -0
  21. package/dist/src/integrations/docusign.d.ts +16 -0
  22. package/dist/src/integrations/docusign.d.ts.map +1 -0
  23. package/dist/src/integrations/ebay-client.d.ts +39 -0
  24. package/dist/src/integrations/ebay-client.d.ts.map +1 -0
  25. package/dist/src/integrations/ebay.d.ts +15 -0
  26. package/dist/src/integrations/ebay.d.ts.map +1 -0
  27. package/dist/src/integrations/freshservice-client.d.ts +48 -0
  28. package/dist/src/integrations/freshservice-client.d.ts.map +1 -0
  29. package/dist/src/integrations/freshservice.d.ts +15 -0
  30. package/dist/src/integrations/freshservice.d.ts.map +1 -0
  31. package/dist/src/integrations/google_ads-client.d.ts +35 -0
  32. package/dist/src/integrations/google_ads-client.d.ts.map +1 -0
  33. package/dist/src/integrations/google_ads.d.ts +16 -0
  34. package/dist/src/integrations/google_ads.d.ts.map +1 -0
  35. package/dist/src/integrations/library-metadata.d.ts +1 -1
  36. package/dist/src/integrations/library-metadata.d.ts.map +1 -1
  37. package/dist/src/integrations/miro-client.d.ts +33 -0
  38. package/dist/src/integrations/miro-client.d.ts.map +1 -0
  39. package/dist/src/integrations/miro.d.ts +14 -0
  40. package/dist/src/integrations/miro.d.ts.map +1 -0
  41. package/dist/src/integrations/pinterest-client.d.ts +33 -0
  42. package/dist/src/integrations/pinterest-client.d.ts.map +1 -0
  43. package/dist/src/integrations/pinterest.d.ts +14 -0
  44. package/dist/src/integrations/pinterest.d.ts.map +1 -0
  45. package/dist/src/integrations/pipedrive-client.d.ts +48 -0
  46. package/dist/src/integrations/pipedrive-client.d.ts.map +1 -0
  47. package/dist/src/integrations/pipedrive.d.ts +14 -0
  48. package/dist/src/integrations/pipedrive.d.ts.map +1 -0
  49. package/dist/src/integrations/smartsheet-client.d.ts +37 -0
  50. package/dist/src/integrations/smartsheet-client.d.ts.map +1 -0
  51. package/dist/src/integrations/smartsheet.d.ts +14 -0
  52. package/dist/src/integrations/smartsheet.d.ts.map +1 -0
  53. package/dist/src/integrations/twitch-client.d.ts +49 -0
  54. package/dist/src/integrations/twitch-client.d.ts.map +1 -0
  55. package/dist/src/integrations/twitch.d.ts +14 -0
  56. package/dist/src/integrations/twitch.d.ts.map +1 -0
  57. package/dist/src/integrations/x-client.d.ts +43 -0
  58. package/dist/src/integrations/x-client.d.ts.map +1 -0
  59. package/dist/src/integrations/x.d.ts +14 -0
  60. package/dist/src/integrations/x.d.ts.map +1 -0
  61. package/dist/src/integrations/zoho_analytics-client.d.ts +25 -0
  62. package/dist/src/integrations/zoho_analytics-client.d.ts.map +1 -0
  63. package/dist/src/integrations/zoho_analytics.d.ts +15 -0
  64. package/dist/src/integrations/zoho_analytics.d.ts.map +1 -0
  65. package/dist/src/integrations/zoho_books-client.d.ts +43 -0
  66. package/dist/src/integrations/zoho_books-client.d.ts.map +1 -0
  67. package/dist/src/integrations/zoho_books.d.ts +15 -0
  68. package/dist/src/integrations/zoho_books.d.ts.map +1 -0
  69. package/dist/src/integrations/zoho_campaigns-client.d.ts +24 -0
  70. package/dist/src/integrations/zoho_campaigns-client.d.ts.map +1 -0
  71. package/dist/src/integrations/zoho_campaigns.d.ts +15 -0
  72. package/dist/src/integrations/zoho_campaigns.d.ts.map +1 -0
  73. package/dist/src/integrations/zoho_crm-client.d.ts +39 -0
  74. package/dist/src/integrations/zoho_crm-client.d.ts.map +1 -0
  75. package/dist/src/integrations/zoho_crm.d.ts +15 -0
  76. package/dist/src/integrations/zoho_crm.d.ts.map +1 -0
  77. package/dist/src/integrations/zoho_desk-client.d.ts +31 -0
  78. package/dist/src/integrations/zoho_desk-client.d.ts.map +1 -0
  79. package/dist/src/integrations/zoho_desk.d.ts +15 -0
  80. package/dist/src/integrations/zoho_desk.d.ts.map +1 -0
  81. package/dist/src/integrations/zoho_invoice-client.d.ts +41 -0
  82. package/dist/src/integrations/zoho_invoice-client.d.ts.map +1 -0
  83. package/dist/src/integrations/zoho_invoice.d.ts +15 -0
  84. package/dist/src/integrations/zoho_invoice.d.ts.map +1 -0
  85. package/dist/src/integrations/zoho_mail-client.d.ts +31 -0
  86. package/dist/src/integrations/zoho_mail-client.d.ts.map +1 -0
  87. package/dist/src/integrations/zoho_mail.d.ts +15 -0
  88. package/dist/src/integrations/zoho_mail.d.ts.map +1 -0
  89. package/dist/src/integrations/zoho_projects-client.d.ts +37 -0
  90. package/dist/src/integrations/zoho_projects-client.d.ts.map +1 -0
  91. package/dist/src/integrations/zoho_projects.d.ts +15 -0
  92. package/dist/src/integrations/zoho_projects.d.ts.map +1 -0
  93. package/dist/src/server.d.ts +18 -0
  94. package/dist/src/server.d.ts.map +1 -1
  95. package/index.ts +36 -0
  96. package/integrations.ts +1 -2
  97. package/package.json +2 -2
package/dist/server.js CHANGED
@@ -92,6 +92,78 @@ function integrationLibraryPresentationFields(integration) {
92
92
  var INTEGRATION_LIBRARY_METADATA;
93
93
  var init_library_metadata = __esm(() => {
94
94
  INTEGRATION_LIBRARY_METADATA = {
95
+ google_ads: {
96
+ description: "Manage Google Ads customers, campaigns, ad groups, ads, keywords, and conversions",
97
+ category: "Marketing"
98
+ },
99
+ pinterest: {
100
+ description: "Manage Pinterest boards, pins, search, ad accounts, and campaigns",
101
+ category: "Social Media"
102
+ },
103
+ twitch: {
104
+ description: "Manage Twitch users, streams, channels, clips, videos, games, follows, and subscriptions",
105
+ category: "Entertainment"
106
+ },
107
+ x: {
108
+ description: "Manage X users, posts, timelines, likes, bookmarks, follows, and posting",
109
+ category: "Social Media"
110
+ },
111
+ ebay: {
112
+ description: "Manage eBay browse, inventory, offers, orders, and fulfillment APIs",
113
+ category: "Business"
114
+ },
115
+ miro: {
116
+ description: "Manage Miro boards, board items, comments, members, and collaborators",
117
+ category: "Productivity"
118
+ },
119
+ smartsheet: {
120
+ description: "Manage Smartsheet sheets, rows, columns, workspaces, reports, and attachments",
121
+ category: "Productivity"
122
+ },
123
+ docusign: {
124
+ description: "Manage DocuSign eSignature accounts, envelopes, recipients, documents, and templates",
125
+ category: "Business"
126
+ },
127
+ pipedrive: {
128
+ description: "Manage Pipedrive deals, leads, people, organizations, activities, notes, pipelines, and products",
129
+ category: "Business"
130
+ },
131
+ freshservice: {
132
+ description: "Manage Freshservice tickets, requesters, agents, assets, changes, problems, releases, and solutions",
133
+ category: "Business"
134
+ },
135
+ zoho_crm: {
136
+ description: "Manage Zoho CRM modules, records, users, org settings, search, and COQL",
137
+ category: "Business"
138
+ },
139
+ zoho_mail: {
140
+ description: "Manage Zoho Mail accounts, folders, messages, labels, search, and sending",
141
+ category: "Communication"
142
+ },
143
+ zoho_desk: {
144
+ description: "Manage Zoho Desk tickets, contacts, accounts, agents, departments, and articles",
145
+ category: "Business"
146
+ },
147
+ zoho_books: {
148
+ description: "Manage Zoho Books organizations, contacts, items, invoices, bills, payments, and reports",
149
+ category: "Finance"
150
+ },
151
+ zoho_projects: {
152
+ description: "Manage Zoho Projects portals, projects, milestones, tasks, issues, and timesheets",
153
+ category: "Productivity"
154
+ },
155
+ zoho_campaigns: {
156
+ description: "Manage Zoho Campaigns lists, contacts, campaigns, reports, and sends",
157
+ category: "Marketing"
158
+ },
159
+ zoho_analytics: {
160
+ description: "Manage Zoho Analytics workspaces, views, imports, exports, and query APIs",
161
+ category: "Analytics"
162
+ },
163
+ zoho_invoice: {
164
+ description: "Manage Zoho Invoice organizations, customers, items, estimates, invoices, payments, and reports",
165
+ category: "Finance"
166
+ },
95
167
  airtable: {
96
168
  description: "Manage Airtable bases, tables, and records",
97
169
  category: "Business"
@@ -2675,7 +2747,7 @@ async function deliverWebhook(webhook, payload, timeoutMs) {
2675
2747
  signal: controller.signal
2676
2748
  });
2677
2749
  if (!response.ok) {
2678
- logger104.warn(`Webhook delivery to ${webhook.url} returned ${response.status}`);
2750
+ logger122.warn(`Webhook delivery to ${webhook.url} returned ${response.status}`);
2679
2751
  }
2680
2752
  } finally {
2681
2753
  clearTimeout(timeout);
@@ -2688,14 +2760,14 @@ async function deliverWebhooks(webhooks, payload, timeoutMs) {
2688
2760
  for (let i = 0;i < results.length; i++) {
2689
2761
  const result = results[i];
2690
2762
  if (result.status === "rejected") {
2691
- logger104.warn(`Webhook delivery to ${webhooks[i].url} failed:`, result.reason);
2763
+ logger122.warn(`Webhook delivery to ${webhooks[i].url} failed:`, result.reason);
2692
2764
  }
2693
2765
  }
2694
2766
  }
2695
- var logger104;
2767
+ var logger122;
2696
2768
  var init_webhooks = __esm(() => {
2697
2769
  init_logger();
2698
- logger104 = createLogger("Webhooks", "server");
2770
+ logger122 = createLogger("Webhooks", "server");
2699
2771
  });
2700
2772
 
2701
2773
  // src/triggers/types.ts
@@ -2715,13 +2787,13 @@ async function executeTrigger(trigger, config, context) {
2715
2787
  while (stepIndex < MAX_TRIGGER_STEPS) {
2716
2788
  const stepValidation = validateStepLimit(stepIndex, MAX_TRIGGER_STEPS);
2717
2789
  if (!stepValidation.valid) {
2718
- logger105.error(`[Trigger ${trigger.id}] ${stepValidation.error}`);
2790
+ logger123.error(`[Trigger ${trigger.id}] ${stepValidation.error}`);
2719
2791
  break;
2720
2792
  }
2721
2793
  const providerToken = await config.getProviderToken(currentProvider, undefined, context);
2722
2794
  if (!providerToken) {
2723
2795
  const error = `No OAuth token available for provider '${currentProvider}'`;
2724
- logger105.error(`[Trigger ${trigger.id}] ${error}`);
2796
+ logger123.error(`[Trigger ${trigger.id}] ${error}`);
2725
2797
  steps.push({
2726
2798
  stepIndex,
2727
2799
  toolName: currentToolName,
@@ -2747,7 +2819,7 @@ async function executeTrigger(trigger, config, context) {
2747
2819
  } catch (err) {
2748
2820
  stepSuccess = false;
2749
2821
  stepError = err.message || "Tool execution failed";
2750
- logger105.error(`[Trigger ${trigger.id}] Step ${stepIndex} failed:`, err);
2822
+ logger123.error(`[Trigger ${trigger.id}] Step ${stepIndex} failed:`, err);
2751
2823
  }
2752
2824
  if (stepSuccess && toolResult) {
2753
2825
  if (toolResult.isError === true) {
@@ -2840,7 +2912,7 @@ async function executeTrigger(trigger, config, context) {
2840
2912
  return { success: steps.every((s) => s.success), steps, error: stepError };
2841
2913
  }
2842
2914
  const limitError = `Trigger execution exceeded maximum of ${MAX_TRIGGER_STEPS} steps`;
2843
- logger105.error(`[Trigger ${trigger.id}] ${limitError}`);
2915
+ logger123.error(`[Trigger ${trigger.id}] ${limitError}`);
2844
2916
  await config.triggers.update(trigger.id, {
2845
2917
  lastRunAt: new Date().toISOString(),
2846
2918
  runCount: (trigger.runCount || 0) + 1,
@@ -2849,12 +2921,12 @@ async function executeTrigger(trigger, config, context) {
2849
2921
  }, context);
2850
2922
  return { success: false, steps, error: limitError };
2851
2923
  }
2852
- var logger105;
2924
+ var logger123;
2853
2925
  var init_executor2 = __esm(() => {
2854
2926
  init_logger();
2855
2927
  init_utils();
2856
2928
  init_webhooks();
2857
- logger105 = createLogger("TriggerExecutor", "server");
2929
+ logger123 = createLogger("TriggerExecutor", "server");
2858
2930
  });
2859
2931
 
2860
2932
  // src/protocol/jsonrpc.ts
@@ -6614,9 +6686,782 @@ function smartthingsIntegration(config = {}) {
6614
6686
  }
6615
6687
  };
6616
6688
  }
6689
+ // src/integrations/google_ads.ts
6690
+ init_logger();
6691
+ var logger26 = createLogger("Google Ads");
6692
+ var GOOGLE_ADS_SCOPES = [
6693
+ "https://www.googleapis.com/auth/adwords"
6694
+ ];
6695
+ var GOOGLE_ADS_TOOLS = [
6696
+ "google_ads_list_accessible_customers",
6697
+ "google_ads_search",
6698
+ "google_ads_list_campaigns",
6699
+ "google_ads_list_ad_groups",
6700
+ "google_ads_list_ads",
6701
+ "google_ads_list_keywords",
6702
+ "google_ads_list_conversions"
6703
+ ];
6704
+ function googleAdsIntegration(config = {}) {
6705
+ const oauth = { provider: "google_ads", clientId: config.clientId ?? getEnv("GOOGLE_ADS_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("GOOGLE_ADS_CLIENT_SECRET"), scopes: config.scopes ?? [...GOOGLE_ADS_SCOPES], redirectUri: config.redirectUri, config };
6706
+ return {
6707
+ id: "google_ads",
6708
+ name: "Google Ads",
6709
+ logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/google_ads.png",
6710
+ description: "Manage Google Ads customers, campaigns, ad groups, ads, keywords, and conversions",
6711
+ category: "Marketing",
6712
+ tools: [...GOOGLE_ADS_TOOLS],
6713
+ authType: "oauth",
6714
+ oauth,
6715
+ getHeaders() {
6716
+ const developerToken = config.developerToken ?? getEnv("GOOGLE_ADS_DEVELOPER_TOKEN");
6717
+ const headers = {};
6718
+ if (developerToken)
6719
+ headers["X-Google-Ads-Developer-Token"] = developerToken;
6720
+ if (config.loginCustomerId)
6721
+ headers["X-Google-Ads-Login-Customer-Id"] = config.loginCustomerId;
6722
+ return headers;
6723
+ },
6724
+ async onInit() {
6725
+ logger26.debug("Google Ads integration initialized");
6726
+ },
6727
+ async onAfterConnect() {
6728
+ logger26.debug("Google Ads integration connected");
6729
+ }
6730
+ };
6731
+ }
6732
+ // src/integrations/pinterest.ts
6733
+ init_logger();
6734
+ var logger27 = createLogger("Pinterest");
6735
+ var PINTEREST_SCOPES = [
6736
+ "boards:read",
6737
+ "boards:write",
6738
+ "pins:read",
6739
+ "pins:write",
6740
+ "user_accounts:read",
6741
+ "ads:read",
6742
+ "ads:write"
6743
+ ];
6744
+ var PINTEREST_TOOLS = [
6745
+ "pinterest_get_user",
6746
+ "pinterest_list_boards",
6747
+ "pinterest_get_board",
6748
+ "pinterest_create_pin",
6749
+ "pinterest_get_pin",
6750
+ "pinterest_search_pins",
6751
+ "pinterest_list_ad_accounts",
6752
+ "pinterest_list_campaigns"
6753
+ ];
6754
+ function pinterestIntegration(config = {}) {
6755
+ const oauth = { provider: "pinterest", clientId: config.clientId ?? getEnv("PINTEREST_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("PINTEREST_CLIENT_SECRET"), scopes: config.scopes ?? [...PINTEREST_SCOPES], redirectUri: config.redirectUri, config };
6756
+ return {
6757
+ id: "pinterest",
6758
+ name: "Pinterest",
6759
+ logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/pinterest.png",
6760
+ description: "Manage Pinterest boards, pins, search, ad accounts, and campaigns",
6761
+ category: "Social Media",
6762
+ tools: [...PINTEREST_TOOLS],
6763
+ authType: "oauth",
6764
+ oauth,
6765
+ async onInit() {
6766
+ logger27.debug("Pinterest integration initialized");
6767
+ },
6768
+ async onAfterConnect() {
6769
+ logger27.debug("Pinterest integration connected");
6770
+ }
6771
+ };
6772
+ }
6773
+ // src/integrations/twitch.ts
6774
+ init_logger();
6775
+ var logger28 = createLogger("Twitch");
6776
+ var TWITCH_SCOPES = [
6777
+ "user:read:email",
6778
+ "channel:read:subscriptions",
6779
+ "clips:edit",
6780
+ "channel:manage:broadcast",
6781
+ "user:read:follows"
6782
+ ];
6783
+ var TWITCH_TOOLS = [
6784
+ "twitch_get_users",
6785
+ "twitch_get_streams",
6786
+ "twitch_get_channels",
6787
+ "twitch_modify_channel",
6788
+ "twitch_create_clip",
6789
+ "twitch_get_videos",
6790
+ "twitch_get_games",
6791
+ "twitch_get_channel_followers",
6792
+ "twitch_get_broadcaster_subscriptions"
6793
+ ];
6794
+ function twitchIntegration(config = {}) {
6795
+ const oauth = { provider: "twitch", clientId: config.clientId ?? getEnv("TWITCH_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("TWITCH_CLIENT_SECRET"), scopes: config.scopes ?? [...TWITCH_SCOPES], redirectUri: config.redirectUri, config };
6796
+ return {
6797
+ id: "twitch",
6798
+ name: "Twitch",
6799
+ logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/twitch.png",
6800
+ description: "Manage Twitch users, streams, channels, clips, videos, games, follows, and subscriptions",
6801
+ category: "Entertainment",
6802
+ tools: [...TWITCH_TOOLS],
6803
+ authType: "oauth",
6804
+ oauth,
6805
+ getHeaders() {
6806
+ const clientId = config.clientId ?? getEnv("TWITCH_CLIENT_ID");
6807
+ const headers = {};
6808
+ if (clientId)
6809
+ headers["X-Twitch-Client-Id"] = clientId;
6810
+ return headers;
6811
+ },
6812
+ async onInit() {
6813
+ logger28.debug("Twitch integration initialized");
6814
+ },
6815
+ async onAfterConnect() {
6816
+ logger28.debug("Twitch integration connected");
6817
+ }
6818
+ };
6819
+ }
6820
+ // src/integrations/x.ts
6821
+ init_logger();
6822
+ var logger29 = createLogger("X");
6823
+ var X_SCOPES = [
6824
+ "tweet.read",
6825
+ "tweet.write",
6826
+ "users.read",
6827
+ "follows.read",
6828
+ "follows.write",
6829
+ "like.read",
6830
+ "like.write",
6831
+ "bookmark.read",
6832
+ "bookmark.write",
6833
+ "offline.access"
6834
+ ];
6835
+ var X_TOOLS = [
6836
+ "x_get_me",
6837
+ "x_get_user",
6838
+ "x_search_posts",
6839
+ "x_get_user_timeline",
6840
+ "x_create_post",
6841
+ "x_delete_post",
6842
+ "x_like_post",
6843
+ "x_get_bookmarks",
6844
+ "x_follow_user"
6845
+ ];
6846
+ function xIntegration(config = {}) {
6847
+ const oauth = { provider: "x", clientId: config.clientId ?? getEnv("X_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("X_CLIENT_SECRET"), scopes: config.scopes ?? [...X_SCOPES], redirectUri: config.redirectUri, config };
6848
+ return {
6849
+ id: "x",
6850
+ name: "X",
6851
+ logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/x.png",
6852
+ description: "Manage X users, posts, timelines, likes, bookmarks, follows, and posting",
6853
+ category: "Social Media",
6854
+ tools: [...X_TOOLS],
6855
+ authType: "oauth",
6856
+ oauth,
6857
+ async onInit() {
6858
+ logger29.debug("X integration initialized");
6859
+ },
6860
+ async onAfterConnect() {
6861
+ logger29.debug("X integration connected");
6862
+ }
6863
+ };
6864
+ }
6865
+ // src/integrations/ebay.ts
6866
+ init_logger();
6867
+ var logger30 = createLogger("eBay");
6868
+ var EBAY_SCOPES = [
6869
+ "https://api.ebay.com/oauth/api_scope",
6870
+ "https://api.ebay.com/oauth/api_scope/sell.inventory",
6871
+ "https://api.ebay.com/oauth/api_scope/sell.fulfillment",
6872
+ "https://api.ebay.com/oauth/api_scope/sell.account"
6873
+ ];
6874
+ var EBAY_TOOLS = [
6875
+ "ebay_search_items",
6876
+ "ebay_get_item",
6877
+ "ebay_get_privileges",
6878
+ "ebay_list_inventory_items",
6879
+ "ebay_create_or_replace_inventory_item",
6880
+ "ebay_list_offers",
6881
+ "ebay_create_offer",
6882
+ "ebay_list_orders",
6883
+ "ebay_get_order"
6884
+ ];
6885
+ function ebayIntegration(config = {}) {
6886
+ const oauth = { provider: "ebay", clientId: config.clientId ?? getEnv("EBAY_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("EBAY_CLIENT_SECRET"), scopes: config.scopes ?? [...EBAY_SCOPES], redirectUri: config.redirectUri, config };
6887
+ return {
6888
+ id: "ebay",
6889
+ name: "eBay",
6890
+ logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/ebay.png",
6891
+ description: "Manage eBay browse, inventory, offers, orders, and fulfillment APIs",
6892
+ category: "Business",
6893
+ tools: [...EBAY_TOOLS],
6894
+ authType: "oauth",
6895
+ oauth,
6896
+ getHeaders() {
6897
+ const headers = {};
6898
+ if (config.environment)
6899
+ headers["X-Ebay-Environment"] = config.environment;
6900
+ return headers;
6901
+ },
6902
+ async onInit() {
6903
+ logger30.debug("eBay integration initialized");
6904
+ },
6905
+ async onAfterConnect() {
6906
+ logger30.debug("eBay integration connected");
6907
+ }
6908
+ };
6909
+ }
6910
+ // src/integrations/miro.ts
6911
+ init_logger();
6912
+ var logger31 = createLogger("Miro");
6913
+ var MIRO_SCOPES = [
6914
+ "boards:read",
6915
+ "boards:write",
6916
+ "identity:read",
6917
+ "team:read"
6918
+ ];
6919
+ var MIRO_TOOLS = [
6920
+ "miro_get_current_user",
6921
+ "miro_list_boards",
6922
+ "miro_get_board",
6923
+ "miro_create_board",
6924
+ "miro_list_board_items",
6925
+ "miro_create_board_item",
6926
+ "miro_list_comments",
6927
+ "miro_list_board_members"
6928
+ ];
6929
+ function miroIntegration(config = {}) {
6930
+ const oauth = { provider: "miro", clientId: config.clientId ?? getEnv("MIRO_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("MIRO_CLIENT_SECRET"), scopes: config.scopes ?? [...MIRO_SCOPES], redirectUri: config.redirectUri, config };
6931
+ return {
6932
+ id: "miro",
6933
+ name: "Miro",
6934
+ logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/miro.png",
6935
+ description: "Manage Miro boards, board items, comments, members, and collaborators",
6936
+ category: "Productivity",
6937
+ tools: [...MIRO_TOOLS],
6938
+ authType: "oauth",
6939
+ oauth,
6940
+ async onInit() {
6941
+ logger31.debug("Miro integration initialized");
6942
+ },
6943
+ async onAfterConnect() {
6944
+ logger31.debug("Miro integration connected");
6945
+ }
6946
+ };
6947
+ }
6948
+ // src/integrations/smartsheet.ts
6949
+ init_logger();
6950
+ var logger32 = createLogger("Smartsheet");
6951
+ var SMARTSHEET_SCOPES = [
6952
+ "READ_SHEETS",
6953
+ "WRITE_SHEETS",
6954
+ "ADMIN_SHEETS",
6955
+ "READ_USERS",
6956
+ "READ_WORKSPACES",
6957
+ "ADMIN_WORKSPACES"
6958
+ ];
6959
+ var SMARTSHEET_TOOLS = [
6960
+ "smartsheet_list_sheets",
6961
+ "smartsheet_get_sheet",
6962
+ "smartsheet_create_sheet",
6963
+ "smartsheet_add_rows",
6964
+ "smartsheet_update_rows",
6965
+ "smartsheet_list_workspaces",
6966
+ "smartsheet_list_reports",
6967
+ "smartsheet_list_attachments"
6968
+ ];
6969
+ function smartsheetIntegration(config = {}) {
6970
+ const oauth = { provider: "smartsheet", clientId: config.clientId ?? getEnv("SMARTSHEET_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("SMARTSHEET_CLIENT_SECRET"), scopes: config.scopes ?? [...SMARTSHEET_SCOPES], redirectUri: config.redirectUri, config };
6971
+ return {
6972
+ id: "smartsheet",
6973
+ name: "Smartsheet",
6974
+ logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/smartsheet.png",
6975
+ description: "Manage Smartsheet sheets, rows, columns, workspaces, reports, and attachments",
6976
+ category: "Productivity",
6977
+ tools: [...SMARTSHEET_TOOLS],
6978
+ authType: "oauth",
6979
+ oauth,
6980
+ async onInit() {
6981
+ logger32.debug("Smartsheet integration initialized");
6982
+ },
6983
+ async onAfterConnect() {
6984
+ logger32.debug("Smartsheet integration connected");
6985
+ }
6986
+ };
6987
+ }
6988
+ // src/integrations/docusign.ts
6989
+ init_logger();
6990
+ var logger33 = createLogger("DocuSign");
6991
+ var DOCUSIGN_SCOPES = [
6992
+ "signature",
6993
+ "impersonation"
6994
+ ];
6995
+ var DOCUSIGN_TOOLS = [
6996
+ "docusign_get_user_info",
6997
+ "docusign_list_envelopes",
6998
+ "docusign_get_envelope",
6999
+ "docusign_create_envelope",
7000
+ "docusign_list_recipients",
7001
+ "docusign_get_document",
7002
+ "docusign_list_templates"
7003
+ ];
7004
+ function docusignIntegration(config = {}) {
7005
+ const oauth = { provider: "docusign", clientId: config.clientId ?? getEnv("DOCUSIGN_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("DOCUSIGN_CLIENT_SECRET"), scopes: config.scopes ?? [...DOCUSIGN_SCOPES], redirectUri: config.redirectUri, config };
7006
+ return {
7007
+ id: "docusign",
7008
+ name: "DocuSign",
7009
+ logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/docusign.png",
7010
+ description: "Manage DocuSign eSignature accounts, envelopes, recipients, documents, and templates",
7011
+ category: "Business",
7012
+ tools: [...DOCUSIGN_TOOLS],
7013
+ authType: "oauth",
7014
+ oauth,
7015
+ getHeaders() {
7016
+ const headers = {};
7017
+ if (config.baseUri)
7018
+ headers["X-DocuSign-Base-Uri"] = config.baseUri;
7019
+ return headers;
7020
+ },
7021
+ async onInit() {
7022
+ logger33.debug("DocuSign integration initialized");
7023
+ },
7024
+ async onAfterConnect() {
7025
+ logger33.debug("DocuSign integration connected");
7026
+ }
7027
+ };
7028
+ }
7029
+ // src/integrations/pipedrive.ts
7030
+ init_logger();
7031
+ var logger34 = createLogger("Pipedrive");
7032
+ var PIPEDRIVE_SCOPES = [
7033
+ "deals:read",
7034
+ "deals:full",
7035
+ "contacts:read",
7036
+ "contacts:full",
7037
+ "activities:read",
7038
+ "activities:full",
7039
+ "products:read",
7040
+ "products:full"
7041
+ ];
7042
+ var PIPEDRIVE_TOOLS = [
7043
+ "pipedrive_list_deals",
7044
+ "pipedrive_list_leads",
7045
+ "pipedrive_list_persons",
7046
+ "pipedrive_list_organizations",
7047
+ "pipedrive_list_activities",
7048
+ "pipedrive_list_notes",
7049
+ "pipedrive_list_pipelines",
7050
+ "pipedrive_list_products",
7051
+ "pipedrive_create_deal"
7052
+ ];
7053
+ function pipedriveIntegration(config = {}) {
7054
+ const oauth = { provider: "pipedrive", clientId: config.clientId ?? getEnv("PIPEDRIVE_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("PIPEDRIVE_CLIENT_SECRET"), scopes: config.scopes ?? [...PIPEDRIVE_SCOPES], redirectUri: config.redirectUri, config };
7055
+ return {
7056
+ id: "pipedrive",
7057
+ name: "Pipedrive",
7058
+ logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/pipedrive.png",
7059
+ description: "Manage Pipedrive deals, leads, people, organizations, activities, notes, pipelines, and products",
7060
+ category: "Business",
7061
+ tools: [...PIPEDRIVE_TOOLS],
7062
+ authType: "oauth",
7063
+ oauth,
7064
+ async onInit() {
7065
+ logger34.debug("Pipedrive integration initialized");
7066
+ },
7067
+ async onAfterConnect() {
7068
+ logger34.debug("Pipedrive integration connected");
7069
+ }
7070
+ };
7071
+ }
7072
+ // src/integrations/freshservice.ts
7073
+ init_logger();
7074
+ var logger35 = createLogger("Freshservice");
7075
+ var FRESHSERVICE_SCOPES = [
7076
+ "freshservice.tickets.read",
7077
+ "freshservice.tickets.write",
7078
+ "freshservice.assets.read",
7079
+ "freshservice.solutions.read"
7080
+ ];
7081
+ var FRESHSERVICE_TOOLS = [
7082
+ "freshservice_list_tickets",
7083
+ "freshservice_list_requesters",
7084
+ "freshservice_list_agents",
7085
+ "freshservice_list_assets",
7086
+ "freshservice_list_changes",
7087
+ "freshservice_list_problems",
7088
+ "freshservice_list_releases",
7089
+ "freshservice_create_ticket",
7090
+ "freshservice_list_solutions"
7091
+ ];
7092
+ function freshserviceIntegration(config = {}) {
7093
+ const oauth = { provider: "freshservice", clientId: config.clientId ?? getEnv("FRESHSERVICE_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("FRESHSERVICE_CLIENT_SECRET"), scopes: config.scopes ?? [...FRESHSERVICE_SCOPES], redirectUri: config.redirectUri, config };
7094
+ return {
7095
+ id: "freshservice",
7096
+ name: "Freshservice",
7097
+ logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/freshservice.png",
7098
+ description: "Manage Freshservice tickets, requesters, agents, assets, changes, problems, releases, and solutions",
7099
+ category: "Business",
7100
+ tools: [...FRESHSERVICE_TOOLS],
7101
+ authType: "oauth",
7102
+ oauth,
7103
+ getHeaders() {
7104
+ const domain = config.domain ?? getEnv("FRESHSERVICE_DOMAIN");
7105
+ const headers = {};
7106
+ if (domain)
7107
+ headers["X-Freshservice-Domain"] = domain;
7108
+ return headers;
7109
+ },
7110
+ async onInit() {
7111
+ logger35.debug("Freshservice integration initialized");
7112
+ },
7113
+ async onAfterConnect() {
7114
+ logger35.debug("Freshservice integration connected");
7115
+ }
7116
+ };
7117
+ }
7118
+ // src/integrations/zoho_crm.ts
7119
+ init_logger();
7120
+ var logger36 = createLogger("Zoho CRM");
7121
+ var ZOHO_CRM_SCOPES = [
7122
+ "ZohoCRM.modules.ALL",
7123
+ "ZohoCRM.settings.ALL",
7124
+ "ZohoCRM.users.ALL"
7125
+ ];
7126
+ var ZOHO_CRM_TOOLS = [
7127
+ "zoho_crm_list_modules",
7128
+ "zoho_crm_list_records",
7129
+ "zoho_crm_get_record",
7130
+ "zoho_crm_create_records",
7131
+ "zoho_crm_update_record",
7132
+ "zoho_crm_search_records",
7133
+ "zoho_crm_coql_query",
7134
+ "zoho_crm_list_users",
7135
+ "zoho_crm_get_org"
7136
+ ];
7137
+ function zohoCrmIntegration(config = {}) {
7138
+ const oauth = { provider: "zoho_crm", clientId: config.clientId ?? getEnv("ZOHO_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("ZOHO_CLIENT_SECRET"), scopes: config.scopes ?? [...ZOHO_CRM_SCOPES], redirectUri: config.redirectUri, config };
7139
+ return {
7140
+ id: "zoho_crm",
7141
+ name: "Zoho CRM",
7142
+ logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_crm.png",
7143
+ description: "Manage Zoho CRM modules, records, users, org settings, search, and COQL",
7144
+ category: "Business",
7145
+ tools: [...ZOHO_CRM_TOOLS],
7146
+ authType: "oauth",
7147
+ oauth,
7148
+ getHeaders() {
7149
+ const region = config.region ?? getEnv("ZOHO_REGION");
7150
+ const headers = {};
7151
+ if (region)
7152
+ headers["X-Zoho-Region"] = region;
7153
+ return headers;
7154
+ },
7155
+ async onInit() {
7156
+ logger36.debug("Zoho CRM integration initialized");
7157
+ },
7158
+ async onAfterConnect() {
7159
+ logger36.debug("Zoho CRM integration connected");
7160
+ }
7161
+ };
7162
+ }
7163
+ // src/integrations/zoho_mail.ts
7164
+ init_logger();
7165
+ var logger37 = createLogger("Zoho Mail");
7166
+ var ZOHO_MAIL_SCOPES = [
7167
+ "ZohoMail.accounts.READ",
7168
+ "ZohoMail.messages.ALL",
7169
+ "ZohoMail.folders.ALL"
7170
+ ];
7171
+ var ZOHO_MAIL_TOOLS = [
7172
+ "zoho_mail_list_accounts",
7173
+ "zoho_mail_list_folders",
7174
+ "zoho_mail_list_messages",
7175
+ "zoho_mail_get_message",
7176
+ "zoho_mail_send_message",
7177
+ "zoho_mail_search_messages",
7178
+ "zoho_mail_list_labels"
7179
+ ];
7180
+ function zohoMailIntegration(config = {}) {
7181
+ const oauth = { provider: "zoho_mail", clientId: config.clientId ?? getEnv("ZOHO_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("ZOHO_CLIENT_SECRET"), scopes: config.scopes ?? [...ZOHO_MAIL_SCOPES], redirectUri: config.redirectUri, config };
7182
+ return {
7183
+ id: "zoho_mail",
7184
+ name: "Zoho Mail",
7185
+ logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_mail.png",
7186
+ description: "Manage Zoho Mail accounts, folders, messages, labels, search, and sending",
7187
+ category: "Business",
7188
+ tools: [...ZOHO_MAIL_TOOLS],
7189
+ authType: "oauth",
7190
+ oauth,
7191
+ getHeaders() {
7192
+ const region = config.region ?? getEnv("ZOHO_REGION");
7193
+ const headers = {};
7194
+ if (region)
7195
+ headers["X-Zoho-Region"] = region;
7196
+ return headers;
7197
+ },
7198
+ async onInit() {
7199
+ logger37.debug("Zoho Mail integration initialized");
7200
+ },
7201
+ async onAfterConnect() {
7202
+ logger37.debug("Zoho Mail integration connected");
7203
+ }
7204
+ };
7205
+ }
7206
+ // src/integrations/zoho_desk.ts
7207
+ init_logger();
7208
+ var logger38 = createLogger("Zoho Desk");
7209
+ var ZOHO_DESK_SCOPES = [
7210
+ "Desk.tickets.ALL",
7211
+ "Desk.contacts.ALL",
7212
+ "Desk.settings.READ"
7213
+ ];
7214
+ var ZOHO_DESK_TOOLS = [
7215
+ "zoho_desk_list_tickets",
7216
+ "zoho_desk_get_ticket",
7217
+ "zoho_desk_create_ticket",
7218
+ "zoho_desk_list_contacts",
7219
+ "zoho_desk_list_accounts",
7220
+ "zoho_desk_list_agents",
7221
+ "zoho_desk_list_departments",
7222
+ "zoho_desk_search_articles"
7223
+ ];
7224
+ function zohoDeskIntegration(config = {}) {
7225
+ const oauth = { provider: "zoho_desk", clientId: config.clientId ?? getEnv("ZOHO_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("ZOHO_CLIENT_SECRET"), scopes: config.scopes ?? [...ZOHO_DESK_SCOPES], redirectUri: config.redirectUri, config };
7226
+ return {
7227
+ id: "zoho_desk",
7228
+ name: "Zoho Desk",
7229
+ logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_desk.png",
7230
+ description: "Manage Zoho Desk tickets, contacts, accounts, agents, departments, and articles",
7231
+ category: "Business",
7232
+ tools: [...ZOHO_DESK_TOOLS],
7233
+ authType: "oauth",
7234
+ oauth,
7235
+ getHeaders() {
7236
+ const region = config.region ?? getEnv("ZOHO_REGION");
7237
+ const headers = {};
7238
+ if (region)
7239
+ headers["X-Zoho-Region"] = region;
7240
+ return headers;
7241
+ },
7242
+ async onInit() {
7243
+ logger38.debug("Zoho Desk integration initialized");
7244
+ },
7245
+ async onAfterConnect() {
7246
+ logger38.debug("Zoho Desk integration connected");
7247
+ }
7248
+ };
7249
+ }
7250
+ // src/integrations/zoho_books.ts
7251
+ init_logger();
7252
+ var logger39 = createLogger("Zoho Books");
7253
+ var ZOHO_BOOKS_SCOPES = [
7254
+ "ZohoBooks.fullaccess.all"
7255
+ ];
7256
+ var ZOHO_BOOKS_TOOLS = [
7257
+ "zoho_books_list_organizations",
7258
+ "zoho_books_list_contacts",
7259
+ "zoho_books_list_items",
7260
+ "zoho_books_list_invoices",
7261
+ "zoho_books_list_bills",
7262
+ "zoho_books_list_customerpayments",
7263
+ "zoho_books_create_invoice",
7264
+ "zoho_books_profit_and_loss"
7265
+ ];
7266
+ function zohoBooksIntegration(config = {}) {
7267
+ const oauth = { provider: "zoho_books", clientId: config.clientId ?? getEnv("ZOHO_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("ZOHO_CLIENT_SECRET"), scopes: config.scopes ?? [...ZOHO_BOOKS_SCOPES], redirectUri: config.redirectUri, config };
7268
+ return {
7269
+ id: "zoho_books",
7270
+ name: "Zoho Books",
7271
+ logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_books.png",
7272
+ description: "Manage Zoho Books organizations, contacts, items, invoices, bills, payments, and reports",
7273
+ category: "Business",
7274
+ tools: [...ZOHO_BOOKS_TOOLS],
7275
+ authType: "oauth",
7276
+ oauth,
7277
+ getHeaders() {
7278
+ const region = config.region ?? getEnv("ZOHO_REGION");
7279
+ const headers = {};
7280
+ if (region)
7281
+ headers["X-Zoho-Region"] = region;
7282
+ return headers;
7283
+ },
7284
+ async onInit() {
7285
+ logger39.debug("Zoho Books integration initialized");
7286
+ },
7287
+ async onAfterConnect() {
7288
+ logger39.debug("Zoho Books integration connected");
7289
+ }
7290
+ };
7291
+ }
7292
+ // src/integrations/zoho_projects.ts
7293
+ init_logger();
7294
+ var logger40 = createLogger("Zoho Projects");
7295
+ var ZOHO_PROJECTS_SCOPES = [
7296
+ "ZohoProjects.portals.ALL",
7297
+ "ZohoProjects.projects.ALL",
7298
+ "ZohoProjects.tasks.ALL",
7299
+ "ZohoProjects.issues.ALL"
7300
+ ];
7301
+ var ZOHO_PROJECTS_TOOLS = [
7302
+ "zoho_projects_list_portals",
7303
+ "zoho_projects_list_projects",
7304
+ "zoho_projects_get_project",
7305
+ "zoho_projects_list_milestones",
7306
+ "zoho_projects_list_tasklists",
7307
+ "zoho_projects_list_tasks",
7308
+ "zoho_projects_create_task",
7309
+ "zoho_projects_list_issues",
7310
+ "zoho_projects_list_timesheets"
7311
+ ];
7312
+ function zohoProjectsIntegration(config = {}) {
7313
+ const oauth = { provider: "zoho_projects", clientId: config.clientId ?? getEnv("ZOHO_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("ZOHO_CLIENT_SECRET"), scopes: config.scopes ?? [...ZOHO_PROJECTS_SCOPES], redirectUri: config.redirectUri, config };
7314
+ return {
7315
+ id: "zoho_projects",
7316
+ name: "Zoho Projects",
7317
+ logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_projects.png",
7318
+ description: "Manage Zoho Projects portals, projects, milestones, tasks, issues, and timesheets",
7319
+ category: "Business",
7320
+ tools: [...ZOHO_PROJECTS_TOOLS],
7321
+ authType: "oauth",
7322
+ oauth,
7323
+ getHeaders() {
7324
+ const region = config.region ?? getEnv("ZOHO_REGION");
7325
+ const headers = {};
7326
+ if (region)
7327
+ headers["X-Zoho-Region"] = region;
7328
+ return headers;
7329
+ },
7330
+ async onInit() {
7331
+ logger40.debug("Zoho Projects integration initialized");
7332
+ },
7333
+ async onAfterConnect() {
7334
+ logger40.debug("Zoho Projects integration connected");
7335
+ }
7336
+ };
7337
+ }
7338
+ // src/integrations/zoho_campaigns.ts
7339
+ init_logger();
7340
+ var logger41 = createLogger("Zoho Campaigns");
7341
+ var ZOHO_CAMPAIGNS_SCOPES = [
7342
+ "ZohoCampaigns.campaign.ALL",
7343
+ "ZohoCampaigns.contact.ALL",
7344
+ "ZohoCampaigns.report.READ"
7345
+ ];
7346
+ var ZOHO_CAMPAIGNS_TOOLS = [
7347
+ "zoho_campaigns_list_mailing_lists",
7348
+ "zoho_campaigns_list_contacts",
7349
+ "zoho_campaigns_add_contact",
7350
+ "zoho_campaigns_list_campaigns",
7351
+ "zoho_campaigns_get_campaign_report",
7352
+ "zoho_campaigns_send_campaign"
7353
+ ];
7354
+ function zohoCampaignsIntegration(config = {}) {
7355
+ const oauth = { provider: "zoho_campaigns", clientId: config.clientId ?? getEnv("ZOHO_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("ZOHO_CLIENT_SECRET"), scopes: config.scopes ?? [...ZOHO_CAMPAIGNS_SCOPES], redirectUri: config.redirectUri, config };
7356
+ return {
7357
+ id: "zoho_campaigns",
7358
+ name: "Zoho Campaigns",
7359
+ logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_campaigns.png",
7360
+ description: "Manage Zoho Campaigns lists, contacts, campaigns, reports, and sends",
7361
+ category: "Business",
7362
+ tools: [...ZOHO_CAMPAIGNS_TOOLS],
7363
+ authType: "oauth",
7364
+ oauth,
7365
+ getHeaders() {
7366
+ const region = config.region ?? getEnv("ZOHO_REGION");
7367
+ const headers = {};
7368
+ if (region)
7369
+ headers["X-Zoho-Region"] = region;
7370
+ return headers;
7371
+ },
7372
+ async onInit() {
7373
+ logger41.debug("Zoho Campaigns integration initialized");
7374
+ },
7375
+ async onAfterConnect() {
7376
+ logger41.debug("Zoho Campaigns integration connected");
7377
+ }
7378
+ };
7379
+ }
7380
+ // src/integrations/zoho_analytics.ts
7381
+ init_logger();
7382
+ var logger42 = createLogger("Zoho Analytics");
7383
+ var ZOHO_ANALYTICS_SCOPES = [
7384
+ "ZohoAnalytics.fullaccess.all"
7385
+ ];
7386
+ var ZOHO_ANALYTICS_TOOLS = [
7387
+ "zoho_analytics_list_workspaces",
7388
+ "zoho_analytics_get_workspace",
7389
+ "zoho_analytics_list_views",
7390
+ "zoho_analytics_export_view",
7391
+ "zoho_analytics_import_data",
7392
+ "zoho_analytics_query"
7393
+ ];
7394
+ function zohoAnalyticsIntegration(config = {}) {
7395
+ const oauth = { provider: "zoho_analytics", clientId: config.clientId ?? getEnv("ZOHO_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("ZOHO_CLIENT_SECRET"), scopes: config.scopes ?? [...ZOHO_ANALYTICS_SCOPES], redirectUri: config.redirectUri, config };
7396
+ return {
7397
+ id: "zoho_analytics",
7398
+ name: "Zoho Analytics",
7399
+ logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_analytics.png",
7400
+ description: "Manage Zoho Analytics workspaces, views, imports, exports, and query APIs",
7401
+ category: "Business",
7402
+ tools: [...ZOHO_ANALYTICS_TOOLS],
7403
+ authType: "oauth",
7404
+ oauth,
7405
+ getHeaders() {
7406
+ const region = config.region ?? getEnv("ZOHO_REGION");
7407
+ const headers = {};
7408
+ if (region)
7409
+ headers["X-Zoho-Region"] = region;
7410
+ return headers;
7411
+ },
7412
+ async onInit() {
7413
+ logger42.debug("Zoho Analytics integration initialized");
7414
+ },
7415
+ async onAfterConnect() {
7416
+ logger42.debug("Zoho Analytics integration connected");
7417
+ }
7418
+ };
7419
+ }
7420
+ // src/integrations/zoho_invoice.ts
7421
+ init_logger();
7422
+ var logger43 = createLogger("Zoho Invoice");
7423
+ var ZOHO_INVOICE_SCOPES = [
7424
+ "ZohoInvoice.fullaccess.all"
7425
+ ];
7426
+ var ZOHO_INVOICE_TOOLS = [
7427
+ "zoho_invoice_list_organizations",
7428
+ "zoho_invoice_list_contacts",
7429
+ "zoho_invoice_list_items",
7430
+ "zoho_invoice_list_estimates",
7431
+ "zoho_invoice_list_invoices",
7432
+ "zoho_invoice_list_customerpayments",
7433
+ "zoho_invoice_create_invoice",
7434
+ "zoho_invoice_get_aging_summary"
7435
+ ];
7436
+ function zohoInvoiceIntegration(config = {}) {
7437
+ const oauth = { provider: "zoho_invoice", clientId: config.clientId ?? getEnv("ZOHO_CLIENT_ID"), clientSecret: config.clientSecret ?? getEnv("ZOHO_CLIENT_SECRET"), scopes: config.scopes ?? [...ZOHO_INVOICE_SCOPES], redirectUri: config.redirectUri, config };
7438
+ return {
7439
+ id: "zoho_invoice",
7440
+ name: "Zoho Invoice",
7441
+ logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/zoho_invoice.png",
7442
+ description: "Manage Zoho Invoice organizations, customers, items, estimates, invoices, payments, and reports",
7443
+ category: "Business",
7444
+ tools: [...ZOHO_INVOICE_TOOLS],
7445
+ authType: "oauth",
7446
+ oauth,
7447
+ getHeaders() {
7448
+ const region = config.region ?? getEnv("ZOHO_REGION");
7449
+ const headers = {};
7450
+ if (region)
7451
+ headers["X-Zoho-Region"] = region;
7452
+ return headers;
7453
+ },
7454
+ async onInit() {
7455
+ logger43.debug("Zoho Invoice integration initialized");
7456
+ },
7457
+ async onAfterConnect() {
7458
+ logger43.debug("Zoho Invoice integration connected");
7459
+ }
7460
+ };
7461
+ }
6617
7462
  // src/integrations/linear.ts
6618
7463
  init_logger();
6619
- var logger26 = createLogger("Linear");
7464
+ var logger44 = createLogger("Linear");
6620
7465
  var LINEAR_TOOLS = [
6621
7466
  "linear_create_issue",
6622
7467
  "linear_list_issues",
@@ -6671,16 +7516,16 @@ function linearIntegration(config = {}) {
6671
7516
  tools: [...LINEAR_TOOLS],
6672
7517
  oauth,
6673
7518
  async onInit(_client) {
6674
- logger26.debug("Linear integration initialized");
7519
+ logger44.debug("Linear integration initialized");
6675
7520
  },
6676
7521
  async onAfterConnect(_client) {
6677
- logger26.debug("Linear integration connected");
7522
+ logger44.debug("Linear integration connected");
6678
7523
  }
6679
7524
  };
6680
7525
  }
6681
7526
  // src/integrations/railway.ts
6682
7527
  init_logger();
6683
- var logger27 = createLogger("Railway");
7528
+ var logger45 = createLogger("Railway");
6684
7529
  var RAILWAY_SCOPES = [
6685
7530
  "openid",
6686
7531
  "profile",
@@ -6785,16 +7630,16 @@ function railwayIntegration(config = {}) {
6785
7630
  tools: [...RAILWAY_TOOLS],
6786
7631
  oauth,
6787
7632
  async onInit(_client) {
6788
- logger27.debug("Railway integration initialized");
7633
+ logger45.debug("Railway integration initialized");
6789
7634
  },
6790
7635
  async onAfterConnect(_client) {
6791
- logger27.debug("Railway integration connected");
7636
+ logger45.debug("Railway integration connected");
6792
7637
  }
6793
7638
  };
6794
7639
  }
6795
7640
  // src/integrations/vercel.ts
6796
7641
  init_logger();
6797
- var logger28 = createLogger("Vercel");
7642
+ var logger46 = createLogger("Vercel");
6798
7643
  var VERCEL_TOOLS = [
6799
7644
  "vercel_list_projects",
6800
7645
  "vercel_get_project",
@@ -6837,16 +7682,16 @@ function vercelIntegration(config = {}) {
6837
7682
  tools: [...VERCEL_TOOLS],
6838
7683
  oauth,
6839
7684
  async onInit(_client) {
6840
- logger28.debug("Vercel integration initialized");
7685
+ logger46.debug("Vercel integration initialized");
6841
7686
  },
6842
7687
  async onAfterConnect(_client) {
6843
- logger28.debug("Vercel integration connected");
7688
+ logger46.debug("Vercel integration connected");
6844
7689
  }
6845
7690
  };
6846
7691
  }
6847
7692
  // src/integrations/zendesk.ts
6848
7693
  init_logger();
6849
- var logger29 = createLogger("Zendesk");
7694
+ var logger47 = createLogger("Zendesk");
6850
7695
  var ZENDESK_TOOLS = [
6851
7696
  "zendesk_list_tickets",
6852
7697
  "zendesk_get_ticket",
@@ -6895,16 +7740,16 @@ function zendeskIntegration(config = {}) {
6895
7740
  tools: [...ZENDESK_TOOLS],
6896
7741
  oauth,
6897
7742
  async onInit(_client) {
6898
- logger29.debug("Zendesk integration initialized");
7743
+ logger47.debug("Zendesk integration initialized");
6899
7744
  },
6900
7745
  async onAfterConnect(_client) {
6901
- logger29.debug("Zendesk integration connected");
7746
+ logger47.debug("Zendesk integration connected");
6902
7747
  }
6903
7748
  };
6904
7749
  }
6905
7750
  // src/integrations/stripe.ts
6906
7751
  init_logger();
6907
- var logger30 = createLogger("Stripe");
7752
+ var logger48 = createLogger("Stripe");
6908
7753
  var STRIPE_TOOLS = [
6909
7754
  "stripe_list_customers",
6910
7755
  "stripe_get_customer",
@@ -6961,16 +7806,16 @@ function stripeIntegration(config = {}) {
6961
7806
  tools: [...STRIPE_TOOLS],
6962
7807
  oauth,
6963
7808
  async onInit(_client) {
6964
- logger30.debug("Stripe integration initialized");
7809
+ logger48.debug("Stripe integration initialized");
6965
7810
  },
6966
7811
  async onAfterConnect(_client) {
6967
- logger30.debug("Stripe integration connected");
7812
+ logger48.debug("Stripe integration connected");
6968
7813
  }
6969
7814
  };
6970
7815
  }
6971
7816
  // src/integrations/gcal.ts
6972
7817
  init_logger();
6973
- var logger31 = createLogger("Google Calendar");
7818
+ var logger49 = createLogger("Google Calendar");
6974
7819
  var GCAL_TOOLS = [
6975
7820
  "gcal_create_calendar",
6976
7821
  "gcal_create_event",
@@ -7004,16 +7849,16 @@ function gcalIntegration(config = {}) {
7004
7849
  tools: [...GCAL_TOOLS],
7005
7850
  oauth,
7006
7851
  async onInit(_client) {
7007
- logger31.debug("Google Calendar integration initialized");
7852
+ logger49.debug("Google Calendar integration initialized");
7008
7853
  },
7009
7854
  async onAfterConnect(_client) {
7010
- logger31.debug("Google Calendar integration connected");
7855
+ logger49.debug("Google Calendar integration connected");
7011
7856
  }
7012
7857
  };
7013
7858
  }
7014
7859
  // src/integrations/gcontacts.ts
7015
7860
  init_logger();
7016
- var logger32 = createLogger("Google Contacts");
7861
+ var logger50 = createLogger("Google Contacts");
7017
7862
  var GCONTACTS_TOOLS = [
7018
7863
  "gcontacts_batch_get_contacts",
7019
7864
  "gcontacts_copy_other_contact",
@@ -7047,16 +7892,16 @@ function gcontactsIntegration(config = {}) {
7047
7892
  tools: [...GCONTACTS_TOOLS],
7048
7893
  oauth,
7049
7894
  async onInit(_client) {
7050
- logger32.debug("Google Contacts integration initialized");
7895
+ logger50.debug("Google Contacts integration initialized");
7051
7896
  },
7052
7897
  async onAfterConnect(_client) {
7053
- logger32.debug("Google Contacts integration connected");
7898
+ logger50.debug("Google Contacts integration connected");
7054
7899
  }
7055
7900
  };
7056
7901
  }
7057
7902
  // src/integrations/gmeet.ts
7058
7903
  init_logger();
7059
- var logger33 = createLogger("Google Meet");
7904
+ var logger51 = createLogger("Google Meet");
7060
7905
  var GMEET_TOOLS = [
7061
7906
  "gmeet_add_meet_to_event",
7062
7907
  "gmeet_create_meeting",
@@ -7084,16 +7929,16 @@ function gmeetIntegration(config = {}) {
7084
7929
  tools: [...GMEET_TOOLS],
7085
7930
  oauth,
7086
7931
  async onInit(_client) {
7087
- logger33.debug("Google Meet integration initialized");
7932
+ logger51.debug("Google Meet integration initialized");
7088
7933
  },
7089
7934
  async onAfterConnect(_client) {
7090
- logger33.debug("Google Meet integration connected");
7935
+ logger51.debug("Google Meet integration connected");
7091
7936
  }
7092
7937
  };
7093
7938
  }
7094
7939
  // src/integrations/gtasks.ts
7095
7940
  init_logger();
7096
- var logger34 = createLogger("Google Tasks");
7941
+ var logger52 = createLogger("Google Tasks");
7097
7942
  var GTASKS_TOOLS = [
7098
7943
  "gtasks_clear_completed",
7099
7944
  "gtasks_create_task",
@@ -7129,16 +7974,16 @@ function gtasksIntegration(config = {}) {
7129
7974
  tools: [...GTASKS_TOOLS],
7130
7975
  oauth,
7131
7976
  async onInit(_client) {
7132
- logger34.debug("Google Tasks integration initialized");
7977
+ logger52.debug("Google Tasks integration initialized");
7133
7978
  },
7134
7979
  async onAfterConnect(_client) {
7135
- logger34.debug("Google Tasks integration connected");
7980
+ logger52.debug("Google Tasks integration connected");
7136
7981
  }
7137
7982
  };
7138
7983
  }
7139
7984
  // src/integrations/gkeep.ts
7140
7985
  init_logger();
7141
- var logger35 = createLogger("Google Keep");
7986
+ var logger53 = createLogger("Google Keep");
7142
7987
  var GKEEP_TOOLS = [
7143
7988
  "gkeep_list_notes",
7144
7989
  "gkeep_get_note",
@@ -7170,16 +8015,16 @@ function gkeepIntegration(config = {}) {
7170
8015
  tools: [...GKEEP_TOOLS],
7171
8016
  oauth,
7172
8017
  async onInit(_client) {
7173
- logger35.debug("Google Keep integration initialized");
8018
+ logger53.debug("Google Keep integration initialized");
7174
8019
  },
7175
8020
  async onAfterConnect(_client) {
7176
- logger35.debug("Google Keep integration connected");
8021
+ logger53.debug("Google Keep integration connected");
7177
8022
  }
7178
8023
  };
7179
8024
  }
7180
8025
  // src/integrations/outlook.ts
7181
8026
  init_logger();
7182
- var logger36 = createLogger("Outlook");
8027
+ var logger54 = createLogger("Outlook");
7183
8028
  var OUTLOOK_TOOLS = [
7184
8029
  "outlook_accept_event",
7185
8030
  "outlook_create_draft",
@@ -7226,16 +8071,16 @@ function outlookIntegration(config = {}) {
7226
8071
  tools: [...OUTLOOK_TOOLS],
7227
8072
  oauth,
7228
8073
  async onInit(_client) {
7229
- logger36.debug("Outlook integration initialized");
8074
+ logger54.debug("Outlook integration initialized");
7230
8075
  },
7231
8076
  async onAfterConnect(_client) {
7232
- logger36.debug("Outlook integration connected");
8077
+ logger54.debug("Outlook integration connected");
7233
8078
  }
7234
8079
  };
7235
8080
  }
7236
8081
  // src/integrations/teams.ts
7237
8082
  init_logger();
7238
- var logger37 = createLogger("Teams");
8083
+ var logger55 = createLogger("Teams");
7239
8084
  var TEAMS_SCOPES = [
7240
8085
  "offline_access",
7241
8086
  "User.Read",
@@ -7285,16 +8130,16 @@ function teamsIntegration(config = {}) {
7285
8130
  tools: [...TEAMS_TOOLS],
7286
8131
  oauth,
7287
8132
  async onInit(_client) {
7288
- logger37.debug("Teams integration initialized");
8133
+ logger55.debug("Teams integration initialized");
7289
8134
  },
7290
8135
  async onAfterConnect(_client) {
7291
- logger37.debug("Teams integration connected");
8136
+ logger55.debug("Teams integration connected");
7292
8137
  }
7293
8138
  };
7294
8139
  }
7295
8140
  // src/integrations/airtable.ts
7296
8141
  init_logger();
7297
- var logger38 = createLogger("Airtable");
8142
+ var logger56 = createLogger("Airtable");
7298
8143
  var AIRTABLE_TOOLS = [
7299
8144
  "airtable_list_bases",
7300
8145
  "airtable_get_base",
@@ -7340,16 +8185,16 @@ function airtableIntegration(config = {}) {
7340
8185
  tools: [...AIRTABLE_TOOLS],
7341
8186
  oauth,
7342
8187
  async onInit(_client) {
7343
- logger38.debug("Airtable integration initialized");
8188
+ logger56.debug("Airtable integration initialized");
7344
8189
  },
7345
8190
  async onAfterConnect(_client) {
7346
- logger38.debug("Airtable integration connected");
8191
+ logger56.debug("Airtable integration connected");
7347
8192
  }
7348
8193
  };
7349
8194
  }
7350
8195
  // src/integrations/auth0.ts
7351
8196
  init_logger();
7352
- var logger39 = createLogger("Auth0");
8197
+ var logger57 = createLogger("Auth0");
7353
8198
  var AUTH0_TOOLS = [
7354
8199
  "auth0_list_users",
7355
8200
  "auth0_get_user",
@@ -7438,7 +8283,7 @@ function auth0Integration(options) {
7438
8283
  };
7439
8284
  },
7440
8285
  async onInit() {
7441
- logger39.debug("Auth0 integration initialized");
8286
+ logger57.debug("Auth0 integration initialized");
7442
8287
  },
7443
8288
  async onBeforeConnect() {
7444
8289
  await ensureFreshToken();
@@ -7447,13 +8292,13 @@ function auth0Integration(options) {
7447
8292
  }
7448
8293
  },
7449
8294
  async onAfterConnect() {
7450
- logger39.debug("Auth0 integration connected");
8295
+ logger57.debug("Auth0 integration connected");
7451
8296
  }
7452
8297
  };
7453
8298
  }
7454
8299
  // src/integrations/astronomer.ts
7455
8300
  init_logger();
7456
- var logger40 = createLogger("Astronomer");
8301
+ var logger58 = createLogger("Astronomer");
7457
8302
  var ASTRONOMER_TOOLS = [
7458
8303
  "astronomer_get_self",
7459
8304
  "astronomer_list_organizations",
@@ -7488,16 +8333,16 @@ function astronomerIntegration(options = {}) {
7488
8333
  };
7489
8334
  },
7490
8335
  async onInit(_client) {
7491
- logger40.debug("Astronomer integration initialized");
8336
+ logger58.debug("Astronomer integration initialized");
7492
8337
  },
7493
8338
  async onAfterConnect(_client) {
7494
- logger40.debug("Astronomer integration connected");
8339
+ logger58.debug("Astronomer integration connected");
7495
8340
  }
7496
8341
  };
7497
8342
  }
7498
8343
  // src/integrations/betterstack.ts
7499
8344
  init_logger();
7500
- var logger41 = createLogger("BetterStack");
8345
+ var logger59 = createLogger("BetterStack");
7501
8346
  var BETTERSTACK_TOOLS = [
7502
8347
  "betterstack_list_sources",
7503
8348
  "betterstack_get_source",
@@ -7530,16 +8375,16 @@ function betterstackIntegration(options = {}) {
7530
8375
  };
7531
8376
  },
7532
8377
  async onInit(_client) {
7533
- logger41.debug("Better Stack integration initialized");
8378
+ logger59.debug("Better Stack integration initialized");
7534
8379
  },
7535
8380
  async onAfterConnect(_client) {
7536
- logger41.debug("Better Stack integration connected");
8381
+ logger59.debug("Better Stack integration connected");
7537
8382
  }
7538
8383
  };
7539
8384
  }
7540
8385
  // src/integrations/todoist.ts
7541
8386
  init_logger();
7542
- var logger42 = createLogger("Todoist");
8387
+ var logger60 = createLogger("Todoist");
7543
8388
  var TODOIST_TOOLS = [
7544
8389
  "todoist_list_projects",
7545
8390
  "todoist_get_project",
@@ -7594,16 +8439,16 @@ function todoistIntegration(config = {}) {
7594
8439
  tools: [...TODOIST_TOOLS],
7595
8440
  oauth,
7596
8441
  async onInit(_client) {
7597
- logger42.debug("Todoist integration initialized");
8442
+ logger60.debug("Todoist integration initialized");
7598
8443
  },
7599
8444
  async onAfterConnect(_client) {
7600
- logger42.debug("Todoist integration connected");
8445
+ logger60.debug("Todoist integration connected");
7601
8446
  }
7602
8447
  };
7603
8448
  }
7604
8449
  // src/integrations/whatsapp.ts
7605
8450
  init_logger();
7606
- var logger43 = createLogger("WhatsApp");
8451
+ var logger61 = createLogger("WhatsApp");
7607
8452
  var WHATSAPP_TOOLS = [
7608
8453
  "whatsapp_send_message",
7609
8454
  "whatsapp_reply_message",
@@ -7652,16 +8497,16 @@ function whatsappIntegration(config = {}) {
7652
8497
  tools: [...WHATSAPP_TOOLS],
7653
8498
  oauth,
7654
8499
  async onInit(_client) {
7655
- logger43.debug("WhatsApp Business integration initialized");
8500
+ logger61.debug("WhatsApp Business integration initialized");
7656
8501
  },
7657
8502
  async onAfterConnect(_client) {
7658
- logger43.debug("WhatsApp Business integration connected");
8503
+ logger61.debug("WhatsApp Business integration connected");
7659
8504
  }
7660
8505
  };
7661
8506
  }
7662
8507
  // src/integrations/calcom.ts
7663
8508
  init_logger();
7664
- var logger44 = createLogger("Cal.com");
8509
+ var logger62 = createLogger("Cal.com");
7665
8510
  var CALCOM_TOOLS = [
7666
8511
  "calcom_list_bookings",
7667
8512
  "calcom_get_booking",
@@ -7737,16 +8582,16 @@ function calcomIntegration(config = {}) {
7737
8582
  tools: [...CALCOM_TOOLS],
7738
8583
  oauth,
7739
8584
  async onInit(_client) {
7740
- logger44.debug("Cal.com integration initialized");
8585
+ logger62.debug("Cal.com integration initialized");
7741
8586
  },
7742
8587
  async onAfterConnect(_client) {
7743
- logger44.debug("Cal.com integration connected");
8588
+ logger62.debug("Cal.com integration connected");
7744
8589
  }
7745
8590
  };
7746
8591
  }
7747
8592
  // src/integrations/ramp.ts
7748
8593
  init_logger();
7749
- var logger45 = createLogger("Ramp");
8594
+ var logger63 = createLogger("Ramp");
7750
8595
  var RAMP_TOOLS = [
7751
8596
  "ramp_list_transactions",
7752
8597
  "ramp_get_transaction",
@@ -7778,16 +8623,16 @@ function rampIntegration(config = {}) {
7778
8623
  tools: [...RAMP_TOOLS],
7779
8624
  oauth,
7780
8625
  async onInit(_client) {
7781
- logger45.debug("Ramp integration initialized");
8626
+ logger63.debug("Ramp integration initialized");
7782
8627
  },
7783
8628
  async onAfterConnect(_client) {
7784
- logger45.debug("Ramp integration connected");
8629
+ logger63.debug("Ramp integration connected");
7785
8630
  }
7786
8631
  };
7787
8632
  }
7788
8633
  // src/integrations/onedrive.ts
7789
8634
  init_logger();
7790
- var logger46 = createLogger("OneDrive");
8635
+ var logger64 = createLogger("OneDrive");
7791
8636
  var ONEDRIVE_TOOLS = [
7792
8637
  "onedrive_create_folder",
7793
8638
  "onedrive_delete_file",
@@ -7819,10 +8664,10 @@ function onedriveIntegration(config = {}) {
7819
8664
  tools: [...ONEDRIVE_TOOLS],
7820
8665
  oauth,
7821
8666
  async onInit(_client) {
7822
- logger46.debug("OneDrive integration initialized");
8667
+ logger64.debug("OneDrive integration initialized");
7823
8668
  },
7824
8669
  async onAfterConnect(_client) {
7825
- logger46.debug("OneDrive integration connected");
8670
+ logger64.debug("OneDrive integration connected");
7826
8671
  }
7827
8672
  };
7828
8673
  }
@@ -7861,7 +8706,7 @@ function plannerIntegration(config = {}) {
7861
8706
  }
7862
8707
  // src/integrations/sharepoint.ts
7863
8708
  init_logger();
7864
- var logger47 = createLogger("SharePoint");
8709
+ var logger65 = createLogger("SharePoint");
7865
8710
  var SHAREPOINT_SCOPES = ["Sites.ReadWrite.All", "Files.ReadWrite.All", "offline_access"];
7866
8711
  var SHAREPOINT_TOOLS = [
7867
8712
  "sharepoint_create_folder",
@@ -7900,16 +8745,16 @@ function sharepointIntegration(config = {}) {
7900
8745
  tools: [...SHAREPOINT_TOOLS],
7901
8746
  oauth,
7902
8747
  async onInit(_client) {
7903
- logger47.debug("SharePoint integration initialized");
8748
+ logger65.debug("SharePoint integration initialized");
7904
8749
  },
7905
8750
  async onAfterConnect(_client) {
7906
- logger47.debug("SharePoint integration connected");
8751
+ logger65.debug("SharePoint integration connected");
7907
8752
  }
7908
8753
  };
7909
8754
  }
7910
8755
  // src/integrations/dropbox.ts
7911
8756
  init_logger();
7912
- var logger48 = createLogger("Dropbox");
8757
+ var logger66 = createLogger("Dropbox");
7913
8758
  var DROPBOX_TOOLS = [
7914
8759
  "dropbox_get_current_account",
7915
8760
  "dropbox_get_space_usage",
@@ -7951,16 +8796,16 @@ function dropboxIntegration(options = {}) {
7951
8796
  authType: "oauth",
7952
8797
  oauth,
7953
8798
  async onInit(_client) {
7954
- logger48.debug("Dropbox integration initialized");
8799
+ logger66.debug("Dropbox integration initialized");
7955
8800
  },
7956
8801
  async onAfterConnect(_client) {
7957
- logger48.debug("Dropbox integration connected");
8802
+ logger66.debug("Dropbox integration connected");
7958
8803
  }
7959
8804
  };
7960
8805
  }
7961
8806
  // src/integrations/paper.ts
7962
8807
  init_logger();
7963
- var logger49 = createLogger("Paper");
8808
+ var logger67 = createLogger("Paper");
7964
8809
  var PAPER_SCOPES = [
7965
8810
  "account_info.read",
7966
8811
  "files.metadata.read",
@@ -8006,16 +8851,16 @@ function paperIntegration(config = {}) {
8006
8851
  authType: "oauth",
8007
8852
  oauth,
8008
8853
  async onInit(_client) {
8009
- logger49.debug("Paper integration initialized");
8854
+ logger67.debug("Paper integration initialized");
8010
8855
  },
8011
8856
  async onAfterConnect(_client) {
8012
- logger49.debug("Paper integration connected");
8857
+ logger67.debug("Paper integration connected");
8013
8858
  }
8014
8859
  };
8015
8860
  }
8016
8861
  // src/integrations/word.ts
8017
8862
  init_logger();
8018
- var logger50 = createLogger("Word");
8863
+ var logger68 = createLogger("Word");
8019
8864
  var WORD_TOOLS = [
8020
8865
  "word_copy",
8021
8866
  "word_create",
@@ -8042,16 +8887,16 @@ function wordIntegration(config = {}) {
8042
8887
  tools: [...WORD_TOOLS],
8043
8888
  oauth,
8044
8889
  async onInit(_client) {
8045
- logger50.debug("Word integration initialized");
8890
+ logger68.debug("Word integration initialized");
8046
8891
  },
8047
8892
  async onAfterConnect(_client) {
8048
- logger50.debug("Word integration connected");
8893
+ logger68.debug("Word integration connected");
8049
8894
  }
8050
8895
  };
8051
8896
  }
8052
8897
  // src/integrations/excel.ts
8053
8898
  init_logger();
8054
- var logger51 = createLogger("Excel");
8899
+ var logger69 = createLogger("Excel");
8055
8900
  var EXCEL_TOOLS = [
8056
8901
  "excel_add_table_rows",
8057
8902
  "excel_add_worksheet",
@@ -8087,16 +8932,16 @@ function excelIntegration(config = {}) {
8087
8932
  tools: [...EXCEL_TOOLS],
8088
8933
  oauth,
8089
8934
  async onInit(_client) {
8090
- logger51.debug("Excel integration initialized");
8935
+ logger69.debug("Excel integration initialized");
8091
8936
  },
8092
8937
  async onAfterConnect(_client) {
8093
- logger51.debug("Excel integration connected");
8938
+ logger69.debug("Excel integration connected");
8094
8939
  }
8095
8940
  };
8096
8941
  }
8097
8942
  // src/integrations/powerpoint.ts
8098
8943
  init_logger();
8099
- var logger52 = createLogger("PowerPoint");
8944
+ var logger70 = createLogger("PowerPoint");
8100
8945
  var POWERPOINT_TOOLS = [
8101
8946
  "powerpoint_copy",
8102
8947
  "powerpoint_create",
@@ -8123,16 +8968,16 @@ function powerpointIntegration(config = {}) {
8123
8968
  tools: [...POWERPOINT_TOOLS],
8124
8969
  oauth,
8125
8970
  async onInit(_client) {
8126
- logger52.debug("PowerPoint integration initialized");
8971
+ logger70.debug("PowerPoint integration initialized");
8127
8972
  },
8128
8973
  async onAfterConnect(_client) {
8129
- logger52.debug("PowerPoint integration connected");
8974
+ logger70.debug("PowerPoint integration connected");
8130
8975
  }
8131
8976
  };
8132
8977
  }
8133
8978
  // src/integrations/gdocs.ts
8134
8979
  init_logger();
8135
- var logger53 = createLogger("Google Docs");
8980
+ var logger71 = createLogger("Google Docs");
8136
8981
  var GDOCS_TOOLS = [
8137
8982
  "gdocs_append_text",
8138
8983
  "gdocs_batch_update",
@@ -8162,16 +9007,16 @@ function gdocsIntegration(config = {}) {
8162
9007
  tools: [...GDOCS_TOOLS],
8163
9008
  oauth,
8164
9009
  async onInit(_client) {
8165
- logger53.debug("Google Docs integration initialized");
9010
+ logger71.debug("Google Docs integration initialized");
8166
9011
  },
8167
9012
  async onAfterConnect(_client) {
8168
- logger53.debug("Google Docs integration connected");
9013
+ logger71.debug("Google Docs integration connected");
8169
9014
  }
8170
9015
  };
8171
9016
  }
8172
9017
  // src/integrations/gdrive.ts
8173
9018
  init_logger();
8174
- var logger54 = createLogger("Google Drive");
9019
+ var logger72 = createLogger("Google Drive");
8175
9020
  var GDRIVE_TOOLS = [
8176
9021
  "gdrive_copy_file",
8177
9022
  "gdrive_create_folder",
@@ -8205,16 +9050,16 @@ function gdriveIntegration(config = {}) {
8205
9050
  tools: [...GDRIVE_TOOLS],
8206
9051
  oauth,
8207
9052
  async onInit(_client) {
8208
- logger54.debug("Google Drive integration initialized");
9053
+ logger72.debug("Google Drive integration initialized");
8209
9054
  },
8210
9055
  async onAfterConnect(_client) {
8211
- logger54.debug("Google Drive integration connected");
9056
+ logger72.debug("Google Drive integration connected");
8212
9057
  }
8213
9058
  };
8214
9059
  }
8215
9060
  // src/integrations/gsheets.ts
8216
9061
  init_logger();
8217
- var logger55 = createLogger("Google Sheets");
9062
+ var logger73 = createLogger("Google Sheets");
8218
9063
  var GSHEETS_TOOLS = [
8219
9064
  "gsheets_append_values",
8220
9065
  "gsheets_batch_update",
@@ -8244,16 +9089,16 @@ function gsheetsIntegration(config = {}) {
8244
9089
  tools: [...GSHEETS_TOOLS],
8245
9090
  oauth,
8246
9091
  async onInit(_client) {
8247
- logger55.debug("Google Sheets integration initialized");
9092
+ logger73.debug("Google Sheets integration initialized");
8248
9093
  },
8249
9094
  async onAfterConnect(_client) {
8250
- logger55.debug("Google Sheets integration connected");
9095
+ logger73.debug("Google Sheets integration connected");
8251
9096
  }
8252
9097
  };
8253
9098
  }
8254
9099
  // src/integrations/gslides.ts
8255
9100
  init_logger();
8256
- var logger56 = createLogger("Google Slides");
9101
+ var logger74 = createLogger("Google Slides");
8257
9102
  var GSLIDES_TOOLS = [
8258
9103
  "gslides_add_slide",
8259
9104
  "gslides_batch_update",
@@ -8282,16 +9127,16 @@ function gslidesIntegration(config = {}) {
8282
9127
  tools: [...GSLIDES_TOOLS],
8283
9128
  oauth,
8284
9129
  async onInit(_client) {
8285
- logger56.debug("Google Slides integration initialized");
9130
+ logger74.debug("Google Slides integration initialized");
8286
9131
  },
8287
9132
  async onAfterConnect(_client) {
8288
- logger56.debug("Google Slides integration connected");
9133
+ logger74.debug("Google Slides integration connected");
8289
9134
  }
8290
9135
  };
8291
9136
  }
8292
9137
  // src/integrations/polar.ts
8293
9138
  init_logger();
8294
- var logger57 = createLogger("Polar");
9139
+ var logger75 = createLogger("Polar");
8295
9140
  var POLAR_TOOLS = [
8296
9141
  "polar_list_products",
8297
9142
  "polar_get_product",
@@ -8348,16 +9193,16 @@ function polarIntegration(config = {}) {
8348
9193
  tools: [...POLAR_TOOLS],
8349
9194
  oauth,
8350
9195
  async onInit(_client) {
8351
- logger57.debug("Polar integration initialized");
9196
+ logger75.debug("Polar integration initialized");
8352
9197
  },
8353
9198
  async onAfterConnect(_client) {
8354
- logger57.debug("Polar integration connected");
9199
+ logger75.debug("Polar integration connected");
8355
9200
  }
8356
9201
  };
8357
9202
  }
8358
9203
  // src/integrations/phantom.ts
8359
9204
  init_logger();
8360
- var logger58 = createLogger("Phantom");
9205
+ var logger76 = createLogger("Phantom");
8361
9206
  var PHANTOM_TOOLS = [
8362
9207
  "phantom_build_browse_deeplink",
8363
9208
  "phantom_deeplink_provider_reference"
@@ -8379,16 +9224,16 @@ function phantomIntegration(_options = {}) {
8379
9224
  category: "Other",
8380
9225
  tools: [...PHANTOM_TOOLS],
8381
9226
  async onInit(_client) {
8382
- logger58.debug("Phantom integration initialized");
9227
+ logger76.debug("Phantom integration initialized");
8383
9228
  },
8384
9229
  async onAfterConnect(_client) {
8385
- logger58.debug("Phantom integration connected");
9230
+ logger76.debug("Phantom integration connected");
8386
9231
  }
8387
9232
  };
8388
9233
  }
8389
9234
  // src/integrations/figma.ts
8390
9235
  init_logger();
8391
- var logger59 = createLogger("Figma");
9236
+ var logger77 = createLogger("Figma");
8392
9237
  var FIGMA_TOOLS = [
8393
9238
  "figma_get_file",
8394
9239
  "figma_get_file_nodes",
@@ -8454,16 +9299,16 @@ function figmaIntegration(config = {}) {
8454
9299
  tools: [...FIGMA_TOOLS],
8455
9300
  oauth,
8456
9301
  async onInit(_client) {
8457
- logger59.debug("Figma integration initialized");
9302
+ logger77.debug("Figma integration initialized");
8458
9303
  },
8459
9304
  async onAfterConnect(_client) {
8460
- logger59.debug("Figma integration connected");
9305
+ logger77.debug("Figma integration connected");
8461
9306
  }
8462
9307
  };
8463
9308
  }
8464
9309
  // src/integrations/intercom.ts
8465
9310
  init_logger();
8466
- var logger60 = createLogger("Intercom");
9311
+ var logger78 = createLogger("Intercom");
8467
9312
  var INTERCOM_TOOLS = [
8468
9313
  "intercom_list_contacts",
8469
9314
  "intercom_get_contact",
@@ -8494,16 +9339,16 @@ function intercomIntegration(config = {}) {
8494
9339
  tools: [...INTERCOM_TOOLS],
8495
9340
  oauth,
8496
9341
  async onInit(_client) {
8497
- logger60.debug("Intercom integration initialized");
9342
+ logger78.debug("Intercom integration initialized");
8498
9343
  },
8499
9344
  async onAfterConnect(_client) {
8500
- logger60.debug("Intercom integration connected");
9345
+ logger78.debug("Intercom integration connected");
8501
9346
  }
8502
9347
  };
8503
9348
  }
8504
9349
  // src/integrations/hubspot.ts
8505
9350
  init_logger();
8506
- var logger61 = createLogger("HubSpot");
9351
+ var logger79 = createLogger("HubSpot");
8507
9352
  var HUBSPOT_TOOLS = [
8508
9353
  "hubspot_list_contacts",
8509
9354
  "hubspot_get_contact",
@@ -8553,16 +9398,16 @@ function hubspotIntegration(config = {}) {
8553
9398
  tools: [...HUBSPOT_TOOLS],
8554
9399
  oauth,
8555
9400
  async onInit(_client) {
8556
- logger61.debug("HubSpot integration initialized");
9401
+ logger79.debug("HubSpot integration initialized");
8557
9402
  },
8558
9403
  async onAfterConnect(_client) {
8559
- logger61.debug("HubSpot integration connected");
9404
+ logger79.debug("HubSpot integration connected");
8560
9405
  }
8561
9406
  };
8562
9407
  }
8563
9408
  // src/integrations/youtube.ts
8564
9409
  init_logger();
8565
- var logger62 = createLogger("YouTube");
9410
+ var logger80 = createLogger("YouTube");
8566
9411
  var YOUTUBE_TOOLS = [
8567
9412
  "youtube_add_comment",
8568
9413
  "youtube_add_to_playlist",
@@ -8608,16 +9453,16 @@ function youtubeIntegration(config = {}) {
8608
9453
  tools: [...YOUTUBE_TOOLS],
8609
9454
  oauth,
8610
9455
  async onInit(_client) {
8611
- logger62.debug("YouTube integration initialized");
9456
+ logger80.debug("YouTube integration initialized");
8612
9457
  },
8613
9458
  async onAfterConnect(_client) {
8614
- logger62.debug("YouTube integration connected");
9459
+ logger80.debug("YouTube integration connected");
8615
9460
  }
8616
9461
  };
8617
9462
  }
8618
9463
  // src/integrations/zoom.ts
8619
9464
  init_logger();
8620
- var logger63 = createLogger("Zoom");
9465
+ var logger81 = createLogger("Zoom");
8621
9466
  var ZOOM_TOOLS = [
8622
9467
  "zoom_get_user",
8623
9468
  "zoom_list_meetings",
@@ -8643,10 +9488,10 @@ function zoomIntegration(config = {}) {
8643
9488
  tools: [...ZOOM_TOOLS],
8644
9489
  oauth,
8645
9490
  async onInit(_client) {
8646
- logger63.debug("Zoom integration initialized");
9491
+ logger81.debug("Zoom integration initialized");
8647
9492
  },
8648
9493
  async onAfterConnect(_client) {
8649
- logger63.debug("Zoom integration connected");
9494
+ logger81.debug("Zoom integration connected");
8650
9495
  }
8651
9496
  };
8652
9497
  }
@@ -8682,7 +9527,7 @@ function redditIntegration(config = {}) {
8682
9527
  }
8683
9528
  // src/integrations/cursor.ts
8684
9529
  init_logger();
8685
- var logger64 = createLogger("Cursor");
9530
+ var logger82 = createLogger("Cursor");
8686
9531
  var CURSOR_TOOLS = [
8687
9532
  "cursor_list_agents",
8688
9533
  "cursor_get_agent",
@@ -8702,16 +9547,16 @@ function cursorIntegration(_config = {}) {
8702
9547
  logoUrl: "https://wdvtnli2jn3texa6.public.blob.vercel-storage.com/cursor.jpeg",
8703
9548
  tools: [...CURSOR_TOOLS],
8704
9549
  async onInit(_client) {
8705
- logger64.debug("Cursor integration initialized");
9550
+ logger82.debug("Cursor integration initialized");
8706
9551
  },
8707
9552
  async onAfterConnect(_client) {
8708
- logger64.debug("Cursor integration connected");
9553
+ logger82.debug("Cursor integration connected");
8709
9554
  }
8710
9555
  };
8711
9556
  }
8712
9557
  // src/integrations/databricks.ts
8713
9558
  init_logger();
8714
- var logger65 = createLogger("Databricks");
9559
+ var logger83 = createLogger("Databricks");
8715
9560
  var DATABRICKS_SCOPES = ["all-apis", "offline_access"];
8716
9561
  var DATABRICKS_TOOLS = [
8717
9562
  "databricks_current_user",
@@ -8758,16 +9603,16 @@ function databricksIntegration(config = {}) {
8758
9603
  tools: [...DATABRICKS_TOOLS],
8759
9604
  oauth,
8760
9605
  async onInit(_client) {
8761
- logger65.debug("Databricks integration initialized");
9606
+ logger83.debug("Databricks integration initialized");
8762
9607
  },
8763
9608
  async onAfterConnect(_client) {
8764
- logger65.debug("Databricks integration connected");
9609
+ logger83.debug("Databricks integration connected");
8765
9610
  }
8766
9611
  };
8767
9612
  }
8768
9613
  // src/integrations/posthog.ts
8769
9614
  init_logger();
8770
- var logger66 = createLogger("PostHog");
9615
+ var logger84 = createLogger("PostHog");
8771
9616
  var DEFAULT_POSTHOG_BASE_URL = "https://us.posthog.com";
8772
9617
  var POSTHOG_SCOPES = [
8773
9618
  "openid",
@@ -8853,16 +9698,16 @@ function posthogIntegration(config = {}) {
8853
9698
  tools: [...POSTHOG_TOOLS],
8854
9699
  oauth,
8855
9700
  async onInit(_client) {
8856
- logger66.debug("PostHog integration initialized");
9701
+ logger84.debug("PostHog integration initialized");
8857
9702
  },
8858
9703
  async onAfterConnect(_client) {
8859
- logger66.debug("PostHog integration connected");
9704
+ logger84.debug("PostHog integration connected");
8860
9705
  }
8861
9706
  };
8862
9707
  }
8863
9708
  // src/integrations/postman.ts
8864
9709
  init_logger();
8865
- var logger67 = createLogger("Postman");
9710
+ var logger85 = createLogger("Postman");
8866
9711
  var POSTMAN_TOOLS = [
8867
9712
  "postman_get_me",
8868
9713
  "postman_list_workspaces",
@@ -8893,16 +9738,16 @@ function postmanIntegration(options = {}) {
8893
9738
  };
8894
9739
  },
8895
9740
  async onInit(_client) {
8896
- logger67.debug("Postman integration initialized");
9741
+ logger85.debug("Postman integration initialized");
8897
9742
  },
8898
9743
  async onAfterConnect(_client) {
8899
- logger67.debug("Postman integration connected");
9744
+ logger85.debug("Postman integration connected");
8900
9745
  }
8901
9746
  };
8902
9747
  }
8903
9748
  // src/integrations/sentry.ts
8904
9749
  init_logger();
8905
- var logger68 = createLogger("Sentry");
9750
+ var logger86 = createLogger("Sentry");
8906
9751
  var SENTRY_SCOPES = [
8907
9752
  "org:read",
8908
9753
  "project:read",
@@ -8951,16 +9796,16 @@ function sentryIntegration(config = {}) {
8951
9796
  tools: [...SENTRY_TOOLS],
8952
9797
  oauth,
8953
9798
  async onInit(_client) {
8954
- logger68.debug("Sentry integration initialized");
9799
+ logger86.debug("Sentry integration initialized");
8955
9800
  },
8956
9801
  async onAfterConnect(_client) {
8957
- logger68.debug("Sentry integration connected");
9802
+ logger86.debug("Sentry integration connected");
8958
9803
  }
8959
9804
  };
8960
9805
  }
8961
9806
  // src/integrations/supabase.ts
8962
9807
  init_logger();
8963
- var logger69 = createLogger("Supabase");
9808
+ var logger87 = createLogger("Supabase");
8964
9809
  var SUPABASE_API_BASE = "https://api.supabase.com";
8965
9810
  var SUPABASE_TOOLS = [
8966
9811
  "supabase_get_profile",
@@ -8998,10 +9843,10 @@ function supabaseIntegration(config = {}) {
8998
9843
  };
8999
9844
  },
9000
9845
  async onInit(_client) {
9001
- logger69.debug("Supabase integration initialized (personal access token)");
9846
+ logger87.debug("Supabase integration initialized (personal access token)");
9002
9847
  },
9003
9848
  async onAfterConnect(_client) {
9004
- logger69.debug("Supabase integration connected");
9849
+ logger87.debug("Supabase integration connected");
9005
9850
  }
9006
9851
  };
9007
9852
  }
@@ -9031,16 +9876,16 @@ function supabaseIntegration(config = {}) {
9031
9876
  tools: [...SUPABASE_TOOLS],
9032
9877
  oauth,
9033
9878
  async onInit(_client) {
9034
- logger69.debug("Supabase integration initialized");
9879
+ logger87.debug("Supabase integration initialized");
9035
9880
  },
9036
9881
  async onAfterConnect(_client) {
9037
- logger69.debug("Supabase integration connected");
9882
+ logger87.debug("Supabase integration connected");
9038
9883
  }
9039
9884
  };
9040
9885
  }
9041
9886
  // src/integrations/netlify.ts
9042
9887
  init_logger();
9043
- var logger70 = createLogger("Netlify");
9888
+ var logger88 = createLogger("Netlify");
9044
9889
  var NETLIFY_TOOLS = [
9045
9890
  "netlify_get_current_user",
9046
9891
  "netlify_list_accounts",
@@ -9103,16 +9948,16 @@ function netlifyIntegration(config = {}) {
9103
9948
  tools: [...NETLIFY_TOOLS],
9104
9949
  oauth,
9105
9950
  async onInit(_client) {
9106
- logger70.debug("Netlify integration initialized");
9951
+ logger88.debug("Netlify integration initialized");
9107
9952
  },
9108
9953
  async onAfterConnect(_client) {
9109
- logger70.debug("Netlify integration connected");
9954
+ logger88.debug("Netlify integration connected");
9110
9955
  }
9111
9956
  };
9112
9957
  }
9113
9958
  // src/integrations/datadog.ts
9114
9959
  init_logger();
9115
- var logger71 = createLogger("Datadog");
9960
+ var logger89 = createLogger("Datadog");
9116
9961
  var DATADOG_SCOPES = [
9117
9962
  "monitors_read",
9118
9963
  "dashboards_read",
@@ -9142,10 +9987,10 @@ function datadogIntegration(config = {}) {
9142
9987
  category: "Engineering",
9143
9988
  tools: [...DATADOG_TOOLS],
9144
9989
  async onInit(_client) {
9145
- logger71.debug("Datadog integration initialized");
9990
+ logger89.debug("Datadog integration initialized");
9146
9991
  },
9147
9992
  async onAfterConnect(_client) {
9148
- logger71.debug("Datadog integration connected");
9993
+ logger89.debug("Datadog integration connected");
9149
9994
  }
9150
9995
  };
9151
9996
  if (apiKey || applicationKey) {
@@ -9187,7 +10032,7 @@ function datadogIntegration(config = {}) {
9187
10032
  }
9188
10033
  // src/integrations/redis.ts
9189
10034
  init_logger();
9190
- var logger72 = createLogger("Redis Cloud");
10035
+ var logger90 = createLogger("Redis Cloud");
9191
10036
  var REDIS_TOOLS = [
9192
10037
  "redis_list_subscriptions",
9193
10038
  "redis_get_subscription",
@@ -9242,16 +10087,16 @@ function redisIntegration(options = {}) {
9242
10087
  };
9243
10088
  },
9244
10089
  async onInit(_client) {
9245
- logger72.debug("Redis Cloud integration initialized");
10090
+ logger90.debug("Redis Cloud integration initialized");
9246
10091
  },
9247
10092
  async onAfterConnect(_client) {
9248
- logger72.debug("Redis Cloud integration connected");
10093
+ logger90.debug("Redis Cloud integration connected");
9249
10094
  }
9250
10095
  };
9251
10096
  }
9252
10097
  // src/integrations/upstash.ts
9253
10098
  init_logger();
9254
- var logger73 = createLogger("Upstash");
10099
+ var logger91 = createLogger("Upstash");
9255
10100
  var UPSTASH_TOOLS = [
9256
10101
  "upstash_redis_run",
9257
10102
  "upstash_redis_get",
@@ -9291,16 +10136,16 @@ function upstashIntegration(options = {}) {
9291
10136
  return headers;
9292
10137
  },
9293
10138
  async onInit(_client) {
9294
- logger73.debug("Upstash integration initialized");
10139
+ logger91.debug("Upstash integration initialized");
9295
10140
  },
9296
10141
  async onAfterConnect(_client) {
9297
- logger73.debug("Upstash integration connected");
10142
+ logger91.debug("Upstash integration connected");
9298
10143
  }
9299
10144
  };
9300
10145
  }
9301
10146
  // src/integrations/webflow.ts
9302
10147
  init_logger();
9303
- var logger74 = createLogger("Webflow");
10148
+ var logger92 = createLogger("Webflow");
9304
10149
  var WEBFLOW_TOOLS = [
9305
10150
  "webflow_token_introspect",
9306
10151
  "webflow_get_authorized_user",
@@ -9359,16 +10204,16 @@ function webflowIntegration(config = {}) {
9359
10204
  tools: [...WEBFLOW_TOOLS],
9360
10205
  oauth,
9361
10206
  async onInit(_client) {
9362
- logger74.debug("Webflow integration initialized");
10207
+ logger92.debug("Webflow integration initialized");
9363
10208
  },
9364
10209
  async onAfterConnect(_client) {
9365
- logger74.debug("Webflow integration connected");
10210
+ logger92.debug("Webflow integration connected");
9366
10211
  }
9367
10212
  };
9368
10213
  }
9369
10214
  // src/integrations/jira.ts
9370
10215
  init_logger();
9371
- var logger75 = createLogger("Jira");
10216
+ var logger93 = createLogger("Jira");
9372
10217
  var JIRA_SCOPES = [
9373
10218
  "read:jira-work",
9374
10219
  "write:jira-work",
@@ -9413,16 +10258,16 @@ function jiraIntegration(config = {}) {
9413
10258
  tools: [...JIRA_TOOLS],
9414
10259
  oauth,
9415
10260
  async onInit(_client) {
9416
- logger75.debug("Jira integration initialized");
10261
+ logger93.debug("Jira integration initialized");
9417
10262
  },
9418
10263
  async onAfterConnect(_client) {
9419
- logger75.debug("Jira integration connected");
10264
+ logger93.debug("Jira integration connected");
9420
10265
  }
9421
10266
  };
9422
10267
  }
9423
10268
  // src/integrations/salesforce.ts
9424
10269
  init_logger();
9425
- var logger76 = createLogger("Salesforce");
10270
+ var logger94 = createLogger("Salesforce");
9426
10271
  var SALESFORCE_TOOLS = [
9427
10272
  "salesforce_query",
9428
10273
  "salesforce_get_limits",
@@ -9453,16 +10298,16 @@ function salesforceIntegration(config = {}) {
9453
10298
  tools: [...SALESFORCE_TOOLS],
9454
10299
  oauth,
9455
10300
  async onInit(_client) {
9456
- logger76.debug("Salesforce integration initialized");
10301
+ logger94.debug("Salesforce integration initialized");
9457
10302
  },
9458
10303
  async onAfterConnect(_client) {
9459
- logger76.debug("Salesforce integration connected");
10304
+ logger94.debug("Salesforce integration connected");
9460
10305
  }
9461
10306
  };
9462
10307
  }
9463
10308
  // src/integrations/zapier.ts
9464
10309
  init_logger();
9465
- var logger77 = createLogger("Zapier");
10310
+ var logger95 = createLogger("Zapier");
9466
10311
  var ZAPIER_TOOLS = [
9467
10312
  "zapier_get_profile",
9468
10313
  "zapier_list_zaps",
@@ -9494,16 +10339,16 @@ function zapierIntegration(config = {}) {
9494
10339
  tools: [...ZAPIER_TOOLS],
9495
10340
  oauth,
9496
10341
  async onInit(_client) {
9497
- logger77.debug("Zapier integration initialized");
10342
+ logger95.debug("Zapier integration initialized");
9498
10343
  },
9499
10344
  async onAfterConnect(_client) {
9500
- logger77.debug("Zapier integration connected");
10345
+ logger95.debug("Zapier integration connected");
9501
10346
  }
9502
10347
  };
9503
10348
  }
9504
10349
  // src/integrations/linkedin.ts
9505
10350
  init_logger();
9506
- var logger78 = createLogger("LinkedIn");
10351
+ var logger96 = createLogger("LinkedIn");
9507
10352
  var LINKEDIN_SCOPES = ["openid", "profile", "email", "w_member_social"];
9508
10353
  var LINKEDIN_TOOLS = ["linkedin_get_userinfo", "linkedin_create_post"];
9509
10354
  function linkedinIntegration(config = {}) {
@@ -9530,16 +10375,16 @@ function linkedinIntegration(config = {}) {
9530
10375
  tools: [...LINKEDIN_TOOLS],
9531
10376
  oauth,
9532
10377
  async onInit(_client) {
9533
- logger78.debug("LinkedIn integration initialized");
10378
+ logger96.debug("LinkedIn integration initialized");
9534
10379
  },
9535
10380
  async onAfterConnect(_client) {
9536
- logger78.debug("LinkedIn integration connected");
10381
+ logger96.debug("LinkedIn integration connected");
9537
10382
  }
9538
10383
  };
9539
10384
  }
9540
10385
  // src/integrations/threads.ts
9541
10386
  init_logger();
9542
- var logger79 = createLogger("Threads");
10387
+ var logger97 = createLogger("Threads");
9543
10388
  var THREADS_SCOPES = [
9544
10389
  "threads_basic",
9545
10390
  "threads_content_publish",
@@ -9590,16 +10435,16 @@ function threadsIntegration(config = {}) {
9590
10435
  tools: [...THREADS_TOOLS],
9591
10436
  oauth,
9592
10437
  async onInit(_client) {
9593
- logger79.debug("Threads integration initialized");
10438
+ logger97.debug("Threads integration initialized");
9594
10439
  },
9595
10440
  async onAfterConnect(_client) {
9596
- logger79.debug("Threads integration connected");
10441
+ logger97.debug("Threads integration connected");
9597
10442
  }
9598
10443
  };
9599
10444
  }
9600
10445
  // src/integrations/tiktok.ts
9601
10446
  init_logger();
9602
- var logger80 = createLogger("TikTok");
10447
+ var logger98 = createLogger("TikTok");
9603
10448
  var TIKTOK_SCOPES = ["user.info.basic", "video.list"];
9604
10449
  var TIKTOK_TOOLS = [
9605
10450
  "tiktok_get_user_info",
@@ -9630,16 +10475,16 @@ function tiktokIntegration(config = {}) {
9630
10475
  tools: [...TIKTOK_TOOLS],
9631
10476
  oauth,
9632
10477
  async onInit(_client) {
9633
- logger80.debug("TikTok integration initialized");
10478
+ logger98.debug("TikTok integration initialized");
9634
10479
  },
9635
10480
  async onAfterConnect(_client) {
9636
- logger80.debug("TikTok integration connected");
10481
+ logger98.debug("TikTok integration connected");
9637
10482
  }
9638
10483
  };
9639
10484
  }
9640
10485
  // src/integrations/trello.ts
9641
10486
  init_logger();
9642
- var logger81 = createLogger("Trello");
10487
+ var logger99 = createLogger("Trello");
9643
10488
  var TRELLO_TOOLS = [
9644
10489
  "trello_get_member",
9645
10490
  "trello_list_boards",
@@ -9676,16 +10521,16 @@ function trelloIntegration(options = {}) {
9676
10521
  return { Authorization: `Bearer ${encodeCredential(apiKey, memberToken)}` };
9677
10522
  },
9678
10523
  async onInit(_client) {
9679
- logger81.debug("Trello integration initialized");
10524
+ logger99.debug("Trello integration initialized");
9680
10525
  },
9681
10526
  async onAfterConnect(_client) {
9682
- logger81.debug("Trello integration connected");
10527
+ logger99.debug("Trello integration connected");
9683
10528
  }
9684
10529
  };
9685
10530
  }
9686
10531
  // src/integrations/typeform.ts
9687
10532
  init_logger();
9688
- var logger82 = createLogger("Typeform");
10533
+ var logger100 = createLogger("Typeform");
9689
10534
  var TYPEFORM_SCOPES = [
9690
10535
  "offline",
9691
10536
  "accounts:read",
@@ -9729,16 +10574,16 @@ function typeformIntegration(config = {}) {
9729
10574
  tools: [...TYPEFORM_TOOLS],
9730
10575
  oauth,
9731
10576
  async onInit(_client) {
9732
- logger82.debug("Typeform integration initialized");
10577
+ logger100.debug("Typeform integration initialized");
9733
10578
  },
9734
10579
  async onAfterConnect(_client) {
9735
- logger82.debug("Typeform integration connected");
10580
+ logger100.debug("Typeform integration connected");
9736
10581
  }
9737
10582
  };
9738
10583
  }
9739
10584
  // src/integrations/xero.ts
9740
10585
  init_logger();
9741
- var logger83 = createLogger("Xero");
10586
+ var logger101 = createLogger("Xero");
9742
10587
  var XERO_SCOPES = [
9743
10588
  "openid",
9744
10589
  "profile",
@@ -9785,16 +10630,16 @@ function xeroIntegration(config = {}) {
9785
10630
  tools: [...XERO_TOOLS],
9786
10631
  oauth,
9787
10632
  async onInit(_client) {
9788
- logger83.debug("Xero integration initialized");
10633
+ logger101.debug("Xero integration initialized");
9789
10634
  },
9790
10635
  async onAfterConnect(_client) {
9791
- logger83.debug("Xero integration connected");
10636
+ logger101.debug("Xero integration connected");
9792
10637
  }
9793
10638
  };
9794
10639
  }
9795
10640
  // src/integrations/attio.ts
9796
10641
  init_logger();
9797
- var logger84 = createLogger("Attio");
10642
+ var logger102 = createLogger("Attio");
9798
10643
  var ATTIO_SCOPES = [
9799
10644
  "record_permission:read-write",
9800
10645
  "object_configuration:read",
@@ -9840,16 +10685,16 @@ function attioIntegration(config = {}) {
9840
10685
  tools: [...ATTIO_TOOLS],
9841
10686
  oauth,
9842
10687
  async onInit(_client) {
9843
- logger84.debug("Attio integration initialized");
10688
+ logger102.debug("Attio integration initialized");
9844
10689
  },
9845
10690
  async onAfterConnect(_client) {
9846
- logger84.debug("Attio integration connected");
10691
+ logger102.debug("Attio integration connected");
9847
10692
  }
9848
10693
  };
9849
10694
  }
9850
10695
  // src/integrations/gchat.ts
9851
10696
  init_logger();
9852
- var logger85 = createLogger("Google Chat");
10697
+ var logger103 = createLogger("Google Chat");
9853
10698
  var GCHAT_SCOPES = [
9854
10699
  "https://www.googleapis.com/auth/chat.messages",
9855
10700
  "https://www.googleapis.com/auth/chat.spaces.readonly"
@@ -9888,16 +10733,16 @@ function gchatIntegration(config = {}) {
9888
10733
  tools: [...GCHAT_TOOLS],
9889
10734
  oauth,
9890
10735
  async onInit(_client) {
9891
- logger85.debug("Google Chat integration initialized");
10736
+ logger103.debug("Google Chat integration initialized");
9892
10737
  },
9893
10738
  async onAfterConnect(_client) {
9894
- logger85.debug("Google Chat integration connected");
10739
+ logger103.debug("Google Chat integration connected");
9895
10740
  }
9896
10741
  };
9897
10742
  }
9898
10743
  // src/integrations/shopify.ts
9899
10744
  init_logger();
9900
- var logger86 = createLogger("Shopify");
10745
+ var logger104 = createLogger("Shopify");
9901
10746
  var SHOPIFY_SCOPES = [
9902
10747
  "read_products",
9903
10748
  "write_products",
@@ -9946,16 +10791,16 @@ function shopifyIntegration(config = {}) {
9946
10791
  tools: [...SHOPIFY_TOOLS],
9947
10792
  oauth,
9948
10793
  async onInit(_client) {
9949
- logger86.debug("Shopify integration initialized");
10794
+ logger104.debug("Shopify integration initialized");
9950
10795
  },
9951
10796
  async onAfterConnect(_client) {
9952
- logger86.debug("Shopify integration connected");
10797
+ logger104.debug("Shopify integration connected");
9953
10798
  }
9954
10799
  };
9955
10800
  }
9956
10801
  // src/integrations/convex.ts
9957
10802
  init_logger();
9958
- var logger87 = createLogger("Convex");
10803
+ var logger105 = createLogger("Convex");
9959
10804
  var CONVEX_TOOLS = [
9960
10805
  "convex_management_token_details",
9961
10806
  "convex_management_list_projects",
@@ -9992,16 +10837,16 @@ function convexIntegration(options = {}) {
9992
10837
  return { Authorization: `Bearer ${accessToken}` };
9993
10838
  },
9994
10839
  async onInit(_client) {
9995
- logger87.debug("Convex integration initialized");
10840
+ logger105.debug("Convex integration initialized");
9996
10841
  },
9997
10842
  async onAfterConnect(_client) {
9998
- logger87.debug("Convex integration connected");
10843
+ logger105.debug("Convex integration connected");
9999
10844
  }
10000
10845
  };
10001
10846
  }
10002
10847
  // src/integrations/etoro.ts
10003
10848
  init_logger();
10004
- var logger88 = createLogger("eToro");
10849
+ var logger106 = createLogger("eToro");
10005
10850
  var ETORO_TOOLS = [
10006
10851
  "etoro_get_identity",
10007
10852
  "etoro_get_portfolio",
@@ -10031,16 +10876,16 @@ function etoroIntegration(options = {}) {
10031
10876
  };
10032
10877
  },
10033
10878
  async onInit(_client) {
10034
- logger88.debug("eToro integration initialized");
10879
+ logger106.debug("eToro integration initialized");
10035
10880
  },
10036
10881
  async onAfterConnect(_client) {
10037
- logger88.debug("eToro integration connected");
10882
+ logger106.debug("eToro integration connected");
10038
10883
  }
10039
10884
  };
10040
10885
  }
10041
10886
  // src/integrations/alpaca.ts
10042
10887
  init_logger();
10043
- var logger89 = createLogger("Alpaca");
10888
+ var logger107 = createLogger("Alpaca");
10044
10889
  var ALPACA_TOOLS = [
10045
10890
  "alpaca_get_account",
10046
10891
  "alpaca_list_positions",
@@ -10082,16 +10927,16 @@ function alpacaIntegration(options = {}) {
10082
10927
  return headers;
10083
10928
  },
10084
10929
  async onInit(_client) {
10085
- logger89.debug("Alpaca integration initialized");
10930
+ logger107.debug("Alpaca integration initialized");
10086
10931
  },
10087
10932
  async onAfterConnect(_client) {
10088
- logger89.debug("Alpaca integration connected");
10933
+ logger107.debug("Alpaca integration connected");
10089
10934
  }
10090
10935
  };
10091
10936
  }
10092
10937
  // src/integrations/neon.ts
10093
10938
  init_logger();
10094
- var logger90 = createLogger("Neon");
10939
+ var logger108 = createLogger("Neon");
10095
10940
  var NEON_TOOLS = [
10096
10941
  "neon_list_api_keys",
10097
10942
  "neon_create_api_key",
@@ -10131,10 +10976,10 @@ function neonIntegration(options = {}) {
10131
10976
  };
10132
10977
  },
10133
10978
  async onInit(_client) {
10134
- logger90.debug("Neon integration initialized");
10979
+ logger108.debug("Neon integration initialized");
10135
10980
  },
10136
10981
  async onAfterConnect(_client) {
10137
- logger90.debug("Neon integration connected");
10982
+ logger108.debug("Neon integration connected");
10138
10983
  }
10139
10984
  };
10140
10985
  }
@@ -10244,7 +11089,7 @@ function mercuryIntegration(options) {
10244
11089
  }
10245
11090
  // src/integrations/aws.ts
10246
11091
  init_logger();
10247
- var logger91 = createLogger("AWS");
11092
+ var logger109 = createLogger("AWS");
10248
11093
  var AWS_TOOLS = [
10249
11094
  "aws_sts_get_caller_identity",
10250
11095
  "aws_ec2_describe_regions",
@@ -10297,16 +11142,16 @@ function awsIntegration(options = {}) {
10297
11142
  };
10298
11143
  },
10299
11144
  async onInit(_client) {
10300
- logger91.debug("AWS integration initialized");
11145
+ logger109.debug("AWS integration initialized");
10301
11146
  },
10302
11147
  async onAfterConnect(_client) {
10303
- logger91.debug("AWS integration connected");
11148
+ logger109.debug("AWS integration connected");
10304
11149
  }
10305
11150
  };
10306
11151
  }
10307
11152
  // src/integrations/wix.ts
10308
11153
  init_logger();
10309
- var logger92 = createLogger("Wix");
11154
+ var logger110 = createLogger("Wix");
10310
11155
  var WIX_TOOLS = [
10311
11156
  "wix_query_products",
10312
11157
  "wix_get_product",
@@ -10339,10 +11184,10 @@ function wixIntegration(options = {}) {
10339
11184
  };
10340
11185
  },
10341
11186
  async onInit(_client) {
10342
- logger92.debug("Wix integration initialized");
11187
+ logger110.debug("Wix integration initialized");
10343
11188
  },
10344
11189
  async onAfterConnect(_client) {
10345
- logger92.debug("Wix integration connected");
11190
+ logger110.debug("Wix integration connected");
10346
11191
  }
10347
11192
  };
10348
11193
  }
@@ -10376,7 +11221,7 @@ function mailchimpIntegration(config = {}) {
10376
11221
  }
10377
11222
  // src/integrations/monday.ts
10378
11223
  init_logger();
10379
- var logger93 = createLogger("Monday");
11224
+ var logger111 = createLogger("Monday");
10380
11225
  var MONDAY_TOOLS = [
10381
11226
  "monday_me",
10382
11227
  "monday_list_workspaces",
@@ -10413,16 +11258,16 @@ function mondayIntegration(config = {}) {
10413
11258
  tools: [...MONDAY_TOOLS],
10414
11259
  oauth,
10415
11260
  async onInit(_client) {
10416
- logger93.debug("Monday.com integration initialized");
11261
+ logger111.debug("Monday.com integration initialized");
10417
11262
  },
10418
11263
  async onAfterConnect(_client) {
10419
- logger93.debug("Monday.com integration connected");
11264
+ logger111.debug("Monday.com integration connected");
10420
11265
  }
10421
11266
  };
10422
11267
  }
10423
11268
  // src/integrations/binance.ts
10424
11269
  init_logger();
10425
- var logger94 = createLogger("Binance");
11270
+ var logger112 = createLogger("Binance");
10426
11271
  var BINANCE_TOOLS = [
10427
11272
  "binance_ping",
10428
11273
  "binance_get_server_time",
@@ -10465,16 +11310,16 @@ function binanceIntegration(options = {}) {
10465
11310
  };
10466
11311
  },
10467
11312
  async onInit(_client) {
10468
- logger94.debug("Binance integration initialized");
11313
+ logger112.debug("Binance integration initialized");
10469
11314
  },
10470
11315
  async onAfterConnect(_client) {
10471
- logger94.debug("Binance integration connected");
11316
+ logger112.debug("Binance integration connected");
10472
11317
  }
10473
11318
  };
10474
11319
  }
10475
11320
  // src/integrations/canva.ts
10476
11321
  init_logger();
10477
- var logger95 = createLogger("Canva");
11322
+ var logger113 = createLogger("Canva");
10478
11323
  var CANVA_TOOLS = [
10479
11324
  "canva_get_me",
10480
11325
  "canva_get_profile",
@@ -10511,16 +11356,16 @@ function canvaIntegration(config = {}) {
10511
11356
  tools: [...CANVA_TOOLS],
10512
11357
  oauth,
10513
11358
  async onInit(_client) {
10514
- logger95.debug("Canva integration initialized");
11359
+ logger113.debug("Canva integration initialized");
10515
11360
  },
10516
11361
  async onAfterConnect(_client) {
10517
- logger95.debug("Canva integration connected");
11362
+ logger113.debug("Canva integration connected");
10518
11363
  }
10519
11364
  };
10520
11365
  }
10521
11366
  // src/integrations/clerk.ts
10522
11367
  init_logger();
10523
- var logger96 = createLogger("Clerk");
11368
+ var logger114 = createLogger("Clerk");
10524
11369
  var CLERK_TOOLS = [
10525
11370
  "clerk_list_users",
10526
11371
  "clerk_get_user",
@@ -10555,16 +11400,16 @@ function clerkIntegration(options = {}) {
10555
11400
  };
10556
11401
  },
10557
11402
  async onInit(_client) {
10558
- logger96.debug("Clerk integration initialized");
11403
+ logger114.debug("Clerk integration initialized");
10559
11404
  },
10560
11405
  async onAfterConnect(_client) {
10561
- logger96.debug("Clerk integration connected");
11406
+ logger114.debug("Clerk integration connected");
10562
11407
  }
10563
11408
  };
10564
11409
  }
10565
11410
  // src/integrations/clickup.ts
10566
11411
  init_logger();
10567
- var logger97 = createLogger("ClickUp");
11412
+ var logger115 = createLogger("ClickUp");
10568
11413
  var CLICKUP_TOOLS = [
10569
11414
  "clickup_get_authorized_user",
10570
11415
  "clickup_list_teams",
@@ -10600,16 +11445,16 @@ function clickupIntegration(config = {}) {
10600
11445
  tools: [...CLICKUP_TOOLS],
10601
11446
  oauth,
10602
11447
  async onInit(_client) {
10603
- logger97.debug("ClickUp integration initialized");
11448
+ logger115.debug("ClickUp integration initialized");
10604
11449
  },
10605
11450
  async onAfterConnect(_client) {
10606
- logger97.debug("ClickUp integration connected");
11451
+ logger115.debug("ClickUp integration connected");
10607
11452
  }
10608
11453
  };
10609
11454
  }
10610
11455
  // src/integrations/cloudflare.ts
10611
11456
  init_logger();
10612
- var logger98 = createLogger("Cloudflare");
11457
+ var logger116 = createLogger("Cloudflare");
10613
11458
  var CLOUDFLARE_TOOLS = [
10614
11459
  "cloudflare_verify_token",
10615
11460
  "cloudflare_get_user",
@@ -10648,10 +11493,10 @@ function cloudflareIntegration(config = {}) {
10648
11493
  return { Authorization: `Bearer ${apiToken.trim()}` };
10649
11494
  },
10650
11495
  async onInit(_client) {
10651
- logger98.debug("Cloudflare integration initialized (API token)");
11496
+ logger116.debug("Cloudflare integration initialized (API token)");
10652
11497
  },
10653
11498
  async onAfterConnect(_client) {
10654
- logger98.debug("Cloudflare integration connected");
11499
+ logger116.debug("Cloudflare integration connected");
10655
11500
  }
10656
11501
  };
10657
11502
  }
@@ -10677,16 +11522,16 @@ function cloudflareIntegration(config = {}) {
10677
11522
  tools: [...CLOUDFLARE_TOOLS],
10678
11523
  oauth,
10679
11524
  async onInit(_client) {
10680
- logger98.debug("Cloudflare integration initialized (OAuth)");
11525
+ logger116.debug("Cloudflare integration initialized (OAuth)");
10681
11526
  },
10682
11527
  async onAfterConnect(_client) {
10683
- logger98.debug("Cloudflare integration connected");
11528
+ logger116.debug("Cloudflare integration connected");
10684
11529
  }
10685
11530
  };
10686
11531
  }
10687
11532
  // src/integrations/instagram.ts
10688
11533
  init_logger();
10689
- var logger99 = createLogger("Instagram");
11534
+ var logger117 = createLogger("Instagram");
10690
11535
  var INSTAGRAM_SCOPES = [
10691
11536
  "pages_show_list",
10692
11537
  "pages_read_engagement",
@@ -10736,16 +11581,16 @@ function instagramIntegration(config = {}) {
10736
11581
  tools: [...INSTAGRAM_TOOLS],
10737
11582
  oauth,
10738
11583
  async onInit(_client) {
10739
- logger99.debug("Instagram integration initialized");
11584
+ logger117.debug("Instagram integration initialized");
10740
11585
  },
10741
11586
  async onAfterConnect(_client) {
10742
- logger99.debug("Instagram integration connected");
11587
+ logger117.debug("Instagram integration connected");
10743
11588
  }
10744
11589
  };
10745
11590
  }
10746
11591
  // src/integrations/facebook.ts
10747
11592
  init_logger();
10748
- var logger100 = createLogger("Facebook");
11593
+ var logger118 = createLogger("Facebook");
10749
11594
  var FACEBOOK_SCOPES = [
10750
11595
  "public_profile",
10751
11596
  "email",
@@ -10791,10 +11636,10 @@ function facebookIntegration(config = {}) {
10791
11636
  tools: [...FACEBOOK_TOOLS],
10792
11637
  oauth,
10793
11638
  async onInit(_client) {
10794
- logger100.debug("Facebook integration initialized");
11639
+ logger118.debug("Facebook integration initialized");
10795
11640
  },
10796
11641
  async onAfterConnect(_client) {
10797
- logger100.debug("Facebook integration connected");
11642
+ logger118.debug("Facebook integration connected");
10798
11643
  }
10799
11644
  };
10800
11645
  }
@@ -10825,7 +11670,7 @@ function ga4Integration(config = {}) {
10825
11670
  }
10826
11671
  // src/integrations/resend.ts
10827
11672
  init_logger();
10828
- var logger101 = createLogger("Resend");
11673
+ var logger119 = createLogger("Resend");
10829
11674
  var RESEND_TOOLS = [
10830
11675
  "resend_list_domains",
10831
11676
  "resend_get_domain",
@@ -10850,10 +11695,10 @@ function resendIntegration(options = {}) {
10850
11695
  return { Authorization: `Bearer ${apiKey}` };
10851
11696
  },
10852
11697
  async onInit(_client) {
10853
- logger101.debug("Resend integration initialized");
11698
+ logger119.debug("Resend integration initialized");
10854
11699
  },
10855
11700
  async onAfterConnect(_client) {
10856
- logger101.debug("Resend integration connected");
11701
+ logger119.debug("Resend integration connected");
10857
11702
  }
10858
11703
  };
10859
11704
  }
@@ -10877,7 +11722,7 @@ function tldrawIntegration(options = {}) {
10877
11722
  }
10878
11723
  // src/integrations/workday.ts
10879
11724
  init_logger();
10880
- var logger102 = createLogger("Workday");
11725
+ var logger120 = createLogger("Workday");
10881
11726
  var WORKDAY_TOOLS = [
10882
11727
  "workday_list_workers",
10883
11728
  "workday_get_worker"
@@ -10902,16 +11747,16 @@ function workdayIntegration(config = {}) {
10902
11747
  tools: [...WORKDAY_TOOLS],
10903
11748
  oauth,
10904
11749
  async onInit(_client) {
10905
- logger102.debug("Workday integration initialized");
11750
+ logger120.debug("Workday integration initialized");
10906
11751
  },
10907
11752
  async onAfterConnect(_client) {
10908
- logger102.debug("Workday integration connected");
11753
+ logger120.debug("Workday integration connected");
10909
11754
  }
10910
11755
  };
10911
11756
  }
10912
11757
  // src/integrations/workos.ts
10913
11758
  init_logger();
10914
- var logger103 = createLogger("WorkOS");
11759
+ var logger121 = createLogger("WorkOS");
10915
11760
  var WORKOS_TOOLS = [
10916
11761
  "workos_list_organizations",
10917
11762
  "workos_get_organization",
@@ -10944,10 +11789,10 @@ function workosIntegration(options = {}) {
10944
11789
  };
10945
11790
  },
10946
11791
  async onInit(_client) {
10947
- logger103.debug("WorkOS integration initialized");
11792
+ logger121.debug("WorkOS integration initialized");
10948
11793
  },
10949
11794
  async onAfterConnect(_client) {
10950
- logger103.debug("WorkOS integration connected");
11795
+ logger121.debug("WorkOS integration connected");
10951
11796
  }
10952
11797
  };
10953
11798
  }
@@ -17154,7 +17999,7 @@ function convertJsonSchemaToGoogleSchema(jsonSchema, TypeEnum) {
17154
17999
  }
17155
18000
  // src/server.ts
17156
18001
  var SERVER_LOG_CONTEXT3 = "server";
17157
- var logger106 = createLogger("MCPServer", SERVER_LOG_CONTEXT3);
18002
+ var logger124 = createLogger("MCPServer", SERVER_LOG_CONTEXT3);
17158
18003
  async function refreshTokenIfNeeded(provider, tokenData, providers, config, context) {
17159
18004
  const credentials = providers[provider];
17160
18005
  if (!credentials || !config.serverUrl) {
@@ -17176,9 +18021,9 @@ async function refreshTokenIfNeeded(provider, tokenData, providers, config, cont
17176
18021
  });
17177
18022
  } catch (err) {
17178
18023
  if (err instanceof RefreshRejectedError) {
17179
- logger106.warn(`[Token Refresh] Refresh token rejected for ${provider}; integration marked disconnected.`);
18024
+ logger124.warn(`[Token Refresh] Refresh token rejected for ${provider}; integration marked disconnected.`);
17180
18025
  } else {
17181
- logger106.warn(`[Token Refresh] Failed to refresh ${provider} token: ${err.message}`);
18026
+ logger124.warn(`[Token Refresh] Failed to refresh ${provider} token: ${err.message}`);
17182
18027
  }
17183
18028
  return tokenData.accessToken;
17184
18029
  }
@@ -17288,7 +18133,7 @@ function createMCPServer(config) {
17288
18133
  if (integration.oauth) {
17289
18134
  const { clientId, clientSecret, redirectUri: integrationRedirectUri, config: oauthConfig } = integration.oauth;
17290
18135
  if (!clientId || !clientSecret) {
17291
- logger106.warn(`Warning: Integration "${integration.id}" is missing OAuth credentials. ` + `Provide clientId and clientSecret in the integration configuration.`);
18136
+ logger124.warn(`Warning: Integration "${integration.id}" is missing OAuth credentials. ` + `Provide clientId and clientSecret in the integration configuration.`);
17292
18137
  return integration;
17293
18138
  }
17294
18139
  const redirectUri = integrationRedirectUri || config.redirectUri || getDefaultRedirectUri();
@@ -17468,7 +18313,7 @@ function createMCPServer(config) {
17468
18313
  }
17469
18314
  return response2;
17470
18315
  } catch (error) {
17471
- logger106.error("[MCP Tool Call] Error:", error);
18316
+ logger124.error("[MCP Tool Call] Error:", error);
17472
18317
  return Response.json({ error: error.message || "Failed to execute tool call" }, { status: error.statusCode || 500 });
17473
18318
  }
17474
18319
  }
@@ -17517,7 +18362,7 @@ function createMCPServer(config) {
17517
18362
  });
17518
18363
  return Response.json(result, { status: result.success ? 200 : 500 });
17519
18364
  } catch (error) {
17520
- logger106.error("[Code Mode] Error:", error);
18365
+ logger124.error("[Code Mode] Error:", error);
17521
18366
  return Response.json({ error: error?.message || "Failed to execute code" }, { status: 500 });
17522
18367
  }
17523
18368
  }
@@ -17575,7 +18420,7 @@ function createMCPServer(config) {
17575
18420
  error: executionResult.error
17576
18421
  });
17577
18422
  } catch (error) {
17578
- logger106.error("[Trigger Notify] Error:", error);
18423
+ logger124.error("[Trigger Notify] Error:", error);
17579
18424
  return Response.json({ error: error.message || "Failed to execute trigger" }, { status: 500 });
17580
18425
  }
17581
18426
  }
@@ -17639,7 +18484,7 @@ function createMCPServer(config) {
17639
18484
  })
17640
18485
  });
17641
18486
  } catch (scheduleError) {
17642
- logger106.error("[Trigger] Failed to register with scheduler:", scheduleError);
18487
+ logger124.error("[Trigger] Failed to register with scheduler:", scheduleError);
17643
18488
  }
17644
18489
  return Response.json(created, { status: 201 });
17645
18490
  }
@@ -17674,7 +18519,7 @@ function createMCPServer(config) {
17674
18519
  body: JSON.stringify({ triggerId })
17675
18520
  });
17676
18521
  } catch (error) {
17677
- logger106.error("[Trigger] Failed to pause in scheduler:", error);
18522
+ logger124.error("[Trigger] Failed to pause in scheduler:", error);
17678
18523
  }
17679
18524
  return Response.json(updated);
17680
18525
  } else if (subAction === "resume" && method === "POST") {
@@ -17702,7 +18547,7 @@ function createMCPServer(config) {
17702
18547
  body: JSON.stringify({ triggerId })
17703
18548
  });
17704
18549
  } catch (error) {
17705
- logger106.error("[Trigger] Failed to resume in scheduler:", error);
18550
+ logger124.error("[Trigger] Failed to resume in scheduler:", error);
17706
18551
  }
17707
18552
  return Response.json(updated);
17708
18553
  } else if (subAction === "run" && method === "POST") {
@@ -17773,7 +18618,7 @@ function createMCPServer(config) {
17773
18618
  })
17774
18619
  });
17775
18620
  } catch (error) {
17776
- logger106.error("[Trigger] Failed to update scheduler:", error);
18621
+ logger124.error("[Trigger] Failed to update scheduler:", error);
17777
18622
  }
17778
18623
  }
17779
18624
  return Response.json(updated);
@@ -17790,14 +18635,14 @@ function createMCPServer(config) {
17790
18635
  body: JSON.stringify({ triggerId })
17791
18636
  });
17792
18637
  } catch (error) {
17793
- logger106.error("[Trigger] Failed to unregister from scheduler:", error);
18638
+ logger124.error("[Trigger] Failed to unregister from scheduler:", error);
17794
18639
  }
17795
18640
  return new Response(null, { status: 204 });
17796
18641
  }
17797
18642
  }
17798
18643
  return Response.json({ error: "Invalid trigger route or method" }, { status: 404 });
17799
18644
  } catch (error) {
17800
- logger106.error("[Trigger] Error:", error);
18645
+ logger124.error("[Trigger] Error:", error);
17801
18646
  return Response.json({ error: error.message || "Failed to process trigger request" }, { status: error.statusCode || 500 });
17802
18647
  }
17803
18648
  }
@@ -17823,11 +18668,11 @@ function createMCPServer(config) {
17823
18668
  const errorRedirectUrl = "/auth-error";
17824
18669
  if (error) {
17825
18670
  const errorMsg = errorDescription || error;
17826
- logger106.error("[OAuth Redirect] Error:", errorMsg);
18671
+ logger124.error("[OAuth Redirect] Error:", errorMsg);
17827
18672
  return Response.redirect(new URL(`${errorRedirectUrl}?error=${encodeURIComponent(errorMsg)}`, webRequest.url));
17828
18673
  }
17829
18674
  if (!code || !state) {
17830
- logger106.error("[OAuth Redirect] Missing code or state parameter");
18675
+ logger124.error("[OAuth Redirect] Missing code or state parameter");
17831
18676
  return Response.redirect(new URL(`${errorRedirectUrl}?error=${encodeURIComponent("Invalid OAuth callback")}`, webRequest.url));
17832
18677
  }
17833
18678
  let returnUrl = defaultRedirectUrl;
@@ -17904,7 +18749,7 @@ function createMCPServer(config) {
17904
18749
  frontendUrl.hash = `oauth_callback=${encodeURIComponent(JSON.stringify({ code, state, tokenData }))}`;
17905
18750
  return Response.redirect(frontendUrl);
17906
18751
  } catch (error2) {
17907
- logger106.error("[OAuth Backend Callback] Error:", error2);
18752
+ logger124.error("[OAuth Backend Callback] Error:", error2);
17908
18753
  return Response.redirect(new URL(`${errorRedirectUrl}?error=${encodeURIComponent(error2.message || "Failed to exchange token")}`, webRequest.url));
17909
18754
  }
17910
18755
  } else {
@@ -18184,10 +19029,19 @@ init_executor();
18184
19029
  init_tool_builder();
18185
19030
  export {
18186
19031
  zoomIntegration,
19032
+ zohoProjectsIntegration,
19033
+ zohoMailIntegration,
19034
+ zohoInvoiceIntegration,
19035
+ zohoDeskIntegration,
19036
+ zohoCrmIntegration,
19037
+ zohoCampaignsIntegration,
19038
+ zohoBooksIntegration,
19039
+ zohoAnalyticsIntegration,
18187
19040
  zendeskIntegration,
18188
19041
  zapierIntegration,
18189
19042
  youtubeIntegration,
18190
19043
  xeroIntegration,
19044
+ xIntegration,
18191
19045
  workosIntegration,
18192
19046
  workdayIntegration,
18193
19047
  wordIntegration,
@@ -18197,6 +19051,7 @@ export {
18197
19051
  vercelIntegration,
18198
19052
  upstashIntegration,
18199
19053
  typeformIntegration,
19054
+ twitchIntegration,
18200
19055
  trelloIntegration,
18201
19056
  todoistIntegration,
18202
19057
  toWebRequest,
@@ -18217,6 +19072,7 @@ export {
18217
19072
  squareIntegration,
18218
19073
  spotifyIntegration,
18219
19074
  smartthingsIntegration,
19075
+ smartsheetIntegration,
18220
19076
  slackIntegration,
18221
19077
  shopifyIntegration,
18222
19078
  sharepointIntegration,
@@ -18235,6 +19091,8 @@ export {
18235
19091
  polarIntegration,
18236
19092
  plannerIntegration,
18237
19093
  planetscaleIntegration,
19094
+ pipedriveIntegration,
19095
+ pinterestIntegration,
18238
19096
  phantomIntegration,
18239
19097
  paypalIntegration,
18240
19098
  paperIntegration,
@@ -18245,6 +19103,7 @@ export {
18245
19103
  netlifyIntegration,
18246
19104
  neonIntegration,
18247
19105
  mondayIntegration,
19106
+ miroIntegration,
18248
19107
  mercuryIntegration,
18249
19108
  mailchimpIntegration,
18250
19109
  linkedinIntegration,
@@ -18259,6 +19118,7 @@ export {
18259
19118
  gslidesIntegration,
18260
19119
  gsheetsIntegration,
18261
19120
  granolaIntegration,
19121
+ googleAdsIntegration,
18262
19122
  gmeetIntegration,
18263
19123
  gmailIntegration,
18264
19124
  gkeepIntegration,
@@ -18278,6 +19138,7 @@ export {
18278
19138
  gcalIntegration,
18279
19139
  ga4Integration,
18280
19140
  fromNodeHeaders,
19141
+ freshserviceIntegration,
18281
19142
  figmaIntegration,
18282
19143
  facebookIntegration,
18283
19144
  executeSandboxCode,
@@ -18285,7 +19146,9 @@ export {
18285
19146
  excelIntegration,
18286
19147
  etoroIntegration,
18287
19148
  encodeRedisCloudBearerToken,
19149
+ ebayIntegration,
18288
19150
  dropboxIntegration,
19151
+ docusignIntegration,
18289
19152
  discordIntegration,
18290
19153
  datadogIntegration,
18291
19154
  databricksIntegration,