D
dsh-pelican
v0.1.1 · 0 天前发布
鹈鹕环海骑行:右下角 SVG 动画 + 全局消息状态提示(静态双端插件)
README
dsh-pelican 🐦
鹈鹕环海骑行 —— 右下角 SVG 骑行动画 + 全局任务状态提示的 DSH Web 静态双端插件。
lib/index.js):监听全局代理事件,维护 idle / thinking / done 状态机;暴露 GET /api/pelican/status 供浏览器轮询;附带 pelican_debug 调试工具。lib/client.js):右下角 shell.overlay 里的 SVG 骑行动画,任务思考时鹈鹕说话「我在呢,稍等~」,任务完成时弹「任务完成啦 🎉」气泡 + 提示音 + 可选系统通知。安装
本地路径(无需发布):
bash
dsh plugin --profile web add ./dsh-pelican
npm(需先发布):
bash
dsh plugin --profile web add dsh-pelican
GitHub(需先推送仓库):
bash
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 / 事件计数。
版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- MIT
- npm
- dsh-pelican
- Repo
- git+https://github.com/Little-Star888/dsh-pelican.git
- Engines
{}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":["slots"],"immediately":true}}