mirror of
https://github.com/agentclientprotocol/claude-agent-acp.git
synced 2026-10-28 13:01:20 +00:00
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:
@@ -2672,6 +2672,7 @@ async function getAvailableModels(
|
||||
|
||||
function getAvailableSlashCommands(commands: SlashCommand[]): AvailableCommand[] {
|
||||
const UNSUPPORTED_COMMANDS = [
|
||||
"clear",
|
||||
"cost",
|
||||
"keybindings-help",
|
||||
"login",
|
||||
|
||||
Reference in New Issue
Block a user