2718labs/dsh-compaction-continuum ↗★ 0

dsh-compaction-continuum

Structural Compression (结构性压缩) for DeepSeek Harness context: one cited-atom extraction call, a structural-mechanics solve, and a deterministic checkpoint with reconstruction certificates.

패키지
dsh-compaction-continuum
호환성
미검증
버전
0.6.0
라이선스
MIT
최근 업데이트
2026. 11. 4.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:2718labs/dsh-compaction-continuum

Configuration

The plugin row configures the compressor only. Compaction thresholds and retention are determined by the shipped engine that runs it.

KeyDefaultDescription
modeextractextract performs one model call; deterministic stays fully local; off returns control to the shipped summarizer
extractorMaxTokens12000Output cap for the extraction call
checkpointMaxTokens6000Structural-checkpoint budget
verbatimTokens20000Verbatim-retention budget for user requests and recent units; 0 disables the near-lossless layer
recallTooltrueRegister context_recall and add the checkpoint's Recall hint
maxRetainedImages4Maximum image blocks spliced into the checkpoint; 0 disables image retention
selectionThreshold0.35Load-bearing cutoff relative to the maximum displacement
minKeep8Minimum number of items retained
statusCommandstrueWhether to register the commands and loopback diagnostics
maxRecordedCompactions32Compaction-ledger entries retained per session
logDecisionstrueWhether compile decisions are logged

Keys shared with the shipped backend — thresholdRatio, retainTokens, maxTokens and similar — take effect only when this plugin is itself the compaction provider. On desktop, the preset engine's policy applies; /context_status reports the resolved values.