@mutmutco/claude-plugin 4.5.183 → 4.5.185
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/.claude-plugin/plugin.json +1 -1
- package/cli/dist/main.cjs +13 -11
- package/cli/package.json +1 -1
- package/package.json +1 -1
package/cli/dist/main.cjs
CHANGED
|
@@ -7356,11 +7356,12 @@ async function readAppVaultSecret(read) {
|
|
|
7356
7356
|
try {
|
|
7357
7357
|
return await read();
|
|
7358
7358
|
} catch (e) {
|
|
7359
|
-
const reason = e.message;
|
|
7360
|
-
|
|
7361
|
-
|
|
7359
|
+
const reason = e instanceof Error ? e.message : String(e);
|
|
7360
|
+
const unwrapped = reason.replace(/^Hub vault read failed:\s*/, "");
|
|
7361
|
+
if (/^(Hub GitHub App allowance used up|rate limited)/.test(unwrapped)) {
|
|
7362
|
+
throw new AppActorError(`app actor: the vault could not read the App credentials because GitHub is rate-limited, not a denial: ${unwrapped}`, "mint-failed");
|
|
7362
7363
|
}
|
|
7363
|
-
if (/^authority refused|\(HTTP 40[
|
|
7364
|
+
if (/^authority refused|\(HTTP 40[134]\b/.test(unwrapped)) return null;
|
|
7364
7365
|
throw new AppActorError(`app actor: the vault read of the App credentials failed, not a denial: ${reason}`, "mint-failed");
|
|
7365
7366
|
}
|
|
7366
7367
|
}
|
|
@@ -19192,10 +19193,10 @@ var rollout_plan_default = {
|
|
|
19192
19193
|
note: "The v4.0.0 stamp happens at cut time (D6e #4463); until then the candidate is the origin/development head artifacts (built cli/dist + npm pack), identity proven by dist content hash (D6a)."
|
|
19193
19194
|
},
|
|
19194
19195
|
baseline: {
|
|
19195
|
-
version: "4.5.
|
|
19196
|
-
tag: "v4.5.
|
|
19197
|
-
commit: "
|
|
19198
|
-
npm: "@mutmutco/cli@4.5.
|
|
19196
|
+
version: "4.5.185",
|
|
19197
|
+
tag: "v4.5.185",
|
|
19198
|
+
commit: "a5a484666253",
|
|
19199
|
+
npm: "@mutmutco/cli@4.5.185"
|
|
19199
19200
|
},
|
|
19200
19201
|
exitCriterion: "fleet-n-of-n",
|
|
19201
19202
|
hubOnlyShortcut: "forbidden",
|
|
@@ -19212,14 +19213,14 @@ var rollout_plan_default = {
|
|
|
19212
19213
|
repo: "mutmutco/mmi-hub",
|
|
19213
19214
|
role: "canary",
|
|
19214
19215
|
schedule: "train",
|
|
19215
|
-
v3Target: "v4.5.
|
|
19216
|
+
v3Target: "v4.5.185"
|
|
19216
19217
|
}
|
|
19217
19218
|
],
|
|
19218
19219
|
rollbackTrigger: "Any red inside the post-contract soak window: `devops train gate` FAIL attributable to the v4 doors, Hub endpoint health probe failure, a pre-v4 client admitted instead of receiving actionable HTTP 426, or npm consumer install/doctor failure on the v4-only dist.",
|
|
19219
19220
|
rollback: {
|
|
19220
19221
|
independent: true,
|
|
19221
|
-
mechanism: "npm dist-tag latest -> 4.5.
|
|
19222
|
-
v3Target: "v4.5.
|
|
19222
|
+
mechanism: "npm dist-tag latest -> 4.5.185 and redeploy the Hub Lambda from tag v4.5.185 (a5a484666253); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
|
|
19223
|
+
v3Target: "v4.5.185 (@mutmutco/cli@4.5.185, tag commit a5a484666253 \u2014 last known-good release carrying the repo-index v4-only contract)"
|
|
19223
19224
|
}
|
|
19224
19225
|
},
|
|
19225
19226
|
{
|
|
@@ -30486,6 +30487,7 @@ function trackUnauditableReads(deps) {
|
|
|
30486
30487
|
if (reason) return;
|
|
30487
30488
|
const err = e;
|
|
30488
30489
|
if (err?.rateLimited) reason = `GitHub App rate-limited: ${err.message ?? "rate limit exceeded"}`;
|
|
30490
|
+
else if (err?.name === "AppActorError" || err?.code === "mint-failed") reason = err.message ?? "GitHub App token mint failed";
|
|
30489
30491
|
else if (err?.status === 403 || err?.status === 429) reason = `HTTP ${err.status}${err.message ? `: ${err.message}` : ""}`;
|
|
30490
30492
|
};
|
|
30491
30493
|
const client = {
|
package/cli/package.json
CHANGED