Preface¶
The DeepSeek Harness (DSH) plugin ecosystem allows for the extension of widget functionalities through plugins. The native dsh-whale-widget lacks an interface for accepting external commands and can only perform passive polling. dsh-whale-emote operates as a standalone layer; without modifying third-party widget files, it manipulates widget nodes via script injection, enabling Agents to trigger emotes, speech bubbles, and sound effects through local HTTP calls.
Core Features¶
- Emotion Triggering: Agents trigger emote packs to pop up next to the widget via local HTTP calls.
- Non-Intrusive: Operates via script injection without modifying third-party widget files.
- Status Bar: Provides a status bar feature that automatically reflects the Agent’s current tool execution status (e.g., “writing furiously,” “searching high and low”).
- Linkage Support: Supports Live2D model linkage and automatic triggering of decision-reminder sound effects.
- Health Probes: Provides diagnostic interfaces for troubleshooting display issues.
Installation and Activation¶
Use the official installation command to add the plugin. A restart of dsh web is required after installation.
dsh plugin --profile web add github:harmless0819-dev/dsh-whale-emote
Typical Usage¶
The plugin offers two invocation methods: PowerShell scripts and HTTP interfaces.
PowerShell Scripts¶
# List emotions
.\emote.ps1 -List
# Trigger emotion
.\emote.ps1 嚣张
# Trigger with speech bubble
.\emote.ps1 委屈 -Text "才、才不是呢"
# Decision reminder (mandatory pop-up + sound effect)
.\emote.ps1 -Decision 困惑 -Text "这两个方案选哪个?"
# Clear emotion
.\emote.ps1 -Clear
# Manually override activity status
.\emote.ps1 -Activity "正在读图纸" -ActivityEmoji "📐"
HTTP Interface¶
# Trigger emotion
curl.exe "http://127.0.0.1:3080/dsh-emote/set?emotion=嚣张&text=hello"
Configuration and Notes¶
- Configuration Modification: Configuration items must be modified in the
configsection of the profile patch. - Service Restart:
dsh webmust be restarted after adding new emotes or modifying configurations. - Status Bar Logic: The status bar features a stickiness period and fallback logic, capable of reflecting the Agent’s current tool execution status.
Related Links¶
- GitHub: https://github.com/harmless0819-dev/dsh-whale-emote
- Directory: https://www.skillhub.cn/plugins/harmless0819-dev/dsh-whale-emote