dsh-token-rmb

Appends the current turn's estimated token cost in CNY to the assistant action row, right after the usage/time indicator. Prices come from a built-in DeepSeek peak/off-peak CNY table (Beijing time, Monday-Friday 9:00-12:00 and 14:00-18:00) and can be overridden from the profile's cordis.patch.yml; a model without a configured price shows a dash instead of a made-up amount. Follows the shipped Performance & usage - Compact setting and hides together with the usage pill. Token cost only, per turn only.

Overview

Appends the current turn's estimated token cost in CNY to the assistant action row, right after the usage/time indicator. Prices come from a built-in DeepSeek peak/off-peak CNY table (Beijing time, Monday-Friday 9:00-12:00 and 14:00-18:00) and can be overridden from the profile's cordis.patch.yml; a model without a configured price shows a dash instead of a made-up amount. Follows the shipped Performance & usage - Compact setting and hides together with the usage pill. Token cost only, per turn only.

Installation

Install from 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.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.