wqzhellohhwy/dsh-profile-lab ↗★ 0
dsh-profile-lab
提供隔离克隆、插件测试与安全回收的实验台 适合需要安全测试新插件、避免破坏主配置的开发者。
同名包的其他仓库
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:wqzhellohhwy/dsh-profile-lab说明文档
阅读完整 README ↗配置(cordis 行 config,全部可选)
- insert:
- id: dsh-profile-lab
name: 'dsh-profile-lab'
config:
home: 'C:/Users/you/.dsh' # 缺省 $DSH_HOME 或 ~/.dsh
dshBin: '' # 显式指定 dsh 的 lib/bin.js(缺省自动探测)
nodePath: '' # 显式指定跑子进程的 node(缺省 process.execPath)
tools:
disabled: ['tmpprofile_fingerprint'] # 按名字关掉工具
dsh 可执行文件是怎么找的
按优先级探测,每条都用 -V 实测(app.asar 是文件,existsSync 看不到内部路径,只能试跑):
config.dshBin/ 环境变量DSH_LAB_DSH_BIN- 宿主安装锚点:宿主进程的
profileContext.installAnchor→/…/@deepseek-ai/dsh/lib/bin.js,用process.execPath+ELECTRON_RUN_AS_NODE=1(版本与宿主一致,兼容性最好) - npm 全局安装:
%APPDATA%\npm\node_modules\@deepseek-ai\dsh\lib\bin.js C:\dsh-runtime\\...
实测样例(Windows + 桌面版宿主):宿主锚点 → 0.2.0-rc.2(host 同版本);兜底 npm 全局 → 0.2.1-alpha.1。