github bowenliang123/dsh-context v0.74.0

6 hours ago

Install / Update

dsh plugin --profile web add dsh-context@latest
# or
dsh plugin --profile web update dsh-context@latest

What's New

This release turns the trend Overview on automatically for long sessions, makes Context Insights numbers respect the picked date range, and remembers the range you pick. It also tightens the File Activity layout and fixes DeepSeek pricing, the balance capsule, and large agent families.

Features

image
  • Context trend: Overview opens automatically at 200+ steps

    • New Trend Chart · Auto Overview preference: 100 / 200 / 300 steps or Off, default 200. Once a session reaches the threshold, the trend switches to its Overview ribbon and clears DNA/Adaptive.
    • Fires once per session, so toggling it off sticks.
    • The ribbon is now interactive too: hover a band to trace its category across the whole log, click to pin the step and open that category in the Context browser.
  • Context Insights: range-accurate accounting (#172)

    • A step's settlement, tool run, and wall time now book on the day its request was sent, so a cross-midnight step stays on its start day; a turn books once, on its first settlement's day.
    • The KPI band, composition split, session admission, and heatmap all fold the same daily ledger. The KPI gains tool runs and active time.
    • The heatmap gains a Tokens metric and now defaults to it; Sessions remains the alternate.
    • Cached activity cold-refolds on upgrade (contextActivity stateVersion 5). The ledger retains 400 days, and Timing Stats stays session-lifetime and is labeled so.
  • Context Insights: remembered range (#180)

    • New Default range preference: Today / Last 7 days / Last 30 days / All, default Last 30 days.
    • Picking a preset on the page writes it back as the default when the settings form is writable; a read-only form keeps the pick for the visit.
image
  • File Activity: cleaner layout
    • The title row now holds the file tally, line deltas, and kind chips; search and sort move to the row below, and the separate scope line is gone.
    • Expanded ops hold their values and the Context Browser's step stamp on the right edge. The collapsed row's error dot is removed, the All chip is blue, and narrow cards wrap cleanly.

Fixes and changes

  • Agent network draws the whole family (#177) — the 40-card cap is gone; the card scrolls at 560px with Show all / Show less, and lineage hover stays fast on large families.
  • DeepSeek peak pricing corrected (#178) — models.dev lists its off-peak rates; Beijing peak windows (Mon–Fri 09:00–12:00 and 14:00–18:00) bill at 2×, weekends off-peak. Holidays are not modeled.
  • Balance capsule fixed (#176) — only DeepSeek platform rows supply the key, the projection is read redacted, and the endpoint uses only its origin, so path-carrying base URLs no longer break /user/balance.
  • Timing card keeps its zero residual slot — the card no longer changes height at every step boundary.
  • dsh 0.2.1-rc.2 supported — added to the compat matrix and CI tag fetch.
  • READMEs, the File Activity screenshot, and unused i18n keys are updated.

Commits

  • feat(insights): write preset picks back to the default range (c760a3d)
  • feat(insights): open on a configurable default range (f865c07)
  • feat(agents): draw the whole family in a scrollable network card (f44843e)
  • feat(overview): trace ribbon bands on hover and open them on click (3bbe11f)
  • feat(overview): auto-open the trend overview at a step threshold (6f8dd88)
  • fix(cost): make DeepSeek peak pricing explicit and weekday-based (229f7b1)
  • fix(overview): track pointer hover locally on the ribbon (18075e6)
  • feat(overview): flag turn quartiles and align the turn strip (8114222)
  • fix(docs): clarify instructions for loading the code-review skill (1bc481c)
  • feat(context): fold the range off the step-start daily ledger (026ffca)
  • chore(compat): support the dsh 0.2.1 line (16ecd2a)
  • fix(host): read the balance facts from the DeepSeek platform's own row (00d8afa)
  • fix(client): keep the zero residual row on the timing card (c22ccb2)
  • feat(client): keep the file title row on one line when it fits (90a699c)
  • feat(client): move the file tally into the card title row (79eb243)
  • feat(client): drop the collapsed file row's error dot (a3f5722)
  • feat(client): move file-op values and step stamps to the row's right edge (abce91a)
  • docs: refresh the file activity screenshot (fb6f2a9)
  • feat(client): tint the file activity all-files chip blue (a9f34e8)
  • feat(client): move the file activity filters into the card title row (daaf84a)

v0.73.3...v0.74.0 · 20 commits

Contributors

Don't miss a new dsh-context release

NewReleases is sending notifications on new releases.