Install / Update
Install the dsh-context plugin on DeepSeek Harness with released NPM package:
dsh plugin --profile web add dsh-context@latestUpdate the dsh-context plugin:
dsh plugin --profile web update dsh-context@latestWhat's New
A UI polish and compatibility release: the /context dialog docks beside the shell sidebar, hover feedback eases in and out on the harness's own motion tokens, the stats legends carry 0.1%-precision shares, and a legacy wire-shape edge that read the system prompt's item count as 0 is fixed.
- The /context dialog now docks beside the shell sidebar — the dialog's backdrop used to mask the whole viewport; it now starts at the sidebar's right edge and the dialog centers over the main column, so the sidebar stays visible and interactive while the dialog is open. The inset follows the live sidebar track (drag resizes, collapse toggles, narrow-viewport auto-collapse) and degrades gracefully to the full-viewport mask when the shell frame cannot be resolved. Per-baseline compat probes pin the frame seam the measure relies on.
- Measured in a layout effect, so the mask never paints at the full width before the inset lands.
- A
MutationObserveron the shell frame follows template rewrites while the dialog is open and disconnects on close.
- Hover responses ease in and out, on the harness's own motion tokens — every hover transition in the panel now runs at
var(--ds-transition-duration)withvar(--ds-ease-in-out)(the harness's 200ms standard) instead of a mix of 120mseaseand instant snaps. Nine hover surfaces that had no transition at all gain one on exactly the properties their hover changes, and the trend bar's dashed hover frame fades in viaoutline-colorinstead of popping — so the trend chart ↔ context browser hover link reads as one eased motion. Non-animatable hovers (underlines) and the deliberately instant chart tooltip stay as they were. - Fixed: the system prompt no longer shows 0 items in the Context browser — a host still running the pre-0.40.0 view (a stale watch build, an app not restarted since the upgrade) delivers content-bearing header epochs whose value lacks the
systemTokensfield the item count reads, while the ≈tokens figure — served by an independent projection — kept rendering. The client boundary now normalizes both wire generations with the token meter's own pricing heuristic (moved to a shared module so host and client price identically). Diagnosed and verified against a real session's cached projection row. - Sharper share figures — the Token 统计 and 耗时统计 legend shares now carry one decimal (73.8%, 26.1%) with a
<0.1%floor for non-zero crumbs, instead of integer rounding and<1%.
Commits
- feat(client): dock the /context modal mask beside the shell sidebar (b11a1d2)
- feat(client): ease every hover on the host duration/ease tokens (c623da9)
- fix(client): count the system prompt on legacy contextHeaders wire values (07aae76)
- feat(client): show the stats legend shares at 0.1% precision (914c54d)
v0.40.0...v0.40.1 · 5 commits