@feigi/fleet-ctl 3.24.31 → 3.24.33

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/package.json +1 -1
  2. package/scripts/arg.mjs +12 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feigi/fleet-ctl",
3
- "version": "3.24.31",
3
+ "version": "3.24.33",
4
4
  "description": "Agent fleet: run-team controller, merge bot, PR reviewer, and the ticket pipeline they share",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
package/scripts/arg.mjs CHANGED
@@ -60,15 +60,18 @@
60
60
  // the scripts named here, for the roster — the scripts this header names
61
61
  // exemplify a way of qualifying, and were never the whole of it.
62
62
  //
63
- // fleet-tick.mjs is the one script still outside arg()/has(), and
64
- // deliberately: it parses its flags with node:util's parseArgs, so its
65
- // unknown-flag, required-flag and range refusals are a separate edit site on
66
- // its own terms. Its integer guard is no longer one of them — the digits
67
- // grammar has its own predicate (isDigits() below) precisely because
68
- // isFlagLike() cannot express it, and int() now calls that instead of
69
- // hand-writing the third spelling. What stays fleet-tick's own there is the
70
- // `String(raw).trim()` its input needs and the wording of its refusal, not
71
- // the rule.
63
+ // fleet-tick.mjs and fleet-heartbeat.mjs sit outside arg()/has(), and
64
+ // deliberately: each parses its flags with node:util's parseArgs, so its
65
+ // unknown-flag, missing-value and range refusals are a separate edit site on
66
+ // its own terms. They are not the only scripts outside — every script that
67
+ // binds none of makeArg, makeHas or defineFlags is — but the rest either
68
+ // hand-roll their own argv reader or take no flags at all; these two are the
69
+ // ones parsing with node:util's parseArgs. Their integer guards are no longer
70
+ // among those refusals — the digits grammar has its own predicate (isDigits()
71
+ // below) precisely because isFlagLike() cannot express it, and each script's
72
+ // int() calls that rather than hand-writing the grammar. What stays each
73
+ // script's own there is the trim() its input needs and the wording of its
74
+ // refusal, not the rule.
72
75
  //
73
76
  // candidates.mjs qualifies the other way, which the reach test cannot express:
74
77
  // it binds makeArg/makeHas, so arg()'s refusals DO reach it — `node