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. 核心用于长会话中工具结果的去重。通过哈希索引替换重复文本,适合需要频繁调用工具且产生重复输出的任务,能有效节省Token。支持配置最大缓存字节数及去重匹配模式。

Package
dsh-tool-result-dedup
Compatibility
Unverified
Harness peer range
^0.1.0-rc.7
Cordis peer range
^4.0.1
Version
0.1.0
Last updated
Aug 18, 2026

Other repositories with this package name

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

配置

Key默认说明
enabledtruefalse 时插件完全空转
maxCacheBytes65536超过该字节数的结果跳过(大结果归 spill 管)
normalizetrim-eoltrim-eol(容忍空白噪声)/ exact(逐字节判重)