@velaro/mcp-server 2.0.38 → 2.0.40

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 (2) hide show
  1. package/package.json +1 -1
  2. package/server.js +8 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velaro/mcp-server",
3
- "version": "2.0.38",
3
+ "version": "2.0.40",
4
4
  "description": "Velaro MCP server — connect Claude and other AI agents directly to your Velaro account: KB, workflows, bots, conversations, contacts, routing, and more.",
5
5
  "type": "module",
6
6
  "bin": {
package/server.js CHANGED
@@ -1644,6 +1644,11 @@ For multiSelect dynamic options: the variable named in dynamicOptionsVariable mu
1644
1644
  pushDailyDigest: { type: 'boolean', description: 'Daily digest (off by default)' },
1645
1645
  dailyPushCap: { type: 'number', description: 'Max alerts per day for this site' },
1646
1646
  resetDailyPushCap: { type: 'boolean', description: 'Clear the per-site cap (use platform default)' },
1647
+ statusPostMinutes: { type: 'number', description: 'Post a status card into the Teams channel every N minutes (5-1440; the plan sets how often at most)' },
1648
+ clearStatusPost: { type: 'boolean', description: 'Stop the scheduled status posts' },
1649
+ statusAlertQueue: { type: 'number', description: 'Post a status as soon as this many chats are waiting (0 = no limit)' },
1650
+ statusAlertWaitMinutes: { type: 'number', description: 'Post a status as soon as the longest wait reaches this many minutes (0 = no limit)' },
1651
+ clearStatusThresholds: { type: 'boolean', description: 'Remove both status limits' },
1647
1652
  },
1648
1653
  required: [],
1649
1654
  },
@@ -2151,7 +2156,7 @@ For multiSelect dynamic options: the variable named in dynamicOptionsVariable mu
2151
2156
  },
2152
2157
  {
2153
2158
  name: 'product_sync_status',
2154
- description: 'Show e-commerce product catalog sync status per platform (Shopify, BigCommerce, WooCommerce, Magento): whether a store is connected, last successful nightly ingestion time, number of products currently indexed, whether any indexing errors are outstanding, and the site\'s product-index cap (Subscription.MaxProductsIndexed). Note: WooCommerce/Magento have no nightly ingestion job yet — they report ingestionAvailable=false and always answer live from the store API. Price/availability shown to customers is ALWAYS fetched live regardless of ingestion state — this tool never reflects stale pricing. Site is resolved server-side from the caller\'s auth context, never a client-supplied value.',
2159
+ description: 'Show e-commerce product catalog sync status per platform (Shopify, BigCommerce, WooCommerce, Magento): whether a store is connected, last successful nightly ingestion time, number of products currently indexed, whether any indexing errors are outstanding, and the site\'s product-index cap (Subscription.MaxProductsIndexed). All four platforms have a scheduled ingestion job. Price and availability shown to customers are fetched live from the store at answer time, so this status reflects the search index only. Site is resolved server-side from the caller\'s auth context, never a client-supplied value.',
2155
2160
  inputSchema: { type: 'object', properties: {} },
2156
2161
  },
2157
2162
 
@@ -5994,7 +5999,7 @@ reply: ${r?.reply}`;
5994
5999
 
5995
6000
  case 'teams_push_settings_update': {
5996
6001
  const body = {};
5997
- for (const k of ['pushNewChat','pushMissed','pushTicketCreated','pushTicketAssigned','pushDailyDigest','dailyPushCap','resetDailyPushCap'])
6002
+ for (const k of ['pushNewChat','pushMissed','pushTicketCreated','pushTicketAssigned','pushDailyDigest','dailyPushCap','resetDailyPushCap','statusPostMinutes','clearStatusPost','statusAlertQueue','statusAlertWaitMinutes','clearStatusThresholds'])
5998
6003
  if (args[k] !== undefined) body[k] = args[k];
5999
6004
  return await api('PUT', '/TeamsBot/PushSettings', body);
6000
6005
  }
@@ -6581,7 +6586,7 @@ reply: ${r?.reply}`;
6581
6586
  `=== Product Sync Status ===`,
6582
6587
  `Cap: ${data.maxProductsIndexed?.toLocaleString() ?? 'unlimited'} products indexed`,
6583
6588
  ...data.platforms.map(p => {
6584
- if (!p.ingestionAvailable) return ` ${p.platform.padEnd(12)} no nightly ingestion yet — always live lookup`;
6589
+ if (!p.ingestionAvailable) return ` ${p.platform.padEnd(12)} no scheduled ingestion for this platform — always live lookup`;
6585
6590
  const conn = p.configured === null ? '' : p.configured ? 'connected' : 'not connected';
6586
6591
  const last = p.lastSyncAt ? new Date(p.lastSyncAt).toISOString() : 'never';
6587
6592
  const err = p.hasErrors ? ' [has errors]' : '';