← Back to list

dsh-readcache

DeepSeek Harness Development & Runtime Low risk

Version-token-validated in-process result cache for the DSH read tool: repeated reads of unchanged files skip file I/O and line rendering, with a readcache tool for stats and clearing.

为 DSH read 工具提供版本令牌校验的进程内结果缓存:未变更文件的重复读取跳过文件 I/O 与行渲染,附带 readcache 工具查看统计与清空。

How to install

DeepSeek Harness dsh plugin add dsh-readcache

About

dsh-readcache ⚡ **给 DSH read 工具的版本令牌校验结果缓存。** 长会话会反复重读未变更的文件——上下文压缩后的恢复、并行子代理、编辑前后的对比,每一次重复都要重新做文件 I/O 和行号渲染,读到的却是字节完全相同的内容。dsh-readcache 包装了 tools/execute 事件瀑布,让这些重复读取直接命中进程内缓存,**且每一次命中都对照文件系统自己的版本令牌重新校验**。 为什么它是安全的 朴素的缓存会吐旧内容,这个插件不会: | 性质 | 机制 | |---|---| | **绝不吐旧内容** | 每次命中都重新 stat 文件,要求版本令牌精确匹配(本地后端为 dev:ino:size:mtimeNs:ctimeNs)。任何写路径——edit/write 工具、bash、外部编辑器——都会改变令牌并立即失效对应条目。 | | **无写入竞态** | 未命中时,执行结果只有在二次 stat 仍报告执行前令牌的情况下才会入缓存(双 stat 防护)。 | | **保留"先读后改"约束** | 缓存键包含代理 id。文件系统的观察门(fs-observation-policy)要求每个代理编辑前必须自己读过该文件;按代理隔离键值保证每次命中都以该代理自己的先前观察为凭据。 | | **内存有界** | LRU 上限:300 条 / 总量 16 …

Recommendation signals

44 Tool quality · Based on stars, downloads, maintenance, security and docs
– User interest · Adjusted by in-site views, install copies and download clicks
44 Overall
0views
0unique visitors
0install copies
0download clicks
0outbound clicks

Meta

License
MIT
Language
JavaScript
GitHub stars
2
mo. downloads
–
Last push
2026-08-23
Created
2026-08-23

Links

Basic safety check

Findings
None
Sources
curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
Topics
cache, deepseek-harness, dsh, dsh-plugin

Related plugins

MCP Server
Score100

langfuse

langfuse/langfuse

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

☆ 35.0K ↓ 6.7M Development & Runtime ↗
Claude Code
Score92

claude-code-templates

davila7/claude-code-templates

CLI tool for configuring and monitoring Claude Code

☆ 31.7K ↓ 10.7K Development & Runtime ↗
MCP Server
Score86

semiotic

nteract/semiotic

React data visualization library for streaming, networks, and AI-assisted development

☆ 2.7K ↓ 25.0K Development & Runtime ↗
DeepSeek Harness Featured
Score84

dsh-desktop

dataelement/dsh-desktop

DSHDesktop:DeepSeek Harness Desktop / DeepSeek Harness 桌面版

☆ 9.1K ↓ 930 Development & Runtime ↗