Functionsยง
- cleanup_
stale_ proxy_ env - Removes stale proxy URLs from Claude Code / Codex settings when the proxy is not enabled. Returns the number of stale URLs cleaned up.
- default_
port - has_
stale_ proxy_ url - Returns true if Claude Code settings contain a local ANTHROPIC_BASE_URL while the proxy is not enabled (stale configuration).
- install_
proxy_ env - install_
proxy_ env_ unchecked - Install proxy env without config guard (used by
lean-ctx proxy enablewhich has already set the flag).force_endpoint: if true, overrides even non-local custom endpoints. - is_
local_ lean_ ctx_ url - preview_
proxy_ cleanup - uninstall_
proxy_ env