Skip to content

v0.2.0 - 独立 CLI + 自动 PATH 注册

Latest

Choose a tag to compare

@jorinyang jorinyang released this 14 Aug 03:30
· 1 commit to main since this release

🩺 dsh-doctor v0.2.0

崩溃报错,无法启动?两行命令接住你的情绪,解决你崩溃的源头。

# 安装
dsh plugin --profile web add @jorinyang/dsh-doctor

# 修复
dsh-doctor

✨ 新特性

  • 独立 CLI — 自包含单文件 bundle,即使 DSH 崩溃也能工作
  • 自动 PATH 注册 — 安装后自动注册到系统 PATH,无需手动配置
  • 跨平台支持 — Windows (.cmd/.ps1)、macOS/Linux (shell)、fish shell
  • PATH 检查 — 自动检测并提示如何添加 PATH
  • setup 命令dsh-doctor setup 手动注册 PATH

🔧 改进

  • 导出 runDiagnosticrunRepair 供编程使用
  • 版本号嵌入 CLI bundle(运行时不依赖 package.json)
  • 完善 README 项目介绍

📦 安装

# DSH 插件(推荐)
dsh plugin --profile web add @jorinyang/dsh-doctor

# 或全局 npm
npm install -g @jorinyang/dsh-doctor

🚀 使用

# 只读诊断
dsh-doctor

# 安全修复
dsh-doctor fix

# 完整修复(含 pnpm install + 进程清理)
dsh-doctor fix --scope full

# 手动注册 PATH
dsh-doctor setup

仓库地址: https://github.com/jorinyang/dsh-doctor
无痛折腾 DeepSeek Harness 🎉