dsh-quota-meter-plus

ai-shushu/dsh-quota-meter 的增强衍生版,不能与上游同装(都占用 /quota 路由)。DSH 的会话额度与花费监控:按可编辑的模型价目表(含峰谷价)对真实 token 用量记账,输入框上方显示消耗进度条、会话头部右侧显示余额胶囊(余额需 DeepSeek API Key),额度耗尽时拦截新的模型调用;子代理与辅助调用的消耗并入父会话账本。

插件介绍

ai-shushu/dsh-quota-meter 的增强衍生版,不能与上游同装(都占用 /quota 路由)。DSH 的会话额度与花费监控:按可编辑的模型价目表(含峰谷价)对真实 token 用量记账,输入框上方显示消耗进度条、会话头部右侧显示余额胶囊(余额需 DeepSeek API Key),额度耗尽时拦截新的模型调用;子代理与辅助调用的消耗并入父会话账本。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:Lstalu/dsh-quota-meter-plus

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

第三方安装实测

安装测试结果
安装与注册通过
测试日期

安装提示

  • 可能调用终端命令