@velaro/mcp-server 2.0.88 → 2.0.90

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velaro/mcp-server",
3
- "version": "2.0.88",
3
+ "version": "2.0.90",
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": {
@@ -0,0 +1,14 @@
1
+ // velaro compliance readiness (customer): the Compliance Readiness checklist. Read-only. Site comes from the credential.
2
+ // Parity module (CLI group "compliance" -> MCP tool compliance_readiness).
3
+
4
+ export const tools = [
5
+ {
6
+ name: 'compliance_readiness',
7
+ description: 'Compliance Readiness checklist for your site: which settings are turned on (AI Features Acknowledgment, call recording notice, AI greeting, chat consent, PII redaction, safety controls, human takeover path, transcript retention, current Terms), with who set each up and when where known, and a one-line how-to for each missing one. A check mark means a setting is on; it does not mean it is correct or legally sufficient. Returns 403 for sites without a Compliance package.',
8
+ inputSchema: { type: 'object', properties: {} },
9
+ },
10
+ ];
11
+
12
+ export const handlers = {
13
+ compliance_readiness: async (_a, ctx) => ctx.api('GET', '/ComplianceReadiness'),
14
+ };
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"
@@ -11,7 +11,7 @@ const READ_TOKENS = new Set([
11
11
  'list', 'get', 'search', 'status', 'diagnose', 'diagnostics', 'health', 'preview', 'lookup',
12
12
  'timeline', 'explain', 'audit', 'check', 'verify', 'summary', 'snapshot', 'benchmarks', 'stats',
13
13
  'usage', 'errors', 'insights', 'report', 'overview', 'runbook', 'evidence', 'calculator', 'eligible',
14
- 'config', 'urls',
14
+ 'config', 'urls', 'readiness',
15
15
  ]);
16
16
 
17
17
  // Names that contain a read-looking token but change state (checked before READ_TOKENS).