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:
@@ -7,7 +7,6 @@ use codex_core::find_thread_path_by_id_str;
|
||||
use codex_exec_server::CreateDirectoryOptions;
|
||||
use codex_features::Feature;
|
||||
use codex_history::RolloutItem;
|
||||
use codex_login::CodexAuth;
|
||||
use codex_protocol::config_types::ApprovalsReviewer;
|
||||
use codex_protocol::config_types::CollaborationMode;
|
||||
use codex_protocol::config_types::ModeKind;
|
||||
@@ -628,7 +627,6 @@ async fn review_uses_updated_turn_permissions_and_approval_policy() {
|
||||
fn model_defaults(guidance_message: &str) -> ModelTokenBudgetConfig {
|
||||
ModelTokenBudgetConfig {
|
||||
enabled: false,
|
||||
use_history_notes_extension: false,
|
||||
reminder_threshold_tokens: 6_144,
|
||||
reminder_message_template: "Reminder: {n_remaining} tokens remain.".to_string(),
|
||||
guidance_message: guidance_message.to_string(),
|
||||
@@ -987,7 +985,7 @@ async fn review_uses_custom_review_model_from_config() {
|
||||
let codex_home = Arc::new(TempDir::new().unwrap());
|
||||
let test = test_codex()
|
||||
.with_home(Arc::clone(&codex_home))
|
||||
.with_auth(CodexAuth::create_dummy_chatgpt_auth_for_testing())
|
||||
.with_catalog_discovery_api_key()
|
||||
.with_config(|config| {
|
||||
config.model = Some("gpt-4.1".to_string());
|
||||
config.review_model = Some("custom-review-model".to_string());
|
||||
|
||||
Reference in New Issue
Block a user