From 5f6f7edc99bf6038a0014123cdbade979f4a9c9d Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Wed, 22 Oct 2025 11:17:16 -0400 Subject: [PATCH] Restore return value --- crates/agent_servers/src/agent_servers.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/agent_servers/src/agent_servers.rs b/crates/agent_servers/src/agent_servers.rs index b312f73311e02fbaff4bf310a0cf03472fe93e35..77ea37578253faddaf006bda71a54dd0030306d3 100644 --- a/crates/agent_servers/src/agent_servers.rs +++ b/crates/agent_servers/src/agent_servers.rs @@ -71,12 +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); + fn login_commands(&self) -> Vec<&'static str>; /// 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); + fn logout_commands(&self) -> Vec<&'static str>; fn connect( &self,