dsh-compaction
压缩后端:用确定性语义提取器替换 LLM 摘要(保留代码/路径/命令,剔除闲聊),附带 28.4x KV 压缩记账。
Compaction backend replacing LLM summarization with a deterministic semantic extractor (keeps code/paths/commands, drops chatter) plus 28.4x KV-compression accounting.
怎么安装
dsh plugin add github:ljsysfurryACE/dsh-compaction 简介
dsh-compaction-agentframe AgentFrame 压缩后端插件 —— 把 DeepSeek Harness 的默认 LLM 摘要压缩替换为 **语义 + 物理双轨压缩**(28.4x KV 压缩思路)。 为什么替换默认压缩 默认 compaction-basic 用 LLM 摘要(有损总结旧对话),每次压缩都要一次 LLM 调用,且摘要可能丢细节。 AgentFrame 的思路: **语义轨**:MemoryDirector 判断哪些 token 值得保留(去闲聊、留关键) **物理轨**:吸收式 MLA + INT4 量化(270KB→7.6KB/token,28.4x) **效果**:保留关键信息 + 大幅省 token + 不额外调用 LLM 使用 在 profile 的 cordis.patch.yml 中把 compaction-basic 替换为: yaml id: compaction-agentframe name: '@deepseek-ai/dsh-compaction-agentframe' config: semantic: true retainRatio: 0.2 physical: true 配置 | 字段 | 默认 | 说明 | |------|------|------| | semantic | true | 语义压缩(保…
推荐参考
信息
- 协议
- GPL-3.0
- 语言
- JavaScript
- GitHub 星标
- 0
- 月下载
- –
- 最近更新
- 2026-09-24
- 创建于
- 2026-08-14
基础安全检查
- 检查结果
- curated 收录但无 npm 包/安装命令
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- context-compression, deepseek-harness, dsh, llm, plugin
同类推荐
hindsight
vectorize-io/hindsight/tree/main/hindsight-integrations/coding-agents
Hindsight:会学习的 Agent 长期记忆系统,自动召回/保存、知识页、深度反思与按仓库隔离的记忆银行。
firecrawl-mcp-server
firecrawl/firecrawl-mcp-server
🔥 官方Firecrawl MCP服务器 - 为Cursor、Claude及任何其他LLM客户端添加强大的网页抓取和搜索功能。
dsh-mnemon
omdsh-dev/dsh-mnemon
由 Mnemon 驱动的 DeepSeek Harness(DSH)跨 Agent、本地优先的持久记忆插件。它可在支持 Mnemon 的 Agent 之间共享长期记忆,并提供运行时记忆、可检索项目档案、语义召回、知识图谱和 Sidebar UI。
get-shit-done
gsd-build/get-shit-done
由 TÂCHES 开发的轻量且强大的元提示、上下文工程和规格驱动开发系统,适用于 Claude Code。