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 읽기 ↗
配置
| Key | 默认 | 说明 |
|---|---|---|
enabled | true | false 时插件完全空转 |
maxCacheBytes | 65536 | 超过该字节数的结果跳过(大结果归 spill 管) |
normalize | trim-eol | trim-eol(容忍空白噪声)/ exact(逐字节判重) |