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 <me@lukaswirth.dev>
This commit is contained in:
co-authored by
Lukas Wirth
parent
46eb9e5223
commit
e91be9e98e
@@ -21,7 +21,7 @@ use rpc::{AnyProtoClient, TypedEnvelope, proto};
|
||||
use schemars::JsonSchema;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use settings::{RegisterSetting, SettingsStore};
|
||||
use task::Shell;
|
||||
use task::{Shell, SpawnInTerminal};
|
||||
use util::{ResultExt as _, debug_panic};
|
||||
|
||||
use crate::ProjectEnvironment;
|
||||
@@ -1010,7 +1010,7 @@ impl ExternalAgentServer for RemoteExternalAgentServer {
|
||||
env: Some(command.env),
|
||||
},
|
||||
root_dir,
|
||||
None,
|
||||
response.login.map(SpawnInTerminal::from_proto),
|
||||
))
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user