D
dsh-open-browser
v0.1.1 · 4 天前发布
DSH plugin: open the system default browser automatically once `dsh web` is ready to serve.
README
dsh-open-browser
DSH 插件:在 dsh web 启动完成、可以对外服务时,自动用系统默认浏览器打开 Web UI。
@deepseek-ai/schemastery 做配置校验)DISPLAY/WAYLAND_DISPLAY 且非 WSL 时静默跳过并打一行提示(CI/容器里不会乱弹)--port 0 的 OS 分配端口也能拿到unref,Ctrl-C/SIGTERM 关停不受影响安装
sh
从本地目录安装(开发/验证)
dsh plugin --profile web add /path/to/dsh-open-browser
或从 npm 安装(发布后)
dsh plugin --profile web add dsh-open-browser
或从 git 安装
dsh plugin --profile web add github:you/dsh-open-browser
三平台安装命令完全一致(Windows 上 dsh 为 .cmd shim,CLI 已内部处理)。dsh plugin 会把包加入 profile 的 dsh.profile.bundles 层列表。之后正常启动:
```sh
npx @deepseek-ai/dsh web
版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- MIT
- npm
- dsh-open-browser
- Repo
- git+https://github.com/peach0x33a/dsh-open-browser.git
- Engines
{"node":">=22"}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"}}