PlxloYzb/dsh-arc-context1

dsh-arc-context

Adaptive Reversible Context (ARC) for DeepSeek Harness — provider-aware, cache-conscious context governance with reversible recovery.

包名
dsh-arc-context
版本
0.2.0-beta.14
许可证
MIT
最近更新
2026年8月19日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:PlxloYzb/dsh-arc-context

配置(节选)

- id: compaction-arc-bridge
  name: 'dsh-arc-context/bridge'
  config:
    effectiveSourceSafetyIndex: true   # tier-2/3 索引递归回有效原始源(默认开)
    safetyIndexRanking: value           # 超预算时按类型价值密度逐出(默认 value)
    adaptiveGovernor:
      enabled: true
      maxOutputTokens: auto
配置默认说明
effectiveSourceSafetyIndextruetier-2/3 蒸馏时,安全索引递归回到有效原始源,而非只重提取可见父 checkpoint。tier-1 输出不变。
safetyIndexRankingvalue附录超出检查点预算时的逐出次序:value 按类型价值密度先逐出低价值事件行;chronological 为纯时间序截断。预算内两者输出逐字节相同。

完整配置(上下文窗口、nudge 阈值、保护范围、Governor、提示模板等)见 docs/INSTALL.mddocs/kernel-tuning.md