vantage-peers-mcp 2.4.10 → 2.4.12

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/dist/src/auth.js +8 -1
  2. package/package.json +1 -1
package/dist/src/auth.js CHANGED
@@ -97,7 +97,14 @@ export function checkFromAllowed(ctx, from) {
97
97
  return null;
98
98
  if (ctx.fromAllowList.includes(from))
99
99
  return null;
100
- return `Forbidden: from='${from}' is not in this client's allowlist (scope_profile=${ctx.scopeProfile}).`;
100
+ // Day 88 friction capitalize: surface the allowed values so the LLM caller
101
+ // can self-correct on the next attempt instead of guessing identifiers.
102
+ // Marie onboarding case (2026-06-01): Claude.ai guessed "Greek letter" when
103
+ // the actual allowlist was ["marie"].
104
+ const allowed = ctx.fromAllowList.length === 0
105
+ ? "(none — this client has no allowed 'from' identities)"
106
+ : ctx.fromAllowList.join(", ");
107
+ return `Forbidden: from='${from}' is not in this client's allowlist (scope_profile=${ctx.scopeProfile}). Allowed: ${allowed}.`;
101
108
  }
102
109
  /**
103
110
  * Checks namespace against prefix list. A prefix of "*" means any namespace.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vantage-peers-mcp",
3
- "version": "2.4.10",
3
+ "version": "2.4.12",
4
4
  "description": "MCP server for VantagePeers — shared memory, messaging, and task coordination for AI agent teams",
5
5
  "type": "module",
6
6
  "main": "./dist/server.js",