@thehammer/danx-dashboard-mcp 0.1.298 → 0.1.300
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/handlers.js +1 -0
- package/dist/http-client.js +3 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/dist/handlers.js
CHANGED
package/dist/http-client.js
CHANGED
|
@@ -50,6 +50,9 @@ export class DashboardHttpClient {
|
|
|
50
50
|
if (this.config.session) {
|
|
51
51
|
headers["x-danx-session-id"] = this.config.session.id;
|
|
52
52
|
}
|
|
53
|
+
if (args.background === true) {
|
|
54
|
+
headers["x-danx-plugin-background"] = "1";
|
|
55
|
+
}
|
|
53
56
|
let bodyString;
|
|
54
57
|
if (args.body !== undefined) {
|
|
55
58
|
headers["Content-Type"] = "application/json";
|
package/dist/index.js
CHANGED
|
@@ -568,6 +568,8 @@ strictTool("danxbot_api",
|
|
|
568
568
|
// instead of reaching the dashboard malformed.
|
|
569
569
|
body: bodyValueSchema.optional(),
|
|
570
570
|
...boardField,
|
|
571
|
+
// DX-5033 - sends x-danx-plugin-background (see DanxbotApiArgs.background); an agent setting it would hide its own calls from the pause and idle logic.
|
|
572
|
+
background: z.boolean().optional().describe("Set only by plugin hooks; an agent never sets it."),
|
|
571
573
|
},
|
|
572
574
|
// DX-3997 — the result rides back verbatim, plus the dashboard's own `reminders[]` entries
|
|
573
575
|
// for this plan-connected session (the server decides; `listener-reminder.ts` only relays).
|
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.300",
|
|
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",
|