dsh-token-rmb

在本轮对话的操作行「用量 / 时间」右侧追加该轮 token 费用估算(人民币)。单价来自内置的 DeepSeek 峰谷价目(北京时间,周一至周五 9:00–12:00、14:00–18:00),可在 profile 的 cordis.patch.yml 里整表覆盖;没有配置单价的模型显示「¥—」,不套用其它价格。跟随官方「性能与用量 = 简洁」设置一起隐藏。只算 token 费用、只显示本轮。

插件介绍

在本轮对话的操作行「用量 / 时间」右侧追加该轮 token 费用估算(人民币)。单价来自内置的 DeepSeek 峰谷价目(北京时间,周一至周五 9:00–12:00、14:00–18:00),可在 profile 的 cordis.patch.yml 里整表覆盖;没有配置单价的模型显示「¥—」,不套用其它价格。跟随官方「性能与用量 = 简洁」设置一起隐藏。只算 token 费用、只显示本轮。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:liuyun2025/dsh-token-rmb

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.

版本兼容情况

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