github bowenliang123/dsh-context v0.38.5

latest releases: v0.72.0, v0.71.0, v0.70.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

  • No more leftover tool-attribution hook after unload (#36) — the runtime attribution hook patched the global tools service's register method but never restored it, so after the plugin was disabled, removed, or reloaded, every later tool registration on the host still ran through the dead hook's wrapper, which kept its closure alive and recorded into a map nothing read anymore. Unloading now peels every wrapper this plugin installed back to the true original register, leaving the global instance exactly as it was found.
    • Order-independent restore: if a newer hook incarnation re-wrapped the instance first, the stale disposer does nothing and the newer incarnation owns the cleanup — reload, disable, and remove all leave no residue
    • Works across dsh 0.1.0-rc.7+, 0.1.1-rc.2+, and 0.1.2-alpha.2 (ctx.effect has shipped in cordis since 0.1.0-rc.7)

Commits

  • fix(host): restore the patched tools.register when the plugin unloads (88aeccf)
  • docs(agents): update compatibility note for dsh version 0.1.2-alpha2 (32ae8ef)

v0.38.4...v0.38.5 · 2 commits

Contributors

Don't miss a new dsh-context release

NewReleases is sending notifications on new releases.