Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
ccx
command
Command ccx is the user-facing CLI binary for the ccx workspace manager.
|
Command ccx is the user-facing CLI binary for the ccx workspace manager. |
|
internal
|
|
|
cli
Package cli wires Phase 1 packages into the cobra command tree exposed by cmd/ccx.
|
Package cli wires Phase 1 packages into the cobra command tree exposed by cmd/ccx. |
|
contracts
Package contracts defines the shared types and interfaces used across all ccx internal packages.
|
Package contracts defines the shared types and interfaces used across all ccx internal packages. |
|
dashboard
Package dashboard exposes the embedded Next.js static export as an http.FileSystem.
|
Package dashboard exposes the embedded Next.js static export as an http.FileSystem. |
|
doctor
Package doctor implements `ccx doctor` — a structured set of diagnostic checks reported as ✅/⚠/❌.
|
Package doctor implements `ccx doctor` — a structured set of diagnostic checks reported as ✅/⚠/❌. |
|
headroom
Package headroom ranks profiles for advisory profile selection.
|
Package headroom ranks profiles for advisory profile selection. |
|
hooks
Package hooks installs Claude Code hooks and records hook telemetry.
|
Package hooks installs Claude Code hooks and records hook telemetry. |
|
platform
Package platform contains small OS-conditional helpers used by the rest of ccx: resolving the default Claude Code config directory, locating the ccx state directory, expanding user-supplied paths, detecting the user's shell, and figuring out where Claude Code stores credentials per OS.
|
Package platform contains small OS-conditional helpers used by the rest of ccx: resolving the default Claude Code config directory, locating the ccx state directory, expanding user-supplied paths, detecting the user's shell, and figuring out where Claude Code stores credentials per OS. |
|
pricing
Package pricing loads the embedded model→USD rate table and computes estimated cost for a given model + usage + timestamp.
|
Package pricing loads the embedded model→USD rate table and computes estimated cost for a given model + usage + timestamp. |
|
profile
Package profile manages the ccx profile registry (~/.ccx/profiles.toml).
|
Package profile manages the ccx profile registry (~/.ccx/profiles.toml). |
|
quota
Package quota computes per-profile plan-aware quota windows from local hook telemetry.
|
Package quota computes per-profile plan-aware quota windows from local hook telemetry. |
|
quotamigrate
Package quotamigrate owns the symlink layout that B3b introduces: every profile's <CLAUDE_CONFIG_DIR>/projects/ is a symlink to one shared directory at <CCX_HOME>/shared-projects/.
|
Package quotamigrate owns the symlink layout that B3b introduces: every profile's <CLAUDE_CONFIG_DIR>/projects/ is a symlink to one shared directory at <CCX_HOME>/shared-projects/. |
|
quotawire
Package quotawire constructs a server.QuotaProvider from concrete repo types so the daemon and foreground dashboard can share quota wiring.
|
Package quotawire constructs a server.QuotaProvider from concrete repo types so the daemon and foreground dashboard can share quota wiring. |
|
recstream
Package recstream broadcasts pressure-driven RecommendationEvents from the daemon's ingest loop to subscribers (the /api/recommendations/live SSE handler and, in B3b, the ccx run --supervise process).
|
Package recstream broadcasts pressure-driven RecommendationEvents from the daemon's ingest loop to subscribers (the /api/recommendations/live SSE handler and, in B3b, the ccx run --supervise process). |
|
run
Package run wraps the claude binary, setting the right CLAUDE_CONFIG_DIR for a chosen ccx profile and forwarding stdio, signals, and exit code.
|
Package run wraps the claude binary, setting the right CLAUDE_CONFIG_DIR for a chosen ccx profile and forwarding stdio, signals, and exit code. |
|
scanner
Package scanner walks a profile's JSONL session files and emits parsed contracts.Events.
|
Package scanner walks a profile's JSONL session files and emits parsed contracts.Events. |
|
server
Package server implements the local HTTP API consumed by the embedded dashboard.
|
Package server implements the local HTTP API consumed by the embedded dashboard. |
|
sharedscan
Package sharedscan classifies profiles by whether their projects directory points at the shared-projects history root.
|
Package sharedscan classifies profiles by whether their projects directory points at the shared-projects history root. |
|
shell
Package shell emits shell-specific snippets for `ccx use` (eval-style) and `ccx init` (one-time rc-file paste).
|
Package shell emits shell-specific snippets for `ccx use` (eval-style) and `ccx init` (one-time rc-file paste). |
|
storage
Package storage provides a SQLite-backed implementation of contracts.Store.
|
Package storage provides a SQLite-backed implementation of contracts.Store. |
|
tui
Package tui provides the bubbletea-based profile picker used by `ccx use` when invoked with no profile name.
|
Package tui provides the bubbletea-based profile picker used by `ccx use` when invoked with no profile name. |
Click to show internal directories.
Click to hide internal directories.


