Documentation
¶
Overview ¶
Package launcher implements `shim run`: locate `claude`, inject the ANTHROPIC_BASE_URL + ANTHROPIC_API_KEY env vars pointing at the local shim server, and exec it with the user's args. Stdio is wired through.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
Run resolves the target binary via exec.LookPath, prints a one-line breadcrumb to Stderr (so users see *something* before the subprocess produces output), then execs the binary with env injected. Returns the subprocess exit code as (code, nil) on a normal-but-non-zero exit, or (0, err) when the launcher itself failed (lookup, fork, IO).
Types ¶
Click to show internal directories.
Click to hide internal directories.