github bowenliang123/dsh-context v0.84.0

one hour 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

Features

  • Incremental mode in the Context Browser, linked with the trend's Delta — a Total/Delta switch at the far right of the browser header now shares the Context Trend's state in the Context tab (the /context modal keeps its own mount-local switch). With Delta on, every category lists only the items added against the existing prev-step / prev-turn baseline: the header's count and tokens are increment-scoped, categories without additions read 0 Items, and the composition bar, block map and DNA feed follow the same filter, so DNA + Delta gives a per-item addition view.
  • Added and removed, counted and priced separately — the two net diff pills become four badges: added items, removed items, added tokens and removed tokens. Item counts are presence-based and token deltas are per item, so the pair still decomposes the old net token change, including retained items that grow or shrink. Zero sides stay hidden, the badges apply in both Total and incremental modes, and narrow panes fold the figures onto extra lines instead of overflowing.
  • Complete context deltas from the host — a new delta route assembles both boundaries from the full shadow/cold state, so a −490K compaction is reported as such instead of the archive window's −137.9K. The browser uses that response for badges and historical views, and compaction events record gross tokens so the event card's net figure reconciles with the browser.
  • Positive-only Delta trend, with Adaptive armed on entry — Delta mode scales by the largest positive delta with the zero baseline at the bottom; switching to Delta, from the trend or the linked browser switch, turns Adaptive on by default while an explicit opt-out is left alone.
  • Searchable, compact step picker — the picker moves left of the prev-step/prev-turn switch and becomes a capped, scrollable listbox with a filter that searches the whole session, with compact labels ("Current" / "T1 · S3"). Escape closes the popup before its parent modal, and outside presses no longer steal focus back to the trigger.

Fixes

  • Insight KPIs follow the selected range instead of backfill progress (#245) — every overview aggregate (summary, token parts, page-card usage, window timing) is billed from the daily ledger for all scopes, a cache row is served only when both projections exist, and the priced-session ratio counts only fully priced sessions. The page head also surfaces the fold state.
  • Balance keeps up for signed-in users (#221) — the capsule prefers the signed-in DeepSeek account's wallet over the API-key path, falling back only when the account service is absent, signed out or unreadable.
  • Cold pages pre-lay their final layouts — the Context tab, Fleet page, insight page and /context modal render their final structure and row/plot/lane skeletons up front, removing the blank first paint and the height jumps when data lands.
  • The add/remove delta colors are swapped to their intended direction. (8102184)
  • Trend mode buttons snap instead of cross-fading, removing the black/white flash. (e0ad676)
  • Bars replay their entrance rise when switching Total and Delta, matching the step/turn switch. (402ebd9)
  • The plan-mode filter chip is gone from Events. (f7dabcb)

Changes

  • zod 4.4.3 → 4.6.6.
  • Development: the test suite packs 228 spec files into 83 (42.4s → 18.0s) and the compatibility matrix probes concurrently (17.4s → 7.7s).

Commits

  • feat(browser): search the step picker and move it before the baseline switch (4b0860f1)
  • fix(dependencies): update zod from 4.4.3 to 4.6.6 (5c555952)
  • feat(recom): add sponsor label and lower the share arrow (ac54bdfb)
  • feat(browser): add total/delta switch and compact step labels (3ff6859e)
  • fix(dependencies): update zod from 4.4.3 to 4.6.6 (4d8fb8a6)
  • fix(overview): bill every scope from the daily ledger (e94bdab6)
  • fix(balance): prefer the signed-in DeepSeek account (434d7edb)
  • fix(loading): pre-lay final layouts across every page (adb6fe14)
  • fix(trend): snap the mode buttons instead of cross-fading (e0ad676d)
  • feat(trend): replay the bar rise when switching total and delta (402ebd99)
  • fix(events): drop the plan-mode filter chip (f7dabcb4)
  • fix(events): swap the add/remove delta colors (8102184c)
  • feat(delta): serve complete context deltas from the host (fabbe2e9)
  • feat(trend): arm Adaptive when switching to Delta mode (e3fff091)
  • feat(trend): make Delta mode positive-only (1cbdff64)
  • docs(agents): update guidelines to skip "Under 400 words" prompt for subagents (ae4c09f7)
  • data(recoms): update zilliz svg link (420452fa)
  • feat(browser): split the category diff into added/removed item and token badges (4e85283a)
  • feat(browser): add incremental mode linked with the trend's Delta (14a626bd)
  • perf(test): pack spec files 228->83 to cut per-file worker startup (d96e6447)
  • perf(compat): probe the compat matrix concurrently (905fc49f)
  • feat(host): make the background capture delays injectable (9a0d0922)
  • fix(test): keep the preview-sweep fixture stamps positive on Windows (b0102e12)

v0.83.1...v0.84.0 · 23 commits

Contributors

Don't miss a new dsh-context release

NewReleases is sending notifications on new releases.