Files
juliusbrussee__caveman/proxy/doc.go
T
Julius Brussee d4ef06be1c chore: scrub private-repo references from public tree (#832)
Removes ADR citations (decision records live in the private repo;
links were broken here) while keeping every described invariant
inline, and fixes generator headers / doc titles that leaked the
private monorepo layout (public/cli, cloud/web). Comments and docs
only — no behavior change.


Claude-Session: https://claude.ai/code/session_01DLNTYJU8vMEdDWpV7e7k7Z

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-13 01:41:38 +02:00

18 lines
995 B
Go

// Package proxy is the public, byte-safe Caveman reverse proxy: the `caveman`
// binary's standalone mode. It swaps a provider base URL for a local listener,
// applies the same byte-safe provider-native transforms as the managed gateway
// (record mode is always pass-through), and records truthful per-request spend
// to a local store labeled `inferred` — never `verified`.
//
// The request lifecycle and provider adapters live under this module:
// - providers/ the byte-safe adapter set (shared with the managed gateway)
// - internal/gateway/ the request loop, behind injected auth + telemetry
// - internal/config/ caveman.yaml + BYOK env-key resolution
// - internal/store/ the ~/.caveman/ SQLite spend store
// - cmd/caveman-proxy/ the standalone binary
package proxy
// DefaultListenAddr is where standalone mode binds by default; `caveman start`
// launches the proxy here and `caveman wrap` points agents at it.
const DefaultListenAddr = "127.0.0.1:8787"