@velaro/mcp-server 2.0.87 → 2.0.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/server.js +14 -1
- package/tool-annotations.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@velaro/mcp-server",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.89",
|
|
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
|
@@ -1005,6 +1005,9 @@ const TOOLS = [
|
|
|
1005
1005
|
description: `Update a single node in a workflow. Use workflow_get first to read current nodes, then pass the full updated node. The node must already exist.
|
|
1006
1006
|
|
|
1007
1007
|
Key node shapes:
|
|
1008
|
+
• collectFile: { type:"action", actionType:"collectFile", collectFilePrompt:"...", collectFileAllowedTypes:"image/*", collectFileMinFiles:1, collectFileMaxFiles:3, collectFileMaxAttempts:2, collectFileOutputVar:"evidence", child:N /*evidence received*/, invalidChild:N /*no evidence*/ }
|
|
1009
|
+
• governedAction: { type:"action", actionType:"governedAction", governedActionName:"...", governedActionRequestJson:"{...}", governedActionOutputVar:"governed", child:N /*success*/, governedDeniedChildId:N, governedNeedsApprovalChildId:N, errorChildId:N }
|
|
1010
|
+
• requestApproval: { type:"action", actionType:"requestApproval", approvalSummary:"Refund for order <<order.number>>" /*required*/, TimeoutSeconds:86400, child:N /*approved*/, deniedChildId:N /*falls back to TimeoutChildId*/, TimeoutChildId:N /*expired*/, errorChildId:N }
|
|
1008
1011
|
• sendMessage: { type:"action", actionType:"sendMessage", text:"...", child:N }
|
|
1009
1012
|
• askQuestion multiSelect: { type:"action", actionType:"askQuestion", questionType:"multiSelect",
|
|
1010
1013
|
options:[{label:"...",value:"..."}], // static list OR omit if using optionsSource:"dynamic"
|
|
@@ -1769,6 +1772,11 @@ For multiSelect dynamic options: the variable named in dynamicOptionsVariable mu
|
|
|
1769
1772
|
description: 'Get the Velaro Bot proactive-alert settings for this site: per-alert switches (new chat, missed chat, ticket created, ticket assigned, daily digest), the effective daily cap and the push count for today. Site is resolved server-side.',
|
|
1770
1773
|
inputSchema: { type: 'object', properties: {}, required: [] },
|
|
1771
1774
|
},
|
|
1775
|
+
{
|
|
1776
|
+
name: 'teams_push_targets_list',
|
|
1777
|
+
description: 'List the Teams destinations (channels and chats) the Velaro Bot can post this site alerts into, with type, team and channel name, which one is pinned and which one is in use. Use a refId with teams_push_settings_update pinnedConversationRefId.',
|
|
1778
|
+
inputSchema: { type: 'object', properties: {}, required: [] },
|
|
1779
|
+
},
|
|
1772
1780
|
{
|
|
1773
1781
|
name: 'teams_push_settings_update',
|
|
1774
1782
|
description: 'Change the Velaro Bot proactive-alert settings for this site. Only fields you pass are changed; omitted fields keep their value. Set resetDailyPushCap=true to clear the per-site cap and use the platform default.',
|
|
@@ -1780,6 +1788,8 @@ For multiSelect dynamic options: the variable named in dynamicOptionsVariable mu
|
|
|
1780
1788
|
pushTicketCreated: { type: 'boolean', description: 'Ticket created alerts' },
|
|
1781
1789
|
pushTicketAssigned: { type: 'boolean', description: 'Ticket assigned alerts' },
|
|
1782
1790
|
pushDailyDigest: { type: 'boolean', description: 'Daily digest (off by default)' },
|
|
1791
|
+
pinnedConversationRefId: { type: 'number', description: 'Pin alerts to this Teams destination (refId from teams_push_targets_list)' },
|
|
1792
|
+
clearPinnedConversation: { type: 'boolean', description: 'Unpin; alerts go to the most recently active Teams conversation' },
|
|
1783
1793
|
dailyPushCap: { type: 'number', description: 'Max alerts per day for this site' },
|
|
1784
1794
|
resetDailyPushCap: { type: 'boolean', description: 'Clear the per-site cap (use platform default)' },
|
|
1785
1795
|
statusPostMinutes: { type: 'number', description: 'Post a status card into the Teams channel every N minutes (5-1440; the plan sets how often at most)' },
|
|
@@ -6431,9 +6441,12 @@ reply: ${r?.reply}`;
|
|
|
6431
6441
|
case 'teams_push_settings_get':
|
|
6432
6442
|
return await api('GET', '/TeamsBot/PushSettings');
|
|
6433
6443
|
|
|
6444
|
+
case 'teams_push_targets_list':
|
|
6445
|
+
return await api('GET', '/TeamsBot/PushTargets');
|
|
6446
|
+
|
|
6434
6447
|
case 'teams_push_settings_update': {
|
|
6435
6448
|
const body = {};
|
|
6436
|
-
for (const k of ['pushNewChat','pushMissed','pushTicketCreated','pushTicketAssigned','pushDailyDigest','dailyPushCap','resetDailyPushCap','statusPostMinutes','clearStatusPost','statusAlertQueue','statusAlertWaitMinutes','clearStatusThresholds'])
|
|
6449
|
+
for (const k of ['pinnedConversationRefId','clearPinnedConversation','pushNewChat','pushMissed','pushTicketCreated','pushTicketAssigned','pushDailyDigest','dailyPushCap','resetDailyPushCap','statusPostMinutes','clearStatusPost','statusAlertQueue','statusAlertWaitMinutes','clearStatusThresholds'])
|
|
6437
6450
|
if (args[k] !== undefined) body[k] = args[k];
|
|
6438
6451
|
return await api('PUT', '/TeamsBot/PushSettings', body);
|
|
6439
6452
|
}
|
package/tool-annotations.js
CHANGED
|
@@ -47,7 +47,7 @@ const READ_ONLY_EXPLICIT = new Set([
|
|
|
47
47
|
'kpi_snapshot', 'site_info', 'case_board', 'case_list_types', 'ivr_agent_availability', 'contactlist_get',
|
|
48
48
|
'service_level_report', 'call_activity_report', 'callrail_get_attributions', 'product_sync_status',
|
|
49
49
|
'report_export_status', 'report_data_export', 'automation_draft_list',
|
|
50
|
-
'focus_get_draft_pregeneration_report', 'teams_push_settings_get', 'call_center_team_breakdown',
|
|
50
|
+
'focus_get_draft_pregeneration_report', 'teams_push_settings_get', 'teams_push_targets_list', 'call_center_team_breakdown',
|
|
51
51
|
'call_center_channel_breakdown', 'outbound_activity_for_contact', 'integration_skill_logs',
|
|
52
52
|
'magento_activity_logs', 'chat_intelligence_themes', 'chat_intelligence_recommendations',
|
|
53
53
|
'index_move_preview', 'index_split_preview', 'canned_learning_suggestions', 'canned_learning_teams', 'canned_learning_usage',
|