internal/

directory
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2026 License: AGPL-3.0

Directories

Path Synopsis
Package accounts keeps the live pool of upstream accounts: selection, token refresh, cooldowns, quota polling and banked-reset redemption.
Package accounts keeps the live pool of upstream accounts: selection, token refresh, cooldowns, quota polling and banked-reset redemption.
Package audit records full request detail (headers and bodies) for later review, off the request path.
Package audit records full request detail (headers and bodies) for later review, off the request path.
Package models is the built-in model catalog.
Package models is the built-in model catalog.
Package provider holds what Claude and Codex accounts have in common: credentials, identity, and the operations the account manager needs from each provider.
Package provider holds what Claude and Codex accounts have in common: credentials, identity, and the operations the account manager needs from each provider.
claude
Package claude implements Claude (Anthropic OAuth / Claude Code subscription) accounts.
Package claude implements Claude (Anthropic OAuth / Claude Code subscription) accounts.
codex
Package codex implements ChatGPT/Codex subscription accounts.
Package codex implements ChatGPT/Codex subscription accounts.
Package proxy serves the client-facing /v1 API and routes requests to upstream accounts.
Package proxy serves the client-facing /v1 API and routes requests to upstream accounts.
Package quota holds the provider-neutral shape of upstream subscription limits and builds the filtered views shown on the public quota page.
Package quota holds the provider-neutral shape of upstream subscription limits and builds the filtered views shown on the public quota page.
Package resets polls public trackers of announced global usage-limit resets: codex-resets.com for Codex and claude-resets.com for Claude.
Package resets polls public trackers of announced global usage-limit resets: codex-resets.com for Codex and claude-resets.com for Claude.
Package routing turns the model name a client asked for into the model and accounts that serve it: model mapping rules, the catalog with admin overrides, and access checks.
Package routing turns the model name a client asked for into the model and accounts that serve it: model mapping rules, the catalog with admin overrides, and access checks.
Package settings holds runtime settings editable from the dashboard, cached in memory.
Package settings holds runtime settings editable from the dashboard, cached in memory.
Package translate converts requests and streamed responses between the OpenAI Chat Completions, Anthropic Messages and OpenAI Responses formats.
Package translate converts requests and streamed responses between the OpenAI Chat Completions, Anthropic Messages and OpenAI Responses formats.
Package update checks GitHub for newer maitake releases and their changelogs.
Package update checks GitHub for newer maitake releases and their changelogs.
Package usage batches request records into the database off the request path.
Package usage batches request records into the database off the request path.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL