Overview
dsh-idle-compactor
README / EN
Package documentation
Registry summary
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 GitHubLIMITATIONS
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.
