Documentation
¶
Overview ¶
Package cliproxy exposes Clawmeter's cached Claude and Codex readings through the read-only subset of CLIProxyAPI's management API that T3 Code reads (apps/server/src/usage/cliproxyApi.ts in pingdotgg/t3code). It answers from the cache the tray keeps and never forwards a request or returns a credential. Its only own request is for each account's identity, which T3 uses to match the account with its own login.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶
func NewHandler(managementKey string, sources []provider.Provider, maxAge time.Duration) (http.Handler, error)
NewHandler serves the T3 Code management API subset for the configured Claude and Codex sources. T3 treats every successful answer as current, so a reading older than maxAge is reported unavailable instead.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.