DeepSeek Harness plugin

dsh-dardar

在 DSH 对话框模型选择框左侧显示当前 DeepSeek V4 Pro / V4 Flash 的 codexradar IQ,每 5 分钟刷新

Jump to install

Source facts

Repository
benzhoupo/dsh-dardar
Latest update
Aug 14, 2026
Category
Models & Providers
GitHub stars
2
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/benzhoupo/dsh-dardar
Plugin: dsh-dardar
Author: benzhoupo

Check the source files

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

File explorer3 files
README.mdSource · read only

dsh-dardar

在 DSH Web GUI 的对话框(composer)中,模型选择框左侧显示灰色小字 当前模型IQ:xxx(纯整数,四舍五入)—— 当前会话所选 DeepSeek V4 Pro / V4 Flash(codexradar dsh harness)的 IQ 值。

功能

  • 只对 DeepSeek V4 Pro / V4 Flash(GUI 模型 id:deepseek-v4-pro / deepseek-v4-flash)显示;选择其他模型时徽标隐藏。
  • 自动检测当前模型与思考程度(reasoningEffortoff / high / max),每一次切换模型或档位都会立即重新请求(切换瞬间清掉旧值、显示 ,新值返回后更新)。
  • 5 分钟自动刷新一次(lib/client.jsREFRESH_MS 可调)。
  • 首次加载中显示 当前模型IQ:…;该模型×档位在榜上无数据或请求失败显示 当前模型IQ:—(定时刷新失败时保留上一次成功值)。

数据来源

  • IQ 来自 codexradar 众测榜的公开只读接口(dsh harness 行):

GET https://api.codexradar.com/api/v1/intelligence-efficiency?benchmark=deep-swe points[].iq 即页面展示值(加权通过率 × 150,最近 3 个滚动窗口)。

  • 模型映射:deepseek-v4-pro → dsh-deepseek-v4-prodeepseek-v4-flash → dsh-deepseek-v4-flash,思考程度直通。
  • 该站点对浏览器 CORS 仅放行自身域名(https://deng.codexradar.com),浏览器端无法直接跨域请求,因此插件在 DSH 服务端注册了一个同源代理路由(host 半每次请求都回源上游,仅合并并发中的请求;上游 Cloudflare 自身 max-age=30 兜底),浏览器半只做同源请求。

安装

从 GitHub 安装:

dsh plugin --profile web add github:benzhoupo/dsh-dardar

本地开发时也可以直接安装本地目录(以 link 方式安装,改动即时可见,无需重新 add):

dsh plugin --profile web add /path/to/dsh-dardar

安装后重启 dsh web(新增 loader 行与浏览器 boot 图需要重启才生效),刷新浏览器页面(必要时硬刷新 Ctrl+Shift+R)。

卸载

dsh plugin --profile web remove dsh-dardar
# 重启 dsh web

结构

文件作用
cordis.patch.ymlbundle patch:向 web profile 插入 dsh-dardar loader 行
lib/index.jshost 半:注册 GET /dsh-dardar/iq?model=<id>&effort=<档位> 代理路由
lib/client.js浏览器半:conversation.input.right slot 条目(模型选择框左侧的 IQ 徽标)

开发

  • 无构建步骤:浏览器半是手写的 window.__ModuleLoader__.load 包装(与官方 client 包同款格式)。
  • 修改任意文件后需要重启 dsh web 才会生效。
  • 测试 host 路由:
curl -s "http://127.0.0.1:3080/dsh-dardar/iq?model=dsh-deepseek-v4-flash&effort=max"
# -> {"iq":100}(数值随众测滚动更新;无该档位行时为 {"iq":null})

排障

  • 看不到徽标:确认当前会话模型是 V4 Pro / V4 Flash 且已选档位;检查浏览器控制台有无 dsh-dardar 相关报错。
  • 显示 :该模型×档位在榜上暂无数据(如 dsh-deepseek-v4-pro@off 当前无行),或上游请求失败。
  • 服务日志出现 client-modules 组合错误:检查 dsh plugin 安装是否成功(~/.dsh/profiles/web/package.jsondsh.profile.bundles 应包含 dsh-dardar)。

许可

CC BY 4.0(Creative Commons Attribution 4.0 International),详见 [LICENSE](./LICENSE)。