From c0248253ac6e04fb98eda9e7157fd80f5bced0dc Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Fri, 10 Apr 2026 04:32:05 +0900 Subject: [PATCH] =?UTF-8?q?fix(cli):=20remove=20'stats'=20from=20STUB=5FCO?= =?UTF-8?q?MMANDS=20=E2=80=94=20it=20is=20implemented?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit /stats was accidentally listed in STUB_COMMANDS (both in the original list and overlooked in 1e14d59). Since SlashCommand::Stats is fully implemented with REPL and resume dispatch, it should not be intercepted as unimplemented. /tokens and /cache alias to Stats and were already working correctly. /stats now works again in all modes. --- rust/crates/rusty-claude-cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/crates/rusty-claude-cli/src/main.rs b/rust/crates/rusty-claude-cli/src/main.rs index 908d9b1..a8e47b1 100644 --- a/rust/crates/rusty-claude-cli/src/main.rs +++ b/rust/crates/rusty-claude-cli/src/main.rs @@ -7347,7 +7347,6 @@ const STUB_COMMANDS: &[&str] = &[ "logout", "vim", "upgrade", - "stats", "share", "feedback", "files", @@ -7385,6 +7384,7 @@ const STUB_COMMANDS: &[&str] = &[ // Spec entries with no parse arm — produce circular "Did you mean" error // without this guard. Adding here routes them to the proper unsupported // message and excludes them from REPL completions / help. + // NOTE: do NOT add "stats", "tokens", "cache" — they are implemented. "allowed-tools", "bookmarks", "workspace",