Skip to main content

Crate ccs_proxy

Crate ccs_proxy 

Source
Expand description

ccs-proxy: a local logging reverse-proxy + dashboard that captures the traffic between Claude Code / Codex and their upstream LLM APIs.

Re-exports§

pub use capture::CaptureEvent;
pub use provider::ProviderKind;

Modules§

api
capture
provider
proxy
Reverse-proxy app: matches every inbound HTTP request via a fallback handler, forwards it to the configured upstream, and tees a copy of the response byte stream into a background reassembler for capture.
store

Structs§

AppState
ProxyHandle
ServeConfig
SessionId

Enums§

ServeError

Functions§

serve
Bind both the reverse-proxy and the API listeners on 127.0.0.1, wire shared AppState, spawn the server task, and return a ProxyHandle that the caller can use to discover the bound ports and trigger shutdown.