Refactor config types into a separate crate (#16962)

Move config types into a separate crate because their macros expand into
a lot of new code.
This commit is contained in:
pakrym-oai
2026-04-06 17:32:41 -07:00
committed by GitHub
parent d2df7c54b2
commit 1f2411629f
90 changed files with 1356 additions and 1261 deletions

View File

@@ -12,10 +12,10 @@ use reqwest::header::HeaderMap;
use serde::Deserialize;
use tracing::debug;
use crate::OAuthCredentialsStoreMode;
use crate::oauth::has_oauth_tokens;
use crate::utils::apply_default_headers;
use crate::utils::build_default_headers;
use codex_config::types::OAuthCredentialsStoreMode;
const DISCOVERY_TIMEOUT: Duration = Duration::from_secs(5);
const OAUTH_DISCOVERY_HEADER: &str = "MCP-Protocol-Version";