zeropointnine/dsh-compact-and-branch
zeropointnine★ 2JavaScriptLast synced: 2026-08-23
Compact a session and continue the work in a new one
README excerpt
dsh-compact-and-branch: /compact-and-branch A focused out-of-tree DeepSeek Harness plugin for treating canonical context compaction as a clean session branch point. Motivation Long-running coding-agent sessions can accumulate a great deal of useful working context before reaching a natural phase boundary. DSH's /compact command is useful for reducing that history while preserving the state needed to continue, but sometimes it is preferable to make that compaction a clean branch point: continue from the resulting state in a fresh session while leaving the compacted source session independently resumable. This is especially useful with relatively limited context windows, as is common with local LLMs, where long agent trajectories can otherwise require repeated compactions and make session boundaries more consequential. /compact-and-branch is intended to have essentially the same model-facing effect as running /compact and continuing normally in the original session, except that the continuation occurs in a new root session. It deliberately reuses DSH's canonical compaction result rather than introducing a separate handoff summary or another lossy transformation of the session state. …
View full README on GitHub →Category
DeepSeek Harness: Everything is a Plugin.
★ 201,972
amruthpillai/reactive-resumeA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
★ 41,885
freestylefly/awesome-gpt-image-2Prompt as Code | GPT-Image2 工业级提示词引擎与模板库,530+ 个案例逆向工程,20+ 套工业级模板,并提炼出Skills,持续更新中
★ 24,197