@thehammer/danx-dashboard-mcp 0.1.303 → 0.1.304

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 +7 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -398,7 +398,7 @@ function readSessionConfig() {
398
398
  */
399
399
  const SERVER_INSTRUCTIONS = `\
400
400
  \`danxbot_api\` is your primary channel to the dashboard: every card, plan, Slack and dispatch-callback job (ending
401
- your dispatch included) is a call to it. Find a route with \`danxbot_api_list\`. Read its exact shape with
401
+ yours too) is a call to it. Find a route with \`danxbot_api_list\`. Read its exact shape with
402
402
  \`danxbot_api_spec\` before the first call to any route you have not called before; never guess a body.
403
403
 
404
404
  RESOURCES. Most collections take GET (list) and POST (create); a single resource (\`<collection>/<id>\`) takes
@@ -407,7 +407,7 @@ GET, PATCH or PUT (send only the fields you change) and DELETE. A card is edited
407
407
  \`total\` (page with \`limit\` and \`offset\`). Name each other field or relation you need in the \`fields\` query
408
408
  tree. \`GET /api/resources/<resource>/fields\` lists the names.
409
409
 
410
- STALE HASH. A write to contested text (a card's title, description or checklists, a plan record, a problem) sends
410
+ STALE HASH. A write to contested text (card text, a plan record, a problem) sends
411
411
  back the \`content_hash\` or \`base_hash\` you read from that resource. A stale hash is refused 409 with the current
412
412
  hash and content: merge your change into that and retry with the fresh hash.
413
413
 
@@ -417,8 +417,11 @@ REFUSALS. A 4xx body is \`{error, ...}\`, and its other fields name the fix: \`o
417
417
  WRITING STANDARD, for every title, summary, description, comment, problem, solution and plan record you write. The
418
418
  reader is new to the subject and will not read the code or docs: what you write is their documentation. Open with
419
419
  plain background (what the thing is, why it exists, what is wrong or what the choice changes) before evidence.
420
- Define each term a newcomer would not know. Cite exact ids, SHAs and paths. Be brief: less to read, never a
421
- transcript of your reasoning. A title or summary alone must let the reader decide.
420
+ Define each term a newcomer would not know. Cite exact ids, SHAs and paths. Be brief; never transcribe your
421
+ reasoning. A title or summary alone must let the reader decide.
422
+
423
+ DESIGN. UI designs and style options go on a Design card (\`design_publish\`), never an Artifact or HTML page.
424
+ Decide choices yourself; show alternatives as design states, never ask.
422
425
  `;
423
426
  assertWithinTextLimit("the server instructions", SERVER_INSTRUCTIONS);
424
427
  export const server = new McpServer({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thehammer/danx-dashboard-mcp",
3
- "version": "0.1.303",
3
+ "version": "0.1.304",
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",