helibeiqi/dsh-compaction-pro0

dsh-compaction-pro

High-fidelity, faithful, bilingual, recursive compaction backend for DeepSeek Harness — a drop-in upgrade over dsh-compaction-basic.

AI Analysis

核心用途是作为内置压缩插件的升级版,通过递归分块和强制保留精确数值/路径来压缩上下文。适合需要处理长对话、防止关键信息在上下文窗口超出时被截断丢弃的用户。

Package
dsh-compaction-pro
Version
0.1.0
License
MIT
Last updated
Aug 19, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

配置项

配置类型默认含义
faithfulbooleantrue强制保留精确数值/路径/命令/标识符,绝不改写
summaryLanguage'en' | 'zh' | 'auto''auto'摘要语言;auto 跟随会话语言
recursivebooleantrue大区段先分块压、再合并,避免截断丢信息
chunkMessagesnumber40recursive 开启时每个分块的消息数
customInstructionstring整段替换内置摘要提示词
thresholdRationumber0.8上下文窗口的压缩触发比例(继承自官方)
retainRationumber0.16保留近期尾部的比例(继承自官方)
maxTokensnumber8192摘要生成上限(继承自官方)
summarizationProvider / summarizationModelstring''留空则复用会话路由模型,否则钉死摘要模型