← 返回列表
D

dsh-compressor

v0.1.0 · 2 天前发布

In-process DeepSeek Harness context compression bundle

dsh-plugindeepseek-harnesscontext-compression

README

dsh-compressor

DeepSeek Harness bundle. Compresses long tool results in-process and restores them with compressor_retrieve.

On 20 redacted real DSH sessions, Session.deriveMessages() JSON shrank by up to 20%. Official spill left verbatim. Reproduce: node scripts/measure-sessions.mjs.

Install into a DSH profile

dsh plugin forwards to pnpm in $DSH_HOME/profiles/<name>. Relative paths are resolved from the directory you run dsh in.

Local checkout

bash
dsh plugin --profile web add ./plugins/dsh-compressor

GitHub subdirectory (plugin is not the repo root)

bash
dsh plugin --profile web add github:lifeodyssey/dsh-compressor#path:plugins/dsh-compressor

npm (after npm publish from this directory)

```bash
dsh plugin --profile web add dsh-c

查看完整 README →

版本兼容矩阵

DSH 版本状态说明
dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
dsh@0.1.0 ✅ 兼容 标准 patch ✅
dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
dsh@0.3.0+ ❓ 未知 尚未发布

💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

元数据

License
Apache-2.0
npm
dsh-compressor
Repo
git+https://github.com/lifeodyssey/dsh-compressor.git
Engines
{}
Weekly DL
0
Monthly DL
0
dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"}}