denpex-mcp 0.2.21 → 0.2.23

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/index.js +6 -11
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -12349,18 +12349,13 @@ function registerFollowup(server, ctx) {
12349
12349
  // Follow-ups use the same deep worker and 290s API ceiling as diagnosis.
12350
12350
  timeoutMs: 32e4
12351
12351
  });
12352
- const r = reply.reply ?? {};
12353
- const lines = [];
12354
- if (typeof r.summary === "string") lines.push(r.summary);
12355
- if (typeof r.action === "string") lines.push("", `**Suggested action:** ${r.action}`);
12356
- const clar = r.clarifyingQuestions;
12357
- if (Array.isArray(clar) && clar.length) {
12358
- lines.push("", "**To narrow it down:**");
12359
- for (const q of clar) if (typeof q === "string") lines.push(`- ${q}`);
12360
- }
12352
+ if (!reply.reply || typeof reply.reply !== "object" || Array.isArray(reply.reply)) return toolText("No complete follow-up report returned. Retry without treating this as a diagnosis.", true);
12353
+ const r = reply.reply;
12354
+ const view = viewFromCloud({ ...r, fix: r, forensicReport: r.forensicReport, diagnosisId, meta: { failureType: r.failureType, confidence: r.confidence } });
12355
+ const lines = [renderDiagnosis(view)];
12361
12356
  const cid = reply.conversationId;
12362
12357
  if (typeof cid === "string") lines.push("", `_conversationId: ${cid} (pass this back to continue)_`);
12363
- return toolText(lines.join("\n").trim() || "No reply returned.");
12358
+ return toolResult(lines.join("\n").trim(), { ...structuredDiagnosis(view), conversationId: typeof cid === "string" ? cid : null });
12364
12359
  } catch (e) {
12365
12360
  return toolText(describeError(e, { tier: "Team", tool: "ask_followup" }), true);
12366
12361
  }
@@ -12973,7 +12968,7 @@ function registerPrompts(server) {
12973
12968
 
12974
12969
  // src/version.ts
12975
12970
  var SERVER_NAME = "denpex";
12976
- var SERVER_VERSION = "0.2.21";
12971
+ var SERVER_VERSION = "0.2.23";
12977
12972
 
12978
12973
  // src/server.ts
12979
12974
  function createServer() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "denpex-mcp",
3
- "version": "0.2.21",
3
+ "version": "0.2.23",
4
4
  "description": "Denpex MCP server, diagnose GPU/ML training failures (CUDA OOM, NCCL timeouts, Xid faults, NaN loss) from Claude Desktop, Cursor, or Claude Code, with optional explicit zero-egress mode.",
5
5
  "type": "module",
6
6
  "license": "MIT",