Zhuchen00123/dsh-compaction-cacheaware

Zhuchen00123★ 0TypeScriptLast synced: 2026-08-16

Open on GitHub

Reasonix-style cache-aware compaction backend for DeepSeek Harness (DSH). Modular compact plugin with auto-sync from esengine/DeepSeek-Reasonix.

README excerpt

dsh-compaction-cacheaware Reasonix-style cache-aware compaction backend for DeepSeek Harness (DSH). This is a standalone, modular DSH plugin. It implements the official @deepseek-ai/dsh-compaction seam ( ctx.compaction ) and is designed to be mounted instead of @deepseek-ai/dsh-compaction-basic inside a preset's compaction realm. It does not modify other plugins, presets, or host files. 🐋 收录于 DSH 创意工坊 本仓库打上 dsh-plugin topic 后,会被 DSH 创意工坊 自动扫描收录。 在线地址: Docs - PROJECT.md — 项目说明与维护入口 - MAINTENANCE.md — 维护手册 - MIGRATION BRIEF.md — 迁移交接说明 - reasonix compact design.md — Reasonix 原始设计 What it ports from Reasonix - One automatic trigger : compact ratio (default 0.85 ), not multiple soft/snip/force thresholds. - One structured checkpoint : stable prefix + one summary + recent tail. - Recent tail budget : clamp(window×10%, 32K, 96K) . - Checkpoint acceptance : normal candidates ≤ 50% of window and below the trigger; exceptional fixed-prefix path requires ≥25% savings. - Canonical transcript preserved : DSH's surface replace shadows the old range in the model-visible projection only; the raw session log remains the source of truth. - One summarizer call per transaction : no application-layer…

View full README on GitHub →
Tools / Devdeepseek-harnessdsh-pluginreasonix

Category