{"modulePath":"github.com/rossoctl/cortex/authbridge/authlib","version":"v0.0.0-20260925150928-4ef879cde00f","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/rossoctl/cortex/authbridge/authlib/auth","name":"auth","synopsis":"Package auth composes authlib building blocks into HandleInbound and HandleOutbound — the two functions that all listeners call.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/bypass","name":"bypass","synopsis":"Package bypass provides path pattern matching for skipping JWT validation on public endpoints (e.g., health probes, agent card discovery).","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/clientstate","name":"clientstate","synopsis":"Package clientstate owns the on-disk record abctl writes when it points an agent at Cortex, and which authbridge-proxy reads back to check the agent is still pointed at the CA in force.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/config","name":"config","synopsis":"Package config provides YAML-based configuration with mode presets and startup validation for the AuthBridge auth layer.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/contracts","name":"contracts","synopsis":"Package contracts defines capability interfaces that protocol extensions implement to participate in framework services like content inspection, session bucketing, and summarization.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/costevent","name":"costevent","synopsis":"Package costevent is the canonical wire shape of the per-request cost that litellm-budget-track publishes onto a session event.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/costing","name":"costing","synopsis":"Package costing turns one response's facts into one settled cost.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/costledger","name":"costledger","synopsis":"Package costledger persists per-minute cost and token totals to disk so \"what did today cost\" survives a restart.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/internal/hostglob","name":"hostglob","synopsis":"Package hostglob is the one place cortex turns an operator-supplied host pattern into a matcher, and the one place that decides what counts as a dangerously broad pattern.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/listener/extproc","name":"extproc","synopsis":"Package extproc implements an Envoy ext_proc gRPC streaming listener.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/listener/forwardproxy","name":"forwardproxy","synopsis":"Package forwardproxy implements an HTTP forward proxy listener.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/listener/httpx","name":"httpx","synopsis":"Package httpx contains HTTP-listener helpers shared between the forwardproxy and reverseproxy listeners.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/listener/internal/bodyread","name":"bodyread","synopsis":"Package bodyread reports why buffering a request body failed.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/listener/internal/sseframe","name":"sseframe","synopsis":"Package sseframe reads complete Server-Sent Event frames off a streaming HTTP response body.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/listener/internal/tlssniff","name":"tlssniff","synopsis":"Package tlssniff provides a net.Listener wrapper that detects whether each accepted connection is a TLS handshake or a plain HTTP request, and dispatches accordingly.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/listener/reverseproxy","name":"reverseproxy","synopsis":"Package reverseproxy implements an HTTP reverse proxy listener.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/listener/skiphost","name":"skiphost","synopsis":"Package skiphost matches an outbound destination Host against an operator-configured pattern list to decide whether the listener should short-circuit — bypassing the plugin pipeline and session recording — and forward the request as a transparent proxy.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/listener/transparentproxy","name":"transparentproxy","synopsis":"Package transparentproxy implements transparent (iptables-REDIRECTed) proxy listeners for proxy-sidecar mode.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/llmclient","name":"llmclient","synopsis":"Package llmclient is a small helper for calling OpenAI-compatible chat-completions endpoints from authbridge plugins.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/observe","name":"observe","synopsis":"","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/observe/claude","name":"claude","synopsis":"Package claude owns the Claude Code session-metadata contract: the shape abctl's harvester writes to ~/.cortex/session-metadata.json, the path it lives at, and the harvest that produces it.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/pipeline","name":"pipeline","synopsis":"","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/placeholder","name":"placeholder","synopsis":"Package placeholder defines the convention for opaque credential handles: a random \"abph_\" token the agent receives in place of the real Authorization value, plus the namespaced key used to store the real token in a shared store.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/plugins","name":"plugins","synopsis":"","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/plugins/a2aparser","name":"a2aparser","synopsis":"","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/plugins/contextguru","name":"contextguru","synopsis":"Package contextguru is an outbound AuthBridge plugin that compacts an agent's LLM request context before it is forwarded upstream, using the embedded github.com/rossoctl/context-guru engine.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/plugins/cpex","name":"cpex","synopsis":"Package cpex bridges AuthBridge requests through the CPEX (Context Plugin Execution) framework so operators can drive policy with CPEX's APL (Attribute Policy Language) DSL — or any of the pre-built CPEX plugins (Cedar PDP, PII scanner, audit logger, JWT identity, OAuth delegation) — without writing Go code.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/plugins/ibac","name":"ibac","synopsis":"Package ibac implements an Intent-Based Access Control plugin for authbridge.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/plugins/inferenceparser","name":"inferenceparser","synopsis":"","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/plugins/internal/parsercommon","name":"parsercommon","synopsis":"Package parsercommon holds small helpers shared by the in-tree protocol parser plugins (a2a-parser, mcp-parser, inference-parser).","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/plugins/jwtvalidation","name":"jwtvalidation","synopsis":"","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/plugins/jwtvalidation/validation","name":"validation","synopsis":"Package validation provides JWT verification with JWKS-based key resolution.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/plugins/lineage","name":"lineage","synopsis":"Package lineage provides the lineage-telemetry authbridge plugin.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/plugins/litellm_budgettrack","name":"litellm_budgettrack","synopsis":"Package litellm_budgettrack provides a pipeline plugin that tracks per-request cost and enforces a daily spending budget, rejecting requests with HTTP 429 when the budget is exceeded.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/plugins/mcpparser","name":"mcpparser","synopsis":"","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/plugins/opa","name":"opa","synopsis":"","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/plugins/plugintesting","name":"plugintesting","synopsis":"Package plugintesting exposes stub plugin adapters for listener tests that need to inject pre-built *auth.Auth instances (for example, with a mock verifier or a mock exchanger) without going through the real plugins' Configure path.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/plugins/sessionbudget","name":"sessionbudget","synopsis":"Package sessionbudget enforces per-session lifetime budgets on tokens, inference calls, and wall-clock duration.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/plugins/sparc","name":"sparc","synopsis":"Package sparc implements a pre-tool reflection plugin for authbridge.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/plugins/staticinject","name":"staticinject","synopsis":"Package staticinject implements the static-inject outbound AuthBridge plugin: it swaps a placeholder credential on the outbound Authorization header for a real static credential, so a model-influenced workload never holds the real secret.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/plugins/tokenbroker","name":"tokenbroker","synopsis":"","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/plugins/tokenbroker/client","name":"client","synopsis":"Package client provides an HTTP client for the Token Broker service.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/plugins/tokenexchange","name":"tokenexchange","synopsis":"","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/plugins/tokenexchange/cache","name":"cache","synopsis":"Package cache provides a SHA-256 keyed token cache with TTL-based eviction.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/plugins/tokenexchange/exchange","name":"exchange","synopsis":"Package exchange implements RFC 8693 OAuth 2.0 Token Exchange and client credentials grant.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/plugins/toolprune","name":"toolprune","synopsis":"Package toolprune removes unused tool definitions from outbound inference requests.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/praxis","name":"praxis","synopsis":"Package praxis converts an AuthBridge config.Config into a Praxis proxy configuration (https://github.com/praxis-proxy/praxis).","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/pricing","name":"pricing","synopsis":"Package pricing owns model rates and the arithmetic that turns tokens into dollars.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/pricing/internal/gen","name":"main","synopsis":"Command gen regenerates the bundled price table from LiteLLM's public price map.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/pricing/internal/pricegen","name":"pricegen","synopsis":"Package pricegen turns LiteLLM's public model_prices_and_context_window.json into pricing.Entry rows and renders them as Go source.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/redact","name":"redact","synopsis":"Package redact provides best-effort stripping of sensitive values from JSON config payloads served by unauthenticated diagnostic endpoints.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/reloader","name":"reloader","synopsis":"Package reloader watches a config file and atomically swaps the inbound / outbound plugin pipelines when the file changes.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/routing","name":"routing","synopsis":"Package routing provides host-to-audience routing for token exchange.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/runtimeutil","name":"runtimeutil","synopsis":"Package runtimeutil holds process-level helpers shared by the authbridge binaries (authbridge-proxy, authbridge-cpex, authbridge-envoy).","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/session","name":"session","synopsis":"Package session provides an in-memory session store for correlating inbound user intents with outbound tool calls across request boundaries.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/sessionapi","name":"sessionapi","synopsis":"Package sessionapi exposes AuthBridge's in-memory session store over HTTP: JSON snapshots plus an SSE stream of live events.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/shared","name":"shared","synopsis":"Package shared provides a generic, process-scoped, TTL key→value store that plugins reach via pipeline.Context.Shared.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/spiffe","name":"spiffe","synopsis":"authlib/spiffe/consumer.go","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/storage","name":"storage","synopsis":"","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/tls","name":"tls","synopsis":"Package tls builds *crypto/tls.Config values for authbridge's reverse-proxy and forward-proxy listeners using a SPIRE X.509 SVID source.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/tlsbridge","name":"tlsbridge","synopsis":"Package tlsbridge implements AuthBridge's outbound TLS bridge: it forges a per-origin leaf so the agent's egress TLS terminates at AuthBridge, the existing outbound pipeline runs on the decrypted request, and the call is relayed over a separately-verified upstream TLS connection.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/authbridge/authlib/usage","name":"usage","synopsis":"Package usage aggregates session events into fixed-width time buckets so a client can chart volume, errors, latency and cost over wall-clock time.","isRedistributable":true}],"total":62}}
