Skip to content

dsh-context v0.5.0

Choose a tag to compare

@bowenliang123 bowenliang123 released this 14 Aug 11:55
· 18 commits to main since this release

Interactive history chart — everything since v0.4.0, plus the new granularity toggle.

New in 0.5.0

  • Granularity toggle: a Step/Turn segmented control in the History card switches the chart from one bar per step (default) to one bar per turn — each turn is shown by its last step's record (the context state when the turn finished).
  • Hover linking: hovering a history bar previews its breakdown in the detail panel below (hover > pinned click > newest request).
  • Themed tooltip on the Current-composition stacked bar segments (category, tokens, share of total), replacing the native title.
  • Turn strip: below the chart, one color block per turn aligned to its bar columns — hovering a block highlights that turn's bars in the chart, and hovering a bar highlights its block (bidirectional, hover-only).

Also in this release

  • License switched to Apache-2.0.
  • Package manager switched from npm to pnpm (own workspace root; packageManager: pnpm@11.9.0).
  • Runtime remains zero-dependency; strict TS; all functional tests green.

📦 npm: https://www.npmjs.com/package/dsh-context