dshbase

插件目录 / Developer / dsh-alive

dsh-alive

未验证 AikenFra

✓ 持续维护

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
语言
2026-08-16最近推送
跨平台平台

功能简介

Developer 类别的 DeepSeek Harness 插件。

我们的评价
未验证 — 尚未实测

Developer 类别的 DeepSeek Harness 插件。 尚未验证——请自行安装测试。

「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

你是插件作者? 想拿到「已验证」标签——提交你自己的验证证据(截图、日志或短视频),我们审核通过后即改为「已验证」。

提交验证证据 ↗

README

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.jsondependencies"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.6web 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

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-alive」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:AikenFra/dsh-alive

Headless(CLI)profile:

dsh plugin --profile headless add github:AikenFra/dsh-alive

实测报告

尚未 L3 验证——若已跑过,见下方失败备注。

状态:pending · 最近测试 2026-08-27
备注:验证: runtime-fail 浏览全部待验证失败 →
安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7795 个插件 →