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 Analysis
核心用于长会话中工具结果的去重。通过哈希索引替换重复文本,适合需要频繁调用工具且产生重复输出的任务,能有效节省Token。支持配置最大缓存字节数及去重匹配模式。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗配置
| Key | 默认 | 说明 |
|---|---|---|
enabled | true | false 时插件完全空转 |
maxCacheBytes | 65536 | 超过该字节数的结果跳过(大结果归 spill 管) |
normalize | trim-eol | trim-eol(容忍空白噪声)/ exact(逐字节判重) |