feat(providers): expand OAuth account management

Add Claude Code manual and cookie authorization, including redacted batch tasks. Harden OAuth imports, duplicate replacement, provider dialogs, and related account-management tests.
This commit is contained in:
elky
2026-07-27 15:53:28 +08:00
parent 531cf11025
commit 550cc36760
55 changed files with 4957 additions and 403 deletions
@@ -673,6 +673,7 @@ async fn create_codex_agent_identity_from_session_token_with_auth_api_base_url(
})),
body_bytes: None,
network,
transport_profile: None,
})
.await
.map_err(|_| CodexAgentIdentityEnrollmentError::TaskRegistrationRequestFailed)?;
@@ -743,6 +744,7 @@ async fn register_codex_agent_identity_from_access_token_with_auth_api_base_url(
})),
body_bytes: None,
network,
transport_profile: None,
})
.await
.map_err(|_| CodexAgentIdentityEnrollmentError::RegistrationRequestFailed)?;