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.
This commit is contained in:
Levi Neely 2026-08-09 03:15:19 +02:00
parent 26076b0ae9
commit ec3419aa4e
1 changed files with 11 additions and 7 deletions

View File

@ -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