DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-plugin-auto-blame

H

dsh-plugin-auto-blame

Manifest valid10

模型回合结束后用 LLM 生成 3 条批判性跟进建议,点击即发送 | After a model turn, an LLM generates 3 critical follow-up suggestions shown as click-to-send chips

UI (client)hasBundlePatch

dsh-plugin-auto-blame card

dsh-auto-blame

npm version

preview

当模型完成当前轮次对话后,将最后 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 归零,旧气泡立即消失

开发

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:

$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。

运行

# 从 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)

Compatibility

DSH 0.1.5-rc.2: failedDSH 0.1.5-rc.1: errorDSH 0.1.5-alpha.2: errorDSH 0.1.5-alpha.1: errorDSH 0.1.3-alpha.2: errorDSH 0.1.2-rc.1: errorDSH 0.1.2-alpha.5: errorDSH 0.1.2-alpha.4: errorDSH 0.1.2-alpha.3: errorDSH 0.1.2-alpha.2: error

Versions

Latest versionPublishedSize
0.1.0
0.1.1
0.1.2
0.2.0

Similar plugins

dsh-prompt-refine

by sojo-negai

DSH 提示词优化插件 —— 发送前点一下 ✨,模型结合上下文给出「补丁式」建议,勾选回填,不抢发送权。

Tools & CapabilitiesManifest valid

0

127/wk

MIT

TypeScript

Sep 11, 2026

dsh plugin --profile web add dsh-prompt-refine

by omdsh-dev

An dsh plugin for role-based LLM retry&fallback strategy. 基于角色的模型重试备用策略插件

Models & ProvidersManifest valid

19

MIT

TypeScript

Sep 11, 2026

dsh plugin --profile web add dsh-llm-fallbacks

by omdsh-dev

发现问题(checkup) → 修复交付(fix) → 质量复查(review) 的对抗式闭环插件:基于官方 workflow 引擎的检查/修复/复查工具集

Workflow & AutomationManifest valid

6

MIT

JavaScript

Aug 17, 2026

dsh plugin --profile web add @dsh-external/dsh-inspect

by DosterBool

Tell DeepSeek:快捷键打断当前生成,载入纠偏提示(steer 注入);继续时思考链回填以可折叠上下文行呈现

Manifest valid

0

JavaScript

Aug 22, 2026

dsh plugin --profile web add dsh-shutup

LLM request retry plugin for DeepSeek Harness: when a model request fails with a configured HTTP status code, machine code, or provider field=value match, it sleeps for the per-rule delay and re-issue

Models & ProvidersManifest valid

0

dsh plugin --profile web add dsh-llm-error-retry

by omdsh-dev

Advisor - Pair a second model that passively reviews each turn and injects notes. 搭配一个会在每轮对话被动注入见解和审查的副模型。

Tools & CapabilitiesManifest valid

20

MIT

TypeScript

Sep 11, 2026

dsh plugin --profile web add dsh-advisor