본문으로 건너뛰기
L

dsh-pelican

little-star888/dsh-pelican

화면 오른쪽 아래에서 펠리컨이 자전거를 타고 해변을 달리는 SVG 애니메이션입니다. 에이전트 작업 상태(생각 중/완료)를 반영하고 답변 완료 시 차임과 선택적 시스템 알림을 보냅니다.

설치

dsh plugin --profile web add github:little-star888/dsh-pelican

README

dsh-pelican 🐦

鹈鹕环海骑行 —— 右下角 SVG 骑行动画 + 全局任务状态提示的 DSH Web 静态双端插件。

  • 主机半(lib/index.js):监听全局代理事件,维护 idle / thinking / done 状态机;暴露 GET /api/pelican/status 供浏览器轮询;附带 pelican_debug 调试工具。
  • 客户端半(lib/client.js):右下角 shell.overlay 里的 SVG 骑行动画,任务思考时鹈鹕说话「我在呢,稍等~」,任务完成时弹「任务完成啦 🎉」气泡 + 提示音 + 可选系统通知。

安装

本地路径(无需发布):

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

npm(需先发布):

dsh plugin --profile web add dsh-pelican

GitHub(需先推送仓库):

dsh plugin --profile web add github:<owner>/dsh-pelican

安装后重启 dsh 进程生效(本插件常驻磁盘,不是会话内动态插件)。

状态机制

事件状态
用户发消息(agent/inbox/inserted)thinking
回复收尾(agent/turn-stopping / agent/status: idle)done
无活动idle

调试:pelican_debug 工具返回 state / seq / pendingAgentId / 事件计数。

License

MIT

관련 플러그인