yunhenk/dsh-cacheback ↗★ 0

dsh-cacheback

The missing receipt for DeepSeek's prefix cache: replay local DSH sessions, price every call at peak/off-peak rates, and see how much the cache saved.

Package
dsh-cacheback
Compatibility
Unverified
Harness peer range
>=0.2.1-rc.2
Version
0.1.1
License
MIT
Last updated
Nov 3, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yunhenk/dsh-cacheback

Configuration

The plugin accepts optional config through the profile patch:

- id: cacheback
  config:
    usdToCny: 7.2
    lang: zh          # zh | en, default for the chat summary
    open: false       # open generated receipts in the browser by default
KeyDefaultMeaning
usdToCny7.2Display conversion for the approximate CNY figure.
langzhDefault language for the chat summary; the HTML receipt and card are bilingual.
openfalseOpen generated files in the default browser. /cache receipt opens explicitly.