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

dsh-carryon

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

Package
dsh-carryon
Compatibility
Unverified
Harness peer range
0.2.2-alpha.3
Cordis peer range
~4.0.6-alpha.2
Version
0.1.0
License
Apache-2.0
Last updated
Nov 4, 2026

Install

$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.