@thehammer/danx-dashboard-mcp 0.1.241 → 0.1.242

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/activity.js +3 -1
  2. package/package.json +2 -2
package/dist/activity.js CHANGED
@@ -62,6 +62,7 @@
62
62
  */
63
63
  import { win32 } from "node:path";
64
64
  import { readFileSync } from "node:fs";
65
+ import { labelOf } from "@thehammer/danx-session-telemetry";
65
66
  import { parseEventAtArg } from "./background-work.js";
66
67
  import { resolveSessionOptions, sendSessionRequest, tryParseJsonBody } from "./one-shot-session-request.js";
67
68
  export const ACTIVITY_SUBCOMMAND = "activity";
@@ -130,7 +131,8 @@ export function activityChangeFromHook(event, envelope, eventAtMs) {
130
131
  kind: "bash",
131
132
  activityId: e.tool_use_id,
132
133
  agentType: null,
133
- description: nonEmptyString(toolInput.description) ? toolInput.description : null,
134
+ // DX-4498 — agent-written free text, so it is redacted like every label that reaches the running set.
135
+ description: labelOf(toolInput.description),
134
136
  startedAt: eventAtMs,
135
137
  // No hook ever refreshes or ends a background shell (see the module docblock), so
136
138
  // its liveness is its start and `finishedAt` stays null until the dispatch ends.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thehammer/danx-dashboard-mcp",
3
- "version": "0.1.241",
3
+ "version": "0.1.242",
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",
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@modelcontextprotocol/sdk": "1.29.0",
34
- "@thehammer/danx-session-telemetry": "0.1.26",
34
+ "@thehammer/danx-session-telemetry": "0.1.27",
35
35
  "zod": "^3.25.76"
36
36
  },
37
37
  "devDependencies": {