Preface¶
When running DeepSeek Harness (DSH), long-running agent tasks often operate silently. A twenty-minute session or a tool call awaiting approval can easily be overlooked when switching windows. Badges in lists tend to get buried, while dynamic elements on screen are much harder to ignore.
The dsh-pet plugin places a capybara named Lulu in the bottom-right corner of the DSH Web UI, switching poses based on session state. Through localized interactions and persistent settings, it translates backend running status into visual feedback.
What Is This¶
dsh-pet is an SVG-based and transparent-video capybara desktop pet running in the DSH Web UI environment. It was developed by maintainer frankfurtlin and released under the MIT License. Lulu resides in the bottom-right area and interacts with users through pose changes, bubble tooltips, and a right-click menu.
The core value of the plugin: it translates backend session states (thinking, completed, awaiting approval, error) into real-time on-screen feedback, reducing the chance of forgetting about background tasks.
Core Features¶
State Linkage¶
Lulu has six poses with a fixed priority: awaiting approval (alert) > thinking (thinking) > celebration (celebrate) > focus (focus) > sleeping (sleep) > idle (idle). These poses map one-to-one to DSH session states and require no extra configuration.
Interaction¶
- Click: Increases intimacy value (debounced at 220 ms)
- Double-click: Triggers a jump animation
- Drag: Drag to the screen edge to snap to the left or right side. Position is stored as a percentage, so relative position is preserved after resolution changes
- Right-click menu: Offers actions such as pet, feed, focus, jump to session, sleep/wake, hide for 5 minutes, restore display, and settings
Ambience & Progression¶
- Bubbles: Display summary info such as task completion time and tool call count
- Intimacy: Increases with clicks, affecting the interaction feel
- Daily diary: Recorded in
~/.dsh/pet-diary/<YYYY-MM-DD>.jsonwith session count, tool calls, failures, active time, and number of sessions - Settings: Adjust display, character, size, reminders, volume, animations, mobile display, bubble duration, sleep threshold, focus duration, etc. via the settings panel or right-click menu
Customization & Assets¶
- Appearance: 9 built-in SVG outfits, 4 sizes, 16-direction gaze
- Animations: 12 locally generated transparent video animations
- Skin directory: Specify a custom skin directory via the
DSH_PET_SKINS_DIRenvironment variable - Diary directory: Specify the diary storage path via
DSH_PET_DIARY_DIR
Focus & Pomodoro¶
Lulu supports recording and reminding for focus sessions and break durations, suitable for use alongside a Pomodoro workflow.
Installation & Activation¶
Plugin installation command (assuming it is checked out to /opt/dsh/dsh-pet):
dsh plugin --profile web add /opt/dsh/dsh-pet
After refreshing the page, Lulu will appear in the bottom-right corner. The client code is a build artifact; if you modify the client-src/ directory, run npm run build and refresh the page. Host-side changes (routes, resource protocols) require restarting DSH.
Check host-side mount status:
curl -s http://127.0.0.1:3080/pet/status
The output includes name, version, client bundle size in bytes, word count, and a resource list.
Uninstall the plugin:
dsh plugin --profile web remove dsh-pet
Typical Usage¶
After starting a session, observe Lulu’s pose changes:
- Session starts → thinking pose
- Tool awaiting approval → raised-paw pose, tab title blinks “🔔 Awaiting approval”
- Turn ends → celebration pose, bubble shows “Done! 12.4s, 5 tool calls.”
- No activity → sits down, then enters sleep
- Right-click → opens the menu; choose jump to session, settings, or hide
In the settings panel, you can adjust bubble display duration, sleep threshold, focus and break lengths, and toggle sound and animation.
Use Cases & Caveats¶
Ideal for developers and debuggers who need visible feedback during long-running sessions. The plugin runs with the permissions of the current DSH process; it is recommended to review the source code and license before installing.
The plugin does not provide voice packs, a second personality, or usage analytics. Custom images only support static breathing, tilt, and shadow effects; pose transitions must follow the Codex sprite-sheet protocol. Sounds are synthesized via WebAudio; richer sound effects require licensed assets.
Closing¶
dsh-pet translates backend session states into visible on-screen feedback, making it well-suited for developers running long-lived agent tasks. For more details, see the plugin directory page, and visit the GitHub repository for source code and documentation.