github bowenliang123/dsh-context v0.58.0

latest releases: v0.84.0, v0.83.1, v0.83.0...
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

image

Features

  • Step-number flags landmark the step-granularity trend chart. Every 5th bar plants a flag at its right edge — a 1px pole rising into the top padding band with the bar's cumulative step number boxed at the top, streaming left over its own bar so the banner never contributes to scrollable overflow at any step count. Turn granularity plants none (the turn strip already numbers that grid); the flag renders under the scissors glyph on a same-bar collision.

Fixes

  • Cost now prices subscription and proxy provider routes. Sessions billed through a provider route the models.dev registry doesn't know — claude, codex, CLIProxyAPI, *-vision — used to dash in every cost cell: the old fallback priced only when exactly one registry branch carried the model, and claude-/gpt- are listed under 9–20 mirrors. The price book now resolves an unknown route by model id alone through an index over the whole registry — the vendor branch picked from registry data (org segments of vendor/model dialects, the model's own @ai-sdk package, the provider an id names), with disagreeing mirrors still pricing nothing rather than guess. Measured over dsh's real route vocabulary against the 2026-09-27 registry (213 priced providers / 7756 priced models — the data source itself is unchanged):
before after
dsh routes with ≥1 priced model 35 of 49 47 — new: claude, codex, CLIProxyAPI, deepseek-account, openai-codex, qwen-token-plan*
models.dev branches cited for pricing 31 46 — new: azure, alibaba, deepinfra, llmgateway, meta, stepfun, …
model ids resolvable to a price 801 of 965 840 — new: claude-sonnet-5 → anthropic, deepseek-ai/DeepSeek-V4-Pro → deepseek, moonshotai/Kimi-K2.6 → moonshotai
priced (route, model) pairs 931 1157 (+24%, zero regressions / rate drift)

The issue's seven subscription/proxy routes go 0/35 → 35/35. No prices are hardcoded — the alias table gains only the structural deepseek-account → deepseek, which also fixes the account route's peak/off-peak split — and the Cost KPI sub-line now reads "N of M sessions priced" so unpriced sessions are visible. (#91)

  • The trend chart's hover frame no longer vanishes on the edge bars. The bar's dashed hover outline draws outside its box, and the first bar sits at the scroller's content origin, so the frame's left line fell outside the clip box at scroll 0 (the newest bar's right line clipped the same way at the end). The chart now reserves 2px of horizontal padding for that ink, mirrored on the turn strip so its blocks stay aligned with the bar columns.

Dependencies

  • @opencode-ai/models 0.0.87 — fresher models.dev registry snapshot fallback.

Commits

  • fix(cost): price subscription and proxy routes through a model-side vendor index (6dabe81)
  • chore(deps): bump @opencode-ai/models to 0.0.87 (53f4cf6)
  • fix(trend): stop the scroller clipping the hover frame on the edge bars (a4af5cb)
  • feat(trend): plant a step-number flag on every 5th step bar (33ce976)
  • chore: release v0.58.0 (fc29e6b)

v0.57.0...v0.58.0 · 5 commits

Contributors

Don't miss a new dsh-context release

NewReleases is sending notifications on new releases.