github bowenliang123/dsh-context v0.79.0

3 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

v0.79.0 adds command execution and tool call statistics cards to the context insights panel, and halves the projection cache footprint by persisting the timeline head only.

Features

  • Command Executions and Tool Calls stat cards join the insights overview
    • The overview page now lays Activity, Skill Loads, Tool Calls, and Command Executions as four fixed-height cards in one row; the session list moves to a full-width block below.
    • Each day's ledger books tool runs under their tool names and command dispatches under their head programs, capped at 64 names a day and counted at dispatch time.
    • Clicking a tally row filters the session list; the pinned chip or the row itself releases the filter. Tallies aggregate across a session family.
    • All three tally cards render through one shell that keeps the summary and body even when a range has no rows, and each carries its summary at the title row's top-right corner; the Tool Calls card gets its own inspect icon.
  • The projection cache persists the timeline head only (#217, #218)
    • Per-session detail collections were ~97% of the contextTimeline checkpoint's bytes and 88% of the whole projection cache, so dsh web deserialized all of it on every boot. The registered unit now persists head aggregates and slim records only, and folds detail on demand (projection state version 37; legacy rows are rewritten by pure derivation on boot, with no refold).
    • On a 1069-session local cache: timeline rows shrink 72.2 MB → 29.4 MB (−69%), the cache directory 145 MB → 67 MB, boot settles ~6% faster and RSS drops ~21%.

Fixes

  • The date-range picker renders correctly on Firefox — Firefox derives a flex container's intrinsic width from content sizes and ignored the picker's flex-basis, collapsing the max-content panel to its nav row with the 28px cells overflowing; the cells are sized by explicit width now (#220).
  • The usage chart's tick labels align with their gridlines — the plot grid reserved a 13px top inset for per-bar value labels while the rails kept the full row height, so labels drifted upward toward the peak; both now share the same inset (#219).
  • The Command Executions card chains scrolling to the page — its command list and programs ranking no longer trap wheel or PageUp at their boundaries on the narrow card layout (#216).
  • Card title rows center vertically across the context and insights pages, instead of drifting off the optical center with smaller subs and tall control groups.
  • Slice label rows show the pointer cursor, and the commands card text renders in the standard UI font.

Changes

  • The skills card drops its search input and sort toggle; skills sort permanently by loads, and tally rows lose the relative-time column. The four-column tile row holds down to a 640px container.
  • The recom list falls back to a mirror source when the raw link fails, and the built-in recom syncs with the repository data.
  • The dev scripts support Windows: bash-backed scripts locate Git Bash automatically, and watch/web run as pure Node.
  • The insights page docs record how the day ledger books tool runs and command programs, and the README screenshots are refreshed.

Commits

  • chore(release): 0.79.0 (12ebb869)
  • fix(overview): size the date-picker cells by width, not flex-basis (c1f4598e)
  • test(client): cover the cmd-less command records (2d1033b1)
  • test(overview): walk the calendar across the month boundary (1c5aa2c5)
  • perf(cache): persist the timeline head only and fold detail on demand (c5426a6a)
  • fix(overview): align the usage tick labels with their gridlines (3bf5525e)
  • fix(overview): dedupe the share-bar test and settle the empty-scope copy (22fc7535)
  • style: center every card title row vertically (37abe1cc)
  • fix(overview): center the tile title rows vertically (316bcc68)
  • refactor(overview): ride the tally summary in the title corner and drop the skills search (0f59eb2f)
  • refactor(overview): drop the sort toggle and last-load column, hold four tiles (40ea1580)
  • fix(overview): fit the skills search beside the summary tally (2c2f3e1a)
  • fix(overview): give the tool calls card its own inspect icon (f8a2abe5)
  • fix(cmds): chain command list scrolling to the page (775f9629)
  • docs: refresh the insights page docs (ebaae217)
  • feat(overview): row the tallies beside activity and add tool and command cards (1b4ed20e)
  • feat(activity): tally tool runs and command programs per day (7575308a)
  • fix(cmds): render the card text in the standard UI font (7cdd2c2e)
  • chore(css): drop selectors no component emits (76fe9165)
  • fix(stats): show the pointer cursor on the slice label rows (ba346e3a)
  • test(attachment): fix the Windows preview path assertion (e324547b)
  • chore(dev): support Windows in the dev scripts (460c1db8)
  • feat(recom): fall back to a mirror source when the raw link fails (402742a8)
  • fix(recom): sync the built-in recom with the repository data (abf679f6)
  • chore(recom): update recom (ee3386d0)

v0.78.2...v0.79.0 · 25 commits

Contributors

Don't miss a new dsh-context release

NewReleases is sending notifications on new releases.