dsh-qwen-balance

DSH Web 侧栏「设置」行上方的阿里云 / Qwen 余额卡片:经 BSS OpenAPI 显示账户可用额度与现金余额、代金券余额与到期日(含学生 300 元券),以及 OpenAI 兼容中转站额度。官方百炼 / DashScope 的 sk- key 没有任何余额接口,想看真金白银与代金券必须用带 bss:DescribeCoupons + bss:DescribeAcccount(建议只挂 AliyunBSSReadOnlyAccess)的阿里云 AccessKey;密钥只留在宿主进程,浏览器只拿到掩码后的 AccessKey ID,/api/dsh-qwen-balance/* 仅允许环回访问。

插件介绍

DSH Web 侧栏「设置」行上方的阿里云 / Qwen 余额卡片:经 BSS OpenAPI 显示账户可用额度与现金余额、代金券余额与到期日(含学生 300 元券),以及 OpenAI 兼容中转站额度。官方百炼 / DashScope 的 sk- key 没有任何余额接口,想看真金白银与代金券必须用带 bss:DescribeCoupons + bss:DescribeAcccount(建议只挂 AliyunBSSReadOnlyAccess)的阿里云 AccessKey;密钥只留在宿主进程,浏览器只拿到掩码后的 AccessKey ID,/api/dsh-qwen-balance/* 仅允许环回访问。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:yanlijin/dsh-qwen-balance

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.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令