aKode fase 2b-2: rimosso login ChatGPT e tutti i sottosistemi solo-ChatGPT

- Login: resta solo chiave API (+ header, Bedrock). Rimossi OAuth/browser,
  device code, refresh/revoke su auth.openai.com, PAT, agent/workload identity,
  runtime agent instance, backend-client e openapi-models, workspace routing.
- Rimossi: generazione immagini (ext + skill imagegen), history notes, plugin
  remoti (catalogo, sync, share), cyber access program, daybreak, cloud config
  e requirements (config_server ora fail-closed), attestation, frozen cloud
  skills, EMA MCP auth, Codex Apps/connettori, ricerca ospitata, header/zstd/
  routing/cookie del backend Codex, fallback OPENAI_API_KEY del realtime.
- Messaggi d'errore senza link a chatgpt.com.
- Chiavi di config legacy accettate e ignorate; feature rimosse = Stage::Removed.
- Test: cancellati solo quelli del codice rimosso; test di sicurezza
  (sandbox estensioni, permessi, redazione, auth storage, requirements)
  adattati. Restano solo fallimenti d'ambiente (code-mode-host/V8, ~/.agents).
- Istruzioni di sistema invariate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-10 16:20:15 +01:00
parent 82347a58ed
commit 6089fbde91
1573 changed files with 10289 additions and 177679 deletions

View File

@@ -21,7 +21,6 @@ pub struct InterruptedTurn {
pub turn_id: String,
pub output_schema: Option<serde_json::Value>,
pub service_tier: Option<String>,
pub cyber_access_program: Option<codex_protocol::turn_input::CyberAccessProgram>,
/// Only local execution with thread-owned configuration can continue automatically.
/// Older snapshots without this identity are reloaded without continuation.
pub local_environment: Option<codex_app_server_protocol::ThreadEnvironment>,

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,