Modules§
Structs§
- Config
V4Migration Report - Group
Config V2 - Group
Member RefV2 - Loaded
Proxy Config - Notify
Config - Notify
Exec Config - Notify
Policy Config - Notify
System Config - Persisted
Provider Endpoint Spec - Persisted
Provider Spec - Persisted
Providers Catalog - Persisted
Routing Provider Ref - Persisted
Routing Spec - Persisted
Station Provider Endpoint Ref - Persisted
Station Provider Ref - Persisted
Station Spec - Persisted
Stations Catalog - Provider
Config V2 - Provider
Config V4 - Provider
Endpoint V2 - Provider
Endpoint V4 - Proxy
Config - Proxy
Config V2 - Proxy
Config V4 - Resolved
Retry Config - Resolved
Retry Layer Config - Retry
Config - Retry
Layer Config - Routing
Candidate - Routing
Condition V4 - Routing
Config V4 - Routing
Node V4 - Routing
Pool V4 - Service
Config - A logical config entry (roughly corresponds to cli_proxy 的一个配置名)
- Service
Config Manager - Service
Control Profile - Service
Routing Explanation - Service
View V2 - Service
View V4 - Sync
Codex Auth From Codex Options - Sync
Codex Auth From Codex Report - UiConfig
- Upstream
Auth - Upstream
Config
Enums§
- Retry
Profile Name - Retry
Strategy - Routing
Affinity Policy V5 - Routing
Exhausted Action V4 - Routing
Policy V4 - Service
Kind - 支持的上游服务类型:Codex / Claude。
Constants§
Functions§
- build_
persisted_ provider_ catalog - build_
persisted_ station_ catalog - claude_
settings_ backup_ path - claude_
settings_ path - codex_
auth_ path - codex_
config_ path - codex_
sessions_ dir - Directory where Codex stores conversation sessions:
~/.codex/sessions(or$CODEX_HOME/sessions). - codex_
switch_ state_ path - collect_
route_ graph_ affinity_ migration_ warnings - compact_
v2_ config - compile_
v2_ to_ runtime - compile_
v4_ to_ runtime - compile_
v4_ to_ v2 - config_
file_ path - Return the primary config file path that will be used by
load_config(). - effective_
v4_ routing - explain_
service_ routing - import_
codex_ config_ from_ codex_ cli - 显式从 Codex CLI 的配置文件(~/.codex/config.toml + auth.json)导入/刷新 codex 段配置。
- init_
config_ toml - is_
supported_ route_ graph_ config_ version - load_
config - load_
config_ with_ v4_ source - load_
or_ bootstrap_ for_ service - Unified entry to load proxy config and, if necessary, bootstrap upstreams from the official Codex / Claude configuration files.
- load_
or_ bootstrap_ for_ service_ with_ v4_ source - load_
or_ bootstrap_ from_ claude - load_
or_ bootstrap_ from_ codex - 加载代理配置,如有必要从 ~/.codex 自动初始化 codex 配置。
- migrate_
legacy_ to_ v2 - migrate_
legacy_ to_ v4 - migrate_
legacy_ to_ v4_ with_ report - migrate_
v2_ to_ v4 - migrate_
v2_ to_ v4_ with_ report - model_
routing_ warnings - overwrite_
codex_ config_ from_ codex_ cli_ in_ place - Overwrite Codex configs from ~/.codex/config.toml + auth.json (in-place).
- probe_
codex_ bootstrap_ from_ cli - Probe whether we can successfully bootstrap Codex upstreams from
~/.codex/config.toml and ~/.codex/auth.json without mutating any
codex-helper configs. Intended for diagnostics (
codex-helper doctor). - proxy_
home_ dir - 获取 codex-helper 的主目录(用于配置、日志等)
- resolve_
service_ profile - resolve_
service_ profile_ from_ catalog - resolved_
v4_ provider_ order - save_
config - save_
config_ v2 - save_
config_ v4 - sync_
codex_ auth_ from_ codex_ cli - Sync Codex auth env vars from ~/.codex/config.toml + auth.json without changing routing config.
- validate_
profile_ station_ compatibility