yunxiyang/dsh-stepwise-distill ↗★ 0
dsh-stepwise-distill
Solidify DSH session history step by step: rewrite tool results in place to the facts the model actually kept, so long conversations stop re-sending noise every turn. Costs tokens and time: a ~770-character contract in every request, plus one extra full-context request and round-trip per step when stepSummary is on. 适合长对话任务,通过提炼事实减少Token噪声,但会增加响应开销。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yunxiyang/dsh-stepwise-distillドキュメント
README 全文を読む ↗Configuration
- id: stepwise-distill
config:
reasoningContract: true # ask for a written conclusion each step (default: true)
stepSummary: false # summarize each completed step (default: false)
debug: false
stepSummary is off by default because of what it costs -- one extra request
per step, carrying the whole current context, plus one more model round-trip
before the next step can start. See What it costs.