← 返回列表
D

dsh-status-plugin

v0.5.2 · 2 天前发布

A dsh status plugin with host-plane and browser halves: harness runtime health (process, listener, API-key presence, memory, disk, uptime, plugin inventory) as JSON plus server-pushed SSE alerts and live-tunable settings, surfaced as a header badge with a

dshdsh-plugindeepseek-harnessstatusmonitoringsse

README

dsh-status-plugin

中文 | English

DeepSeek Harness(dsh)的状态插件,一个包内含两个平面:

  • Host 平面 — 以 JSON 形式暴露运行中 harness 的运行时健康状态:进程、监听器、API Key 是否存在、内存、磁盘、运行时长,以及实时的插件清单。

  • Client 平面 — Web UI(会话右上角)的头部徽标:显示运行时长,点击展开详情面板;当 host 上报过载、内存压力或磁盘告警时弹出提示;另有「状态」设置页可实时调整告警阈值。
  • 包名dsh-status-plugin

  • 运行时:host(ESM)+ 浏览器 bundle(CJS factory,按 dsh client-modules 的 __ModuleLoader__ 契约包装),使用 tsc + esbuild 构建到 lib/

  • 语言:TypeScript。
  • 安装

    sh
    dsh plugin --profile web add dsh-status-plugin

    CLI 会自动协调 dsh.profile.bundles:因为 manifest 声明了 dsh.bundle.patch,该包会加入 profile 的 bundle 层栈。停止正在运行的进程并重启 profile 以加载:

    sh
    dsh web # 或:dsh --profile <name>

    无需启动即可验证插件已加入组合树:

    sh
    dsh --profile web --dump-config

    Clie

    查看完整 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-status-plugin
    Repo
    git+https://github.com/woshi-Tom/dsh-status-plugin.git
    Engines
    {"node":"^22.19 || >=24"}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-runtime","@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-slots"],"platform":"web"}}