@mutmutco/claude-plugin 4.5.166 → 4.5.168
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 -10
- package/cli/package.json +1 -1
- package/package.json +1 -1
package/cli/dist/main.cjs
CHANGED
|
@@ -11013,7 +11013,10 @@ async function verifySecretValue(deps, key, value, _opts) {
|
|
|
11013
11013
|
return { ok: false, provider, message: `no provider verifier configured for ${secretLeafName(key)}`, checked: [] };
|
|
11014
11014
|
}
|
|
11015
11015
|
async function vaultSlug(deps, opts) {
|
|
11016
|
-
|
|
11016
|
+
if (opts.repo) return opts.repo.split("/").pop().toLowerCase();
|
|
11017
|
+
const slug = await deps.slug();
|
|
11018
|
+
if (slug === "-") throw new Error("no repo checkout here: run inside a registered repo checkout (or pass --repo where the command accepts it)");
|
|
11019
|
+
return slug.toLowerCase();
|
|
11017
11020
|
}
|
|
11018
11021
|
async function targetRepo(deps, opts) {
|
|
11019
11022
|
return opts.repo ?? repoOf(await vaultSlug(deps, opts));
|
|
@@ -19071,10 +19074,10 @@ var rollout_plan_default = {
|
|
|
19071
19074
|
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)."
|
|
19072
19075
|
},
|
|
19073
19076
|
baseline: {
|
|
19074
|
-
version: "4.5.
|
|
19075
|
-
tag: "v4.5.
|
|
19076
|
-
commit: "
|
|
19077
|
-
npm: "@mutmutco/cli@4.5.
|
|
19077
|
+
version: "4.5.168",
|
|
19078
|
+
tag: "v4.5.168",
|
|
19079
|
+
commit: "de9709373c8b",
|
|
19080
|
+
npm: "@mutmutco/cli@4.5.168"
|
|
19078
19081
|
},
|
|
19079
19082
|
exitCriterion: "fleet-n-of-n",
|
|
19080
19083
|
hubOnlyShortcut: "forbidden",
|
|
@@ -19091,14 +19094,14 @@ var rollout_plan_default = {
|
|
|
19091
19094
|
repo: "mutmutco/mmi-hub",
|
|
19092
19095
|
role: "canary",
|
|
19093
19096
|
schedule: "train",
|
|
19094
|
-
v3Target: "v4.5.
|
|
19097
|
+
v3Target: "v4.5.168"
|
|
19095
19098
|
}
|
|
19096
19099
|
],
|
|
19097
19100
|
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.",
|
|
19098
19101
|
rollback: {
|
|
19099
19102
|
independent: true,
|
|
19100
|
-
mechanism: "npm dist-tag latest -> 4.5.
|
|
19101
|
-
v3Target: "v4.5.
|
|
19103
|
+
mechanism: "npm dist-tag latest -> 4.5.168 and redeploy the Hub Lambda from tag v4.5.168 (de9709373c8b); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
|
|
19104
|
+
v3Target: "v4.5.168 (@mutmutco/cli@4.5.168, tag commit de9709373c8b \u2014 last known-good release carrying the repo-index v4-only contract)"
|
|
19102
19105
|
}
|
|
19103
19106
|
},
|
|
19104
19107
|
{
|
|
@@ -23258,7 +23261,6 @@ async function retireRcRuntime(deps, ctx, model, deployStatus, releasedRcSha) {
|
|
|
23258
23261
|
}
|
|
23259
23262
|
async function runTenantRedeploy(deps, options) {
|
|
23260
23263
|
const { stage } = options;
|
|
23261
|
-
const ref = options.ref ?? (stage === "dev" ? "development" : stage);
|
|
23262
23264
|
const watch = options.watch ?? false;
|
|
23263
23265
|
const repo = options.repo;
|
|
23264
23266
|
const [owner, name] = repo.split("/");
|
|
@@ -23270,6 +23272,7 @@ async function runTenantRedeploy(deps, options) {
|
|
|
23270
23272
|
const ctx = { repo, owner, slug: name.toLowerCase(), login };
|
|
23271
23273
|
const meta = requireProjectMetaForTrain(await loadProjectMeta(deps, ctx), repo);
|
|
23272
23274
|
const deployModel = requireDeployModel(meta, repo);
|
|
23275
|
+
const ref = options.ref ?? (stage === "dev" || stage === "main" && meta.releaseTrack === "single" ? "development" : stage);
|
|
23273
23276
|
if (!isCentralDispatchModel(deployModel)) {
|
|
23274
23277
|
throw new Error(`${repo} is ${deployModel}, not a centrally-dispatched model (tenant-container/solo-container/static-cdn) \u2014 there is no central tenant-deploy run to retry (its deploy fires from its own workflow)`);
|
|
23275
23278
|
}
|
|
@@ -57402,7 +57405,7 @@ tenant.command("status <owner/repo> <stage>").description("read tenant runtime r
|
|
|
57402
57405
|
console.log(JSON.stringify(result, null, 2));
|
|
57403
57406
|
if (result.publicProbe?.ok === false || result.edgeCertificate?.missing) process.exitCode = 1;
|
|
57404
57407
|
});
|
|
57405
|
-
tenant.command("redeploy <owner/repo> <stage>").description("re-dispatch the central tenant-deploy.yml for an already-promoted ref (no re-tag/merge); train-authority gated").option("--ref <ref>", "ref to deploy (defaults to the stage branch rc/main, or `development` for dev
|
|
57408
|
+
tenant.command("redeploy <owner/repo> <stage>").description("re-dispatch the central tenant-deploy.yml for an already-promoted ref (no re-tag/merge); train-authority gated").option("--ref <ref>", "ref to deploy (defaults to the stage branch rc/main, or `development` for dev and for a single-track repo's main)").option("--watch", "block on the dispatched run and report its outcome (gh run watch --exit-status)").option("--json", "machine-readable output").action(async (repo, stage, o) => {
|
|
57406
57409
|
if (stage !== "dev" && stage !== "rc" && stage !== "main") return fail("runtime tenant redeploy: <stage> must be dev, rc, or main");
|
|
57407
57410
|
try {
|
|
57408
57411
|
const raw = await runTenantRedeploy(trainApplyDeps(), { repo, stage, ref: o.ref, watch: o.watch });
|
package/cli/package.json
CHANGED