Introduction¶
During agent runtime, sessions flow in the background, tool calls sit silently awaiting approval, and state changes are hard to catch at a glance. Traditional logs and panels are mostly confined to the main window, which easily pulls your attention away. Hachiware Pet (Hachi) opens a separate transparent, always-on-top window on your desktop, mapping Harness’s session state, runtime duration, and pending approvals into expressions and speech bubbles—so you can instantly tell whether it’s “working” or “has something pending.”
What Is It¶
Hachiware Pet is a client-side plugin maintained by xinagcai. It provides a desktop pet window for DeepSeek Harness, supporting macOS and Windows. The plugin is responsible only for writing state to files; a small native app handles rendering the window. After installation, Hachi appears in the bottom-right corner of your screen. On first launch, the panel offers a + New Skin entry point, from which you can download sprite-sheet skins from the Petdex skin library.
Core Features¶
- Independent always-on-top window: Transparent, borderless, draggable to any position, and always floating above all desktop windows.
- State mapped to expressions: A breathing animation plays when a session is running; during pending approval, the pet turns amber, pops a speech bubble, and plays a notification sound.
- Session & approval panel: Click the pet to open the panel, which lists each session’s title and status (pending approvals shown first).
- Multi-skin support: A built-in minimal Hachi is included; you can install additional skins online from the Petdex skin library, search by name, or manually copy a skin directory.
- Cross-platform native layer: macOS uses Swift/AppKit + WKWebView; Windows uses C#/WebView2. The release packages ship with pre-compiled binaries, so regular users don’t need to compile anything.
Installation & Activation¶
The plugin is published on npm: hachiware-pet
- GUI: DeepSeek Harness → Plugins → Add plugin → enter
hachiware-pet - Local development: Plugins → Add plugin → select a local directory (symbolic link; changes to the host
index.jsrequire one app restart)
After installation, Hachi appears in the bottom-right corner of your screen. On first launch, click + New Skin in the panel to download a sprite-sheet skin.
Typical Usage¶
- View sessions & approvals: Click Hachi to open the panel. Pending-approval sessions appear first in the list; clicking one brings the Harness window to the foreground.
- Search skins: The Search Skins button in the panel opens an input field. Type a name (slug or display name) for substring matching. Up to 24 results are returned, with offline caching supported.
- Manually switch skins:
1.npx petdex@latest install <slug>— assets land in~/.petdex/pets/<slug>
2.cp -R ~/.petdex/pets/<slug> ~/Library/Application Support/dsh-hachiware-pet/skins/<slug>
3. In the panel’s bottom circular tile list, click the corresponding skin to switch - Delete a skin: In the tile list, double-click the
×on the right side of a skin. The first click shows “Delete?”, and it reverts after 2.5 seconds. If you delete the current skin, it automatically switches to the next one; if all skins are deleted, it falls back to the built-in minimal Hachi. - Install skins via command line:
sh scripts/skin-command.sh # macOS: install default skin
sh scripts/skin-command.sh --random # macOS: install a random uninstalled one
powershell -File scripts\skin-command.ps1 # Windows
powershell -File scripts\skin-command.ps1 -Random # Windows
Where Do Skins Come From¶
The release package does not include skin assets (Chiikawa assets are not directly distributed). On first launch, the panel contains only the built-in minimal Hachi and a + New Skin button.
- Clicking + New Skin sends the command
{"action":"new-skin"}to the host. - The host polls the
command.jsonfile in the data directory every 1.2 seconds, reads the command, and executes it. - The host fetches the skin manifest from the Petdex API (
https://petdex.dev/api/manifest/v2), cached for 24 hours. - The host randomly selects an uninstalled skin, runs
npx --yes petdex@latest install <slug>, then copies it to the runtime directory and sets it as the current skin on success. - The next state push carries the new
skin.version; the helper reads the images and injects them into the page as data URLs.
A failed skin installation does not interrupt usage. The reason is logged in the button’s title attribute and in helper.log; the full output is in install.log.
Runtime Files¶
Runtime files are located at:
- macOS:
~/Library/Application Support/dsh-hachiware-pet/ - Windows:
%APPDATA%\dsh-hachiware-pet\
Key files include:
state.json: Current session snapshot (includes theskinsection); you cantailit to observe changesposition.json: Hachi’s docked positionskins/: Runtime skin directory, one subdirectory per skincommand.json: Commands sent from the page to the host (install/switch skin, etc.); deleted after being readinstall.log: Petdex installation loghelper.log: Helper log (primary source for troubleshooting)helper/build.log: Compilation output
Windows Notes¶
- The release package already includes a pre-compiled
helper/bin/win/HachiwarePet.exe(~1.2 MB, framework-dependent). - The framework-dependent build requires the .NET 8 Desktop Runtime (
winget install Microsoft.DotNet.DesktopRuntime.8). - The WebView2 runtime is bundled with Windows 11; on Windows 10 it is typically already present alongside Edge.
- After modifying the C# code, run
powershell -NoProfile -ExecutionPolicy Bypass -File helper-win\build.ps1to rebuild. Add-SelfContainedto generate a single-file build with no runtime dependency (~70 MB).
Use Cases & Caveats¶
Well suited for developers and teams who need an at-a-glance view of session status and approval reminders on the desktop. It is recommended to review the source code and license before installing.
The plugin runs with the current DSH process’s permissions. Pay attention to the file and message protocols between the host process and the native helper. If the panel becomes unresponsive (e.g., mouse input is lost on Windows), you can trigger an installation via the command-line script to recover.
Closing¶
Hachiware Pet turns DeepSeek Harness’s state changes into expressions and speech bubbles on your desktop, making “working” and “something pending” visible at a glance. The installation and skin-switching workflow is straightforward, supporting both an online skin library and manual management—ideal for scenarios where you want to monitor agent runtime status from the desktop.
- Plugin directory page: https://www.skillhub.cn/plugins/xinagcai/hachiware-pet
- GitHub: https://github.com/xinagcai/hachiware-pet