DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-token-receipt

d

dsh-token-receipt

Manifest valid

Print daily, weekly, monthly, 30-day, 90-day, and all-time token usage and estimated model costs as a receipt, with clipboard image copy and PNG export.

UI (client)hasBundlePatch
Token Receipt

Token Receipt

Print daily, weekly, monthly, 30-day, 90-day, and all-time DeepSeek Harness token usage and estimated model costs as a tactile receipt, then copy the image or save a PNG.

npm version license CI DSH >=0.2.2-rc.3

English · 简体中文 · 日本語

Dark · DailyLight · Monthly
Token Receipt dark theme daily viewToken Receipt light theme monthly view

Features

Token Receipt turns local DeepSeek Harness usage records into a printable receipt:

  • Period navigation. Switch between Day, Week, Month, 30 days, 90 days, and All views, step across dates for Day, Week, and Month without leaving the panel, and replay the paper-feed print animation automatically on every period change.
  • Estimated model costs. Break down spending per model across input, output, cache read, and cache write tokens using public models.dev rates.
  • Multi-currency display. Match the default currency to your interface language, or switch manually between USD, CNY, and JPY.
  • Tactile receipt feed. Watch a stepped paper-feed animation with a torn paper edge and a barcode whenever you print or switch periods, with automatic prefers-reduced-motion support.
  • High-DPI export and sharing. Click Copy image to copy a 3x PNG directly to your clipboard for instant pasting and sharing, or Save PNG to download a local image.
  • Multilingual themes. Use the interface in English, Simplified Chinese, or Japanese across light and dark themes.

[!NOTE] Displayed costs are reference estimates calculated from public models.dev catalog rates, not provider invoices. All session and token usage data stays local on your device, and only public price rates are fetched online.

Installation

Install from npm

Open Plugins in DeepSeek Harness, click Add plugin, and enter:

dsh-token-receipt

Or install with the plugin_manager tool:

{
	"action": "install_bundle",
	"target": "dsh-token-receipt"
}

Install from a local checkout

Pass the local repository path to plugin_manager:

{
	"action": "install_bundle",
	"target": "/absolute/path/to/dsh-token-receipt"
}

If DeepSeek Harness reports restart-required, restart the app once to activate the plugin.

Updating on DSH Desktop

After an update that changes the plugin's browser UI (client.js), fully quit DeepSeek Harness and reopen it. Closing the plugin panel, toggling the plugin, or closing the window is not enough: DSH Desktop loads browser plugin bundles only when the app window starts. Uninstalling and reinstalling is not required. Version 1.1.1 and later show a Reload UI banner when they detect that the installed version is newer than the loaded page.

Usage

  1. Open Token receipt from the left sidebar.
  2. Select Day, Week, Month, 30 days, 90 days, or All (use the date controls on Day, Week, and Month to step across dates or return to today). Switching periods plays the paper-feed print animation automatically.
  3. Choose USD, CNY, JPY, or Follow language in the Currency menu.
  4. Click Copy image to copy a 3x PNG directly to your clipboard for instant pasting and sharing, Save PNG to download the receipt image, or Replay print to run the paper-feed animation again.

Compatibility and development

Token Receipt requires the following runtime versions:

  • DeepSeek Harness >=0.2.2-rc.3 <0.3.0
  • Node.js ^22.19.0 || >=24.0.0

Run syntax checks and the test suite from a local checkout:

npm run check && npm test

License

Licensed under the MIT License.

Receipt printer interaction inspired by dqnamo's Receipt Printer, with pricing resolution adapted from dsh-context. See THIRD_PARTY_NOTICES.md for Apache-2.0 and SIL Open Font License 1.1 notices.

Comments

Loading…

Similar plugins

dsh-cost-audit

Shows token and CNY cost per turn and per session in the harness's own statistics form, a whole-account bill over 1/7/30-day windows with cost-per-unit-of-work trends, and an advisor that re-measures

Tools & CapabilitiesManifest valid

★ 0

dsh plugin --profile web add dsh-cost-audit

Per-model token cost tracking with configurable cache-hit/miss, output and peak-window pricing, a live session cost bar, and unconfigured-model flags.

Tools & CapabilitiesModels & ProvidersManifest valid

★ 0

dsh plugin --profile web add dsh-cost-tracker

by LAwLi3tCoding

DSH API usage and cost ledger with per-pool reports and CNY/USD display

Tools & CapabilitiesDevelopment & InfrastructureManifest valid

★ 0

MIT

JavaScript

Sep 22, 2026

dsh plugin --profile web add dsh-api-ledger

by Ayowait

DSH ??????????:????????????????Token ?????

Tools & CapabilitiesDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 1

MIT

JavaScript

Oct 23, 2026

dsh plugin --profile web add dsh-usage-insights

by Jannchie

Cost tracking priced from an online catalogue (models.dev + OpenRouter, 8000+ models, each call priced at its own instant): a per-turn cost line, a Cost tab attributing spend to tool output / model ou

Tools & CapabilitiesDevelopment & InfrastructureModels & ProvidersManifest valid

★ 10

↓ 951/wk

MIT

JavaScript

Oct 23, 2026

dsh plugin --profile web add dsh-bill

by jiuwu02

读取全部会话日志,汇成 token 全景:累计总量、缓存命中率、峰谷分时成本、日历热力图、趋势曲线、折叠式会话树与工作区分布、CSV / JSON 导出,另带上下文清理 / 压缩与提示词优化两组工具。

Tools & CapabilitiesManifest valid

★ 0

MIT

JavaScript

Nov 14, 2026

dsh plugin --profile web add dsh-token-panorama