QIANLING-0831/dsh-memory--packages-dsh-tool-result-dedup ↗★ 0
dsh-tool-result-dedup
Tool-result dedup policy for the DeepSeek Harness — replaces byte-identical repeated plain-text tool results with a pointer to the first occurrence (hash-indexed), saving input tokens on long sessions.
AI 分析
核心用于长会话中工具结果的去重。通过哈希索引替换重复文本,适合需要频繁调用工具且产生重复输出的任务,能有效节省Token。支持配置最大缓存字节数及去重匹配模式。
インストール
検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗
ドキュメント
README 全文を読む ↗配置
| Key | 默认 | 说明 |
|---|---|---|
enabled | true | false 时插件完全空转 |
maxCacheBytes | 65536 | 超过该字节数的结果跳过(大结果归 spill 管) |
normalize | trim-eol | trim-eol(容忍空白噪声)/ exact(逐字节判重) |