dsh-compaction-effort-inherit: Inherits session thinking level during compaction to preserve DeepSeek prefix caching
2026-10-21
DeepSeek Harness plugin
DeepSeek
DSH
dsh-compaction-effort-inherit
model inference
prefix caching
When the DSH official `compaction-basic` performs summarization, it fails to inherit the session's `reasoningEffort`. Since DeepSeek prefix caching buckets by reasoning effort tier, changing tiers causes full-price recomputation during compression for every long context instance. `dsh-compaction-effort-inherit` targets only `purpose: compaction` on `llm/stream`, inheriting the tier from `session.requestHeader`. It is zero-dependency, fail-open, and does not modify the official plugin. Installation: `dsh plugin --profile web add github:rezon-aki/dsh-compaction-effort-inherit`. Requires DSH >=0.1.7-rc.2 and the web profile.
Read More