DSH Assistant: Synchronizing Real-time DSH Session Status via Desktop Floating Window

Introduction

When working with multiple projects simultaneously in DeepSeek Harness (DSH), the main window is often obscured by editors or browsers. It becomes difficult to tell at a glance: which session is currently running, which one is waiting for your confirmation, and whether background subtasks are still active. Creating a separate desktop pet application means maintaining its own startup, exit, and status sources, which easily leads to lifecycle desynchronization with DSH.

Below is an introduction to the community plugin dsh-assistant (repo vianvio/dsh-assistant). Launched by the DSH plugin mechanism, it starts and exits alongside DSH. Its presentation layer is a native transparent floating window on macOS, with status derived strictly from DSH session events—it does not read the screen or guess progress based on model names.

What is this

DSH Assistant is a client-side plugin for DSH, maintained by vianvio. The npm package name is dsh-assistant, with the version in current documentation being 0.2.2, licensed under MIT, and requiring macOS 13+ (universal binary for Apple Silicon / Intel).

The division of labor can be summarized as: native Swift handles the desktop window and interactions; the Node host plugin handles integration with DSH session states, including the asset pipeline and “What did I do today?” daily report capabilities. The package includes pre-compiled helpers and asset packs (approx. 44MB according to README; assets/pack is approx. 46MB within known boundaries), ready to use upon installation without needing Xcode.

Directory Page: https://www.skillhub.cn/plugins/vianvio/dsh-assistant

Where Status Comes From & What You See on Screen

The plugin does not persist as a standalone desktop pet process but is launched by DSH. The window is transparent, borderless, and always on top. Even when switching to VS Code, a browser, or a fullscreen application, you can still see whether DSH is currently thinking, executing, waiting for confirmation, or completed.

Status maps to seven persistent states (Idle, Thinking, Executing, Waiting for Confirmation, Completed, Error, etc.), with random pose changes within the same state. When running multiple projects in parallel, the bubble only displays two lines of key information: who is running and who is waiting for you. If a sub-agent or background task is still active, the corresponding project remains marked as in progress; if “Include Sub-agents” (includeSubagents) is enabled in settings, sub-sessions occupy a separate slot, and the parent project does not redundantly display the same work.

Completion, errors, and requests for confirmation trigger separate notifications pinned above the pet; clicking brings the DSH window to the front and switches to the corresponding session (on macOS, by activating the DeepSeek Harness application itself).

Installation & Activation

The installation command must use the exact text from the README, filling in your actual profile with --profile (desktop for the desktop client, web for the web client):

dsh plugin --profile desktop add dsh-assistant

This command uses pnpm under the hood; after installation, dependencies declaring dsh.bundle are automatically written to the profile’s dsh.profile.bundles, requiring no manual edits to package.json.

After restarting DSH, the pet will appear in the bottom right corner of your desktop, and a new “DSH Assistant” page will appear in the left navigation settings.

Upgrade:

dsh plugin --profile desktop update dsh-assistant

If you wish to track the latest commits on the GitHub main branch (npm is a release snapshot):

dsh plugin --profile desktop add github:vianvio/dsh-assistant

For local plugin source modifications, the README suggests cloning and using a link (adjust the example path in the documentation to your directory):

git clone https://github.com/vianvio/dsh-assistant.git ~/dsh-assistant
dsh plugin --profile desktop add link:$HOME/dsh-assistant

Peer dependencies: @deepseek-ai/dsh version range >=0.1.5-rc.2 <0.3.0-0; Node engine >=22.

Settings & Daily Interaction

The “DSH Assistant” settings page centralizes the switches. The fields and default values listed in the documentation are as follows:

Setting Default Description
enabled On Collapses the desktop window immediately when off
scale 0.4 0.15 – 2.0; Right-click menu has 40% / 55% / 70% / 100% options
bubbleEnabled On Whether to show bubbles
bubbleTheme light Light bubble with black text, dark with white text
reducedMotion Off Reduce motion effects
soundEnabled Off Play a sound on completion / error
includeSubagents Off Allow sub-agents to take over pet status
backgroundSummary Off Background task summarization (see Daily Report section)
autoInteract On Random interaction if status persists long enough
autoInteractSeconds 10 Evaluation interval 5 – 300 seconds, 30% probability every interval

Pet position is saved locally in $DSH_HOME/dsh-assistant/layout.json; the preferences above are stored by DSH. Since version 0.2, they are written to the dsh-assistant section of the profile patch $DSH_HOME/profiles/<profile>/cordis.patch.yml.

The right-click menu includes Feed a Treat, poke, praise, pet on head, return to original position, and What did I do today; left-clicking the body also pets the head.

What did I do today (Daily Report)

Right-click the pet → “What did I do today”, or click “Generate Daily Report” in settings: it aggregates the day’s sessions by project to produce a “What I did + To-dos” Markdown. There is a hard length limit; if it exceeds the limit, it automatically rewrites once.

A notification pops up above the pet upon completion. Clicking it opens a modal where you can use “Copy Markdown” to copy the text. The generation process uses a hidden session, which does not appear in the left list or trigger system notifications.

When backgroundSummary is enabled, the session summarizes completed content in the background every time it is compressed. When generating the daily report, it only supplements the increment and aggregates; this switch is off by default (if off, it re-reads all sessions for the day). If off, the modal will show a hint at the bottom on how to enable it; this hint is not included in the copied text.

Assets & Implementation Boundaries

The default 88 character assets come from Sutera-Diffusus/dsh-whale-musume (MIT); this project processes the height, WebP baking, and some micro-motion sequences, but the character image rights remain with upstream. The native floating window approach references QCYTSN/dsh-dafeiyu (MIT).

README Known Boundaries (should be aware before installing):

  • Platform: The native helper is currently macOS only (AppKit); Windows / Linux require rewriting the panel or falling back to an Electron sub-window (losing the “above fullscreen apps” capability).
  • Distribution: The .app is ad-hoc signed, and browser downloads may be blocked by Gatekeeper.
  • Asset Size: assets/pack is approx. 46MB; assets/motion in the source repo contains many source MP4s and is gitignored.

Local builds are only necessary if you modify the native side or change assets. Example:

npm run build:helper    # Requires Xcode Command Line Tools
npm run build:pack      # Regenerate asset packs
npm run verify          # Self-check assets / helper / modules / handshake / state reduction

Changing characters: Place images in the directory, modify STATE_ASSETS / ACTION_ASSETS at the top of scripts/build_pack.py, then run npm run build:pack.

Use Cases & Installation Notes

Suitable for: Developers using DSH on the macOS desktop long-term, who want to see real session status without switching windows, and need to summarize the day’s work by project.

Note: DSH plugins run with the same permissions as the main DSH process; you should read the repository source code and THIRD_PARTY_NOTICES.md before installation to ensure licenses and third-party asset attributions meet your requirements. The community directory SkillHub is an independent site, has no official affiliation with DeepSeek / Hithink RoyalFlush, and should not be treated as an official app store.

Through the steps above, you can obtain a desktop companion within the DSH lifecycle that is always visible, driven by session events, and capable of summarizing multi-project progress into a Markdown report when needed.

羽毛球分组比赛记分
小程序二维码

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

Xiaoye