deepseekv41flash/dsh-context-truth ↗★ 1

dsh-context-truth

DeepSeek Harness plugin: tells the model its real, host-measured context occupancy every turn — and keeps compaction summaries from carrying false "context is nearly exhausted" claims. 适合需要精准控制上下文、避免模型因压缩误判额度耗尽的用户。

パッケージ
dsh-context-truth
互換性
未検証
バージョン
0.1.3
ライセンス
MIT
最終更新
2026/10/02

インストール

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

ドキュメント

README 全文を読む ↗

配置(全部可选)

键默认说明
enabledtrue总开关(只关第 1 个能力)
languageenen / zh 文案语言
order100在 runtime-context 里的排序(沙箱 110、审批 115,所以在最前)
quantumPercent5显示台阶(窗口百分比),决定重发频率
thresholdRatio0.8与 dsh-compaction-basic 对齐
headroomTokens65536同上
reservedCompletionTokensnull默认读路由请求自身的 maxTokens
moderateAt / tightAt0.5 / 0.85分档边界(相对自动压缩点)
hysteresis0.05降档迟滞
authoritativetrue是否附加"本行是唯一权威"那句
staleClaimClausetrue是否在 calm 档声明旧说法作废
logBandChangestrue分档变化时写一条 ctx.logger.info
patchCompactionPrompttrue是否给压缩指令补规则
compactionRules见上规则数组;[] 关闭本能力