Just for Fun

dsh-pelican

Little-Star888/dsh-pelican · ★ 0

Little-Star888

A pelican riding a bicycle along a seashore in the bottom-right corner: an SVG animation that reflects the agent working state (thinking/done), with a chime and an optional system notification when a reply finishes.

License
MIT
Added
2026-08-21
Maintenance
active
Install kind
github
npm
dsh-pelican

No manifest check is available; listing does not imply compatibility or security review.

安装

dsh plugin --profile web add github:Little-Star888/dsh-pelican

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

For install and environment setup, plus plugin development tutorials, see DSH community docs ↗

Screenshots

dsh-pelican screenshot

README

Source README · body: en · Read Chinese README

A pelican riding a bicycle along a seashore in the bottom-right corner of the DSH Web GUI — a static two-end (Host + Client) plugin that also shows the agent's working state.

  • Host half (lib/index.js): listens to global agent events and keeps an idle / thinking / done state machine; exposes GET /api/pelican/status for the browser to poll; ships a pelican_debug tool.
  • Client half (lib/client.js): an SVG cycling animation in the shell.overlay slot — while the agent is thinking the pelican says "我在呢,稍等~", and when a reply finishes it shows a "任务完成啦 🎉" bubble, plays a chime, and optionally sends a system notification.

Install

Local path (no publishing needed):

dsh plugin --profile web add ./dsh-pelican

npm (published):

dsh plugin --profile web add dsh-pelican

GitHub:

dsh plugin --profile web add github:Little-Star888/dsh-pelican

Restart the dsh process after installing (this is a persistent static plugin, not a session-scoped dynamic plugin).

State machine

Event State
User message (agent/inbox/inserted) thinking
Reply wraps up (agent/turn-stopping / agent/status: idle) done
No activity idle

Debug: the pelican_debug tool returns state / seq / pendingAgentId / event counters.

License

MIT