READMESource: main@155cf968
oh-my-dsh
DSH Web 插件组合:手机界面、登录、搜索 provider 切换、MCP 管理、代码侧栏、Codex 支持。
安装
# npm
dsh plugin --profile web add @keqingmoe/oh-my-dsh
# 或直接从 GitHub 安装
dsh plugin --profile web add github:KeqingMoe/oh-my-dsh
安装后重启 DSH Web。本包面向 DeepSeek Harness 0.2.1-rc.3;如果已有旧版
oh-my-dsh 或同名插件,先移除再安装。
包含
| 功能 | 插件 |
|---|---|
| 手机界面 | dsh-mobile-upgrade |
| Web 登录 | dsh-web-startup-auth |
| 手机 Enter 换行 | @jiesou/dsh-webui-fix-mobile-enter-newline |
| 文件、Git 与终端侧栏 | dsh-better-sidebar |
| Codex Web | dsh-codex |
| 搜索 provider 切换 | dsh-search-switch |
| MCP 管理界面 | dsh-mcp |
已知限制:安装或卸载后必须重启
DSH 0.2.1-rc.3 的插件热重载只覆盖「可替换」的插件;已加载的插件模块留在 ESM 缓存里,fiber
仍持有注册,进程内没有受支持的卸载/重新导入方式。本包用 dsh-web-startup-auth 替换了内置的
web-startup 行,所以安装或卸载都会动到启动层——dsh plugin --profile web add/remove 之后
必须重启 dsh web,否则启动层的生命周期会留在不一致状态,只能靠重启恢复。
这是上游限制,不是本包 patch 的问题:
- 官方变更日志(v0.2.1-rc.1):「启用热重载时,更新或重新安装的可替换插件直接生效,无法热重载时提示重启。」https://www.dsh.so/zh/changelog/
- Discussion #1231 Host capability: graceful self-restart for plugin managers:已加载的插件代码无法安全重新导入,更新流程最终都停在「请手动重启」。https://github.com/deepseek-ai/deepseek-harness/discussions/1231
- Discussion #2717(中文):建议官方提供「重启扩展服务」与完整插件更新生命周期。https://github.com/deepseek-ai/deepseek-harness/discussions/2717
许可
dsh-mobile-upgrade 的许可见 THIRD_PARTY_NOTICES.md;本项目采用 MIT 许可。
No comments yet. Be the first to write one.