github bowenliang123/dsh-context v0.26.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

  • Fix: Context tab crash (React #310) — Clicking the Context tab could crash into the ErrorBoundary with "上下文数据读取失败: Minified React error #310". Two components violated the Rules of Hooks with early returns above hooks, so when projection data (or the first context event) arrived on an already-mounted instance, the hook count grew between renders. Present since v0.10.0; timing-dependent, which is why most sessions never hit it. (Reported by @yq-pop in #12, fixed in #13.)

    • Loading-first-render and empty-events-first-render transitions are now regression-tested on real React
  • Context History: Total / Diff display mode — A new mode pair (Total/Diff) next to Step/Turn. Diff mode plots each request's per-category change vs the previous request, so context-heavy steps and compactions stand out as peaks and drops; the hover tip shows the signed net change. (#10, thanks @xieshuaix)

image
  • Skill loads are findable — A skill loaded via the skill tool no longer hides among ordinary tool results: the Context browser labels the row Skill · <name> and the Context Events card lists a Skill 注入(name) entry. (#9, thanks @skiuniverse)
image image

Commits

  • fix(client): hoist hooks above early returns — React #310 on data/event arrival (a26f543)
  • feat(client): add Total/Diff display mode to the Context History chart (be751da)
  • fix(host): tag skill results even when the tool/call event is gone (095e2f5)
  • feat(host): surface skill-tool loads as tagged tool results + Skill inject event (a2641b7)

v0.25.3...v0.26.0 · 6 commits

Contributors

Don't miss a new dsh-context release

NewReleases is sending notifications on new releases.