返回目录
其他 插件

dsh-usage-dock

baozhadepiqiu/dsh-usage-dock

该仓库暂未提供项目说明。

Stars
0
Forks
0
Issues
0
更新
1 个月前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:baozhadepiqiu/dsh-usage-dock

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-usage-dock

dsh-usage-dock 效果图

DSH Web 插件:在输入框下方的状态条里,与内置"缓存命中"统计同行显示智谱 GLM Coding Plan 套餐额度(5 小时 / 每周窗口)与 DeepSeek 账户余额,按当前选中模型自动切换。

安装

dsh plugin --profile web add https://github.com/baozhadepiqiu/dsh-usage-dock.git
systemctl --user restart dsh-web

密钥走 DSH 凭据体系(设置 → API 密钥,或环境变量),本插件不落盘任何密钥。

开发

TypeScript(strict)。源码在 src/(server.ts / client.tsx / types.ts),lib/ 与 dist/ 为构建产物。

npm install --cache .npm-cache
npm run typecheck    # tsc --noEmit
npm run build        # src -> lib/index.js + lib/client.js + dist/*
npm run smoke        # 离线冒烟测试

改服务端或客户端后 npm run build,再 systemctl --user restart dsh-web 生效。详见 agent.md。

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类其他
规则置信度低

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。