Stmol/dsh-rub-cost
Shows the running cost of the current session in rubles in the composer dock, next to the built-in token counters, with peak-tariff countdown, API price list, CBR rate and cache savings.
The pill sits beside the token counters and reads as a button: clicking it opens a card styled after the built-in token usage popover, and a second click, an outside click or Escape closes it. The card carries the model, the peak tariff with a countdown, the API price list, the CBR exchange rate, cache savings and the USD balance. During peak hours the ruble amount on the pill turns amber, matching the warning colour the tariff row uses, so the expensive window is visible without opening anything.
Install
dsh plugin add @stmol/dsh-rub-costThe CLI line from the README; @stmol/dsh-rub-cost@1.3.0 resolves its registry repository to this repo. The README also documents adding the package by name through Settings, Plugins, Add plugin.
Compatibility
Any DSH bundle source works — npm package, git repository, tarball or local folder. It mounts into the conversation.composer.dock slot, so it needs a web surface to be visible.
Details
- Repo: Stmol/dsh-rub-cost
- Category: Usage & Billing
- Stars: 1
- Version: 1.3.0 (npm); MIT
Alternatives
Sttrevens/dsh-cost-meter · yuu1111/dsh-ui-cost-meter · YZz-S/dsh-token-cost-meter