Skip to content

Releases

dsh-context-offload 0.1.0

Choose a tag to compare

@Hanochhu Hanochhu released this 24 Sep 00:44

Context offloading for DeepSeek Harness.

A coding agent re-sends its whole history on every step, and most of it is tool output it already used. This plugin releases that content from the model-visible history once it is no longer needed: each consumed tool call and its results is replaced by a one-line stub, while every original stays in the session log.

  • between-step policy on agent/pre-step, batched so the request prefix breaks rarely
  • offload_context lets the model unload what it has finished with
  • aging counts complete tool units, never steps (step restarts at 1 for every turn)
  • in-flight and interrupted units are never touched

Attached tarball is the exact package contents, for install without npm:

dsh plugin --profile web add https://github.com/Hanochhu/dsh-context-offload/releases/download/v0.1.0/dsh-context-offload-0.1.0.tgz