Install / update
Install the dsh-context plugin on DeepSeek Harness with released NPM package:
dsh plugin --profile web add dsh-context@latestUpdate the dsh-context plugin:
dsh plugin --profile web update dsh-context@latestWhat's New
-
Assistant thinking / answer blocks render as independent cards, with their style and dragging issues fixed — in the Context browser's assistant-message detail, each thinking / answer block is now its own card (same chrome as the tool-schema card) carrying its OWN raw/markdown switch, so a mixed reply's parts toggle independently while tool calls stay raw. The card bodies are bounded, scrollable, and wrap correctly, so long reasoning or rendered markdown no longer stretches the layout or breaks text-selection dragging.
-
Internal realignment with the official DeepSeek Harness plugin practices — no user-facing behavior change; the internals now mirror the harness's own build / test / lint stack:
- Tests migrated to vitest + jsdom, and the monolithic client spec was split into focused modules (browser, chart, linkage, tool-chip bridge, images, modal, resilience, HMR safety, …) — 16 cases across 14 files.
- Build migrated tsup → tsdown with the official three-part client-bundle wrapper and the official CSS channel; styles moved from a JS string array to a real
styles.css. - Lint adopted the official type-aware oxlint + tsgolint stack (with sonarjs / stylistic plugins); the whole
srctree passes clean. - The host contract now ships type declarations, and zod is a required peer dependency.
- Audited against both dsh 0.1.0-rc.7 and 0.1.1-rc.2: every session-event and message shape the plugin parses is identical between the two versions, so the plugin installs and runs on either.
Commits
- docs(research): dsh monorepo and plugin practices investigation (7df3351)
- build: migrate tsup to tsdown, mirroring the official client-bundle preset (021db5f)
- feat(host): publish type declarations for the host contract (9905006)
- test: migrate to vitest, split the monolithic client spec into modules (49f1439)
- refactor(client): move styles to a real stylesheet through the official CSS channel (598a2e0)
- fix(deps): zod is a required peer, not optional (1a8a240)
- test(client): assistant thinking/answer split into cards with independent raw/markdown switches (680951a)
- build: adopt the official lint stack (oxlint + tsgolint, type-aware) (8692c31)
v0.22.0...v0.22.1 · 8 commits