github bowenliang123/dsh-context v0.50.0
v0.50.0 - New Token Stats and Ease-in Animation

latest releases: v0.78.1, v0.78.0, v0.77.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

image
  • Refactored Context Stats board reorganizes around the whole-session chat line — the Token donut's center now carries the billed total the harness chat stats line shows (uncached input + cache read + cache write + output), and its slices answer what the tokens ARE — six composition categories sharing the prompt-side total by estimated ratio, the provider-exact output closing the ring — rather than how the provider cached them.

  • File Activity files open as previews in the right Sidebar — clicking a file name in the File Activity card now opens the file's preview tab in the right Sidebar, the shipped document-preview viewer, on harnesses that serve that column (dsh 0.1.5-rc.1+).

    • The address is built with the harness's own browser-safe fileAddressFor, so a workspace path collapses to the session-relative spelling and every route to one file settles on one tab.
    • Optional by contract: an absent sidebar column, a refusing face, or an unencodable log path falls through to the pre-existing system-open behavior — an older harness line stays fully functional and no click becomes inert. Pattern rows and directory targets are never previewable.
  • Animation for The context charts ease in — donut slices sweep in clockwise from 12 o'clock, the composition bar grows open segment by segment, and the trend chart's bars rise from their baseline, staggered in layout order.

    • Transform-only, running once per mount and disabled under prefers-reduced-motion; stagger caps keep even long sessions settling in well under a second.

    • Switching the trend granularity remounts the bars so the entrance rise replays instead of popping in.

    • The head band pairs into two wider rows: the Context card's eight cells can lay out on one line on roomy panes, and the donut legends flow into as many columns as the card offers.

    • The Context card swaps its image count for the whole-session cache-hit rate; the inject/compaction/prune tallies move onto the events card's kind filters; and the board now counts whole-session human inputs.

  • deepseek-v4-pro is priced at its own V4 Pro rates — DeepSeek ended the routing window, so v4-pro requests bill at the published V4 Pro table (USD & CNY, peak and half-price off-peak) instead of riding the V4.1 Flash triple; Flash rates are unchanged.

    • The cost tooltip cites the official API model IDs (deepseek-flash, with deepseek-v4-flash as the accepted legacy spelling) and drops the now-stale routing note.

Commits

  • chore: release v0.50.0 (addfca6)
  • chore(deps): update oxlint to 1.82.0 (4c276c8)
  • chore(deps): update tsdown to 0.23.0 (befa7a9)
  • feat(client): count whole-session human inputs on the stats board (8bfcf65)
  • docs(readme): update context-overview.png (fb50c1a)
  • feat(client): move the context-event tallies onto the events card's kind filters (8d2ddef)
  • fix(client): cite the official model IDs in the cost tooltip (b68a6d5)
  • style(client): rename the zh answer-decode label to 模型输出 (02ae427)
  • feat(client): the Context card swaps its image count for the chat line's cache hit (3ed80aa)
  • refactor(client): pair the head band into two rows (36aadbb)
  • refactor(client): split the Token card by composition around the chat-line total (423e942)
  • docs: add instruction to run 'git push' after creating commits (5f7dbd6)
  • fix(client): remount trend bars on granularity switch so the entrance rise replays (296324c)
  • feat(client): ease-in entrance animations for the context charts (d5dc784)
  • style(client): drop the stale V4.1 Pro routing note from the cost tip (3518ace)
  • fix(client): price deepseek-v4-pro at its own V4 Pro list rates (08def01)
  • feat(client): preview File Activity files in the right Sidebar (97ae8ff)

v0.49.4...v0.50.0 · 17 commits

Contributors

Don't miss a new dsh-context release

NewReleases is sending notifications on new releases.