WIP fase 2b-2: rimosso login ChatGPT/OAuth/device code, agent/workload identity, backend-client; resta solo chiave API (test non tutti verdi)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-10 06:00:44 +01:00
parent 82347a58ed
commit 231e8cd136
661 changed files with 4924 additions and 64817 deletions

View File

@@ -25,11 +25,9 @@ base64 = { workspace = true }
codex-api = { workspace = true }
codex-app-server-protocol = { workspace = true }
codex-core = { workspace = true }
codex-features = { workspace = true }
codex-login = { workspace = true }
codex-model-provider = { workspace = true }
codex-protocol = { workspace = true }
codex-runtime-agent-instance = { workspace = true }
codex-state = { workspace = true }
codex-uds = { workspace = true }
codex-utils-absolute-path = { workspace = true }

View File

@@ -15,9 +15,7 @@ use codex_app_server_protocol::RemoteControlPairingStartResponse;
use codex_app_server_protocol::RemoteControlPairingStatusParams;
use codex_app_server_protocol::RemoteControlPairingStatusResponse;
use codex_app_server_protocol::RemoteControlStatusChangedNotification;
use codex_features::RuntimeAuthMode;
use codex_login::AuthManager;
use codex_runtime_agent_instance::RuntimeAuthSlot;
use codex_state::StateRuntime;
use gethostname::gethostname;
use std::error::Error;
@@ -33,7 +31,6 @@ use tokio_util::sync::CancellationToken;
const REMOTE_CONTROL_REMOVED_MESSAGE: &str = "remote control is not available in this build";
pub struct RemoteControlStartConfig {
pub runtime_auth: Option<(RuntimeAuthSlot, RuntimeAuthMode)>,
pub remote_control_url: String,
pub installation_id: String,
pub policy: RemoteControlPolicy,