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:
@@ -6,7 +6,6 @@
|
||||
#![deny(clippy::print_stdout, clippy::print_stderr)]
|
||||
|
||||
mod apply_patch;
|
||||
mod apps;
|
||||
mod client;
|
||||
mod client_common;
|
||||
mod model_request;
|
||||
@@ -14,8 +13,6 @@ mod realtime_context;
|
||||
mod realtime_conversation;
|
||||
mod realtime_history;
|
||||
mod realtime_prompt;
|
||||
mod responses_headers;
|
||||
pub use responses_headers::CodexResponsesHeaders;
|
||||
mod responses_metadata;
|
||||
mod responses_retry;
|
||||
pub(crate) mod session;
|
||||
@@ -85,17 +82,13 @@ pub use agent::types::SpawnAgentOptions;
|
||||
pub use rollout_budget::RolloutBudgetReminder;
|
||||
mod agent_communication;
|
||||
pub use agent_communication::PendingAgentMessage;
|
||||
mod attestation;
|
||||
mod code_mode_host;
|
||||
mod codex_delegate;
|
||||
mod command_canonicalization;
|
||||
pub mod config;
|
||||
pub mod connectors;
|
||||
pub mod context;
|
||||
mod context_manager;
|
||||
mod current_time;
|
||||
pub mod cyber_access_program;
|
||||
pub use cyber_access_program::RequiredCyberAccessPrograms;
|
||||
mod elicitation;
|
||||
mod environment_selection;
|
||||
pub mod exec;
|
||||
@@ -118,7 +111,6 @@ mod network_policy_decision;
|
||||
pub use mcp::McpManager;
|
||||
pub use mcp::McpServersDisabled;
|
||||
mod original_image_detail;
|
||||
pub use codex_mcp::CodexAppsToolsCache;
|
||||
pub use codex_mcp::SandboxState;
|
||||
mod mcp_tool_call;
|
||||
pub(crate) mod mention_syntax;
|
||||
@@ -128,14 +120,11 @@ pub use mention_syntax::TOOL_MENTION_SIGIL;
|
||||
pub use utils::path_utils;
|
||||
pub(crate) mod plugins;
|
||||
pub use plugins::plugins_manager_for_config;
|
||||
pub use plugins::plugins_manager_for_config_with_runtime;
|
||||
#[doc(hidden)]
|
||||
pub(crate) mod prompt_debug;
|
||||
#[doc(hidden)]
|
||||
pub use prompt_debug::build_prompt_input;
|
||||
pub(crate) mod mentions {
|
||||
pub(crate) use crate::plugins::build_connector_slug_counts;
|
||||
pub(crate) use crate::plugins::collect_explicit_app_ids;
|
||||
pub(crate) use crate::plugins::collect_explicit_plugin_mentions;
|
||||
pub(crate) use crate::plugins::collect_tool_mentions_from_messages;
|
||||
}
|
||||
@@ -262,19 +251,15 @@ mod tasks;
|
||||
mod user_shell_command;
|
||||
pub mod util;
|
||||
|
||||
pub use attestation::AttestationContext;
|
||||
pub use attestation::AttestationProvider;
|
||||
pub use attestation::GenerateAttestationFuture;
|
||||
pub use client::ModelClient;
|
||||
pub use client::ModelClientSession;
|
||||
pub use client::X_CODEX_INSTALLATION_ID_HEADER;
|
||||
pub use client::X_CODEX_ROUTING_HINT_HEADER;
|
||||
pub use client::X_CODEX_TURN_METADATA_HEADER;
|
||||
pub use client_common::Prompt;
|
||||
pub use client_common::ResponseEvent;
|
||||
pub use client_common::ResponseStream;
|
||||
pub use codex_prompts::REVIEW_PROMPT;
|
||||
pub use codex_runtime_agent_instance::resolve_installation_id;
|
||||
mod installation_id;
|
||||
pub use compact::content_items_to_text;
|
||||
pub use current_time::SleepFuture;
|
||||
pub use current_time::TimeFuture;
|
||||
@@ -284,12 +269,10 @@ pub use exec_policy::ExecPolicyError;
|
||||
pub use exec_policy::check_execpolicy_for_warnings;
|
||||
pub use exec_policy::format_exec_policy_error_with_source;
|
||||
pub use exec_policy::load_exec_policy;
|
||||
pub use installation_id::resolve_installation_id;
|
||||
pub mod compact;
|
||||
mod memory_usage;
|
||||
|
||||
// Captured environment bindings can be passed back to ThreadManager by internal reviewers.
|
||||
pub use environment_selection::TurnEnvironmentSnapshot;
|
||||
pub use environment_selection::validate_environment_ids_and_cwds;
|
||||
|
||||
mod runtime_auth;
|
||||
pub use runtime_auth::build_runtime_auth_manager;
|
||||
|
||||
Reference in New Issue
Block a user