dshbase

插件目录 / AI Models / dsh-plugin-auto-blame

dsh-plugin-auto-blame

未验证 HuanLinOTO

✓ 持续维护 基于 14 个官方 DSH 包 纯 TypeScript

查看 GitHub ↗ ← 返回插件目录

10Stars
0Forks
0未关闭 issue
TypeScript语言
2026-08-15最近推送
跨平台平台

功能简介

无描述。

我们的评价
未验证 — 尚未实测

无描述。 尚未验证——请自行安装测试。

「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

你是插件作者? 想拿到「已验证」标签——提交你自己的验证证据(截图、日志或短视频),我们审核通过后即改为「已验证」。

提交验证证据 ↗

README

https://dshfind.com/api/badge/huanlinoto/dsh-plugin-auto-blame?lang=zh](https://dshfind.com/zh/plugins/huanlinoto/dsh-plugin-auto-blame?ref=badge) > 📌 本插件已收录于 https://dshfind.com/zh 插件超市,点击上方徽章直达主页。

dsh-auto-blame

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 run bundle:client # 只构建 client bundle `

依赖链接(sibling dsh checkout)

本插件依赖
@deepseek-ai/dsh-* workspace 包。开发时需要手动 Junction 链接到 sibling dsh checkout: `powershell $dest = 'node_modules\@deepseek-ai' New-Item -ItemType Directory -Path $dest -Force

参考 dsh-spur 的 node_modules 结构创建 Junction

` 或从 dsh-spur 复制 node_modules(含 typescript / tsdown / vitest / @types/* / cordis / @deepseek-ai/dsh-client-*),再补建 dsh-agent / dsh-llm / dsh-session / dsh-session-projection 的 Junction。

运行

`sh

从 npm 安装(推荐)

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

本地开发(热更新)

dsh plugin --profile web add "link:D:/Projects/deepseek-harness/dsh-auto-blame"
` 安装后重启 dsh web + 浏览器硬刷新(Ctrl+Shift+R)。

检查

- [x] 零源码 patch - [x]
package.json 声明 dsh.bundle.patch - [x] cordis.patch.yml insert 行 id/name/config 齐全 - [x] fileslib/ + cordis.patch.yml - [x] peerDependencies 含 cordis + @deepseek-ai/* - [x] typecheck / test / build script 齐全 - [x] 预构建策略(lib/ 入库,无 prepare` 脚本) - [x] 不导出 default - [x] 测试分层(Unit)

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-plugin-auto-blame」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:HuanLinOTO/dsh-plugin-auto-blame

Headless(CLI)profile:

dsh plugin --profile headless add github:HuanLinOTO/dsh-plugin-auto-blame

实测报告

尚未 L3 验证——若已跑过,见下方失败备注。

状态:pending
备注:验证: runtime-fail (0.1.0-rc.6) 浏览全部待验证失败 →

使用场景

把一个新模型、provider 或路由策略接入循环,让 dsh 能为任务选对脑子。

适合谁

同时用多个模型或 provider、想让成本/质量/延迟自动平衡的人。

二次开发建议

provider 适配器和路由启发式是缝——加后端、调回退链,或加按任务的模型选择。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

AI Models 里更多

浏览全部 7795 个插件 →