nzl153/dsh-preflight0

dsh-preflight

Pre-install conflict simulation and runtime log diagnostics for DeepSeek Harness plugins

AI 분석

核心用途是保障插件安装与运行的稳定性。适合经常折腾、安装大量插件的 DSH 深度用户或插件开发者,用于排查插件冲突和启动失败问题。

패키지
dsh-preflight
버전
0.2.0
라이선스
MIT
최근 업데이트
2026. 8. 15.

설치

검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗

使用

dsh-preflight check dsh-web-search-pro
dsh-preflight check github:owner/repo#main --profile web
dsh-preflight check "D:\work\my-plugin"
dsh-preflight audit
dsh-preflight diff dsh-web-search-pro --json
dsh-preflight explain
dsh-preflight explain --log "D:\logs\dsh.err.log" --json

explain 默认读取 DSH 安装根下的 dsh.err.logdsh.logdsh.restart.loglaunch-trace.log。每个文件只读取尾部 2 MiB。日志不存在或为空时正常返回 INFO。

常用参数:

  • --profile :profile 名,默认 web
  • --profile-dir :直接指定 profile 目录
  • --dsh-root :覆盖 DSH 安装根
  • --dsh-home :覆盖 .dsh 根目录
  • --registry :覆盖 npm registry
  • --log explain 只分析指定日志
  • --json:输出机器可读 JSON
  • --strict:存在 WARN 时也返回退出码 1