Skip to content

Commit b3a5b78

Browse files
fix(provider-muse): an unfinished Muse install says how to finish setup
T3 runs Muse with MUSE_NO_AUTO_UPDATE=1, so a launcher whose runtime was never fetched (common right after a mise upgrade) exits with "installed binary is missing". The status now tells the user to run `muse --version` on the server host and refresh, instead of a generic failure. Fixes #22299 AI-assisted; verified with the tests and tools listed above.
1 parent 5ebf57e commit b3a5b78

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎packages/provider-muse/src/server/status.ts‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,11 @@ export const checkMuseProviderStatus = Effect.fn("checkMuseProviderStatus")(func
114114
version,
115115
status: "error",
116116
auth: { status: "unknown" },
117-
message: "Muse Code CLI is installed but failed to run.",
117+
// T3 runs Muse with MUSE_NO_AUTO_UPDATE=1, so a launcher whose runtime was never fetched
118+
// (common after a mise upgrade) refuses to install it; a manual run completes setup.
119+
message: versionOutput.stderr.includes("installed binary is missing")
120+
? "Muse Code has not finished installing. Run `muse --version` on this T3 server host, then refresh its status."
121+
: "Muse Code CLI is installed but failed to run.",
118122
});
119123
}
120124

0 commit comments

Comments
 (0)