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.
This commit is contained in:
Ben Brandt
2026-05-21 23:31:53 +02:00
committed by GitHub
parent b275f6ff7f
commit cfce130707

View File

@@ -2672,6 +2672,7 @@ async function getAvailableModels(
function getAvailableSlashCommands(commands: SlashCommand[]): AvailableCommand[] {
const UNSUPPORTED_COMMANDS = [
"clear",
"cost",
"keybindings-help",
"login",