TableRogue
dsh-pixel-probe
DeepSeek Harness 动态 Client 插件浏览器能力探测工具
- Stars
- 0
- Language
- JavaScript
- Created
- Aug 16, 2026
- Updated
- Aug 16, 2026
Introduction
dsh-pixel-probe
DeepSeek Harness 动态 Client 插件能力探测工具。
用处
探测浏览器动态插件沙箱里可用的能力:document、canvas、MutationObserver、Image,并报告当前页面的 SVG 图标数量。用于确认「运行时光栅化 + 像素化」这类 DOM 方案的可行性,是开发像素类插件的诊断工具。
运行后在浏览器 console([cordis:dsh-pixel-probe] 标签)输出一行 JSON 报告。
安装(每次启动自动加载)
# 本地 checkout
dsh plugin --profile web add ./dsh-pixel-probe
# 或从 GitHub(纯 JS,无构建步骤)
dsh plugin --profile web add github:TableRogue/dsh-pixel-probe
安装后自动追加进 profile 的 dsh.profile.bundles,启动 dsh --profile web 即生效。验证 / 卸载:
dsh --profile web --dump-config # 应看到 # == dsh-pixel-probe 层
dsh plugin --profile web remove dsh-pixel-probe
临时方式(动态插件,单次进程):把 src/client.js 头注释以下的内容填入 cordis_define 的 code.client 并 cordis_run,详见文件头注释。
文件
index.js— Host 半:空 apply(纯 client 插件)。src/client.js— 动态插件源码(文档参考)。lib/client.js— 发布 bundle(client-modules 加载)。cordis.patch.yml— profile 组合补丁行。
License
MIT © 2026 TableRogue