dsh-at-file
FSMargoo/dsh-at-fileCodex 风格的 `@file` 文件引用,输入框里直接搜索并引用工作区文件。
Render draggable Live2D models in the DeepSeek Harness Web GUI, animated in real time by actual DSH work states, with mouse-following eyes.
.model3.json into assets/ and it is detected automaticallyClose the DSH Host (not just the browser tab).
# From local directory (development/debug)
dsh plugin --profile web add link:/path/to/dsh-live2d
dsh web
The waifu appears at the bottom-left of the page automatically, running with the built-in DeepSeek model and its animation mapping.
| Action | How |
|---|---|
| Move the waifu | Drag the ✥ handle at the bottom-right corner |
| Zoom the model | Mouse wheel while hovering over the drag handle |
| Resize canvas | Hover the canvas, then drag the blue corner handle at the bottom-right |
| Eye tracking | On globally; gaze follows the cursor. Toggle off in settings |
Config lives in browser localStorage (key: dsh-live2d.v1) and can be edited visually in DSH Settings → Live2D 看板娘.
The bundled DeepSeek model ships with the following mapping, ready to use on install:
| DSH State | Description | Default Animation |
|---|---|---|
IDLE | Idle standby | Idle group motion |
THINKING | Agent starts thinking | Anima group thinking motion |
THINK_END | Thinking done, ready to output | Anima group thinkend motion |
WORKING | Tool calls in progress | Anima group speak motion |
SPEAKING | Starts outputting dialogue | Anima group speak motion |
SUCCESS | Task completed | happy expression |
ERROR | Task failed | unhappy expression |
Each model can be configured independently:
motion: { "group": "GroupName", "index": 0 } — Play a motion (index is the position within the group; empty = random)expression: "ExpressionName" — Set an expression.model3.json into the plugin's assets/ directory (e.g. assets/my_model/).No manual path editing needed — scanning auto-detects every model3.json under assets/.
The "通用设置" (General Settings) card at the top of the settings page provides:
This plugin is based on lrplrplrp/live2d, with the dialog box, mini-games, and external APIs removed, and DSH state-driven animation, drag/zoom/canvas controls, eye tracking, and real-time push added, deeply integrated into the DSH settings page.
model.focus for gaze tracking)window.__ModuleLoader__ + ctx.slots + webServer SSEMIT