Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteClaudeCode ¶
ExecuteClaudeCode runs the Claude Code CLI with configured environment. Uses syscall.Exec to replace the current process — never returns on success.
func LaunchWithProxy ¶ added in v0.4.0
LaunchWithProxy starts a local proxy for request transformation, then runs Claude Code as a child pointed at the proxy. The Go process stays alive until Claude exits so the proxy can serve requests.
func SetupEnvironment ¶
func SetupEnvironment(p config.Provider, opt config.OptimizationConfig) []string
SetupEnvironment prepares environment variables for Claude Code, starting from the parent environment with any pre-existing ANTHROPIC_/CLAUDE_CODE_ entries stripped (to prevent parent-shell leakage).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.