dsh-file-state-cache

文件状态缓存技能:一次 explore 代替 ls+grep+read,读过的文件不再重复全量读,改完只回 diff 与精确变更行区间而不是重读全文。状态存在磁盘上的 JSON 缓存里,跨工具调用与重启都有效。需要 Python 3.8+(仅标准库,无需安装第三方依赖)。

插件介绍

文件状态缓存技能:一次 explore 代替 ls+grep+read,读过的文件不再重复全量读,改完只回 diff 与精确变更行区间而不是重读全文。状态存在磁盘上的 JSON 缓存里,跨工具调用与重启都有效。需要 Python 3.8+(仅标准库,无需安装第三方依赖)。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:Zzzk187/dsh-file-state-cache

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令