@thehammer/danx-dashboard-mcp 0.1.208 → 0.1.209

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.
@@ -5,10 +5,14 @@
5
5
  * the main danxbot repo — this package cannot import them, see below).
6
6
  *
7
7
  * The dashboard stamps `X-Danx-Mcp-Min-Version` on every routed `/api/*`
8
- * response with its currently-advertised floor (`MIN_MCP_VERSION` in
9
- * `src/mcp-contract.ts` — DX-3597 made that floor track the version where
10
- * an MCP-exposed contract last changed, not "whatever's currently
11
- * published"; see that file's module doc for the full decision).
8
+ * response with the floor of the `api` surface (`MCP_SURFACE_MIN_VERSIONS.api`
9
+ * in `src/mcp-contract.ts` — DX-3597 made a floor track the version where
10
+ * its surface's MCP-exposed contract last changed, not "whatever's currently
11
+ * published"; DX-4215 scoped floors per surface, so only a change to the
12
+ * `danxbot_api` passthrough itself blocks this client's calls. A floor for
13
+ * another surface, such as the stats wire, is enforced by the server on
14
+ * requests to that surface alone and never reaches this header; see that
15
+ * file's module doc for the full decision).
12
16
  *
13
17
  * `DashboardHttpClient.request()` (`./http-client.ts`) reads this header on
14
18
  * the FIRST call this process makes (regardless of outcome — a proactive
@@ -104,8 +108,8 @@ export class McpOutdatedError extends Error {
104
108
  have;
105
109
  need;
106
110
  constructor(have, need) {
107
- super(`[danx-dashboard-mcp] mcp_outdated: this MCP is running ${MCP_PACKAGE_NAME}@${have}, but the dashboard ` +
108
- `requires >= ${need}. Restart your Claude Code session to pick up the published update.`);
111
+ super(`[danx-dashboard-mcp] mcp_outdated: this MCP is running ${MCP_PACKAGE_NAME}@${have}, but the dashboard's ` +
112
+ `danxbot_api surface requires >= ${need}. Restart your Claude Code session to pick up the published update.`);
109
113
  this.name = "McpOutdatedError";
110
114
  this.have = have;
111
115
  this.need = need;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thehammer/danx-dashboard-mcp",
3
- "version": "0.1.208",
3
+ "version": "0.1.209",
4
4
  "description": "Stdio MCP server fronting danxbot's dashboard API for agents (operator sessions and dispatched workers alike): the generic danxbot_api/danxbot_api_list/danxbot_api_spec tools reach any route the caller's credential may call, plus dedicated agent-specific tools (plan_connect, danxbot_complete, and other per-dispatch lifecycle callbacks) (DX-3465, PLN-11 R-25).",
5
5
  "license": "MIT",
6
6
  "type": "module",