Skip to content

v0.89.0

Latest

Choose a tag to compare

@bowenliang123 bowenliang123 released this 30 Nov 07:36

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 image

Features

  • The Session panel now carries a Context section (dsh 0.2.3-alpha.3+)
    • A Context section joins the Session panel beside the chat, second by default after Environment: the current context's tokens, window and occupancy with its composition bar, the last 20 steps' real deltas as a stacked bar chart, and the session's tool, command and skill counts.
    • Every figure jumps to its source: the token row opens Current Context, Timeline opens the Context Timeline, a bar pins that exact step in the timeline (step granularity, delta mode, no overview), and the counts open the tool, command and skill cards — in the Context tab, or in the right Sidebar when that tab is not mounted, closing the panel when it shows as an overlay.
    • The section paints from the timeline head it already holds and reads the 21-row series from the facts route only when the head carries none, with a skeleton covering the wait. An unsupported or empty session renders nothing, and a render error hides only the section.
  • The timeline curve metric is yours to choose (#280)
    • The Context Timeline toolbar's Duration toggle became a three-way picker — Duration, Throughput and Cache — swapping the curve and the right-hand axis together, whose ticks now read in seconds, tok/s or percent.
    • Duration is a step's active time (a turn sums its steps); Throughput is output tokens ÷ generation time and Cache is cache reads ÷ billed input, both reading a turn's last step at turn granularity. The curve reads each step's absolute value in total and delta mode alike.
    • The axis scales to the largest plotted value (the visible window under Adaptive) instead of a quartile, so the curve uses the full chart height; rates above 1,000 tok/s — typically stream buffering on a very short step — are dropped as implausible instead of flattening the rest.
  • Throughput and duration chips on a pinned step
    • The step detail now shows Throughput {n} tok/s, output tokens ÷ generation time on the harness's own basis (first token to message commit), and the step's duration (start to end, waits for your decisions excluded), each with a tooltip stating its basis.

Fixes

  • The Fleet tab no longer crashes when the team projections arrive late or vanish (#277). The team board read agentTeam and subagentCatalog conditionally, so a projection key appearing or disappearing between renders shifted the React hook order and threw Cannot read properties of undefined (reading 'length'). Both seats are now read unconditionally, with the hook order pinned in both directions against the reported 64-member roster. Reported by @etlucifer; root-cause analysis and an equivalent patch by @YunzhouLi-hub.
  • "Last 7 days" and "Last 30 days" bill exactly 7 and 30 local days. The presets started at now minus 7 or 30 × 24 h, which floored to an eighth and thirty-first calendar day in the local-day buckets. They now start at local midnight, so the picker, the KPI band, the session list and the seven-day usage card agree, and DST no longer stretches the window to 167 or 169 hours.
  • Every surviving system prompt is counted. The fold and the per-step reconstruction price all surviving system/message nodes with dsh 0.2.3-alpha.3's estimator — text blocks trimmed and joined by a blank line, an all-blank prompt at 0 — instead of only the last non-empty one, so the composition matches the harness's breakdown. A compaction's gross removal also covers the system prompts it shadows. Existing caches refold once on first read (timeline state version 48).
  • The Context Timeline's horizontal scrollbar shows in both modes. The bar-chart scroller reserved an inline gutter that consumed the chart's 1 px overflow, so it painted a disabled track while the overview painted a real thumb. The gutter is gone and the theme's scrollbar tokens are rebound for a thumb that stays visible on the card, light theme included.
  • dsh 0.2.3-alpha.3 side conversations stay ordinary roots. A forked side conversation records origin: 'side' with its source parentSession; the session row keeps that origin while the family resolver still draws edges for 'subagent' only.

Changes

  • The supported set is now dsh 0.2.0-rc.2+, 0.2.1-rc.2+, 0.2.2-rc.1+ and 0.2.3-alpha.3+. The matrix stages 0.2.3-alpha.3 on cordis 4.2.0-alpha.2 and boots the built plugin against it; engines and peers admit the new line without raising the effective floor, which stays 0.2.0-rc.2.
  • React 19 is accepted beside 18 (^18.3.1 || ^19.3.1), so installing on the alpha.3 shell (React 19.3.1) leaves no unmet peer; the dev tree and the tests stay on React 18.
  • The "Context Timeline · Duration curve" preference is gone. The in-chart metric picker replaces it, and a stored defaultDurationCurve value is ignored.
  • The compatibility page and all eight READMEs record the new supported set and the alpha.3 verdicts.

Commits

  • chore(release): 0.89.0 (1f13a5df)
  • test(compat): allow 60s for baseline priming (229cf5b2)
  • feat(panel): add the Session context section with Context jumps (eb2b6de7)
  • fix(context): bill the overview presets in whole local days (b1f3d3ff)
  • fix(client): model dsh side conversations in the session row (356f86f6)
  • build(client): accept the React 19 shell of dsh 0.2.3-alpha.3 (3f605f0c)
  • build(compat): stage dsh 0.2.3-alpha.3 (8decee82)
  • fix(context): count every surviving system prompt (3506ac7f)
  • fix(context): ignore implausible per-step throughput (d59dc4a6)
  • fix(fleet): keep team projection hooks in render order (44d5704d)
  • fix(context): shorten the cache metric label (bc20e40b)
  • feat(context): switch the timeline curve metric (0e557c3a)
  • feat(context): show a step duration chip (a7808e5d)
  • feat(context): show a per-step throughput chip (1f365270)
  • fix(context): show the timeline scrollbar in both timeline modes (4d7a0a80)

v0.88.0...v0.89.0 · 15 commits

Contributors