dsh plugins中文
← Back to popular plugin directory

DSH plugin for proxy-driven span compression

MimicHunterZ/dsh-agent-compact · skills

DSH plugin for agent-driven span compaction: compress chosen conversation spans into self-written checkpoints instead of the official head-anchored full-context sweep.

★ 5GitHub stars
1Forks
2026-08-16Last updated
TypeScriptLanguage
NOASSERTIONLicense

Key features

  • The agent picks the span via startAnchor / endAnchor (unique-prefix matching, CJK punctuation-width tolerant) and passes a required summary — the Markdown checkpoint it wrote itself.
  • a task step is done — compress it, keep the remaining steps and the active instruction live
  • Agent-written checkpointsummary is mandatory, so the tool path always uses the checkpoint the agent wrote.
  • The raw span is archived to the spill store first (/.dsh/spill/session- / - .txt, sequential naming, restart-safe)
  • the path is echoed in the shadow message so the model can read the raw text back.

Requirements

  • Built and verified against DeepSeek Harness 0.1.0-rc.6 (@deepseek-ai/dsh-compaction-basic@0.1.0-rc.6).
  • Only one compaction per session at a time (the engine transaction is serialized)

Install command

dsh plugin --profile web add github:MimicHunterZ/dsh-agent-compact
View GitHub repository ↗Back to popular plugin directory