2026-04-05 20:23:16 +08:00
|
|
|
mod auth;
|
2026-04-09 00:10:38 +08:00
|
|
|
mod fingerprint;
|
2026-09-29 18:35:23 +08:00
|
|
|
mod mimicry;
|
2026-04-05 20:23:16 +08:00
|
|
|
mod policy;
|
2026-07-27 09:36:31 +08:00
|
|
|
mod profile;
|
2026-04-05 20:23:16 +08:00
|
|
|
mod request;
|
|
|
|
|
mod url;
|
|
|
|
|
|
|
|
|
|
pub use auth::supports_local_claude_code_auth;
|
2026-05-06 13:54:33 +08:00
|
|
|
pub use fingerprint::{
|
|
|
|
|
generate_fingerprint, generate_random_fingerprint, header_fingerprint_from_fingerprint,
|
|
|
|
|
sanitize_fingerprint,
|
|
|
|
|
};
|
2026-09-29 18:35:23 +08:00
|
|
|
pub use mimicry::{
|
|
|
|
|
apply_claude_code_body_mimicry, apply_claude_code_body_mimicry_for_transport,
|
|
|
|
|
ClaudeCodeBodyMimicryContext,
|
|
|
|
|
};
|
2026-04-19 21:45:57 +08:00
|
|
|
pub use policy::{
|
|
|
|
|
local_claude_code_transport_unsupported_reason_with_network,
|
|
|
|
|
supports_local_claude_code_transport_with_network,
|
|
|
|
|
};
|
2026-07-27 09:36:31 +08:00
|
|
|
pub use profile::{
|
2026-10-01 15:56:21 +08:00
|
|
|
claude_code_client_profile, claude_code_client_user_agent, claude_code_client_version,
|
|
|
|
|
current_claude_code_transport_identity_profile, set_claude_code_cli_version,
|
|
|
|
|
set_claude_code_client_profile, ClaudeCodeBodyCapabilityGate, ClaudeCodeClientProfile,
|
2026-07-27 09:36:31 +08:00
|
|
|
ClaudeCodeTransportIdentityProfile, ClaudeCodeTransportIdentityProfileVersion,
|
2026-10-01 15:56:21 +08:00
|
|
|
ClaudeCodeTransportIdentityTemplate, CLAUDE_CODE_BUILTIN_CLI_VERSION,
|
2026-07-27 09:36:31 +08:00
|
|
|
CLAUDE_CODE_CONTEXT_MANAGEMENT_BETA, CLAUDE_CODE_TRANSPORT_IDENTITY_2026_04,
|
|
|
|
|
};
|
|
|
|
|
pub use request::{
|
2026-10-05 15:18:36 +08:00
|
|
|
build_claude_code_passthrough_headers, finalize_claude_code_request_identity,
|
|
|
|
|
sanitize_claude_code_request_body, sanitize_claude_code_request_body_for_beta_header,
|
2026-07-27 09:36:31 +08:00
|
|
|
};
|
2026-04-05 20:23:16 +08:00
|
|
|
pub use url::build_claude_code_messages_url;
|