github bowenliang123/dsh-context v0.87.0

20 hours 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

759367026209d73620b86386fb9cb343

Features

  • Context Trend card: a new, feature-rich milestone flag band
    • The trend chart gains a flag band above the bars: each flag carries an icon and a dashed pole down to the plot baseline, multi-kind steps stack up to three icons, nearby flags merge into one mast that names the merge in its tooltip, and edge flags align inward so dense timelines stay readable at any width.
    • Flags interoperate across the whole tab: hovering a flag reads its milestone rows, clicking one selects the exact step and reveals it in the Context Browser; the overview paints the same flags and clicking one leaves the overview, switches to step granularity and lands on the event's exact step even when the turn bar is aggregated; the Context Events card reuses the same icons, labels and step jumps for a consistent visual language.
    • Supported flag events: context compaction, context pruning, model switches, goal created / completed, todo items added / completed, user questions, team tasks created / completed, subagent spawns, agent interactions, and skill loads — plus two derived markers above the bars: the longest step and the biggest context jump.
  • Full request and event history, paged
    • The trend chart and events list now read the complete retained log without caps; pages close revision gaps automatically and same-seq rows stay distinct.
  • Every detail collection is paged
    • Surface nodes, archive, file operations and timing spans load with index cursors as their cards become visible; commands keep the auto-continuing page route.
  • Context Events filters
    • Single-select kind filters with an All tally, and a named model-switch filter carrying a session tally.
  • Fold-pill retry
    • A stalled or failed backfill pass turns the pill into a button that starts a fresh pass; the tooltip lists bounded failed/unreadable session ids and reasons.

Fixes

  • Rows written by an interim model tally under state version 44 are discarded and refolded, un-sticking a fold pill stuck at "N sessions failed to fold".
  • An empty catalogue payload never replaces a good in-memory price book; a late disk read never displaces a fresher cached list.
  • Paged history reads reject pages from another revision, abort when parked, and tolerate loaded CI runners.

Changes

  • The price book persists to $DSH_HOME storages (~1.1 MB) and resolves prices on demand, cutting ~8 MB of resident memory.
  • Dev tooling: web/watch state files in .tmp carry pid/start time/url lines and clean up on interruption.
  • TypeScript updated to 7.1.0-beta.

Commits

  • test: tolerate loaded-runner polling windows (d6aff618)
  • ci(release): run the release suite without coverage (68e0cacd)
  • chore(release): 0.87.0 (d07fdfbd)
  • style: trim blank lines at EOF (6291ee80)
  • test(host): isolate boot homes under .tmp (3ad5b915)
  • refactor(fold): dispatch workflow events from its module (6537a723)
  • fix(host): keep the last good cached data (7d80d258)
  • fix(history): keep paged reads on one revision (d299b36d)
  • test(host): flush the cache before disposal (429fef81)
  • test(bench): measure every full-history collection (f7a3ee07)
  • feat(history): page every detail collection (3cdfb61e)
  • test(host): wait for the cache shard write (405d439f)
  • test(bench): probe full-history pages (c8424525)
  • feat(history): page full request and event history (7152550f)
  • feat(trend): flag context milestones and workflow events (792c6161)
  • feat(tooling): label the state files with pid, start time and url (7f319ec4)
  • feat(tooling): remove the state file when web or watch is interrupted (690e8fe9)
  • feat(tooling): track dsh web and watch PIDs in .tmp (0a1d176a)
  • fix(agents): update local clone instructions to use codegraph sync on dsh source code (596a5fc4)
  • feat(overview): retry a stalled fold pass and show why sessions failed (504bbac4)
  • fix(timeline): discard rows an interim model tally wrote under state version 44 (78c250fd)
  • chore(deps): update typescript to 7.1.0-beta in package.json and pnpm-lock.yaml (4285b1c5)
  • feat(recoms): persist the sponsor list with a bounded window (40e88e4b)
  • feat(agents): add instruction to wait for subagent review feedback before proceeding (a1add838)
  • perf(pricing): persist the price book and resolve prices on demand (15e9cdec)
  • feat(events): name the model filter and give it a session tally (0a2844be)
  • feat(events): single-select kind filters with an all tally (905a3805)

v0.86.0...v0.87.0 · 27 commits

Contributors

Don't miss a new dsh-context release

NewReleases is sending notifications on new releases.