2026-04-05 20:23:16 +08:00
|
|
|
pub mod antigravity;
|
|
|
|
|
pub mod auth;
|
|
|
|
|
mod auth_config;
|
|
|
|
|
mod cache;
|
|
|
|
|
pub mod claude_code;
|
|
|
|
|
mod generic_oauth;
|
|
|
|
|
mod headers;
|
|
|
|
|
pub mod kiro;
|
|
|
|
|
mod network;
|
|
|
|
|
pub mod oauth_refresh;
|
|
|
|
|
pub mod policy;
|
|
|
|
|
pub mod provider_types;
|
2026-04-23 23:01:06 +08:00
|
|
|
mod request_url;
|
2026-04-05 20:23:16 +08:00
|
|
|
pub mod rules;
|
|
|
|
|
pub mod snapshot;
|
|
|
|
|
pub mod url;
|
|
|
|
|
pub mod vertex;
|
|
|
|
|
mod video;
|
|
|
|
|
|
|
|
|
|
pub use auth::{build_passthrough_headers, ensure_upstream_auth_header};
|
|
|
|
|
pub use cache::{provider_transport_snapshot_looks_refreshed, ProviderTransportSnapshotCacheKey};
|
|
|
|
|
pub use generic_oauth::{
|
|
|
|
|
supports_local_generic_oauth_request_auth_resolution, GenericOAuthRefreshAdapter,
|
|
|
|
|
};
|
|
|
|
|
pub use headers::{should_skip_request_header, should_skip_upstream_passthrough_header};
|
|
|
|
|
pub use network::{
|
|
|
|
|
resolve_transport_execution_timeouts, resolve_transport_proxy_snapshot,
|
|
|
|
|
resolve_transport_proxy_snapshot_with_tunnel_affinity, resolve_transport_tls_profile,
|
|
|
|
|
transport_proxy_is_locally_supported, TransportTunnelAffinityLookup,
|
|
|
|
|
TransportTunnelAttachmentOwner,
|
|
|
|
|
};
|
|
|
|
|
pub use oauth_refresh::{
|
2026-04-14 14:09:24 +08:00
|
|
|
supports_local_oauth_request_auth_resolution, CachedOAuthEntry, LocalOAuthHttpExecutor,
|
|
|
|
|
LocalOAuthHttpRequest, LocalOAuthHttpResponse, LocalOAuthRefreshCoordinator,
|
|
|
|
|
LocalOAuthRefreshError, LocalResolvedOAuthRequestAuth, ReqwestLocalOAuthHttpExecutor,
|
2026-04-05 20:23:16 +08:00
|
|
|
};
|
|
|
|
|
pub use policy::{
|
2026-04-14 11:50:52 +08:00
|
|
|
local_gemini_transport_unsupported_reason,
|
|
|
|
|
local_gemini_transport_unsupported_reason_with_network,
|
|
|
|
|
local_openai_chat_transport_unsupported_reason, local_standard_transport_unsupported_reason,
|
|
|
|
|
local_standard_transport_unsupported_reason_with_network, supports_local_gemini_transport,
|
|
|
|
|
supports_local_gemini_transport_with_network, supports_local_standard_transport,
|
2026-04-05 20:23:16 +08:00
|
|
|
};
|
2026-04-23 23:01:06 +08:00
|
|
|
pub use request_url::{build_transport_request_url, TransportRequestUrlParams};
|
2026-04-05 20:23:16 +08:00
|
|
|
pub use rules::{
|
|
|
|
|
apply_local_body_rules, apply_local_header_rules, body_rules_are_locally_supported,
|
2026-04-07 02:50:19 +08:00
|
|
|
body_rules_handle_path, header_rules_are_locally_supported,
|
2026-04-05 20:23:16 +08:00
|
|
|
};
|
|
|
|
|
pub use snapshot::{
|
|
|
|
|
read_provider_transport_snapshot, GatewayProviderTransportSnapshot,
|
|
|
|
|
ProviderTransportSnapshotSource,
|
|
|
|
|
};
|
2026-04-23 23:01:06 +08:00
|
|
|
pub use vertex::{is_vertex_api_key_transport_context, uses_vertex_api_key_query_auth};
|
2026-04-05 20:23:16 +08:00
|
|
|
pub use video::{
|
|
|
|
|
reconstruct_local_video_task_snapshot, resolve_local_video_task_transport,
|
|
|
|
|
VideoTaskTransportSnapshotLookup,
|
|
|
|
|
};
|