dsh-dream-reflect-lite

轻量级跨会话反思:每轮结束时把 3–5 条可复用事实(工具链、文件路径、配置项、踩过的坑)写成 .dsh/reflections/{日期}.md 卡片,新会话启动时自动把最近 3 张卡片注入系统提示词末尾。提炼走真实的 ctx.llm.stream,模型不可用时降级为只读会话日志的启发式提取,并在卡片上如实标注来源。没有定时器、隔离区和审批流;卡片是普通 Markdown,可直接编辑删除。

插件介绍

轻量级跨会话反思:每轮结束时把 3–5 条可复用事实(工具链、文件路径、配置项、踩过的坑)写成 .dsh/reflections/{日期}.md 卡片,新会话启动时自动把最近 3 张卡片注入系统提示词末尾。提炼走真实的 ctx.llm.stream,模型不可用时降级为只读会话日志的启发式提取,并在卡片上如实标注来源。没有定时器、隔离区和审批流;卡片是普通 Markdown,可直接编辑删除。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:liuhange789/dsh-dream-reflect-lite

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.

版本兼容情况

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