remove temporary ownership re-exports (#16626)

Stacked on #16508.

This removes the temporary `codex-core` / `codex-login` re-export shims
from the ownership split and rewrites callsites to import directly from
`codex-model-provider-info`, `codex-models-manager`, `codex-api`,
`codex-protocol`, `codex-feedback`, and `codex-response-debug-context`.

No behavior change intended; this is the mechanical import cleanup layer
split out from the ownership move.

---------

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Ahmed IbrahimandCodex authored and GitHub committed 2026-04-03 00:33:34 -07:00
1 parent b15c918836
commit af8a9d2d2b
119 files changed
+323 -324

No files matched your search

-13
View File
@@ -18,9 +18,7 @@ pub use server::ServerOptions;
pub use server::ShutdownHandle;
pub use server::run_login_server;
pub use api_bridge::CoreAuthProvider;
pub use api_bridge::auth_provider_from_auth;
pub use api_bridge::map_api_error;
pub use auth::AuthConfig;
pub use auth::AuthCredentialsStoreMode;
pub use auth::AuthDotJson;
@@ -46,17 +44,6 @@ pub use auth::read_openai_api_key_from_env;
pub use auth::save_auth;
pub use auth_env_telemetry::AuthEnvTelemetry;
pub use auth_env_telemetry::collect_auth_env_telemetry;
pub use codex_app_server_protocol::AuthMode;
pub use codex_model_provider_info as model_provider_info;
pub use codex_model_provider_info::DEFAULT_LMSTUDIO_PORT;
pub use codex_model_provider_info::DEFAULT_OLLAMA_PORT;
pub use codex_model_provider_info::LMSTUDIO_OSS_PROVIDER_ID;
pub use codex_model_provider_info::ModelProviderInfo;
pub use codex_model_provider_info::OLLAMA_OSS_PROVIDER_ID;
pub use codex_model_provider_info::OPENAI_PROVIDER_ID;
pub use codex_model_provider_info::WireApi;
pub use codex_model_provider_info::built_in_model_providers;
pub use codex_model_provider_info::create_oss_provider_with_base_url;
pub use provider_auth::auth_manager_for_provider;
pub use provider_auth::required_auth_manager_for_provider;
pub use token_data::TokenData;