LoveDoLove/dsh-token-saver ↗★ 1
dsh-token-saver
DeepSeek Harness plugin: trims tool output, applies prompt shaping (Caveman & Ponytail), instant local responses, context-pressure handling, optional LLM-summary compaction, stable prompt-cache layout, and a Web settings UI with persisted savings telemetry. 适合需要控制上下文压力、减少Token消耗并稳定缓存布局的用户。
同名パッケージの別リポジトリ
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:LoveDoLove/dsh-token-saverドキュメント
README 全文を読む ↗Configuration
The settings panel is available in DSH Web under Settings → Token Saver. You can also configure the plugin through its DSH bundle configuration.
Example:
dsh-token-saver:
mode: conservative # off | conservative | balanced | aggressive
rtkEnabled: false
cavemanLevel: off # off | lite | full | ultra | wenyan-lite | wenyan | wenyan-ultra
ponytailLevel: off # off | lite | full | ultra
localResponsesEnabled: false
localResponses: [quota, prefix, title, suggestion, filepath]
llmSummaryEnabled: false
Modes
- off — disables token-saving transformations.
- conservative — trims/folds oversized tool output while retaining the normal DSH compaction path.
- balanced — enables additional context-pressure handling.
- aggressive — enables more extensive compaction behavior; review the configuration before enabling it.
Exact behavior depends on the individual options and the installed DSH version. Check the settings panel and configuration defaults for the current build.