跳到正文

HuanLinOTO/dsh-plugin-auto-blame

60最近提交 2026年8月15日

dsh-plugin-auto-blame DSH 插件

模型完成一轮对话后,插件将最后 3 条消息发送给 LLM,生成 3 条批判性跟进请求。这些建议以气泡形式显示在输入框上方,点击可直接发送。生成过程为 fire-and-forget,不阻塞对话。

如何安装 dsh-plugin-auto-blame DSH 插件

dsh plugin --profile web add @huanlin/dsh-plugin-auto-blame

复制不会执行命令。安装 dsh-plugin-auto-blame DSH 插件前请核对仓库和版本。

dsh-plugin-auto-blame DSH 插件数据来源

dsh-plugin-auto-blame DSH 插件快照日期:2026年8月16日

discovered

dsh-plugin-auto-blame DSH 插件能做什么

  • 每轮 AI 对话后自动生成 3 条批判性跟进建议
  • 建议以气泡形式显示在输入框上方,并带有淡入效果
  • 点击气泡即可设置草稿并立即发送
  • 生成期间显示“领导视野”标签,带有 DeepSeek 蓝色流光扫过特效
  • 新轮次开始时自动清除旧建议

dsh-plugin-auto-blame DSH 插件适合哪些场景

  • 快速获得对 AI 回答的批判性视角,无需手动输入提示
  • 在研究或辩论中节省构思跟进问题的时间
  • 在长对话中通过自动呈现不同角度的建议保持批判性思维

dsh-plugin-auto-blame DSH 插件适合谁

  • DSH 用户,希望自动获得跟进建议
  • 需要实时批判性评估 AI 输出的用户

dsh-plugin-auto-blame DSH 插件的限制

  • 仅支持 DSH web 模式(dsh web)
  • LLM 生成或解析失败时建议静默不显示(无回退)
  • 建议仅在当前轮次有效,下一轮自动清除,无法复用

dsh-plugin-auto-blame DSH 插件的仓库 README 摘录

以下文字摘自 dsh-plugin-auto-blame DSH 插件的上游仓库 HuanLinOTO/dsh-plugin-auto-blame 的 README,版权归原作者,仅作引用。

> 📌 本插件已收录于 [dshfind](https://dshfind.com/zh) 插件超市,点击上方徽章直达主页。 # dsh-auto-blame [![npm version](https://img.shields.io/npm/v/@huanlin/dsh-plugin-auto-blame)](https://www.npmjs.com/package/@huanlin/dsh-plugin-auto-blame) ![preview](docs/preview.webp) 当模型完成当前轮次对话后,将最后 3 条消息发送给 LLM,生成 3 条批判性跟进请求,显示在输入框上方作为可选项,点击直接发送。生成期间"领导视野"标签带 DeepSeek 蓝色流光扫过(同 Deep diving... 特效),建议到达后气泡依次淡入。 ## 工作原理 ``` [host] agent/turn-stopping 触发 → fire-and-forget 调 ctx.llm.stream() 生成 3 条毒舌跟进 → session.append('auto-blame/suggestions', { turn, suggestions }) → projection unit 折叠该事件 → session/projection 推送帧 ↓ [client] useProjection('autoBlame') 收到值 → conversation.composer.dock 渲染 3 个气泡 → 点击 → inputActions.setDraft(text) + submit() ``` - **fire-and-forget**:LLM 调用不阻塞 turn 关闭,建议晚几百 ms 出现 - **非 surface 事件**:`auto-blame/suggestions` 不进入 model-visible 历史,不干扰 agent loop - **失败静默**:LLM 失败 / 解析失败 → 不 append 事件,不显示气泡 - **点击发送**:走 InputBar 同一路径(`inputActions.setDraft + submit`) - **下一轮清空**:新 turn 开始时 projection 归零,旧气泡立即消失 ## 开发 ```sh pnpm run typecheck # tsc --noEmit pnpm test # vitest run(28 个单测) pnpm run build # tsc + tsdown → lib/index.js, lib/invariant.js, lib/client.js pnpm

阅读完整 README仓库许可: NOASSERTION

dsh-plugin-auto-blame DSH 插件常见问题

如何安装 Auto Blame 插件?

在终端中运行 `dsh plugin --profile web add @huanlin/dsh-plugin-auto-blame`。安装后重启 `dsh web`,并在浏览器中执行硬刷新(Ctrl+Shift+R)以加载插件。

为什么模型回答后没有显示建议?

建议是异步生成的,可能需要几百毫秒才出现。如果 LLM 调用失败或返回无法解析的内容,插件会静默不显示建议。另外请确保你使用的是 DSH web 模式,该插件仅支持 web 界面。

Auto Blame 会影响对话历史吗?

不会。建议事件(`auto-blame/suggestions`)是非表面事件,不会进入模型可见的历史记录,也不会干扰 agent 循环或对话日志。

Auto Blame 能否用于其他 DSH 配置文件(如 cli、terminal)?

安装命令使用了 `--profile web`,表明该插件是为 web 配置文件设计的。它可能无法在 CLI 或终端模式下工作,因为插件依赖于 composer dock 等 web 界面特有的 UI 元素。

如何禁用或卸载 Auto Blame 插件?

在 web 配置文件激活状态下,运行 `dsh plugin remove @huanlin/dsh-plugin-auto-blame` 移除插件。然后重启 `dsh web` 并硬刷新浏览器以完全卸载。