Daizhdd/dsh-pet-quota ↗★ 0

dsh-pet-quota

DSH 桌面宠物的今日 token 额度气泡:按用量分轻度/中度/重度三档,档位只用一个彩色圆点表示,没有进度条也没有百分比。 / Today's token quota bubble for the DSH desktop pet: three usage tiers shown as one coloured dot, with no progress bar and no percentage.

패키지
dsh-pet-quota
호환성
미검증
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 10. 5.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Daizhdd/dsh-pet-quota

配置

设置页在 设置 → 宠物额度:今日用量与档位阶梯、两个阈值输入框、三个开关 (显示额度气泡 / 任务完成时冒泡 / 长时间运行中冒泡)。改动写入 $DSH_HOME/pet-quota/config.json,立即生效并跨重启保留。

命令行/脚本改配置:

curl -X POST http://127.0.0.1:
/api/pet-quota/config \
  -H 'content-type: application/json' \
  -d '{"lowMax":30000000,"midMax":80000000}'
路由用途
GET /api/pet-quota/today当日用量、档位、阈值、开关、按模型分布
POST /api/pet-quota/config改阈值与开关(越界、或重度阈值 ≤ 中度阈值会被拒)
GET /api/pet-quota/boot诊断:前端是否已进启动图、事件形状采样