caprock

command
v0.37.1 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2026 License: Apache-2.0 Imports: 28 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

caprock is the mission-control CLI and daemon: `caprock up` starts the local daemon (hook receiver + transcript ingest + API + dashboard), `caprock down` stops it, `caprock status` reports, `caprock hooks install|uninstall|status` manage the shim in ~/.claude/settings.json, and `caprock service install|uninstall|status` registers the daemon with the OS's login-time supervisor so it survives a reboot.

`caprock report` — your measured usage, in a form you can publish.

This exists because a number on a page goes stale silently. The /numbers page on caprock.dev is the owner's own usage presented as proof, and its figures were hard-coded constants read on one day; nothing made them wrong out loud when the machine moved on. A command that re-reads the same measures from the same database turns "a number someone typed once" into "a number you can re-run", which is the only version of it that stays honest (rule 6).

Two shapes, because there are two readers:

  • the default is a block a person pastes into a post — terse, specific, and carrying its caveat *inline* so the caveat cannot be lost by quoting only the first line;
  • `--json` is the same measures machine-readable, shaped to regenerate the site's facts block.

`--markdown` earns its place as a third only because the paste target is often a README or a post that renders markdown, where the plain block's alignment collapses; it is the same facts and the same caveat, in a table.

On reading from the daemon rather than the database: the CLI never opens SQLite (internal/store: "Nothing else in Caprock issues SQL"), and the daemon is what holds the pricing table and the plan settings that the figures are computed against. Talking to it also means `caprock report` cannot contend for a write lock on a database a live daemon is using. When the daemon is down the command says so and stops, rather than opening the database behind its back with a second, drifting copy of the aggregation SQL.

Jump to

Keyboard shortcuts

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