🎁 福利专区全网大模型免费应用 + 新用户福利 + 注册活动入口,低成本玩转 AI
广告☁️ 云服务器特惠阿里云首购 8 折 · 腾讯云合作特惠
DeepSeek Harness Hub
← 返回列表

AikenFra/dsh-alive

DeepSeek Harnessspec-screened扫描:低风险在 GitHub 查看 ↗
✓ 可直接安装

dsh-alive · 零 token 在线状态指示器

自动检查通过:npm 包已发布且 engines 声明满足基线(声明 Node >=18);该结论来自程序自动检查,未经人工实机验证。 · 最近上游提交 2026/9/9 · 已提供中文文档
综合分
30.3
GitHub 分
30.3
用户评分
—
★ Stars
2
周下载量
—
安装插件(需先安装 dsh CLI 引擎:npm install -g @deepseek-ai/dsh)
dsh plugin --profile web add dsh-alive
npm 包 dsh-alive 已校验归属本仓库,走 npm 安装最省事
信任档位:已验证本站已于 1 天前真实安装成功(L4 · 真实安装)
是什么
dsh 原生插件 · market
装得上吗
本站已真实安装成功(L4 · 真实安装,非静态推断)
安全吗
本站尚未对该插件做风险分级(暂未覆盖,不等同于无风险)
还在维护吗
活跃:最近一次提交在 16 天前

档位由下列信号合成:本站实装验证(真实安装,当前最高到 L4)· 验证所用 dsh 版本 · 静态安装检查 · 风险分级 · 仓库维护状态。下方各区块是它的证据明细。 验证判据与等级说明 →

🟢实装验证通过· 2026/9/24
由本站实装验证器在真实 dsh 环境安装成功,非静态推断。
数据截至 2026/9/21(元数据每日更新 · 实装验证按队列轮转,单条结论的验证时间见上方)
安装兼容性检查✓ 自动检查通过

以下结论由程序自动检查 npm 包、engines 声明与入口文件得出,未做人工实机验证——能装不等于用着没问题。

✓npm 包dsh-alive @ 0.1.2
✓Node 引擎要求 >=18 · 基线 Node 22.19 满足
✓dsh CLI 依赖未声明 dsh 版本约束
✓入口文件main/exports/bin 已声明

验证方式:npm registry 存在性 + package.json 静态校验 · 最后验证 2026/9/21 11:07:28

用户评分
还没有人投票,来当第一个
订阅周报,不错过优质插件更新
每周一封 · 高评分插件 + 新用户活动

README

由 DeepSeek 最新模型翻译生成
dsh-alive · 零 token 在线状态指示器

npm version
npm downloads
license
GitHub stars

A zero-token online status indicator for the DeepSeek Harness (dsh) web UI.
为 DeepSeek Harness (dsh) Web 界面提供零 token 消耗的在线状态指示器。

在会话窗口右上角常驻显示 ● 在线 / ● 离线 状态点,每 15 秒自动检测一次。完全不调用 LLM,零 token 消耗——只是浏览器对本地服务做一次进程内的 HTTP 心跳。

An always-visible ● Online / ● Offline indicator in the conversation header, auto-refreshed every 15 seconds. It costs zero tokens — the browser simply polls a process-local HTTP endpoint.

功能 / Features

- ✅ 会话头部右上角常驻状态点(绿色 = 在线,红色 = 离线,黄色 = 检测中)
- ✅ 每 15 秒自动检测,无需手动刷新
- ✅ 零 token 消耗:纯进程内 ping,不调用任何 LLM
- ✅ 开箱即用,无需任何配置
- ✅ 服务挂了立刻变红点,恢复后自动变回绿点

截图 / Screenshots

● 在线(绿色)| ● 离线(红色) — 会话窗口右上角常驻显示:

| 在线 / Online | 离线 / Offline |
| --- | --- |
| 在线 | 离线 |

工作原理 / How it works

浏览器页面 --(每 15s fetch)--> GET /dsh-alive/ping --> dsh 服务进程(直接应答)
| 零 LLM 调用,零 token

- 后端:注册一个进程内 HTTP 端点 GET /dsh-alive/ping,立即返回 {"ok":true},不经过任何模型。
- 前端:通过 dsh 的 slot 系统注入一个小组件到 conversation.session.header.utilities,用 setInterval 每 15 秒轮询一次 ping 端点,根据响应更新状态点。

安装 / Install

需要已安装 DeepSeek Harness(dsh)。适用于 web profile。

装进 web profile(npm 发布后)
dsh plugin --profile web add dsh-alive

重启服务
dsh web

重启后打开页面,按 Ctrl+F5 强制刷新,右上角即可看到状态点。

本地/手动安装(未发布时)

把本仓库放到 ~/.dsh/profiles/web/dsh-alive,然后:

1. 在 ~/.dsh/profiles/web/package.json 的 dependencies 加 "dsh-alive": "file:./dsh-alive"
2. 在 dsh.profile.bundles 列表追加 "dsh-alive"
3. 重启 dsh web 并硬刷新页面

卸载 / Uninstall

dsh plugin --profile web remove dsh-alive
dsh web

兼容性 / Compatibility

- 测试于 dsh 0.1.0-rc.6(web profile)
- 依赖 dsh 的 slot 系统(conversation.session.header.utilities)与 webServer 服务注入,要求 dsh web 客户端框架版本匹配

开发 / Development

dsh-alive/
├── package.json        # 插件清单(dsh.bundle / dsh.client)
├── cordis.patch.yml    # bundle 挂载声明
├── dsh/
│   └── index.js        # 后端:/dsh-alive/ping 进程内端点
└── client/
└── client.js       # 前端:状态点组件 + 15s 轮询

License

MIT

上游仓库有新提交时邮件通知你(每天最多一封,无更新不打扰),随时一键退订。

💬 加入社群

插件用法、部署报错、新插件第一时间同步——群里问,比一个人翻文档快。

DPharness QQ 群二维码,QQ 扫码进群
QQ 扫码进群
DPharness 飞书群二维码,飞书扫码进群
飞书扫码进群