@50arms/platform-mcp 0.1.446 → 0.1.447
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/README.md +7 -0
- package/dist/listen.js +4 -2
- package/dist/machine-toolkit.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -112,6 +112,13 @@ the danxbot checkout root:
|
|
|
112
112
|
make test PROJECT=packages/danx-dashboard-mcp [FILES='__tests__/<file>.test.ts']
|
|
113
113
|
```
|
|
114
114
|
|
|
115
|
+
A test that boots the real built server or drives Docker is named `*.e2e.test.ts` (DX-6981, PLAN-129 R-11) and is left out of that run. The end-to-end suite
|
|
116
|
+
(verify-boot, the real-server wiring tests) is one command:
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
make test PROJECT=packages/danx-dashboard-mcp FILES=.e2e.test.ts
|
|
120
|
+
```
|
|
121
|
+
|
|
115
122
|
## Publishing
|
|
116
123
|
|
|
117
124
|
Out of scope for this package's own code — the `make publish-platform-mcp` target in the danxbot root Makefile owns version bump + `npm publish` + propagation wait. Standing operator authorization per `~/.claude/skills/thehammer-publish/`.
|
package/dist/listen.js
CHANGED
|
@@ -236,7 +236,7 @@ export function invalidEventReason(value) {
|
|
|
236
236
|
return isCappedText(d.reason) ? null : "detail.reason is not capped text";
|
|
237
237
|
// DX-4078: the operator's verdict on a design revision. An outcome this listener does not know is refused, never rendered as the bare
|
|
238
238
|
// kind line, which would name no outcome and no note and leave the agent to re-read the card. `rejected` and `changes_requested` always
|
|
239
|
-
// carry their note (the
|
|
239
|
+
// carry their note (the decisions route refuses one without it); `approved` may carry none.
|
|
240
240
|
case "design_decided": {
|
|
241
241
|
if (typeof d.decision_id !== "number")
|
|
242
242
|
return "detail.decision_id is not a number";
|
|
@@ -372,8 +372,10 @@ function describe(event) {
|
|
|
372
372
|
const note = d.note;
|
|
373
373
|
// DX-5193: a card holds several designs, so the line names which one the verdict closes.
|
|
374
374
|
const revision = `revision ${d.revision_no} of design ${d.design_no} "${d.design_title}"`;
|
|
375
|
+
// DX-5875 / DX-7014: an approval names the person's picks from the design's option groups, so the builder has them in the frame.
|
|
376
|
+
const picks = typeof d.picks === "string" ? ` with options: ${d.picks}` : "";
|
|
375
377
|
if (d.outcome === "approved")
|
|
376
|
-
return `${who} APPROVED ${revision}${note === null ? "" : ` — note: ${quoted(note)}`}. That design is the one to build from; the person can still withdraw the choice until the build is picked up, so build from the design the card holds now`;
|
|
378
|
+
return `${who} APPROVED ${revision}${picks}${note === null ? "" : ` — note: ${quoted(note)}`}. That design is the one to build from; the person can still withdraw the choice until the build is picked up, so build from the design the card holds now`;
|
|
377
379
|
if (d.outcome === "rejected")
|
|
378
380
|
return `${who} REJECTED ${revision} — reason: ${quoted(note)}. That design is closed; do not continue it`;
|
|
379
381
|
return `${who} requested changes on ${revision} — ${quoted(note)}. Publish a new revision that addresses it`;
|
package/dist/machine-toolkit.js
CHANGED
|
@@ -250,7 +250,7 @@ function resolveToolkitVersion(stamped, readManifest) {
|
|
|
250
250
|
return stamped ?? readManifest();
|
|
251
251
|
}
|
|
252
252
|
var readOwnManifest = () => JSON.parse(readFileSync2(new URL("../../package.json", import.meta.url), "utf8")).version;
|
|
253
|
-
var TOOLKIT_VERSION = resolveToolkitVersion(false ? void 0 : "0.1.
|
|
253
|
+
var TOOLKIT_VERSION = resolveToolkitVersion(false ? void 0 : "0.1.447", readOwnManifest);
|
|
254
254
|
function envelope(now) {
|
|
255
255
|
return { contract_version: CONTRACT_VERSION, toolkit_version: TOOLKIT_VERSION, profile: PROFILE, measured_at: now.toISOString() };
|
|
256
256
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@50arms/platform-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.447",
|
|
4
4
|
"description": "Stdio MCP server fronting the 50 Arms dashboard API for agents (operator sessions and dispatched workers alike): the generic 50arms_api/50arms_api_list/50arms_api_spec tools reach any route the caller's credential may call, plus dedicated agent-specific tools (session_connect, request_permission, attach_file, and 50arms_slack_reply) (DX-3465, PLN-11 R-25).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|