Skip to main content

Module codex_integration

Module codex_integration 

Source

Structs§

ClaudeSwitchStatus
CodexSwitchStatus

Functions§

claude_switch_off
从备份恢复 Claude settings.json(若存在)。
claude_switch_on
将 Claude Code 的 settings.json 指向本地 codex-helper 代理(实验性)。
claude_switch_status
codex_switch_status
guard_claude_settings_before_switch_on_interactive
Claude settings Guard:在修改 settings.json 之前,如发现当前已指向本地代理且存在备份, 则在交互模式下询问是否先恢复;非交互环境仅打印提示。
guard_codex_config_before_switch_on_interactive
在再次切换到本地代理之前,对 Codex 配置做一次守护性检查:
switch_off
Restore Codex config.toml from backup if present.
switch_on
Switch Codex to use the local codex-helper model provider.