internal/

directory
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: MIT

Directories

Path Synopsis
Package browser opens a URL in the user's browser.
Package browser opens a URL in the user's browser.
Package buildinfo carries the version stamped in at link time.
Package buildinfo carries the version stamped in at link time.
Package cclink classifies and merges the top-level keys of Claude Code's .credentials.json, and reads and writes the file itself — Load, Activate, ActivateWith, ClearLogin, and the atomic writer.
Package cclink classifies and merges the top-level keys of Claude Code's .credentials.json, and reads and writes the file itself — Load, Activate, ActivateWith, ClearLogin, and the atomic writer.
Package cclock cooperates with the advisory locks Claude Code takes while mutating its own files.
Package cclock cooperates with the advisory locks Claude Code takes while mutating its own files.
Package ccpath resolves the files Claude Code reads and writes, mirroring Claude Code's own resolution so ccdad touches exactly the same paths.
Package ccpath resolves the files Claude Code reads and writes, mirroring Claude Code's own resolution so ccdad touches exactly the same paths.
Package ccver names the Claude Code that is installed on this machine, and does it without running one.
Package ccver names the Claude Code that is installed on this machine, and does it without running one.
Package cli holds the ccdad command tree and the process-wide exit contract.
Package cli holds the ccdad command tree and the process-wide exit contract.
Package config is ~/.ccdad/config.toml: the auto-switch engine's knobs, their defaults, and the re-read the daemon's tick loop performs every second.
Package config is ~/.ccdad/config.toml: the auto-switch engine's knobs, their defaults, and the re-read the daemon's tick loop performs every second.
Package credhome is the exclusion that stops two ccdad stores from driving one Claude Code login.
Package credhome is the exclusion that stops two ccdad stores from driving one Claude Code login.
Package daemon owns ccdad's background process: where its files live, the singleton that decides whether one is running, and the detached spawn that starts one.
Package daemon owns ccdad's background process: where its files live, the singleton that decides whether one is running, and the detached spawn that starts one.
Package forecast measures how fast a fleet of accounts is spending its quota and decides what that rate implies.
Package forecast measures how fast a fleet of accounts is spending its quota and decides what that rate implies.
Package history persists the usage readings the poller was already taking, so a burn rate can be measured from more than one of them.
Package history persists the usage readings the poller was already taking, so a burn rate can be measured from more than one of them.
Package identity resolves an OAuth token to the account it belongs to and classifies that account.
Package identity resolves an OAuth token to the account it belongs to and classifies that account.
Package mcpsrv is ccdad's Model Context Protocol server.
Package mcpsrv is ccdad's Model Context Protocol server.
Package oauth implements the Claude Code OAuth login: PKCE, the dual-path authorization race, and the token endpoint.
Package oauth implements the Claude Code OAuth login: PKCE, the dual-path authorization race, and the token endpoint.
Package pollpolicy decides when to poll /api/oauth/usage next.
Package pollpolicy decides when to poll /api/oauth/usage next.
Package release holds everything about WHERE ccdad releases live: how a tag is spelled and ordered, what this machine's asset is called, how the published sha256sums.txt is read, and the HTTP client that reads them.
Package release holds everything about WHERE ccdad releases live: how a tag is spelled and ordered, what this machine's asset is called, how the published sha256sums.txt is read, and the HTTP client that reads them.
Package relsign verifies and produces the minisign signature this repository publishes beside sha256sums.txt.
Package relsign verifies and produces the minisign signature this repository publishes beside sha256sums.txt.
Package store persists the accounts ccdad manages.
Package store persists the accounts ccdad manages.
Package strategy decides which account the engine should be on.
Package strategy decides which account the engine should be on.
Package switcher performs the credential swap, and answers the question the swap turns on: which managed account is live right now.
Package switcher performs the credential swap, and answers the question the swap turns on: which managed account is live right now.
Package theme is the palette every rendered surface reads its colours from.
Package theme is the palette every rendered surface reads its colours from.
Package tokens hands out a valid access token for a managed account, refreshing the stored credential snapshot when one has expired.
Package tokens hands out a valid access token for a managed account, refreshing the stored credential snapshot when one has expired.
Package tui is the interactive dashboard's rendering layer: the row cells, the gauge, the state map, and eventually the whole page.
Package tui is the interactive dashboard's rendering layer: the row cells, the gauge, the state map, and eventually the whole page.
Package usage reads GET /api/oauth/usage and normalizes it into a shape the auto-switch engine can rank on.
Package usage reads GET /api/oauth/usage and normalizes it into a shape the auto-switch engine can rank on.
Package view is the dashboard's model: one account's row, and every cell a human table renders it into.
Package view is the dashboard's model: one account's row, and every cell a human table renders it into.
Package winerr classifies the Windows file errors that mean another process is momentarily holding the file, rather than that the operation is impossible.
Package winerr classifies the Windows file errors that mean another process is momentarily holding the file, rather than that the operation is impossible.

Jump to

Keyboard shortcuts

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