v0.6.0 - Project Stats Command
Summary
Adds cc-port stats, a read-only command that reports per-surface path-reference counts and disk footprint for one project or all projects. Also replaces error-string matching with exported sentinels across lock, move, and manifest.
Changes
Features
- Add
cc-port stats <project-path>to show per-surface path-reference counts, per-category disk usage, and history/session-file counts for a project. Runcc-port statswith no argument to rank all projects by disk footprint. Pass--jsonto either mode for machine-readable output. (#51)
Refactors
- Replace
err.Error()substring checks inlock,move, andmanifestwith exported sentinels and typed errors (LiveSessionsError,ErrEncodedDirAmbiguous,ErrManifestFileTooLarge, and others), so callers can branch on error identity rather than message wording. (#50)
CI
Dependencies
- Update
charmbracelet/x/exp/teatest/v2to a newer pre-release commit. (#48)
Upgrade Notes
No breaking changes.