From c8b21a22cb6f67068a624ff5c3be2bf72444aa37 Mon Sep 17 00:00:00 2001 From: Mira Bot Date: Mon, 3 Aug 2026 07:52:32 +0000 Subject: [PATCH] fix(tui): make the /login already-logged-in notice visible MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The "Already logged in. Model configuration refreshed." confirmation was rendered with the default dim text color, so users easily missed it and assumed /login did nothing. Render it with the theme's success color, matching the success styling used by the login spinner's "✓ Logged in." line. --- .changeset/login-already-logged-in-visibility.md | 4 ++++ apps/kimi-code/src/tui/commands/auth.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100755 .changeset/login-already-logged-in-visibility.md diff --git a/.changeset/login-already-logged-in-visibility.md b/.changeset/login-already-logged-in-visibility.md new file mode 100755 index 0000000000..265ebed5ac --- /dev/null +++ b/.changeset/login-already-logged-in-visibility.md @@ -0,0 +1,4 @@ +--- +"@moonshot-ai/kimi-code": patch +--- +Render the "/login" already-logged-in confirmation in the success color instead of dim text, so the "Already logged in. Model configuration refreshed." message is clearly visible. diff --git a/apps/kimi-code/src/tui/commands/auth.ts b/apps/kimi-code/src/tui/commands/auth.ts index 773638485f..a44b4fab5d 100644 --- a/apps/kimi-code/src/tui/commands/auth.ts +++ b/apps/kimi-code/src/tui/commands/auth.ts @@ -74,7 +74,7 @@ async function handleKimiCodeOAuthLogin(host: SlashCommandHost): Promise { already_logged_in: alreadyLoggedIn, }); if (alreadyLoggedIn) { - host.showStatus('Already logged in. Model configuration refreshed.'); + host.showStatus('Already logged in. Model configuration refreshed.', 'success'); } } catch (error) { const cancelled = controller.signal.aborted;