github bowenliang123/dsh-context v0.41.3

latest releases: v0.73.3, v0.73.2, v0.73.1...
one month 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

  • Context statistics no longer freeze mid-session on nonconforming provider usage — fixes #44, where a mis-accounting gateway's usage figures (fractional token counts, or cached_tokens above prompt_tokens driving the disjoint uncached input below zero) failed the projection's strict integer gates on every later delivery: the Context tab froze at the first bad step (round 26 step 5 of 97) and the cost estimate stopped growing while the agent kept running. The fold now reads every usage bucket through a deep billed-count normalization — finite numbers and numeric strings accepted, fractions rounded, negatives clamped to 0, garbage read as absent — so request records and the session-cost totals stay complete and schema-valid no matter what the provider reports.
    • The durable log always held every step: the stateVersion bump makes each session's first cold read refold from the log, restoring the steps the frozen feed never showed (cost/timing totals were never trimmed, so the money figure covers the complete session again).
    • Semantic change, declared: any readable bucket is now a billing sample (official token-meter parity) — an output-only usage object bills prompt 0 with its output split, where the previous shallow guard dropped the sample whole.
    • Upgrade- and rollback-safe: mismatched cached rows are discarded and refolded on both directions; no shape change, no client changes.
    • New real-registry probes pin the freeze, the recovery, and the dsh-side containment gap (a poisoned upstream projection unit starves every unit registered after it) across all four supported baselines.

Commits

  • fix(host): fold provider usage through a deep billed-count read (#44) (5fdf8f6)
  • test(compat): pin the issue-44 freeze and recovery on the real registries (4580692)
  • release: v0.41.3 (dce08e0)

v0.41.2...v0.41.3 · 3 commits

Contributors

Don't miss a new dsh-context release

NewReleases is sending notifications on new releases.