@thehammer/danx-dashboard-mcp 0.1.324 → 0.1.325

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.
@@ -36,7 +36,7 @@
36
36
  * `jsonl_path`; the strict stats parser refuses every other path field.
37
37
  */
38
38
  import { basename, dirname, isAbsolute } from "node:path";
39
- import { DispatchUsage, SessionLogWatcher, createActivityObserver, } from "@thehammer/danx-session-telemetry";
39
+ import { DispatchUsage, SessionLogWatcher, createActivityObserver, readGitHead, } from "@thehammer/danx-session-telemetry";
40
40
  /**
41
41
  * DX-4233 - the one rule for a transcript path, wherever it comes from (the `transcript_path` argument of
42
42
  * `plan_events_wait`): an absolute `.jsonl` path, or a loud refusal naming `source`.
@@ -133,6 +133,10 @@ export class OperatorSessionStats {
133
133
  const path = this.transcriptPath;
134
134
  const activities = createActivityObserver({
135
135
  recordActivities: (changes) => this.usage.recordActivities(changes),
136
+ // DX-5333: each sub-agent's brief, follow-ups and reports, the problems it raised, and the commit it started from.
137
+ recordMessages: (messages) => this.usage.recordMessages(messages),
138
+ recordProblemLinks: (links) => this.usage.recordProblemLinks(links),
139
+ readHeadSha: readGitHead,
136
140
  });
137
141
  const watcher = this.makeWatcher({
138
142
  cwd: dirname(path),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thehammer/danx-dashboard-mcp",
3
- "version": "0.1.324",
3
+ "version": "0.1.325",
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, request_permission, attach_file, and danxbot_slack_reply) (DX-3465, PLN-11 R-25).",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -33,7 +33,7 @@
33
33
  "dependencies": {
34
34
  "@danxbot/plugin-sdk": "0.2.1",
35
35
  "@modelcontextprotocol/sdk": "1.29.0",
36
- "@thehammer/danx-session-telemetry": "0.1.52",
36
+ "@thehammer/danx-session-telemetry": "0.1.53",
37
37
  "zod": "^3.25.76"
38
38
  },
39
39
  "devDependencies": {