snow-The/dsh-session-handoff

snow-The★ 0JavaScript最后同步: 2026-08-20

在 GitHub 打开

Session handoff & context management for DeepSeek Harness: structured handoff docs (export/resume/status) + active context pruning (acp_* via official compaction API) + optional OpenViking/archify enhancers

README 摘要

dsh-session-handoff Session handoff & context management for DeepSeek Harness — built because the existing session-management and context-pruning plugins were written before the latest DSH update and don't cover the full workflow. Why Long sessions (like a 170k-line r32 session) hit context limits, trigger repeated automatic compaction, and stall. Switching to a fresh session loses all progress. This plugin fixes both halves — and more: 1. Handoff — export a structured, portable handoff document so a fresh session can continue seamlessly. 2. Active context pruning — compress spent history before the context window fills (official compaction API, model-authored summaries). 3. Session management — trash / restore / purge / list sessions. 4. Model routes — every registered route (official API, Ark, custom, vision-toolkit wrappers) is orderable and switchable; each route can pin its own model and reasoning effort ( provider:model:effort ), or follow the chat's current selection. No model id is hard-coded. 5. ACP thresholds — tune compaction limits without touching YAML. Tools Module A — Handoff (zero dependencies) Tool Purpose handoff status Compact session overview: turns, messages, t…

在 GitHub 查看完整 README →
工具/开发compactioncontextdeepseek-harnessdshdsh-pluginsession

分类