← 返回列表
D

dsh-start

v0.1.1 · 0 天前发布

One-click start/stop launcher for DeepSeek Harness (DSH) Web on macOS: a terminal script (start / stop / status / daemon mode) plus a Dock-able DSH.app built from source.

dshdsh-plugindeepseek-harnesslaunchermacosone-clickstartstopdaemon

README

dsh-start

English | 中文

DeepSeek Harness(DSH)Web 的 macOS 一键启动器。不用再手动敲 dsh web——一条命令即可启动/停止/查看状态,还能构建一个程序坞里的 DSH.app,像普通 macOS 应用一样开关。

功能

  • 一条命令,四种模式dsh-start(前台启动,日志可见,Ctrl+C 停止)、dsh-start -d(后台守护,日志写入 ~/.dsh/web.log)、dsh-start stop(停止)、dsh-start status(状态)。

  • 防重复启动 — 服务已在运行(默认端口 3080)时只打开浏览器,不会启动第二个实例。

  • 自动打开浏览器 — 启动后轮询端口,就绪即打开 http://127.0.0.1:3080(前台/后台模式均支持)。

  • 正常应用体验(DSH.app)scripts/build-dsh-app.sh~/Applications/DSH.app 编译出常驻启动器:双击启动服务,Cmd+Q(带确认弹窗)停止;再点程序坞图标会确保服务在跑并打开浏览器。

  • 权限安全设计 — App 把服务器进程交给「终端」启动(终端有完整文件访问权限),避开 macOS 沙箱/TCC 直接拉起 dsh 时的 EPERM 启动崩溃。
  • 安装

    从 npm 安装(推荐)

    sh
    npm install -g dsh-start
    dsh-start # 前台启动
    dsh-start status # 查看是否在运行

    从源码使用

    ```sh
    git clone ht

    查看完整 README →

    版本兼容矩阵

    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-start
    Repo
    git+https://github.com/zhengjy01/dsh-start.git
    Engines
    {"node":">=18"}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"}}