DeepSeek Harness plugin

dsh-sight-ericfetc

DeepSeek Harness plugin: direct multimodal image transfer declarations + per-session image clearing (surface replace), with a settings page and composer controls.

Jump to install

Source facts

Repository
ericfetch/dsh-sight
Latest update
Aug 21, 2026
Category
Memory
GitHub stars
1
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/ericfetch/dsh-sight
Plugin: dsh-sight-ericfetc
Author: ericfetch

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

@eric.wen/dsh-sight

DeepSeek Harness(DSH)插件:多模态图片直传 + 会话图片清除

功能

🖼 多模态图片直传

在输入框直接粘贴/拖入图片,以原生图片内容块发送给多模态模型——不做「图片转文本」的降级流程。

插件内置主流多模态模型字典(Qwen-VL/Omni、GPT-4o/4.1/5、Gemini、Claude 3/3.5/4、Kimi/Moonshot、GLM、Doubao、DeepSeek-VL、LLaVA 等),也可以逐模型手动声明。声明后,qwen3.7-plus / kimi-k3 / glm-5.2 / gpt-5.6-* 等模型即可直接接收输入框粘贴的图片。

🗑 清除会话图片

会话里发过图片后,DSH 会阻止切换到纯文本模型(报 session already contains images)。点一下「清除图片」,把图片从模型可见历史移除,就能正常切回 deepseek-v4-flash 等纯文本模型继续对话。

  • 界面转录保留原图,历史可回看,非破坏性;
  • 结果持久化,重启后依然有效。

🧠 自动补推理等级

新增第三方渠道后,模型默认没有任何推理档位(模型选择器里看不到 Low/High/Max 等选项)。设置页点一下「自动补推理等级」,插件会按内置的模型家族字典,给未声明推理档位的模型写入其官方支持的档位:

模型家族写入档位(reasoningEfforts)
GPT-5.xoff / high / xhigh / max
o3 / o4off / low / medium / high
Grok 4.xoff / low / medium / high / xhigh
DeepSeek V4off / high / max
GLM-5.xoff / high / xhigh / max
Kimi K3off / low / high / max
Qwen 3off / low / medium / high
MiniMaxoff / high
  • 只补未声明的模型,已有档位或目录自带推理能力的模型一律不动;
  • 档位值跟随各家族官方 API 文档(DeepSeek off/high/max、Grok 4.x low/medium/high/xhigh、GLM-5.2 high/xhigh/max、Kimi K3 low/high/max);
  • 写入 llm-pi-ai 配置的 reasoningEfforts,下次请求即生效。

安装

方式一:npm(推荐)

dsh plugin --profile desktop add @eric.wen/dsh-sight

> 桌面版 DSH Desktop 用 desktop profile;本地 CLI 用 web(按你的实际 profile 替换)。

npm 分发预构建产物,无需任何授权。

方式二:GitHub

dsh plugin --profile desktop add github:ericfetch/dsh-sight#<commit-sha>

一条命令即可:仓库已提交预构建 lib/ 且无 prepare 构建脚本,安装时无需任何构建授权。

验证

dsh --profile desktop --dump-config   # 应出现 "# == @eric.wen/dsh-sight" 补丁层

然后重启 DSH Desktop,插件自动加载。

升级

发布新版本后,不需要卸载重装——pnpm 按已声明的版本范围自动拉取最新:

dsh plugin --profile desktop update @eric.wen/dsh-sight
  • 安装时声明的是 ^0.1.x(允许小版本升级),update 会拉到范围内最新版;
  • 想锁死大版本范围或装指定版本:dsh plugin --profile desktop add @eric.wen/dsh-sight@0.1.4
  • 更新后重启 DSH Desktop 生效。

卸载:dsh plugin --profile desktop remove @eric.wen/dsh-sight

使用

1. 声明模型:打开 设置 → 多模态图片直传,逐模型开启「图片直传」,或点「一键应用字典匹配」批量声明; 2. 补推理等级(可选):新增第三方渠道后,点「自动补推理等级」为未声明档位的模型写入其支持的推理档位; 3. 粘贴发送:输入框粘贴/拖入图片 → 缩略图草稿 → 发送 → 图片以原生内容直传模型; 4. 徽标提示:当前模型支持图片时,输入框左侧显示「🖼 图片直传」; 5. 切回文本模型:会话有历史图片时,输入框出现「🗑 清除图片 (n)」→ 点两次确认 → 切换到纯文本模型不再被拦截。

说明

  • 「支持图片」是用户对端点的声明,插件不做端点探测;端点实际不支持图片时由 provider 侧拒绝。
  • 清除图片只影响模型可见历史(surface),原始消息仍保留在会话日志与界面转录中。
  • 依赖的 @deepseek-ai/* 运行时由 DSH 模块表提供(peer 声明)。

开发

pnpm install
pnpm build        # tsdown:lib/index.js + lib/client.js
pnpm typecheck    # tsc --noEmit

发布:npm version <新版本>npm publish --access publicgit push origin main --tags

License

MIT