xuan-tu-ai/dsh-carryon ↗★ 1

dsh-carryon

CarryOn context folding (arXiv:2610.18784) as a compaction plugin for DeepSeek Harness (experimental)

套件
dsh-carryon
相容性
待驗證
Harness 依賴範圍
0.2.2-alpha.3
Cordis 依賴範圍
~4.0.6-alpha.2
版本
0.1.0
授權
Apache-2.0
最近更新
2026年11月4日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xuan-tu-ai/dsh-carryon

Configuration

The plugin's config row is carryon-compaction. It accepts dsh's own compaction keys (thresholdRatio, retainTokens, …) and a few CarryOn keys. For example, put this in $DSH_HOME/profiles/tui/cordis.patch.yml to fold at half of the context window and run the CarryOn roles on the cheaper deepseek-flash:

- id: carryon-compaction
  config:
    thresholdRatio: 0.5
    runtimeProvider: deepseek-official
    runtimeModel: deepseek-flash

dsh replaces a row's whole config with the patched one, so list all your keys together. See Configuration for every key, the defaults, and the Web UI's limits.