Luo Xiaohei desktop pet
opensetk/dsh-xiaohei · tools
Luo Xiaohei's desk pet, who lives in the lower right corner of the DSH Web UI, will switch postures and respond to clicks according to the running status of the agent.
★ 5GitHub stars
0Forks
2026-08-14Last updated
TypeScriptLanguage
MITLicense
Key features
- Host half (Node)monitors persistent sessions/events and folds out the pet posture of each session
- Attitude sourceHost semi-event-by-event maintenance of seven states (server-side consumption, playback, cross-session consistency)
- Browser half (dsh.client bundle)registered in shell.overlay global floating layer slot, rendering pet image
- The attitude state machine is a pure function (src/moods.ts), which can be played back and reconstructed, and has the same logic as the real-time event stream.
- The browser semi-polls this route for rendering, falling back to coarse-grained inference of useSessions snapshots when polling is not available.
Install command
dsh plugin --profile web add github:opensetk/dsh-xiaohei