Don't have default login/logout commands

Richard Feldman created

Change summary

crates/agent_servers/src/agent_servers.rs | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)

Detailed changes

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,