AnnanRen/dsh-usage-suite--plugins-dsh-codingbar ↗★ 1
dsh-codingbar
DSH 网页端状态栏插件:实时展示 GLM Coding Plan / OpenCode GO 额度及当前会话上下文用量。
AI 分析
核心用途是在聊天界面底部直观展示套餐剩余额度与当前会话的上下文占用比例。适合高频编写代码、需要防范上下文超限的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:AnnanRen/dsh-usage-suite#4a2da03ad44a5e08f451ce870c6409bffe5a7af2&path:plugins/dsh-codingbar说明文档
阅读完整 README ↗配置(cordis.patch.yml → codingbar.config)
refreshMs:额度接口轮询间隔(默认 60000)historyWindowMs:上下文曲线回看窗口(默认 5 小时)modelContextWindows/contextWindowTokens:上下文窗口大小表 / 兜底值