DSH Pet: Bring Harness Agent Status to macOS Desktop

Introduction

When running Agents with DeepSeek Harness (DSH), tasks typically execute in the browser or terminal: after minimizing the window, it is difficult to tell at a glance whether the Agent is thinking, waiting for authorization, or has already failed. The Web UI lets you view session details, but it is not suitable as an “always visible” status indicator.

DSH Pet (repo sundusk/dsh-pet) is a community-maintained macOS desktop companion: by default it displays the Agent’s status as the pixel character “Xiaoyu”, together with menu bar and desktop widgets for viewing tasks, receiving reminders, and sending messages to the Harness. It depends on a locally running DSH instance and uses a plugin to bridge session events to the native app. It is often categorized under the “model inference” ecosystem, but is essentially a state and input bridge rather than a replacement for the Harness itself.

What Is This

DSH Pet is released by maintainer sundusk. The current README indicates the application version as v0.6.2, and DSH-Pet.app.zip can be obtained from GitHub Releases.

The project consists of two parts:

  • DSH Pet.app: a SwiftUI native desktop pet for macOS 14+ (a pure menu bar app that does not occupy the Dock). It defaults to the Xiaoyu skin, with an option in Settings to switch back to the “Mood Ball”.
  • dsh-moodball-status (npm package @sundusk/dsh-moodball-status): the status and input bridging plugin on the DSH side. It subscribes to Agent session events and provides an HTTP-compatible interface and a local Unix socket. There is no plugin configuration card in the Harness settings (all configuration happens within the app).

The plugin package name and application data directory still use dsh-moodball / MoodBall for compatibility with older configurations; the installation script cleans up the old MoodBall.app.

Core Features

Agent Status Visualization

Xiaoyu (or the Mood Ball) switches actions or colors according to the Harness state, including but not limited to: not connected, idle, thinking, waiting for authorization, waiting for an answer, completed, and failed. In idle state, double-clicking makes it wave; when dragged, running frames appear. In Mood Ball mode, the README provides a mapping table of states to colors (e.g., idle blue, tool call purple, not connected gray, etc.), and colors can be customized in the settings panel.

Tasks and Reminders

The function bar below the desktop pet can be expanded: input messages, current tasks, recent tasks. Regular Harness sessions in the current workspace are displayed as task cards; when there are multiple tasks, they are sorted by rules such as “waiting for action, failed unread, completed unread, running, recently updated”. Up to four cards are shown directly, with the rest scrolling within the area. The details page provides “Open Harness” and “Copy Session ID” (the README notes that no official external deep link for precisely opening a session has been found yet).

Sending Messages to the Harness

A short bar next to the pet expands into an input box when the mouse hovers over it: select an already registered workspace before the first send; Enter sends, Shift+Enter inserts a newline. The first message creates a DSH Pet dedicated session, and subsequent messages use the same session; while the task is running or waiting for authorization/an answer, sending is temporarily disabled. “New Session” only unbinds the current session; it does not delete old tasks.

Global shortcuts are supported (default Option+Space to invoke the input box; can be changed in “Settings → Shortcuts”). Clipboard images can be pasted into the input box or screenshots can be captured via selection, submitted through the official sessionController.prompt attachment entry; limits depend on the current Harness deployment.

Status Bridging Method

The plugin prefers pushing newline-delimited status JSON to ~/Library/Application Support/MoodBall/moodball.sock. When the local socket is unavailable, the app falls back to the HTTP address /api/moodball/status configured in settings, while continuing to try the local socket. The desktop Harness primarily uses the local socket; DSH Pet does not start, stop, or modify the Harness, and does not simulate the Web UI.

Installation and Activation

Run DeepSeek Harness First

DSH Pet requires macOS 14+ and a locally running DSH. One of the README examples, after installing Node.js, is:

npx @deepseek-ai/dsh web

The default Web UI is at http://127.0.0.1:3080. If you are using the DeepSeek Harness desktop version, the plugin must be installed via the desktop’s “Plugins” page as github:sundusk/dsh-pet, and the desktop must be restarted (desktop profile; the public dsh plugin CLI does not manage the desktop profile).

Run this in a separate terminal (commands from the project README):

git clone --depth 1 https://github.com/sundusk/dsh-pet.git
cd dsh-pet
bash install.sh

The script detects a running Harness (desktop, NPX/NPM, or source version), installs the status plugin in the corresponding profile, downloads or reuses DSH Pet.app, installs it to /Applications if possible, falls back to ~/Applications without permission, and launches it. When the plugin has just been installed while Harness is still running, the script continues installing the app; after the task ends, you need to restart the Harness once to load the plugin; there is no need to run the installation script again. The installer does not automatically restart the Harness.

For a Harness built from source, you can explicitly specify the root directory:

DSH_SOURCE_ROOT="$HOME/Projects/deepseek-harness" bash install.sh

Install Only the Bridging Plugin

If you have only installed the app and need to install the plugin separately, run one of the following depending on how Harness is started, then restart the Harness:

# Running Harness via npx
npx @deepseek-ai/dsh plugin --profile web add github:sundusk/dsh-pet

# Global dsh command installed
dsh plugin --profile web add github:sundusk/dsh-pet

# Running from source: first enter the deepseek-harness source root directory
pnpm dsh plugin --profile web add github:sundusk/dsh-pet

For the desktop version, use the in-app “Plugins” page; the CLI commands above only apply to the web profile.

Typical Usage

  1. After installing and starting DSH Pet, a status icon appears on the right side of the menu bar, and the desktop pet appears in the bottom-right corner of the desktop; when Harness is not started it shows “Not Connected”, and automatically connects after it starts.
  2. Opening daily: open -a "DSH Pet", or double-click DSH Pet from “Applications”.
  3. The menu bar lets you view the connection status and bridging method, hide/show the pet, open settings, or quit (quitting does not affect DSH).
  4. Use Option+Space (or a custom shortcut) to invoke the input box, select a workspace, then send messages; when idle, view current/recent task cards from the bottom bar.
  5. In “Settings…” adjust appearance (pet skin, size, bubbles, click-through), behavior (lock position), API and polling; the “Behavior” page can check for GitHub Releases updates.

To uninstall, run bash uninstall.sh from the repo and follow the prompts to choose whether to remove the dsh-moodball-status plugin (after removal you need to restart dsh web).

Use Cases and Notes

Who it’s for: people who primarily use DSH on macOS for Agent development or daily tasks, and want to still see the status after minimizing the browser, quickly send a prompt, or glance at multi-session progress.

Environment limitations: macOS 14+ only; Linux/Windows are not supported according to the README.

Plugin permissions: the bridging plugin runs with the permissions of the current DSH process and has access to session events and Web-side APIs. Before installing, you should read the source code and license of sundusk/dsh-pet (the README states MIT; the npm package metadata says BSD-3-Clause; refer to the files you review).

FAQ: when Xiaoyu shows not connected or the Mood Ball is gray, confirm that Harness is running and the plugin is installed and enabled; for the CLI version check the web profile and the Web service, for the desktop version check whether the “Plugins” list shows “Mounted” and that it has been restarted. It is normal that there is no DSH Pet configuration card in “Settings → Plugins” — the bridging plugin has no in-Harness settings.

The DeepSeek Harness ecosystem emphasizes “everything is a plugin”; the community directory SkillHub’s dsh-pet entry and the GitHub repository are independent of each other, and are not an official DeepSeek / Hithink app store.

Conclusion

DSH Pet pulls the Harness’s Agent status out of the Web and onto the desktop: Xiaoyu or the Mood Ball provides visible feedback, and dsh-moodball-status handles event and input bridging. If you are already using DSH stably on macOS, you can run install.sh per the README or manually run plugin add github:sundusk/dsh-pet; after restarting the Harness, you can use it alongside your existing workflow via the menu bar and the desktop pet.

  • Directory page: https://www.skillhub.cn/plugins/sundusk/dsh-pet
  • GitHub: https://github.com/sundusk/dsh-pet
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye