@velaro/mcp-server 0.6.78 → 0.6.80

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 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velaro/mcp-server",
3
- "version": "0.6.78",
3
+ "version": "0.6.80",
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
@@ -2506,7 +2506,7 @@ For multiSelect dynamic options: the variable named in dynamicOptionsVariable mu
2506
2506
  // ── Page Widgets ──────────────────────────────────────────────────────────
2507
2507
  {
2508
2508
  name: 'page_widget_list',
2509
- description: 'List all page widgets (Click-to-Call, Click-to-Text, Topic Chat, Product Inquiry, KB search) configured for this site. Returns id, widgetId, widgetType, isEnabled, and the snippet-ready URL.',
2509
+ description: 'List all page widgets (Click-to-Call, Click-to-Text, Topic Chat, Product Inquiry, KB search, Job Search) configured for this site. Returns id, widgetId, widgetType, isEnabled, and the snippet-ready URL.',
2510
2510
  inputSchema: { type: 'object', properties: {}, required: [] },
2511
2511
  },
2512
2512
  {
@@ -4643,14 +4643,15 @@ For multiSelect dynamic options: the variable named in dynamicOptionsVariable mu
4643
4643
  },
4644
4644
  {
4645
4645
  name: 'recruiting_list_applications',
4646
- description: 'List candidate applications submitted via the Recruiting Bot for this site (name, email, phone, role interest, work authorization, availability, submitted timestamp).',
4646
+ description: 'List candidate applications submitted via the Recruiting Bot for this site (name, email, phone, role interest, work authorization, availability, submitted timestamp). Never contains EEOC self-ID data.',
4647
4647
  inputSchema: { type: 'object', properties: {}, required: [] },
4648
4648
  },
4649
4649
  // Recruiting/Applications/ExportEeoc (voluntary self-ID CSV export) is intentionally NOT
4650
- // exposed as an MCP tool -- it returns sensitive EEOC/OFCCP self-identification PII in bulk,
4651
- // and the existing admin-UI export link + `velaro recruiting applications export-eeoc` CLI
4652
- // command are the appropriate surfaces for a human-initiated compliance export, not an
4653
- // AI-reachable tool.
4650
+ // exposed as an MCP tool -- it returns sensitive EEOC/OFCCP self-identification PII in bulk.
4651
+ // It is administrator-only and audit-logged server-side (403 for ordinary agents); the
4652
+ // admin-UI export button (Administrators only) and `velaro recruiting applications
4653
+ // export-eeoc` CLI command are the appropriate surfaces for a human-initiated compliance
4654
+ // export, not an AI-reachable tool. EEOC data is never returned per application.
4654
4655
 
4655
4656
  // -- Multi-employer job board: named posting sources --
4656
4657
  // Requires EnableRecruitingBot + EnableJobBoardMultiEmployer. Same siteId-from-auth-context
@@ -7267,7 +7268,7 @@ async function handleTool(name, args) {
7267
7268
  const alerts = [];
7268
7269
  if (s.disconnectEvents > 0) alerts.push(`⚠ ${s.disconnectEvents} disconnect(s)`);
7269
7270
  if (s.tabHiddenEvents > 0) alerts.push(`⚠ ${s.tabHiddenEvents} tab hidden`);
7270
- const recentDisconnects = (a.connectionEvents || []).filter(e => e.event?.toLowerCase().includes('disconnect')).slice(-3);
7271
+ const recentDisconnects = (a.connectionEvents || []).filter(e => e.event?.toLowerCase().includes('disconnect')).slice(0, 3); // connectionEvents are newest-first
7271
7272
  return [
7272
7273
  ` ${a.agentName}${a.email ? ' <' + a.email + '>' : ''}`,
7273
7274
  ` Status time: ${statusParts.join(' | ') || 'no data'}`,