From ec3419aa4e710eb63d449be612995a4e4b6f46ca Mon Sep 17 00:00:00 2001 From: Levi Neely <141506390+lneely@users.noreply.github.com> Date: Sun, 9 Aug 2026 03:15:19 +0200 Subject: [PATCH] gui: update slash command hints to match ctl surface The agent now routes all /commands to ctl. Update the autocomplete hint list to reflect current ctl commands. --- gui/main.qml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/gui/main.qml b/gui/main.qml index 8319d04..bdae9d6 100644 --- a/gui/main.qml +++ b/gui/main.qml @@ -78,16 +78,20 @@ ApplicationWindow { } } - // --- Slash command definitions --- + // --- Slash command definitions (for autocomplete hints) --- readonly property var slashCommands: [ - { name: "model", desc: "Set model" }, - { name: "backend", desc: "Set backend" }, - { name: "agent", desc: "Switch agent" }, { name: "stop", desc: "Stop current run" }, - { name: "kill", desc: "Kill session" }, - { name: "new", desc: "New session" }, { name: "compact", desc: "Compact context" }, - { name: "help", desc: "Show help" } + { name: "clear", desc: "Clear history" }, + { name: "model", desc: "Show/set model" }, + { name: "models", desc: "List available models" }, + { name: "tools", desc: "List loaded tools" }, + { name: "tool_load", desc: "Load a tool" }, + { name: "inject", desc: "Inject prompt mid-turn" }, + { name: "agent", desc: "Show/switch agent profile" }, + { name: "cwd", desc: "Show/set working directory" }, + { name: "backend", desc: "Show backend" }, + { name: "name", desc: "Show/set agent name" } ] // Sidebar visibility