@thehammer/danx-dashboard-mcp 0.1.40 → 0.1.41

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 +9 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -127,8 +127,15 @@ const EFFORT_VALUES = [
127
127
  "very_high",
128
128
  "max",
129
129
  ];
130
- const ISSUE_TYPES = ["Epic", "Bug", "Feature", "Story", "Chore"];
131
- const NON_EPIC_TYPES = ["Bug", "Feature", "Story", "Chore"];
130
+ // DX-2479 `Task` is a planning record: a leaf card the dispatcher can never
131
+ // pick up. Convert it to a Story/Bug/Chore with the raw route
132
+ // `PATCH /api/issues/:id/edit {"type":"Story"}` — the MCP `issue_edit` tool has
133
+ // NO `type` parameter today, so an `issue_edit({type:"Story"})` call is silently
134
+ // stripped by Zod and 400s as an empty patch. Adding `type` to that tool is
135
+ // tracked as DX-2484. Accepted everywhere a type is, so a planning card can
136
+ // still be CREATED through this MCP.
137
+ const ISSUE_TYPES = ["Epic", "Bug", "Feature", "Story", "Chore", "Task"];
138
+ const NON_EPIC_TYPES = ["Bug", "Feature", "Story", "Chore", "Task"];
132
139
  // DX-935 / DX-937 — field-group taxonomy for the nested read envelope,
133
140
  // hand-copied from `src/issues/read/field-groups.ts` (LIST_GROUPS / GET_GROUPS
134
141
  // — this package cannot import server source). Drift surfaces at runtime as a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thehammer/danx-dashboard-mcp",
3
- "version": "0.1.40",
3
+ "version": "0.1.41",
4
4
  "description": "Stdio MCP server wrapping danxbot's dashboard /api/issues/* normalized DB-backed HTTP routes for dispatched agents (DX-704 Phase 2).",
5
5
  "license": "MIT",
6
6
  "type": "module",