The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 19:45 UTC
fix(provider-muse): an unfinished Muse install says how to finish setup (#34927)
Julius Marminge committed
Nov 12, 2026 at 00:08 UTC
fb2580a57189aed26f2d812d2d1a7e77f6323b1e
2 files changed
+19
-1
packages/provider-muse/src/server/status.test.ts
+14
@@ -76,6 +76,20 @@ it.layer(NodeServices.layer)("Muse status", (it) => {
76
),
77
);
78
79
+ it.effect("tells the user to finish setup when the launcher has not installed its runtime", () =>
80
+ Effect.scoped(
81
+ Effect.gen(function* () {
82
+ // What Muse's launcher prints when a fresh install runs under MUSE_NO_AUTO_UPDATE=1.
83
+ const binaryPath = yield* fakeCli(
84
+ 'process.stderr.write("muse: installed binary is missing; rerun the installer\\n");process.exit(1);',
85
+ );
86
+ const snapshot = yield* checkMuseProviderStatus(settings({ enabled: true, binaryPath }));
87
+ expect(snapshot.status).toBe("error");
88
+ expect(snapshot.message).toContain("muse --version");
89
+ }),
90
+ ),
91
+ );
92
+
93
it.effect("discovers the Meta catalog without treating it as authentication proof", () =>
94
Effect.scoped(
95
Effect.gen(function* () {
packages/provider-muse/src/server/status.ts
+5
-1
@@ -114,7 +114,11 @@ export const checkMuseProviderStatus = Effect.fn("checkMuseProviderStatus")(func
114
version,
115
status: "error",
116
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.",
122
});
123
}
124