dsh-context-archive

模型驱动的工具结果归档插件。超过阈值的结果会带一个短内联编号([#a1b2c3d4]),模型把不再需要的 结果归档进会话自己的 archives/ 目录,上下文里只留一个可回捞的小存根(含文件路径)。原文同时保留在 只增的会话日志中,不会丢失。附带设置面板:按大小分桶的回收统计、改完立即生效的阈值、以及有待归档 结果时的条件提醒。统计面板需 dsh-better-sidebar。

插件介绍

模型驱动的工具结果归档插件。超过阈值的结果会带一个短内联编号([#a1b2c3d4]),模型把不再需要的 结果归档进会话自己的 archives/ 目录,上下文里只留一个可回捞的小存根(含文件路径)。原文同时保留在 只增的会话日志中,不会丢失。附带设置面板:按大小分桶的回收统计、改完立即生效的阈值、以及有待归档 结果时的条件提醒。统计面板需 dsh-better-sidebar。

安装方式

通过 npm 安装

dsh plugin --profile web add dsh-context-archive

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:kingofpowers/dsh-context-archive

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.

版本兼容情况

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

安装提示

  • 可能调用终端命令