@thehammer/danx-dashboard-mcp 0.1.245 → 0.1.246

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.
@@ -41,7 +41,14 @@ export const DANXBOT_API_EXAMPLES = {
41
41
  cardCreate: {
42
42
  method: "POST",
43
43
  path: "/api/issues",
44
- body: { board: "<repo>:<slug>", type: "Bug", title: "<title>", description: "<markdown>", plan: null },
44
+ body: {
45
+ board: "<repo>:<slug>",
46
+ type: "Bug",
47
+ title: "<title>",
48
+ summary: "<one plain line: what this card is>",
49
+ description: "<markdown>",
50
+ plan: null,
51
+ },
45
52
  },
46
53
  cardEdit: {
47
54
  method: "PATCH",
@@ -88,7 +95,7 @@ export function danxbotApiExamplesText() {
88
95
  const e = DANXBOT_API_EXAMPLES;
89
96
  return (`Correct first calls: card read ${render(e.cardRead)} (\`fields\` is an object, never a comma string); ` +
90
97
  `card list ${render(e.cardList)} (filters only inside \`filter\`); ` +
91
- `card create ${render(e.cardCreate)} (\`plan\` required: "mine" or null); ` +
98
+ `card create ${render(e.cardCreate)} (\`plan\` required: "mine" or null; \`summary\` required, on every phase_children[] item too); ` +
92
99
  `card edit ${render(e.cardEdit)} (only the keys you change; \`ac\` replaces the list); ` +
93
100
  `comment ${render(e.comment)}; ` +
94
101
  `AC tick ${render(e.acTick)}; ` +
package/dist/lifecycle.js CHANGED
@@ -319,6 +319,10 @@ export function registerLifecycleTools(strictTool) {
319
319
  .enum(["Bug", "Story", "Chore"])
320
320
  .describe("The card type. Never Epic/Feature — a single Slack request never warrants a container card."),
321
321
  title: z.string().describe("Card title."),
322
+ summary: z
323
+ .string()
324
+ .min(1)
325
+ .describe("REQUIRED (DX-4515): one plain line saying what the card is, shown at the top of the card page."),
322
326
  description: z
323
327
  .string()
324
328
  .describe("Card description — sourced from the triggering human message's content."),
@@ -336,6 +340,7 @@ export function registerLifecycleTools(strictTool) {
336
340
  const body = {
337
341
  type: args.type,
338
342
  title: args.title,
343
+ summary: args.summary,
339
344
  description: args.description,
340
345
  };
341
346
  if (args.ac !== undefined)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thehammer/danx-dashboard-mcp",
3
- "version": "0.1.245",
3
+ "version": "0.1.246",
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",