From 46272fc6d488e64dea00fceff02a5cfd04402129 Mon Sep 17 00:00:00 2001 From: l0ng-ai <24760907+l0ng-ai@users.noreply.github.com> Date: Thu, 1 Oct 2026 04:20:55 +0800 Subject: [PATCH] fix(terminal): offer Gemini's current commands in the composer's menu Gemini CLI now names its session browser /resume, with /chat kept as an alias, and /clear starts a new session rather than only clearing the screen. Offer /resume under its own name, say what /clear does now, and add /model and /init, which the menu left out. --- src/terminal/composer.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/terminal/composer.rs b/src/terminal/composer.rs index 488c369e..50b5200f 100644 --- a/src/terminal/composer.rs +++ b/src/terminal/composer.rs @@ -497,9 +497,11 @@ fn builtin_commands(agent: CLIAgent) -> &'static [(&'static str, &'static str)] ], CLIAgent::Gemini => &[ ("/compress", "Summarize to free up context"), - ("/clear", "Clear the screen and history"), + ("/clear", "Clear the screen and start a new session"), + ("/model", "Choose the model"), + ("/resume", "Browse and resume saved conversations"), + ("/init", "Create a GEMINI.md for this repo"), ("/memory", "Manage memory"), - ("/chat", "Save or resume a conversation"), ("/tools", "List available tools"), ("/mcp", "List MCP servers"), ("/stats", "Show session statistics"),