Introduction¶
When running agents with DeepSeek Harness (DSH), tasks are often distributed across the editor, terminal, and browser. The phases within a session—such as “Thinking,” “Searching,” “Modifying,” and “Executing”—are not always prominent. If you want to monitor current session progress via a small, always-on-top window while coding or viewing the WebUI, rather than repeatedly switching back to the DSH page, the community plugin dsh-xmlans offers a viable path: the DSH plugin launches a native desktop mascot, “Lan-chan,” mapping session events to character actions and status bubbles. Below is an introduction to what it is, what it does, and how to install and configure it in the WebUI and the official desktop client.
What is this?¶
dsh-xmlans (package name dsh-xmlans, current version 0.1.0) is published by the maintainer xmlans and categorized as a fun/dress-up DSH plugin. The brief introduction is: A DeepSeek Harness plugin that lets Lan-chan live in your computer and code with you.
The plugin starts with the DSH Host and exits with DSH. The character is displayed via a transparent, borderless, always-on-top native window. Action frames are rendered offline (portrait orientation 256×352, 24 fps), and the character design is Lan-chan, a white-haired maid with angel wings. Status data comes from DSH session events; Lan-chan does not read your screen, and reasoning intensity and progress display only the information actually provided by the upstream source.
- Directory Page: https://www.skillhub.cn/plugins/xmlans/dsh-xmlans
- Source Code & Documentation: https://github.com/xmlans/dsh-xmlans
Core Features¶
Task and Progress Display¶
- Displays task status consistent with the session: Thinking, Searching, Modifying, Executing, Verifying, Waiting for confirmation, Completed, and Error.
- Shows project, step, multi-task, and To-do progress provided by DSH; if no real progress is available, it displays the current phase.
- Optionally allows sub-agent status to be included in the display (setting: “Sub-agents”).
DeepSeek Balance¶
By default, the balance appears at the bottom of Lan-chan’s status bubble and on the settings page. The query logic is shared between the WebUI and the official desktop client:
- Automatic (Default): Prioritizes the DeepSeek API Key in DSH model settings; if not configured, tries the logged-in account.
- You can also specify the source as API Key or logged-in account in the settings; API and account balances will be labeled with their source, and CNY / USD are displayed separately.
- Auto-refreshes every minute with shared caching within the same Host; manual refresh is limited to once every 5 seconds at minimum.
- If credentials are not configured, task status is still displayed normally; you can turn off “Show DeepSeek Balance.” The plugin does not initiate model calls.
Credentials are configured in DSH Model / Account Settings; no API Key needs to be entered again in Lan-chan’s settings page.
Interaction and Display Options¶
- Supports dragging, head-patting, poking, and touching wings; sound effects can be played on completion/error.
- Character size and bubble size can be adjusted independently; three levels—Quiet / Standard / Lively—control the idle action interval (approx. 45–90 / 25–45 / 12–22 seconds).
- “Reduce Motion” can lock the posture and stop idle and click animations, while status and notifications still update in real time.
- The bubble can be set to persistent, hidden, or shown only for specified states.
- Optionally displays a lightweight character in the bottom-right corner of the DSH page (disabled by default).
- “Open Target” can be set to Automatic, point to WebUI, or launch the official desktop client via
dsh://open.
Clients and Profiles¶
| Usage | Install Location | Settings Entry (DSH 0.2) | Open Target in Character Right-Click Menu |
|---|---|---|---|
| Browser WebUI | web profile |
Left Panel → Plugins → dsh-xmlans | WebUI, default http://127.0.0.1:3080/ |
| Official Desktop Client | desktop profile |
Left Panel → Plugins → dsh-xmlans | Launches desktop app via dsh://open |
Plugins installed in the WebUI do not automatically appear in the desktop client; if enabled on both sides, each will launch its own native character. You can disable “Enable Lan-chan” in one of the profiles. The official Electron desktop client and the Web client share the same Web client package, and the native character is launched by the corresponding Host.
Installation and Activation¶
Before installing, upgrading, or removing, fully quit the corresponding DSH Host, and restart it after the operation. When managing plugins via the desktop app, follow the application’s prompts to restart.
Browser WebUI¶
For users with DSH installed globally:
dsh plugin --profile web add dsh-xmlans@0.1.0
dsh web
For users using npx (no need for a global DSH install):
npx -y @deepseek-ai/dsh plugin --profile web add dsh-xmlans@0.1.0
npx -y @deepseek-ai/dsh web
For users running from DeepSeek Harness source code, execute within the Harness repository:
pnpm dsh plugin --profile web add dsh-xmlans@0.1.0
pnpm dsh web
Official Desktop Client¶
Installing within the app is recommended:
- Open the official DeepSeek Harness desktop application and click Plugins on the left.
- Click Add Plugin, enter
dsh-xmlans@0.1.0, and click Install. - After successful installation, click Enable Now, and Lan-chan will appear on your desktop.
- Open dsh-xmlans in the plugin list to adjust character, bubble, and balance settings; changes take effect in real time.
When installing via command line, you must first launch the desktop app once to initialize the desktop profile and then fully quit. Use the dsh command bundled with the desktop app (an independently installed npm / npx @deepseek-ai/dsh CLI cannot modify the official desktop profile):
dsh plugin --profile desktop add dsh-xmlans@0.1.0
Offline Installation¶
Use the release package dsh-xmlans-0.1.0.tgz (shared for Windows, Linux, and macOS). No extraction is needed:
# WebUI; replace the path with the actual path
npx -y @deepseek-ai/dsh plugin --profile web add "C:\Downloads\dsh-xmlans-0.1.0.tgz"
# Official Desktop Client; must use the app's bundled dsh
dsh plugin --profile desktop add "C:\Downloads\dsh-xmlans-0.1.0.tgz"
On the desktop client, you can also enter the full path to the .tgz file in the “Add Plugin” input box. The standard installation package includes Helpers for all platforms; you do not need to install Python or run a separate Helper.
Typical Usage and Settings¶
After installation and activation, Lan-chan will appear on the graphical desktop of the machine where the Host is running, tied to the current profile’s DSH Host. In DSH 0.2, open the settings page via Plugins → dsh-xmlans on the left; changes to character size, bubble, balance source, and on-page character take effect immediately. The right-click menu offers quick access to adjust size, enable Reduce Motion, open the corresponding DSH client, or hide/disable the character for the current run only.
If the WebUI uses a custom address, you can set the environment variable DSH_XMLANS_WEBUI_URL when starting the Host; this takes precedence over the auto-inferred default address.
To update the plugin for WebUI users (after fully quitting DSH):
npx -y @deepseek-ai/dsh plugin --profile web update dsh-xmlans
Official desktop users can use the app’s bundled dsh:
dsh plugin --profile desktop update dsh-xmlans
(If the official desktop client 0.2.0-rc.2 temporarily lacks in-app auto-update support, follow the README to uninstall and then re-add dsh-xmlans@0.1.0.)
Use Cases and Notes¶
Who it’s for: Developers already using the DSH WebUI or official desktop client who want a local desktop visual indicator of agent session status (and optionally DeepSeek balance). Categorized as fun/dress-up, it focuses on companionship and status visualization rather than replacing DSH’s own debugging panels.
Runtime Environment and Permissions:
- Native Helpers are included in the package for Windows 10 / 11 x64, Linux x64 (requires a graphical desktop, glibc 2.35+), and macOS 12+ (experimental).
- The native character displays on the desktop where the Host is running; for remote headless environments or when the browser and Host are on different machines, confirm where the Host is running first. The on-page character can display in the browser.
- The plugin runs with the permissions of the current DSH process; before installation, please review the source code and LICENSE at https://github.com/xmlans/dsh-xmlans and evaluate whether to include it in your workflow.
Troubleshooting Tips (from the README): If the character does not appear, check the profile, whether the plugin is enabled, and whether the Host has an available graphical desktop. If balance queries fail, check DSH credentials and whether the gateway supports /user/balance. If the desktop installation only shows [exit 1], check the detailed installation logs (e.g., hub.log) and provide your DSH version and system information.
The DSH ecosystem emphasizes “everything is a plugin”; community directories like SkillHub are independent sites with no official affiliation with DeepSeek / Huanfang. This plugin currently has about 2 stars on GitHub; versions and package names are subject to the README (dsh-xmlans@0.1.0 / dsh-xmlans-0.1.0.tgz).
Conclusion¶
dsh-xmlans connects DSH session events to a native desktop window, reflecting real task phases via Lan-chan’s actions and bubbles, with optional display of DeepSeek balance and an on-page lightweight character. If you need to maintain awareness of agent progress while coding, install dsh-xmlans@0.1.0 according to the profiles above and toggle options in the plugin settings as needed.
- Plugin Directory: https://www.skillhub.cn/plugins/xmlans/dsh-xmlans
- GitHub: https://github.com/xmlans/dsh-xmlans