1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! Core library for `codexia`.
//!
//! The library owns the OAuth flow, token lifecycle, upstream Codex client,
//! HTTP server, and status inspection helpers used by both the CLI binary and
//! any embedding integration.
/// Anthropic-compatible Messages API request, response, and SSE adapters.
/// Codex upstream request/response adapters and streaming support.
/// Local credential storage, persisted runtime config, and time utilities.
/// Background service installation and lifecycle management.
/// Shared error types and result aliases.
/// Logging configuration and helpers.
/// Model list resolution from the built-in defaults.
/// OAuth authorization, token exchange, and callback parsing.
/// OpenAI-compatible public request and response types.
/// HTTP server entrypoints and route handlers.
/// Account and rate-limit status fetchers.
/// Test-only filesystem helpers shared across unit tests.
pub
/// Shared time formatting helpers for CLI and HTTP output.
/// OAuth credential caching and refresh orchestration.
/// Shared crate error type.
pub use ;