From cfce1307076e93f43a3ed8cc0134f9bb14a0f2d6 Mon Sep 17 00:00:00 2001 From: Ben Brandt Date: Thu, 21 May 2026 23:31:53 +0200 Subject: [PATCH] fix: Don't expose /clear in commands (#705) Closes #657 This probably isn't the desired fix, but as /clear creates a new session, it breaks a lot of guarantees on ACP's usage of session ids we want to uphold. Given you can do session/new to get the same effect, it seems safer. --- src/acp-agent.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/acp-agent.ts b/src/acp-agent.ts index 05e93889..bd18c41d 100644 --- a/src/acp-agent.ts +++ b/src/acp-agent.ts @@ -2672,6 +2672,7 @@ async function getAvailableModels( function getAvailableSlashCommands(commands: SlashCommand[]): AvailableCommand[] { const UNSUPPORTED_COMMANDS = [ + "clear", "cost", "keybindings-help", "login",