Desktop Pet - Naiwa's Childhood (dsh-desktop-pet-naiwa): A DSH plugin that brings Agent progress, Token estimation, and real balance to your Windows desktop.

dsh-desktop-pet-naiwa is a Windows client plugin maintained by Night-maze. It consists of two layers: the Cordis Host plugin and a WPF subprocess. The Host subscribes to session/event projections of turn/step/tool progress, maintains a daily backfilled Token ledger, calculates today's cost (marked with ≈) using public list prices, and retrieves the real balance via `ctx.deepseekAccount.getBalance` (on failure, it retains the previous value and marks it as stale). The WPF side renders a transparent, borderless, top-most window that supports six types of single-click interactions, long-press pickup and drag, edge-hiding, and transparent pixel click-through. It also utilizes `IFileOperation` with `FOFX_RECYCLEONDELETE` to send dragged files to the Recycle Bin without a fallback to permanent deletion. On the client side, it registers a 🐾 desktop pet sidebar settings page where scale, volume, statistics, and thresholds can be adjusted. Installation is performed via `dsh plugin --profile desktop add dsh-desktop-pet-naiwa` or by linking to a local directory. Note that it runs with the permissions of the current `dsh` process; you should review the source code and the MIT license before installing.

Read More