Third-party plugins have no one-click update. Uninstalling and installing again drops the enabled state. Run undohaven plugins snapshot first, and undohaven plugins restore if one breaks the profile. Install UndoHaven.
dsh-undohaven 0.1.11 keeps the previous storages/*.json before a rewrite or delete. undohaven restore --to <id> --scope tasks restores scheduled tasks. --scope session --session <id> restores one session.
pi-undohaven
pi-undohaven 0.1.1 is an unofficial third-party plugin, not affiliated with pi's authors. It snapshots files, lists snapshots, restores a single file, and runs doctor. Free keeps local snapshots. Pro adds encrypted cloud upload on the same UndoHaven account and the same Pro subscription. Node >= 22.19. npm · Install.
npx undohaven init
Install: copy this command.
First snapshot: it stays encrypted on this machine.
Roll back: undohaven restore --to SNAPSHOT_ID
Free covers 7 days of history and 1 device. Pricing
Per-session and daily API cost, budget with usage %, official balance, history dashboard, and one-click official price sync with peak/off-peak pricing.
Sidebar billing dashboard: real usage aggregated from session logs (per-model and per-day calls/tokens/cache), cost estimated in CNY from a current multi-provider pricing catalog, subscription-plan (coding/token/agent) r
A personal usage profile page in the DSH sidebar, folded from this machine's own session logs through ctx.sessionQuery. Five headline numbers (tokens with a small trend and the change against the previous period, spend,