Directories
¶
| Path | Synopsis |
|---|---|
|
Package adapter holds what every agent adapter hands the wrapper.
|
Package adapter holds what every agent adapter hands the wrapper. |
|
claudecode
Package claudecode reads Claude Code runs.
|
Package claudecode reads Claude Code runs. |
|
codex
Package codex reads `codex exec --json` runs.
|
Package codex reads `codex exec --json` runs. |
|
ghaw
Package ghaw reads what a GitHub Agentic Workflows (gh-aw) run spent, from the usage artifact its conclusion job uploads.
|
Package ghaw reads what a GitHub Agentic Workflows (gh-aw) run spent, from the usage artifact its conclusion job uploads. |
|
Package agenttest keeps a test from starting a real coding agent.
|
Package agenttest keeps a test from starting a real coding agent. |
|
Package catalog prices token classes against the pinned sheets.
|
Package catalog prices token classes against the pinned sheets. |
|
Package cicontext reads what the CI system says about a run.
|
Package cicontext reads what the CI system says about a run. |
|
Package comment turns FOCUS rows into the check output and the sticky pull request comment.
|
Package comment turns FOCUS rows into the check output and the sticky pull request comment. |
|
Package config checks a costroid.yml against the published schema.
|
Package config checks a costroid.yml against the published schema. |
|
Package decimal is an exact base-10 number for money and quantities.
|
Package decimal is an exact base-10 number for money and quantities. |
|
Package egress is the one way out of costroid serve.
|
Package egress is the one way out of costroid serve. |
|
Package export writes a rows file in the import format of another cost tool: FOCUS 1.4 CSV, a Vantage custom provider's CSV, or Datadog's Custom Costs CSV.
|
Package export writes a rows file in the import format of another cost tool: FOCUS 1.4 CSV, a Vantage custom provider's CSV, or Datadog's Custom Costs CSV. |
|
Package fanout runs CPU-bound work over a list on every core the process has.
|
Package fanout runs CPU-bound work over a list on every core the process has. |
|
Package focus holds the Costroid FOCUS row, version 0.3, and its writer.
|
Package focus holds the Costroid FOCUS row, version 0.3, and its writer. |
|
Package gateway gives one CI run its own key on a LiteLLM proxy.
|
Package gateway gives one CI run its own key on a LiteLLM proxy. |
|
gatewaytest
Package gatewaytest serves the LiteLLM proxy routes costroid gateway calls, as LiteLLM v1.108.1 answered them on 2026-11-07, for tests.
|
Package gatewaytest serves the LiteLLM proxy routes costroid gateway calls, as LiteLLM v1.108.1 answered them on 2026-11-07, for tests. |
|
Package history reads the result objects earlier reports posted on a pull request's commits, and adds their figures up with this run's.
|
Package history reads the result objects earlier reports posted on a pull request's commits, and adds their figures up with this run's. |
|
Package mcpserver answers the Model Context Protocol over one connection, so an agent can ask what its run has cost while it works.
|
Package mcpserver answers the Model Context Protocol over one connection, so an agent can ask what its run has cost while it works. |
|
Package oidc verifies CI OIDC ID tokens and reads a run's identity from them.
|
Package oidc verifies CI OIDC ID tokens and reads a run's identity from them. |
|
oidctest
Package oidctest is a stub OIDC issuer for tests: an RSA key, a JWKS endpoint and a signer.
|
Package oidctest is a stub OIDC issuer for tests: an RSA key, a JWKS endpoint and a signer. |
|
Package otlp reads OTLP/HTTP traces and logs into per-request usage.
|
Package otlp reads OTLP/HTTP traces and logs into per-request usage. |
|
Package otlpemit sends a rows file to an OpenTelemetry backend as traces over OTLP/HTTP: one span per model request.
|
Package otlpemit sends a rows file to an OpenTelemetry backend as traces over OTLP/HTTP: one span per model request. |
|
Package policy decides the check's conclusion.
|
Package policy decides the check's conclusion. |
|
Package reason holds the words a run states about itself: why it wrote no rows, what to do about the error its agent ended in, and the reader's error line.
|
Package reason holds the words a run states about itself: why it wrote no rows, what to do about the error its agent ended in, and the reader's error line. |
|
Package recipelint holds the shipped CI recipes to their security rules: no privileged trigger, every action pinned by SHA, and an agent's job that holds nothing but read access to the code.
|
Package recipelint holds the shipped CI recipes to their security rules: no privileged trigger, every action pinned by SHA, and an agent's job that holds nothing but read access to the code. |
|
Package reconcile compares the ledger with the provider's own reports, per credential per day.
|
Package reconcile compares the ledger with the provider's own reports, per credential per day. |
|
state
Package state names a reconciliation's verdict on its tokens.
|
Package state names a reconciliation's verdict on its tokens. |
|
Package review renders the agent's own answer as a second pull request comment, apart from Costroid's report.
|
Package review renders the agent's own answer as a second pull request comment, apart from Costroid's report. |
|
Package run launches an agent under a budget and turns its usage into rows.
|
Package run launches an agent under a budget and turns its usage into rows. |
|
Package scm reaches a source-code host through one interface.
|
Package scm reaches a source-code host through one interface. |
|
scmtest
Package scmtest holds stub GitHub and GitLab APIs for tests.
|
Package scmtest holds stub GitHub and GitLab APIs for tests. |
|
Package server is the ingest service behind costroid serve: the result-stream and OTLP paths, pricing against the pinned catalog, and the per-PR view.
|
Package server is the ingest service behind costroid serve: the result-stream and OTLP paths, pricing against the pinned catalog, and the per-PR view. |
|
Package status writes a run's status file: what the run has spent so far, its cap, what is left and what holds it, for the agent and the job to read while the agent works.
|
Package status writes a run's status file: what the run has spent so far, its cap, what is left and what holds it, for the agent and the job to read while the agent works. |
|
Package store is the ledger: FOCUS rows in Postgres, one tenant at a time.
|
Package store is the ledger: FOCUS rows in Postgres, one tenant at a time. |
|
storetest
Package storetest runs Postgres in Docker for the packages that need it.
|
Package storetest runs Postgres in Docker for the packages that need it. |
|
Package vcs reads the names a version control system gives a commit.
|
Package vcs reads the names a version control system gives a commit. |
Click to show internal directories.
Click to hide internal directories.