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
Fixes
- First Insights open no longer trips the render watchdog on Windows (#239) — the projection fold's host-thread blocks are capped to a 150 ms budget and sessions over 30,000 events fold in a worker thread, so a monster corpus can no longer block long enough to kill the page on the first open. (00a1cc4)
- "Today" totals follow the local midnight (#238) — a relative scope re-resolves its calendar window once the local day flips, instead of holding yesterday's rows forever on an idle corpus. (f6b41a4)
- Insights stays blank or shows the previous range (#236) — each hook now pairs its stored payload with the request key that produced it and sends the revision only for that key, so unchanged replies keep their data and a late reply from a previous scope no longer clobbers the new one; a transient facts failure retries on the next read instead of latching the legacy route. (ea9f2a7, c04c6c7)
- Skills and tools reappear under the PTC preset (#237) — tool/ptc-dispatch events are paired by subCallId and booked into the activity ledger and timeline, so the skills card and tool tallies are no longer empty for run_code-heavy programs. (5619f94)
- Re-expanding a command row after a collapse no longer crashes the context view (React error #185): the surface window skips the converged-range setState and breaks the commit loop. (a6c75da)
- Balance reads are keyed by credentials, so concurrent reads with different API keys can no longer receive another account's balance; the stored figure expires after 10 minutes. (2f1e3fb)
- The update check compares the release channel on the host, so an rc build no longer reads as current when a release exists. (b975c7f)
- The snapshot route rejects id batches over 256 with a typed bad-request failure instead of answering silently partial. (eae3ecc)
- The attachment preview hardlink cache is swept automatically (alias directories older than 7 days removed, trimmed past 512) instead of growing forever. (272fb98)
Changes
- Faster long sessions: an O(N+nodes) single pass for the DNA delta maxima (5k-step first paint 1417 ms → 0.36 ms), trend charts reuse precomputed maxima, and command-log history bursts are capped at 12 pages with a paused state. (10c8711)
- Opening Context Insights costs less: one shared corpus listing across the six parts (5 s scan window), batched
fs.stat, and far less repaint churn on session-store updates and tooltip hovers. (c9bcf93) - Price resolutions are memoized per price book, and skills cold reads go through the host-wide FIFO gate with projections skipped. (da60b68, f4d4866)
- Visual polish: zebra-striped insight tally lists, and each surface's outer frame aligned with its card rhythm. (6b29697, 1a579a1)
Commits
- docs(compat): record the worker fold seam, day-quantized keys, and the file-sink level (fbf41307)
- fix(host): cap the cold fold's host-thread blocks and offload monster sessions (00a1cc4e)
- fix(overview): re-serve a relative scope once the local day flips (f6b41a40)
- fix(client): break the window commit loop on converged ranges (a6c75dab)
- refactor(client): name the per-owner retention scope (267ce869)
- refactor(host): extract the overview scan window (1458b12d)
- refactor(host): let the overview route own its feed (efc753d9)
- fix(client): retry facts after a transient detail failure (c04c6c74)
- refactor(client): take full-session counters from the head (df1f42c4)
- refactor(host): one decoder module for overview rows (b5b04f07)
- refactor(host): give the surface window one owner (3a99a258)
- refactor(host): one cold-fold cache lifecycle for four routes (dee83245)
- test(pulse): cover the settled estimate guard (973bc688)
- perf(overview): cut insight open cost and repaint churn (c9bcf932)
- style(principles): enhance concurrency guidelines for efficient computation (24a8d6fa)
- style(principles): enhance concurrency guidelines for efficient computation (1f4c4631)
- feat(principles): enhance user experience by pre-computing context insights (65b1ec14)
- style(overview): zebra-stripe the insight tally lists (6b296979)
- style(layout): align each surface's outer frame with its card rhythm (1a579a1a)
- fix(overview): hold the revision per request so unchanged replies keep data (ea9f2a7e)
- fix(ptc): book sub-dispatches in the activity ledger and timeline (5619f942)
- docs(compat): record the version, pricing and skills decisions (45a8a212)
- perf(pricing): memoize price resolutions per book (da60b683)
- fix(attachment): sweep the preview alias directories (272fb98d)
- fix(snapshot): refuse oversized id batches instead of truncating (eae3ecc7)
- perf(skills): gate the cold observation and skip projections (f4d48665)
- fix(balance): key in-flight reads by credentials and expire the stored copy (2f1e3fba)
- fix(version): compare the release channel on the host (b975c7ff)
- fix(recom): cache the host read and revalidate a degraded client copy (e6b7e211)
- perf(client): bound the long-session render paths (10c8711f)
- chore(docs): update memory and performance guidelines in AGENTS.md and host-client-principles.md (8aaaa8ec)
v0.83.0...v0.83.1 · 31 commits