Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
cc-pool
command
Command cc-pool is the single binary behind both `cc-pool` and its `clp` symlink.
|
Command cc-pool is the single binary behind both `cc-pool` and its `clp` symlink. |
|
internal
|
|
|
cli
Package cli wires up the cobra command tree for cc-pool.
|
Package cli wires up the cobra command tree for cc-pool. |
|
daemon
Package daemon implements the background user-LaunchAgent: a usage poller, idle-only credential refresher, score cache, and unix-socket server.
|
Package daemon implements the background user-LaunchAgent: a usage poller, idle-only credential refresher, score cache, and unix-socket server. |
|
keychain
Package keychain is the linchpin: it derives the per-config-dir Keychain service name exactly as Claude Code does, and reads/writes the credential item by shelling out to /usr/bin/security.
|
Package keychain is the linchpin: it derives the per-config-dir Keychain service name exactly as Claude Code does, and reads/writes the credential item by shelling out to /usr/bin/security. |
|
oauth
Package oauth talks to Anthropic's OAuth token-refresh and usage endpoints using the stored subscription credential (never an API key — API keys force per-request billing and disable subscription mode).
|
Package oauth talks to Anthropic's OAuth token-refresh and usage endpoints using the stored subscription credential (never an API key — API keys force per-request billing and disable subscription mode). |
|
overlay
Package overlay makes a pool account dir present the live contents of ~/.claude with writes shared straight back, so a pooled session sees the same projects/skills/settings as plain `claude`.
|
Package overlay makes a pool account dir present the live contents of ~/.claude with writes shared straight back, so a pooled session sees the same projects/skills/settings as plain `claude`. |
|
pool
Package pool owns the canonical filesystem layout, account model, and per-account lifecycle helpers for cc-pool.
|
Package pool owns the canonical filesystem layout, account model, and per-account lifecycle helpers for cc-pool. |
|
procscan
Package procscan discovers live `claude` sessions and the account each is bound to, by reading process environments.
|
Package procscan discovers live `claude` sessions and the account each is bound to, by reading process environments. |
|
score
Package score implements cc-pool's account-selection scoring.
|
Package score implements cc-pool's account-selection scoring. |
|
service
Package service manages the cc-pool user LaunchAgent.
|
Package service manages the cc-pool user LaunchAgent. |
|
store
Package store is cc-pool's sole state layer: a modernc.org/sqlite (pure-Go) database holding accounts, usage samples, sessions, and the refresh log.
|
Package store is cc-pool's sole state layer: a modernc.org/sqlite (pure-Go) database holding accounts, usage samples, sessions, and the refresh log. |
|
version
Package version exposes build metadata, injected at link time via -ldflags.
|
Package version exposes build metadata, injected at link time via -ldflags. |
Click to show internal directories.
Click to hide internal directories.