dsh-compact-codex
Replaces the dsh compaction backend with a Codex-style window reset: the checkpoint is a handoff assembled from the session log by code, not a model-written summary, so a reset costs no summarization calls. A task ledger with a two-check gate keeps intent, next steps and the files still in play across resets, and a new_context tool lets the model reset on its own. Re-declares the four built-in agent presets (standard, ptc, minimal, cordis) exactly as shipped in dsh 0.2.2-rc.1, so re-run sync-presets.mjs after a dsh upgrade; idle cache keepalive is on by default and sends real requests that use quota (keepalive: false turns it off).
Overview
Replaces the dsh compaction backend with a Codex-style window reset: the checkpoint is a handoff assembled from the session log by code, not a model-written summary, so a reset costs no summarization calls. A task ledger with a two-check gate keeps intent, next steps and the files still in play across resets, and a new_context tool lets the model reset on its own. Re-declares the four built-in agent presets (standard, ptc, minimal, cordis) exactly as shipped in dsh 0.2.2-rc.1, so re-run sync-presets.mjs after a dsh upgrade; idle cache keepalive is on by default and sends real requests that use quota (keepalive: false turns it off).
Installation
Version compatibility
Compatibility is unconfirmed. Check the project documentation for supported versions.