@mutmutco/claude-plugin 4.5.118 → 4.5.119
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 +17 -9
- package/cli/package.json +1 -1
- package/package.json +1 -1
package/cli/dist/main.cjs
CHANGED
|
@@ -1178,7 +1178,9 @@ function commandFromFailMessage(msg) {
|
|
|
1178
1178
|
const head = msg.split(":", 1)[0].trim();
|
|
1179
1179
|
if (!head || head.startsWith("-")) return "mmi-cli";
|
|
1180
1180
|
if (!/^[a-z][a-z0-9-]*(?: [a-z][a-z0-9-]*){0,5}$/.test(head)) return "mmi-cli";
|
|
1181
|
-
|
|
1181
|
+
const canonical = canonicalPathFor(head);
|
|
1182
|
+
if (canonical) return canonical;
|
|
1183
|
+
return HOUSE_ROOTS.includes(head.split(" ")[0]) ? head : "mmi-cli";
|
|
1182
1184
|
}
|
|
1183
1185
|
function canonicalFailMessage(msg) {
|
|
1184
1186
|
const colon = msg.indexOf(":");
|
|
@@ -5846,6 +5848,10 @@ var activeQuotaScope;
|
|
|
5846
5848
|
function activeAppQuotaScope() {
|
|
5847
5849
|
return activeQuotaScope;
|
|
5848
5850
|
}
|
|
5851
|
+
var activeToken;
|
|
5852
|
+
function activeAppToken() {
|
|
5853
|
+
return activeToken;
|
|
5854
|
+
}
|
|
5849
5855
|
async function readAppVaultSecret(read) {
|
|
5850
5856
|
try {
|
|
5851
5857
|
return await read();
|
|
@@ -5917,6 +5923,7 @@ var notedIneligibleCommand = false;
|
|
|
5917
5923
|
async function activateAppActor(commandPath3, env, mint, note = (line) => process.stderr.write(`${line}
|
|
5918
5924
|
`)) {
|
|
5919
5925
|
activeQuotaScope = void 0;
|
|
5926
|
+
activeToken = void 0;
|
|
5920
5927
|
const requested = (env[APP_ACTOR_ENV] ?? "").trim();
|
|
5921
5928
|
if (!requested) return "personal";
|
|
5922
5929
|
if (requested !== "app") {
|
|
@@ -5934,6 +5941,7 @@ async function activateAppActor(commandPath3, env, mint, note = (line) => proces
|
|
|
5934
5941
|
const minted = await mint();
|
|
5935
5942
|
env.GH_TOKEN = minted.token;
|
|
5936
5943
|
activeQuotaScope = minted.quotaScope;
|
|
5944
|
+
activeToken = minted.token;
|
|
5937
5945
|
return "app";
|
|
5938
5946
|
}
|
|
5939
5947
|
|
|
@@ -18085,10 +18093,10 @@ var rollout_plan_default = {
|
|
|
18085
18093
|
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)."
|
|
18086
18094
|
},
|
|
18087
18095
|
baseline: {
|
|
18088
|
-
version: "4.5.
|
|
18089
|
-
tag: "v4.5.
|
|
18090
|
-
commit: "
|
|
18091
|
-
npm: "@mutmutco/cli@4.5.
|
|
18096
|
+
version: "4.5.119",
|
|
18097
|
+
tag: "v4.5.119",
|
|
18098
|
+
commit: "1682b1bdb4b1",
|
|
18099
|
+
npm: "@mutmutco/cli@4.5.119"
|
|
18092
18100
|
},
|
|
18093
18101
|
exitCriterion: "fleet-n-of-n",
|
|
18094
18102
|
hubOnlyShortcut: "forbidden",
|
|
@@ -18105,14 +18113,14 @@ var rollout_plan_default = {
|
|
|
18105
18113
|
repo: "mutmutco/mmi-hub",
|
|
18106
18114
|
role: "canary",
|
|
18107
18115
|
schedule: "train",
|
|
18108
|
-
v3Target: "v4.5.
|
|
18116
|
+
v3Target: "v4.5.119"
|
|
18109
18117
|
}
|
|
18110
18118
|
],
|
|
18111
18119
|
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.",
|
|
18112
18120
|
rollback: {
|
|
18113
18121
|
independent: true,
|
|
18114
|
-
mechanism: "npm dist-tag latest -> 4.5.
|
|
18115
|
-
v3Target: "v4.5.
|
|
18122
|
+
mechanism: "npm dist-tag latest -> 4.5.119 and redeploy the Hub Lambda from tag v4.5.119 (1682b1bdb4b1); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
|
|
18123
|
+
v3Target: "v4.5.119 (@mutmutco/cli@4.5.119, tag commit 1682b1bdb4b1 \u2014 last known-good release carrying the repo-index v4-only contract)"
|
|
18116
18124
|
}
|
|
18117
18125
|
},
|
|
18118
18126
|
{
|
|
@@ -55387,7 +55395,7 @@ function appActorDeps() {
|
|
|
55387
55395
|
fetch: (url, init) => fetch(url, init)
|
|
55388
55396
|
};
|
|
55389
55397
|
}
|
|
55390
|
-
setPollTokenProvider(() => pollTokenOrUndefined(appActorDeps()));
|
|
55398
|
+
setPollTokenProvider(async () => activeAppToken() ?? pollTokenOrUndefined(appActorDeps()));
|
|
55391
55399
|
var registerPreAction = Reflect.get(program2, ["h", "ook"].join(""));
|
|
55392
55400
|
registerPreAction.call(program2, "preAction", async (_thisCommand, actionCommand) => {
|
|
55393
55401
|
const commandPath3 = commandPathOf(actionCommand);
|
package/cli/package.json
CHANGED