Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
relay
command
Command relay is the self-hosted agent relay: an authenticating inference proxy that fronts agent CLIs (v1: claude) behind Anthropic- and OpenAI-compatible HTTP APIs.
|
Command relay is the self-hosted agent relay: an authenticating inference proxy that fronts agent CLIs (v1: claude) behind Anthropic- and OpenAI-compatible HTTP APIs. |
|
internal
|
|
|
api/anthropic
Package anthropic translates the Anthropic Messages wire format to and from the neutral core model (REQ-API-01).
|
Package anthropic translates the Anthropic Messages wire format to and from the neutral core model (REQ-API-01). |
|
api/openai
Package openai translates the OpenAI Chat Completions wire format to and from the neutral core model (REQ-API-03).
|
Package openai translates the OpenAI Chat Completions wire format to and from the neutral core model (REQ-API-03). |
|
backend/claude
Package claude adapts the `claude` CLI to the neutral core.Backend interface.
|
Package claude adapts the `claude` CLI to the neutral core.Backend interface. |
|
config
Package config loads and validates the relay configuration.
|
Package config loads and validates the relay configuration. |
|
core
Package core defines the neutral request/event model that sits between the wire-format API layer and the agent backends.
|
Package core defines the neutral request/event model that sits between the wire-format API layer and the agent backends. |
|
obs
Package obs provides request IDs, structured request logging, and a minimal JSON metrics snapshot (REQ-API-06, DQ-4: minimal JSON over Prometheus for v1).
|
Package obs provides request IDs, structured request logging, and a minimal JSON metrics snapshot (REQ-API-06, DQ-4: minimal JSON over Prometheus for v1). |
|
server
Package server wires the HTTP mux: routing, auth, and the handlers that bridge wire decoding to core dispatch.
|
Package server wires the HTTP mux: routing, auth, and the handlers that bridge wire decoding to core dispatch. |
Click to show internal directories.
Click to hide internal directories.