dsh pluginsEnglish
← 返回热门插件目录

client ui monit · DSH 用量与成本面板

Auran-Lu/dsh-client-ui-monitor · 生产力

用于监控当前会话额度消耗、预估费用及当前API余额/Used to monitor the current session's quota consumption, estimated costs, and current API balance.

★ 3GitHub 星标
0分支
2026-08-14最近更新
JavaScript开发语言
—许可证

主要功能

  • 客户端半(lib/client.js)把组件注册进 sidebar.footer.action 插槽,并读取当前会话的 tokenUsage 投影。
  • Token 用量 —— 输入(含缓存读写)、输出。
  • 宿主半(lib/index.js)注册 GET /api/deepseek-balance 路由,用已保存的 key 代理 DeepSeek 的余额接口。
  • 预估费用 —— 按 DeepSeek 官方定价折算,可显示人民币(CNY)或美元(USD)。

安装命令

dsh plugin --profile web add github:Auran-Lu/dsh-client-ui-monitor
查看 GitHub 仓库 ↗返回热门插件目录