Preface¶
When running agents in DeepSeek Harness (DSH), a round often ends with a silent transition on the interface or just in the logs. If you are already using Naiwa Desktop Pet on Windows, you can bind “turn end” to a desktop pet action: when the answer finishes, the pet laughs loudly for a dozen seconds before standing up, so you don’t have to switch windows and click manually.
The following introduces the community plugin bbtnoctrl/dsh-naiwa (package name naiwa-laugh). It does not distribute the desktop pet itself; it only sends window messages to an already installed Naiwa process at the correct timing. Failures are written to the log only and do not affect the DSH answer flow.
What is this¶
dsh-naiwa is published by the maintainer bbtnoctrl and is a DSH Desktop plugin exclusively for Windows. In one sentence, its positioning is: try to bring Naiwa to the desktop when DSH starts; trigger a ~14-second belly laugh whenever an agent round ends (the harness’s agent/turn-stopping).
Plugin repository: https://github.com/bbtnoctrl/dsh-naiwa
Community directory page: https://www.skillhub.cn/plugins/bbtnoctrl/dsh-naiwa
The copyright for Naiwa’s exe, 素材.nwp, audio, etc., belongs to the original author yugh6; you need to obtain them yourself. This plugin is MIT licensed and contains only the trigger logic.
Core Features¶
Startup and Turn End¶
- After opening DSH, if the desktop pet is not running, the plugin attempts to start it automatically; if it is already running, it does nothing.
- When each agent answer ends, it triggers the laugh; after about 14 seconds, the pet stands up by itself (specific behavior varies slightly between the official version or patched version, see compatibility below).
- 3-second debounce: Consecutive triggers do not stack laughs.
- Failures in any step are only logged; they do not block or modify DSH’s answer.
If you do not want DSH to launch the desktop pet on startup, set "startOnLoad": false in the configuration.
Auto-discovery of the Desktop Pet¶
The plugin determines the Naiwa installation location by whether 素材.nwp exists in the directory (renamed exe is still identifiable). The scan runs asynchronously in the background, limited to about 3000 directories and 8 seconds, without blocking DSH startup; once found, the path is written to the configuration and read directly afterwards.
| Location | Depth |
|---|---|
Root of drives D:\ E:\ F:\ G:\ |
3 levels |
| User “Downloads”, “Desktop”, “Documents” | 3 levels |
| User directory | 2 levels |
C:\ |
2 levels |
When multiple candidates exist, prioritize those with “奶蛙” (Naiwa) in the path or name. Common reasons for not finding it include: installed in C:\Program Files\, on an unlisted drive letter, inside a OneDrive sync directory, 素材.nwp deleted or renamed, etc. You need to specify exePath manually.
Compatibility with Two Desktop Pet Versions¶
| Desktop Pet Version | Trigger Method |
|---|---|
| Official Original | Simulate two rapid clicks; after laughing for about 15 seconds, add one more click to make it stand up |
Supported --laugh Patched Version |
Send WM_APP+3, faster response, stands up by itself about 3 seconds after laughing |
The plugin sends the message first, then checks the status after 700ms; if it doesn’t enter the laughing state, it falls back to simulating clicks.
Known Limitations¶
- It will also trigger once when a sub-agent ends, because
agent/turn-stoppingcurrently does not carry agent dimension information; consecutive duplicates are suppressed by the 3-second debounce. - Windows only: Relies on window messages and PowerShell.
- The window title needs to be the original Naiwa
NaiwaDesktop.Source.v1; other variants of desktop pets may not be driven.
Environment Requirements¶
- Windows 10 / 11
- DSH Desktop (
dshkernel 0.2.x) - Installed Naiwa desktop pet (original author yugh6)
- The plugin’s
package.jsonindicates Node >= 18, andosiswin32
Installation and Enablement¶
The DSH ecosystem emphasizes “everything is a plugin”; community directories like SkillHub are independent sites and have no official affiliation with DeepSeek / Hiyuan (High-Flyer). It is recommended to browse the repository source code and MIT license before installation; the plugin runs with the current DSH process permissions and will launch a local exe and send messages to its window.
Install from Plugin Market (Recommended)¶
Search for naiwa or 奶蛙 (Category: Entertainment / fun) in the DSH Plugin Market and click install. No need to run command lines.
Install from GitHub via Command Line¶
When the market is unavailable or not found, execute in PowerShell:
dsh plugin --profile desktop add github:bbtnoctrl/dsh-naiwa
Local Directory Installation (Development or Personal Use)¶
dsh plugin --profile desktop add C:\path\to\naiwa-laugh
After installation, fully exit and reopen DSH.
Configuration¶
In most cases, automatic detection is sufficient. To specify manually, create %USERPROFILE%\.dsh\naiwa-laugh.json:
{
"exePath": "C:\\Users\\your_username\\Downloads\\Naiwa-main\\Naiwa-main\\奶蛙桌宠.exe"
}
exePath must point to the exe file; slash paths are also acceptable.
| Field | Default | Function |
|---|---|---|
exePath |
Auto-detect | Full path of the desktop pet exe |
startOnLoad |
true |
Whether to automatically launch the desktop pet when DSH starts |
You can override the above file using config.exePath in the profile’s cordis.patch.yml (higher priority).
Typical Usage and Troubleshooting¶
Normal usage flow: Install the plugin and prepare Naiwa yourself → Restart DSH → Start conversation; the desktop pet should be seen laughing at the end of each agent round. If you don’t want the laugh to start automatically on boot, add "startOnLoad": false to the JSON and restart DSH.
Log path: %USERPROFILE%\.dsh\naiwa-laugh.log
| Log Phenomenon | Meaning |
|---|---|
No plugin loaded |
Plugin not mounted, check dsh plugin list and bundles |
No trigger via |
Event did not arrive, confirm DSH version supports agent/turn-stopping |
auto-detect: no pet exe found |
Desktop pet not scanned, manually fill in exePath as above |
exePath not configured |
No valid path in configuration yet |
pet window did not appear |
exe path is wrong or window title does not match |
trigger sent but state= |
Sent but did not enter laugh, possibly window title changed |
Uninstall:
dsh plugin --profile desktop remove naiwa-laugh
Then restart DSH.
Conclusion¶
dsh-naiwa connects the turn-end event of DSH to the belly laugh of the Naiwa desktop pet, suitable for developers who are already using Naiwa on Windows and want to add some visible feedback to the local agent workflow. It does not replace the desktop pet installation or material acquisition, nor does it affect the reliability of the answer itself.
- Directory page: https://www.skillhub.cn/plugins/bbtnoctrl/dsh-naiwa
- Source code and instructions: https://github.com/bbtnoctrl/dsh-naiwa