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:
@@ -2,7 +2,6 @@
|
||||
|
||||
use anyhow::Result;
|
||||
use codex_features::Feature;
|
||||
use codex_login::CodexAuth;
|
||||
use codex_models_manager::bundled_models_response;
|
||||
use codex_models_manager::manager::RefreshStrategy;
|
||||
use codex_protocol::openai_models::ModelServiceTier;
|
||||
@@ -86,7 +85,7 @@ async fn start_test(server: &MockServer, effort: ReasoningEffort, tier: &str) ->
|
||||
.await;
|
||||
let tier = tier.to_string();
|
||||
test_codex()
|
||||
.with_auth(CodexAuth::create_dummy_chatgpt_auth_for_testing())
|
||||
.with_header_auth()
|
||||
.with_model("gpt-5.5")
|
||||
.with_config(move |config| {
|
||||
config.model_reasoning_effort = Some(effort);
|
||||
@@ -242,7 +241,7 @@ async fn reopening_consumes_catalog_refreshed_while_chat_was_closed() -> Result<
|
||||
.list_models(RefreshStrategy::Online, test.config.http_client_factory())
|
||||
.await;
|
||||
let resumed = test_codex()
|
||||
.with_auth(CodexAuth::create_dummy_chatgpt_auth_for_testing())
|
||||
.with_header_auth()
|
||||
.with_model("gpt-5.5")
|
||||
.with_models_manager(manager)
|
||||
.with_config(|config| {
|
||||
|
||||
Reference in New Issue
Block a user