Releases: Oo0520/dsh-plugin-doctor
Releases · Oo0520/dsh-plugin-doctor
Release list
v0.1.1
变更
- 更名
dsh-plugin-doctor->dsh-clinic:npm 上的原名已被其他维护者占用(xrainsmile/dsh-plugin-doctor),本包改以dsh-clinic发布。GitHub 仓库同步更名为 Oo0520/dsh-clinic(旧链接自动重定向)。 - 自我校验(拒绝自卸载 / 审计自豁免)改为运行时从 package.json 读取自身包名,未来再改名无需改代码。
- 补充 MIT License、repository / bugs / homepage 元数据。
- Typert wire id、客户端 ModuleLoader banner id、cordis.patch.yml 条目名同步更名。
安装
dsh plugin --profile web add dsh-clinic # npm
dsh plugin --profile web add github:Oo0520/dsh-clinic # github从旧名迁移
旧名安装的用户:先 dsh plugin --profile <name> remove dsh-plugin-doctor,再按上面任一方式安装 dsh-clinic。
v0.1.0
功能
Host 工具(对话中由 AI 调用)
- plugin_audit — 审计 profile 全部插件:manifest 契约、patch 层风险(!!js / 覆盖官方行)、静态代码扫描(eval、凭据读取、child_process 绕过沙箱)、供应链风险(安装期脚本、github 依赖未固定 commit)
- plugin_list — 插件组合行与 fiber 运行状态(PENDING 缺失服务 / FAILED 错误)
- plugin_toggle — 热启停:运行时即时生效 + cordis.patch.yml 持久化;禁用前探测依赖牵连,会晾死其他条目时自动回滚拒绝
- plugin_install / plugin_uninstall — 安装卸载,dry-run 确认
卸载可靠性
成败以清单是否仍引用该包为准,而非 pnpm 退出码:即使 pnpm 因文件被占用中途失败,也强制清理 dependencies / bundles / patch 残留行并运行时停用条目,杜绝「清单还挂着、磁盘已删掉」的半卸载状态。
设置面板(Web)
插件管理 + 体检报告双视图:中文描述词典(可自维护)、安装时间与「新」徽章、搜索、启停、装卸、版本更新检查(含 pnpm 发布冷静期识别)、中英双语切换。
安装
dsh plugin --profile web add github:Oo0520/dsh-plugin-doctor仓库已含构建产物 lib/,github 安装无需构建脚本。要求 DSH 宿主(@deepseek-ai/dsh)与 dsh-base 组合(loader / subprocess / tools 服务)。