Expand description
Disk layout helpers for the ~/.ao-rs/ data dir.
Equivalent of packages/core/src/paths.ts in the reference repo, scoped
down to what ao-rs features actually use today. Keep this module minimal:
add a helper when a feature needs a new on-disk location, not before.
Functions§
- cost_
ledger_ dir ~/.ao-rs/cost-ledger/— monthly-rotated cost ledger files. Seecost_ledger.rsfor theYYYY-MM.yamllayout.- data_
dir - Root of the ao-rs data directory:
~/.ao-rs. - default_
sessions_ dir ~/.ao-rs/sessions— whereSessionManagerstores per-project session yaml files.- lifecycle_
pid_ file ~/.ao-rs/lifecycle.pid— pidfile used byao-rs watchto coordinate a singleton daemon process. Seelockfile.rsandpackages/cli/src/lib/lifecycle-service.tsin the reference repo.- review_
fingerprint_ dir ~/.ao-rs/review-fingerprints/— per-session fingerprints used byao-rs review-checkto detect new PR comments since the last run.- review_
fingerprint_ file ~/.ao-rs/review-fingerprints/{session_id}.txt— fingerprint file for a single session.