All plugins

DSH / BUNDLE / BUNDLES

dsh-idle-compactor

v0.2.0QuanhuZeYu / dsh-idle-compactor60195e2e20

InstallableBundlesBundles & other modulesCommunity · Topic auto-analysis

Overview

dsh-idle-compactor

Idle-triggered context compaction for DeepSeek Harness: compact a session once it has gone quiet past a token floor

README / EN

Package documentation

Registry summary

Idle-triggered context compaction for DeepSeek Harness: compact a session once it has gone quiet past a token floor

dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.

Read the full README on GitHub

LIMITATIONS

Known limitations

- **Live agents only.** A session with no agent in this process has no surface to measure and no agent to run maintenance against, so closed or never-opened sessions wait until they are opened. A cold path would have to resume an agent per candidate; that is also why `includeSubagents` defaults to false — background children are already owned by their parent lifecycle. - **A running turn is never interrupted.** Eligibility requires `agent.status === "idle"`, and `compactNow` is a between-turn maintenance task; a session whose turn has been running for hours is not idle in either sense. Its between-turn twin — quiet while a child works — is held by `skipAwaitingWork`, so a parent whose wait is unbounded is compacted only after that wait ends. - **No settings panel.** Configuration lives in the patch layer; a `settings.section` with hot reload is the natural follow-up.