@50arms/platform-mcp 0.1.586 → 0.1.588

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/listen.js CHANGED
@@ -565,9 +565,7 @@ export function invalidNudgeReason(value) {
565
565
  return "unreadied is not a {id,title}[] array";
566
566
  if (!isReviewableNudgeCardRefArray(value.reviewable))
567
567
  return "reviewable is not a {id,title,gate}[] array";
568
- // DX-8404: read when present, never refused when absent (see `NudgeEvent.landingReleased`).
569
- if (value.landingReleased !== undefined &&
570
- !isLandingReleasedNudgeCardRefArray(value.landingReleased))
568
+ if (!isLandingReleasedNudgeCardRefArray(value.landingReleased))
571
569
  return "landingReleased is not a {id,title,bases}[] array";
572
570
  if (!isBackgroundCommandArray(value.commands))
573
571
  return "commands is not a {id,description,runningMinutes}[] array";
@@ -648,7 +646,7 @@ export function formatNudgeLine(event) {
648
646
  // DX-7127 - the label and instruction come before the ids, like the filed part, so a cut never takes the instruction.
649
647
  if (event.reviewable.length > 0)
650
648
  parts.push(`${REVIEWABLE_LABEL} (${REVIEWABLE_INSTRUCTION}; ${freeSlotsSentence(event.freeSlots)}): ${reviewableCardList(event.reviewable)}`);
651
- if (event.landingReleased !== undefined && event.landingReleased.length > 0)
649
+ if (event.landingReleased.length > 0)
652
650
  parts.push(`${LANDING_RELEASED_LABEL} (${LANDING_RELEASED_INSTRUCTION}): ${landingReleasedCardList(event.landingReleased)}`);
653
651
  // DX-6707 (DEC-818) - named apart from the cards: the check is the session's own command, not a card it must work.
654
652
  if (event.commands.length > 0)
@@ -630,7 +630,7 @@ var readOwnManifest = () => JSON.parse(
630
630
  readFileSync(new URL("../../package.json", import.meta.url), "utf8")
631
631
  ).version;
632
632
  var TOOLKIT_VERSION = resolveToolkitVersion(
633
- false ? void 0 : "0.1.586",
633
+ false ? void 0 : "0.1.588",
634
634
  readOwnManifest
635
635
  );
636
636
  function envelope(now) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@50arms/platform-mcp",
3
- "version": "0.1.586",
3
+ "version": "0.1.588",
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",