{"modulePath":"github.com/rossoctl/cortex/core","version":"v0.0.0-20261203232816-53bd38a4e073","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/rossoctl/cortex/core/accounting","name":"accounting","synopsis":"Package accounting is Cortex's own host for github.com/rossoctl/accountant: it computes context-savings figures with the same rules the context-guru proxy uses, following the host obligations in accountant/docs/cortex-wiring.md W6.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/accounting/facts","name":"facts","synopsis":"Package facts classifies which LLM provider a request went to, and gives the cache facts (accountant.EntryFacts) that provider's prompt cache has for a model.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/accounting/push","name":"push","synopsis":"Package push sends Cortex's accountant counters (llm.savings.*) to the central collector over OTLP/HTTP (design §5.10).","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/accounting/reqstats","name":"reqstats","synopsis":"Package reqstats pushes the llm.inference.* transport metrics (requests by status class, duration, time-to-first-byte, time the proxy added, request/response bytes) that core/accounting/metrics.go's per-request accountant data cannot provide, because that call site never sees an HTTP status, a wall-clock duration, or a byte count.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/accounting/wire","name":"wire","synopsis":"Package wire reads an inference request body into the shape github.com/rossoctl/accountant hashes: tools, then system, then messages, one []byte per position, in the provider's cache order (accountant/docs/cortex-wiring.md W6.3).","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/attribution","name":"attribution","synopsis":"Package attribution decides which agent, process and session a request belongs to.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/auth","name":"auth","synopsis":"Package auth composes core building blocks into HandleInbound and HandleOutbound — the two functions that all listeners call.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/bootstrap","name":"bootstrap","synopsis":"Package bootstrap holds process-level helpers shared by the authbridge binaries (cortex, cortex-envoy).","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/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/core/capabilities","name":"capabilities","synopsis":"Package capabilities 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/core/clientstate","name":"clientstate","synopsis":"Package clientstate owns the on-disk record agentop writes when it points an agent at Cortex, and which cortex reads back to check the agent is still pointed at the CA in force.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/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/core/cost/event","name":"event","synopsis":"Package event 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/core/cost/ledger","name":"ledger","synopsis":"Package ledger persists per-minute cost and token totals to disk so \"what did today cost\" survives a restart.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/cost/pricing","name":"pricing","synopsis":"Package pricing owns model rates and the arithmetic that turns tokens into dollars.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/cost/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/core/cost/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/core/cost/pricing/pricelist","name":"pricelist","synopsis":"Package pricelist keeps vendor list prices current by downloading LiteLLM's public price map while the proxy runs, rather than only when the binary is built.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/cost/settle","name":"settle","synopsis":"Package settle turns one response's facts into one settled cost.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/cost/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},{"path":"github.com/rossoctl/cortex/core/fsutil","name":"fsutil","synopsis":"Package fsutil holds file operations that need care on Windows.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/intent","name":"intent","synopsis":"Package intent finds the text that a human typed in an agent's inference request.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/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/core/internal/parsefixture","name":"parsefixture","synopsis":"Package parsefixture runs a parser plugin over saved request and response pairs and compares the result with a golden file.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/internal/parsercommon","name":"parsercommon","synopsis":"Package parsercommon holds small helpers shared by the protocol parser libraries in core/parse (mcp, a2a, inference), the mcp-parser and inference-parser plugins, and the cpex plugin.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/internal/tztest","name":"tztest","synopsis":"Package tztest loads real time zones for tests from a tz release pinned in this repository, never from the machine that runs them.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/internal/wirefixture","name":"wirefixture","synopsis":"Package wirefixture checks a handler's JSON against a shared fixture file.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/listener/egressallow","name":"egressallow","synopsis":"Package egressallow implements the forward proxy's deny-by-default destination allow list (#1483, MOCA MI1 §8.5): a sandbox may reach only the host:port entries the operator lists, and a request for anything else is refused by name — never left to time out — before DNS resolution and before any dial.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/listener/egressguard","name":"egressguard","synopsis":"Package egressguard implements the forward proxy's SSRF dial guard (#1484, MOCA MI1 §8.5): resolve a destination once, refuse addresses a sandbox must never reach through the proxy, and dial the address that was checked — never a second resolution's answer.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/listener/extproc","name":"extproc","synopsis":"Package extproc implements an Envoy ext_proc gRPC streaming listener.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/listener/forwardproxy","name":"forwardproxy","synopsis":"Package forwardproxy implements an HTTP forward proxy listener.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/listener/httpx","name":"httpx","synopsis":"Package httpx contains the HTTP helpers shared across this repo's servers: the forward, reverse and ext_proc listeners, the stats and session APIs, and the agentop viewer's pprof surface.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/listener/httpx/pprofx","name":"pprofx","synopsis":"Package pprofx mounts Go's net/http/pprof handlers behind the browser defenses.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/listener/internal/bodycount","name":"bodycount","synopsis":"Package bodycount counts the bytes a listener reads off an upstream response body, so every listener reports the same figure for the same response (#1309).","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/listener/internal/bodyread","name":"bodyread","synopsis":"Package bodyread reports why buffering a request body failed.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/listener/internal/sessionevent","name":"sessionevent","synopsis":"Package sessionevent builds the session rows every listener records for a request: Request and Response for one the pipeline let through, Deny and DenyResponse for one it rejected.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/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/core/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/core/listener/internal/wsframe","name":"wsframe","synopsis":"Package wsframe reads and writes RFC 6455 WebSocket frames for a proxy that relays a connection it also needs to read.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/listener/reverseproxy","name":"reverseproxy","synopsis":"Package reverseproxy implements an HTTP reverse proxy listener.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/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/core/listener/transparentproxy","name":"transparentproxy","synopsis":"Package transparentproxy implements transparent (iptables-REDIRECTed) proxy listeners for proxy-sidecar mode.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/listener/vmcontrol","name":"vmcontrol","synopsis":"Package vmcontrol carries the per-VM listening socket from MOCA's vmpool to the Cortex forward proxy (#1477).","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/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/core/memstore","name":"memstore","synopsis":"Package memstore provides a generic, process-scoped, TTL key→value store that plugins reach via pipeline.Context.Shared.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/model","name":"model","synopsis":"","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/observe","name":"observe","synopsis":"","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/observe/claude","name":"claude","synopsis":"Package claude owns the Claude Code session-metadata contract: the shape agentop'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/core/parse/a2a","name":"a2a","synopsis":"Package a2a parses A2A JSON-RPC 2.0 requests and responses from plain values.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/parse/inference","name":"inference","synopsis":"Package inference parses LLM inference requests and responses from plain values: Anthropic Messages, OpenAI Chat Completions and the Responses API.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/parse/mcp","name":"mcp","synopsis":"Package mcp parses MCP JSON-RPC 2.0 requests and responses from plain values.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/peerproc","name":"peerproc","synopsis":"Package peerproc names the process at the other end of a TCP connection this process accepted, so a proxy on the same host can tell its clients apart by process rather than by what they claim in their requests.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/pipeline","name":"pipeline","synopsis":"","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/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/core/plugins","name":"plugins","synopsis":"","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/plugins/a2aparser","name":"a2aparser","synopsis":"","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/plugins/all","name":"all","synopsis":"Package all registers the bundled plugins for every binary that imports it.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/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/core/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 CPEX's built-in plugins (JWT identity, OAuth delegation, the Cedar, CEL and OPA decision points) — without writing Go code.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/plugins/evolve","name":"evolve","synopsis":"Package evolve connects Cortex to altk-evolve, a service that learns guidelines from agent trajectories (https://github.com/AgentToolkit/altk-evolve), using only the tools a stock `evolve-mcp --transport sse` server exposes.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/plugins/ibac","name":"ibac","synopsis":"Package ibac implements an Intent-Based Access Control plugin for authbridge.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/plugins/inferenceparser","name":"inferenceparser","synopsis":"","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/plugins/inferencerouter","name":"inferencerouter","synopsis":"Package inferencerouter is the inference-router plugin: it sends a coding agent's new sessions to the inference server chosen for that agent, and keeps every session on the server it started on.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/plugins/inferencerouter/routerconfig","name":"routerconfig","synopsis":"Package routerconfig is the inference-router plugin's configuration: its shape, its validation, and the host rules the plugin routes by.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/plugins/internal/hostmatch","name":"hostmatch","synopsis":"Package hostmatch matches a request host against the bypass_hosts globs that ibac, sparc, cpex and lineage share.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/plugins/jwtvalidation","name":"jwtvalidation","synopsis":"","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/plugins/jwtvalidation/validation","name":"validation","synopsis":"Package validation provides JWT verification with JWKS-based key resolution.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/plugins/lineage","name":"lineage","synopsis":"Package lineage provides the lineage-telemetry authbridge plugin.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/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/core/plugins/mcpparser","name":"mcpparser","synopsis":"","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/plugins/opa","name":"opa","synopsis":"","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/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/core/plugins/script","name":"script","synopsis":"Package script is the script plugin: it runs every executable file in a folder as a pipeline step, so a user can customize Cortex with a small Python or shell script instead of a Go plugin and a rebuild.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/plugins/script/catalog","name":"catalog","synopsis":"Package catalog is the script plugins Cortex ships: each folder under entries/ is one entry, which installed is one slot.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/plugins/script/internal/worker","name":"worker","synopsis":"Package worker runs one script as a long-lived child process and exchanges line-delimited JSON with it: one object per line on the child's stdin, one per line back on its stdout.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/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/core/plugins/sparc","name":"sparc","synopsis":"Package sparc implements a pre-tool reflection plugin for authbridge.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/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/core/plugins/tokenbroker","name":"tokenbroker","synopsis":"","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/plugins/tokenbroker/client","name":"client","synopsis":"Package client provides an HTTP client for the Token Broker service.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/plugins/tokenexchange","name":"tokenexchange","synopsis":"","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/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/core/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/core/plugins/tokenexchangeaiac","name":"tokenexchangeaiac","synopsis":"Package tokenexchangeaiac is an outbound token-exchange plugin that needs no routes.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/plugins/toolprune","name":"toolprune","synopsis":"Package toolprune removes unused tool definitions from outbound inference requests.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/project","name":"project","synopsis":"Package project names the project an agent process works in: the git repo root of its cwd.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/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/core/redact/content","name":"content","synopsis":"Package content finds secrets in content: the text of request and response bodies, SSE streams, and the text fields of session events (#1921).","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/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/core/routing","name":"routing","synopsis":"Package routing provides host-to-audience routing for token exchange.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/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/core/session/archive","name":"archive","synopsis":"Package archive persists sessions to disk so they survive a restart and the store's own eviction, and so agentop can browse them afterwards.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/session/importer","name":"importer","synopsis":"Package importer writes sessions from an agent's own transcripts on disk into the session archive and the cost ledger, as sessions with the imported mark.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/session/importer/bob","name":"bob","synopsis":"Package bob is the importer source for Bob (Bob Shell and Bob IDE).","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/session/importer/claude","name":"claude","synopsis":"Package claude is the importer source for Claude Code.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/session/importer/codex","name":"codex","synopsis":"Package codex is the importer source for Codex.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/session/importer/opencode","name":"opencode","synopsis":"Package opencode is the importer source for OpenCode.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/session/importer/pi","name":"pi","synopsis":"Package pi is the importer source for Pi (pi.dev).","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/session/importer/sqlitecli","name":"sqlitecli","synopsis":"Package sqlitecli reads a SQLite database through the sqlite3 program, so that no module links a SQLite driver.","isRedistributable":true},{"path":"github.com/rossoctl/cortex/core/session/timeline","name":"timeline","synopsis":"Package timeline turns one session's events into spans on a time axis: which Claude Code agent was generating, which tool it was running, when a subagent was spawned and when its result came back, and which hosts the session talked to.","isRedistributable":true}],"total":114,"nextPageToken":"c1fc50ff3e0a990c06f919e3242c17de"}}
