dsh-cost-today

Shows today's, this month's and cumulative spend in the sidebar footer, under the message box and in the session header. Spend is metered by the plugin itself from session usage events using official DeepSeek unit prices (peak/off-peak, weekends and holidays treated as off-peak), with local-day aggregation and currency conversion. Also adds a cost_today tool and a /cost command.

Overview

Shows today's, this month's and cumulative spend in the sidebar footer, under the message box and in the session header. Spend is metered by the plugin itself from session usage events using official DeepSeek unit prices (peak/off-peak, weekends and holidays treated as off-peak), with local-day aggregation and currency conversion. Also adds a cost_today tool and a /cost command.

Installation

Install from GitHub

dsh plugin --profile web add github:liujianqiao701/dsh-cost-today

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.

Installation notes

  • May run terminal commands