From 4f46ac8c2d36bc35b788de51dfc90cbe313763f0 Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Wed, 22 Oct 2025 11:09:35 -0400 Subject: [PATCH] Don't have default login/logout commands --- crates/agent_servers/src/agent_servers.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/crates/agent_servers/src/agent_servers.rs b/crates/agent_servers/src/agent_servers.rs index 006739ed0595fa5c6868cbe3db1af8ed95e7c8c8..b312f73311e02fbaff4bf310a0cf03472fe93e35 100644 --- a/crates/agent_servers/src/agent_servers.rs +++ b/crates/agent_servers/src/agent_servers.rs @@ -71,16 +71,12 @@ pub trait AgentServer: Send { /// Returns the list of slash commands that should trigger Zed's authentication UI /// when the user types them (e.g., "/login"). /// These commands will be intercepted by Zed to show the auth method selection UI. - fn login_commands(&self) -> Vec<&'static str> { - Vec::new() - } + fn login_commands(&self); /// Returns the list of logout-related slash commands that should be sent to the agent /// to let it reset internal state (e.g., "/logout"). /// These commands will be added to available_commands and passed through to the agent. - fn logout_commands(&self) -> Vec<&'static str> { - Vec::new() - } + fn logout_commands(&self); fn connect( &self,