@thehammer/danx-dashboard-mcp 0.1.199 → 0.1.201
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.
- package/dist/danxbot-api-examples.js +19 -4
- package/dist/index.js +4 -3
- package/package.json +1 -1
|
@@ -12,6 +12,15 @@
|
|
|
12
12
|
* a 4xx on three writes: a card create without `plan`, an edit whose `ac[]`
|
|
13
13
|
* items were keyed `text` (and one with no `content_hash`), and a retro whose
|
|
14
14
|
* flag was false but whose description was missing, then prose.
|
|
15
|
+
* DX-3917 / DX-4015 — the phase D run found 9 work sessions writing the
|
|
16
|
+
* retro before the `complete` transition (the list went AC tick -> retro,
|
|
17
|
+
* with no transition between) and 14 of 24 writing the transition with no
|
|
18
|
+
* spec call: the transition is now a shown write, placed before the retro.
|
|
19
|
+
* DX-3923 (phase E) — four triage card reads asked `fields` for
|
|
20
|
+
* `status_derived`, a LIST filter key the card-list example showed, so the
|
|
21
|
+
* list example filters by `q`/`include_closed` instead. Two haiku AC ticks
|
|
22
|
+
* read `ac` (no checklist id) and sent `ac` / `0` as the checklist id: the
|
|
23
|
+
* card read shows only `checklists`, and both tick ids name it.
|
|
15
24
|
*
|
|
16
25
|
* Kept as data, not prose, so danxbot's own tests can check each example
|
|
17
26
|
* against the live server contract (route table, resource fields, body
|
|
@@ -22,12 +31,12 @@ export const DANXBOT_API_EXAMPLES = {
|
|
|
22
31
|
cardRead: {
|
|
23
32
|
method: "GET",
|
|
24
33
|
path: "/api/issues/<id>",
|
|
25
|
-
query: { fields: { description: true,
|
|
34
|
+
query: { fields: { description: true, comments: true, checklists: true, parent_title: true } },
|
|
26
35
|
},
|
|
27
36
|
cardList: {
|
|
28
37
|
method: "GET",
|
|
29
38
|
path: "/api/issues",
|
|
30
|
-
query: { filter: {
|
|
39
|
+
query: { filter: { q: "<text>", include_closed: true } },
|
|
31
40
|
},
|
|
32
41
|
cardCreate: {
|
|
33
42
|
method: "POST",
|
|
@@ -46,9 +55,14 @@ export const DANXBOT_API_EXAMPLES = {
|
|
|
46
55
|
},
|
|
47
56
|
acTick: {
|
|
48
57
|
method: "PATCH",
|
|
49
|
-
path: "/api/issues/<id>/checklists/<checklists[].id>/items/<items[].id>",
|
|
58
|
+
path: "/api/issues/<id>/checklists/<checklists[].id>/items/<checklists[].items[].id>",
|
|
50
59
|
body: { status: "passing" },
|
|
51
60
|
},
|
|
61
|
+
transition: {
|
|
62
|
+
method: "POST",
|
|
63
|
+
path: "/api/issues/<id>/transition",
|
|
64
|
+
body: { action: "<action>", summary: "<text>" },
|
|
65
|
+
},
|
|
52
66
|
retro: {
|
|
53
67
|
method: "PUT",
|
|
54
68
|
path: "/api/issues/<id>/retro",
|
|
@@ -78,6 +92,7 @@ export function danxbotApiExamplesText() {
|
|
|
78
92
|
`card edit ${render(e.cardEdit)} (only the keys you change; \`ac\` replaces the list); ` +
|
|
79
93
|
`comment ${render(e.comment)}; ` +
|
|
80
94
|
`AC tick ${render(e.acTick)}; ` +
|
|
81
|
-
`
|
|
95
|
+
`transition ${render(e.transition)}; ` +
|
|
96
|
+
`retro, only after \`complete\` or \`cancel\`, ${render(e.retro)} (description "" unless the flag is true; ` +
|
|
82
97
|
`\`tests[].kind\` ${RETRO_TEST_KIND_EXAMPLES.map((k) => `"${k}"`).join(" or ")}).`);
|
|
83
98
|
}
|
package/dist/index.js
CHANGED
|
@@ -340,10 +340,11 @@ const boardField = {
|
|
|
340
340
|
// ---------------- danxbot_api (DX-3465, PLN-11 R-25) ----------------
|
|
341
341
|
strictTool("danxbot_api", "Call any dashboard API route your credential may reach. `method` + `path` (a FULL path, e.g. " +
|
|
342
342
|
'"/api/issues/DX-1/transition" — substitute real ids yourself, never a route template with `:id` in it) + ' +
|
|
343
|
+
// DX-3997 — `reminders[]` also relays the dashboard's own listener reminder
|
|
344
|
+
// to a plan-connected session; the reminder's text explains itself.
|
|
343
345
|
"optional `query`/`body`. The response is the route's JSON body verbatim, `reminders[]` included when the " +
|
|
344
|
-
"route attaches one
|
|
345
|
-
"
|
|
346
|
-
"(ignored by a route that isn't board-scoped). See this server's own instructions (shown once, at connect) " +
|
|
346
|
+
"route attaches one. `board` overrides this dispatch's configured board for a board-scoped route only. " +
|
|
347
|
+
"See this server's own instructions (shown once, at connect) " +
|
|
347
348
|
"for the shared resource shape, the stale-hash rule, and how to read a refusal — don't know the route? call " +
|
|
348
349
|
"`danxbot_api_list` first. " +
|
|
349
350
|
// DX-4015 — the ONE statement of which writes need a spec call first; the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thehammer/danx-dashboard-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.201",
|
|
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",
|