Skip to content

Commit e91be9e

Browse files
rtfeldmanVeykril
andauthored
Fix ACP CLI login via remote (#42647)
Release Notes: - Fixed logging into Gemini CLI and Claude Code when remoting and authenticating via CLI Co-authored-by: Lukas Wirth <[email protected]>
1 parent 46eb9e5 commit e91be9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/project/src/agent_server_store.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use rpc::{AnyProtoClient, TypedEnvelope, proto};
2121
use schemars::JsonSchema;
2222
use serde::{Deserialize, Serialize};
2323
use settings::{RegisterSetting, SettingsStore};
24-
use task::Shell;
24+
use task::{Shell, SpawnInTerminal};
2525
use util::{ResultExt as _, debug_panic};
2626

2727
use crate::ProjectEnvironment;
@@ -1010,7 +1010,7 @@ impl ExternalAgentServer for RemoteExternalAgentServer {
10101010
env: Some(command.env),
10111011
},
10121012
root_dir,
1013-
None,
1013+
response.login.map(SpawnInTerminal::from_proto),
10141014
))
10151015
})
10161016
}

0 commit comments

Comments
 (0)