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

@@ -3,7 +3,7 @@ use std::time::Duration;
use anyhow::Result;
use app_test_support::MockResponsesConfig;
use app_test_support::TestAppServer;
use app_test_support::mount_chatgpt_account;
use app_test_support::write_api_key_auth;
use codex_app_server_protocol::ThreadStartParams;
use codex_app_server_protocol::TurnStartParams;
use codex_app_server_protocol::UserInput;
@@ -134,7 +134,7 @@ async fn app_server_uses_configured_notes_backend_for_context_window_hints(
server.uri(),
))
.write(codex_home.path())?;
mount_chatgpt_account(&backend, codex_home.path()).await?;
write_api_key_auth(codex_home.path())?;
let mut app_server = TestAppServer::builder()
.with_codex_home(codex_home.path())
@@ -344,7 +344,7 @@ async fn history_notes_and_async_message_control_tools_execute() -> Result<()> {
"[features.token_budget]\nenabled = true\nuse_history_notes_extension = true",
)
.write(codex_home.path())?;
mount_chatgpt_account(&backend, codex_home.path()).await?;
write_api_key_auth(codex_home.path())?;
let mut app_server = TestAppServer::builder()
.with_codex_home(codex_home.path())