@@ -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,