github bowenliang123/dsh-context v0.20.0

latest releases: v0.66.0, v0.65.0, v0.64.0...
one month ago

Install / update

Install the dsh-context plugin on DeepSeek Harness with released NPM package:

dsh plugin --profile web add dsh-context@latest

Update the dsh-context plugin:

dsh plugin --profile web update dsh-context@latest

What's New

  • Session cost estimate in the context stats board — the Context tab's stats card now carries an 预估费用 / Est. Cost cell that prices the entire session's billed tokens at DeepSeek's V4 list prices. Prompt input is split by cache hit/miss, output includes reasoning, and every request is priced by its time in the peak (01:00–04:00, 06:00–10:00 UTC) or half-price off-peak windows; the estimate covers deepseek-v4-flash / deepseek-v4-pro on any provider, shown in the locale's currency (¥ for zh, $ elsewhere).
    • The host half folds per-request usage totals from the complete session log, so the figure is a whole-session cumulative estimate — not just the retained window.
    • The cell carries a "?" marker whose hover bubble explains the estimate and directly lists the per-1M-token price table for both models and periods.
    • Prices are hardcoded official list prices and only a rough reference, not a bill.
image

Commits

  • feat(stats): estimate whole-session cost at DeepSeek V4 list prices (1cc4da0)
  • chore: bump version to 0.20.0 (52fbb1b)

v0.19.2...v0.20.0 · 2 commits

Contributors

Don't miss a new dsh-context release

NewReleases is sending notifications on new releases.