Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
ccpulse
command
|
|
|
pkg
|
|
|
anthro
Package anthro talks to api.anthropic.com on behalf of ccpulse, using the Claude Code OAuth credential.
|
Package anthro talks to api.anthropic.com on behalf of ccpulse, using the Claude Code OAuth credential. |
|
cache
Package cache persists parsed messages and time-bucketed token aggregates in a local SQLite database (modernc.org/sqlite).
|
Package cache persists parsed messages and time-bucketed token aggregates in a local SQLite database (modernc.org/sqlite). |
|
channel
Package channel exposes the build channel (dev or release) chosen at link time by cmd/ccpulse/main.go via an ldflag-injected variable.
|
Package channel exposes the build channel (dev or release) chosen at link time by cmd/ccpulse/main.go via an ldflag-injected variable. |
|
config
Package config loads the TOML config at ~/.config/ccpulse/config.toml.
|
Package config loads the TOML config at ~/.config/ccpulse/config.toml. |
|
devlog
Package devlog wires slog.Default() based on the build channel and the resolved log level.
|
Package devlog wires slog.Default() based on the build channel and the resolved log level. |
|
ingest
Package ingest catches the ccpulse cache up to current EOF for one or many .jsonl transcripts.
|
Package ingest catches the ccpulse cache up to current EOF for one or many .jsonl transcripts. |
|
models
Package models derives stable identities and display names for the model ids recorded in transcripts.
|
Package models derives stable identities and display names for the model ids recorded in transcripts. |
|
parse
Package parse turns Claude Code JSONL transcripts into Message records.
|
Package parse turns Claude Code JSONL transcripts into Message records. |
|
pricing
Package pricing embeds pricing.json and computes the USD cost of a message.
|
Package pricing embeds pricing.json and computes the USD cost of a message. |
|
projects
Package projects resolves a Claude Code working directory (cwd) to a stable repo-root path so a repo's main checkout, its worktrees, and its subdirectories all collapse to a single project.
|
Package projects resolves a Claude Code working directory (cwd) to a stable repo-root path so a repo's main checkout, its worktrees, and its subdirectories all collapse to a single project. |
|
secfile
Package secfile provides file/dir helpers that enforce private modes (0700 for dirs, 0600 for files) and chmod existing entries to those modes on next access.
|
Package secfile provides file/dir helpers that enforce private modes (0700 for dirs, 0600 for files) and chmod existing entries to those modes on next access. |
|
status
Package status computes the 5-hour rolling and 7-day quota windows and maps plan tier to token ceiling.
|
Package status computes the 5-hour rolling and 7-day quota windows and maps plan tier to token ceiling. |
|
termsafe
Package termsafe strips non-printable runes from strings that reach the terminal but did not come from ccpulse itself.
|
Package termsafe strips non-printable runes from strings that reach the terminal but did not come from ccpulse itself. |
|
tui
Package tui — breakdown-panel slide animation (issues #416, #475).
|
Package tui — breakdown-panel slide animation (issues #416, #475). |
|
uistate
Package uistate persists small TUI UI preferences (zoom level, active view) to <cacheDir>/ui-state.toml so they survive restarts (#490).
|
Package uistate persists small TUI UI preferences (zoom level, active view) to <cacheDir>/ui-state.toml so they survive restarts (#490). |
|
watcher
Package watcher wraps fsnotify with a debounce so a flurry of writes to the same JSONL collapses into a single onChange callback.
|
Package watcher wraps fsnotify with a debounce so a flurry of writes to the same JSONL collapses into a single onChange callback. |
|
scripts
|
|
|
seedyear
command
scripts/seedyear — synthesise a year of Claude Code messages into the dev ccpulse cache for manual bar-chart perf probing (issue #71).
|
scripts/seedyear — synthesise a year of Claude Code messages into the dev ccpulse cache for manual bar-chart perf probing (issue #71). |
Click to show internal directories.
Click to hide internal directories.
