JohnXu22786/context-pruner0

dsh-context-triage

会话上下文分诊插件:为 DeepSeek Harness (dsh) 自动筛查过期与冗余的上下文内容,以判决式处理节约 token 预算。

AI Analysis

核心用途是通过判决式处理自动清理 DSH 会话中无用的历史上下文。适合需要进行超长对话、频繁交互且希望降低 API 费用支出的用户。

Package
dsh-context-triage
Version
0.1.0
License
MIT
Last updated
Aug 16, 2026

Install

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

Configuration

All fields have defaults; only override what you want to adjust. Invalid values (negative turns, out-of-range ratios, etc.) throw at load time. Example: