dsh-memory-router

在模型读取之前拦截 DSH 工具结果:重复调用去重、用声明式决策图把大输出换成结构化摘要、注入闸门去重,并记一本含负收益科目的诚实账本(压过头导致重读会记亏损)。实测单次命中省 1400—1600 token;累计净收益目前为负,仓库里写明了原因,也写明了它无法跳过模型回合。

插件介绍

在模型读取之前拦截 DSH 工具结果:重复调用去重、用声明式决策图把大输出换成结构化摘要、注入闸门去重,并记一本含负收益科目的诚实账本(压过头导致重读会记亏损)。实测单次命中省 1400—1600 token;累计净收益目前为负,仓库里写明了原因,也写明了它无法跳过模型回合。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:dcd887/dsh-memory-router

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.

版本兼容情况

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

安装提示

  • 可能调用终端命令