dsh-status-beacon: Using a Traffic Light System to Check DeepSeek API Availability in DSH

Preface

When writing agents and invoking models in DeepSeek Harness (DSH), verifying whether the API is reachable or whether official incidents are reported usually requires opening a browser to check the status page or running curl probes manually. During troubleshooting, without a unified signal in the UI, it’s easy to confuse “model configuration problems” with “platform-side degradation or outage.” dsh-status-beacon is a community-maintained DSH web plugin that places a clickable status dot in the Composer toolbar (to the left of the model menu), combining reachability probes with DeepSeek’s official status RSS into a unified four-color scheme, so you can tell at a glance whether the environment is healthy while writing Harness code.

What Is This

dsh-status-beacon is maintained by toposferapro and is positioned as a “traffic light” for DeepSeek API availability, targeting DSH instances with the web profile enabled. It does not replace the official status.deepseek.com; instead, it provides a lightweight indicator and detail panel inside the DSH Web UI. The plugin runs with the current DSH process’s permissions, and before installing you should review the GitHub source and the MIT license yourself.

The community plugin catalog is listed at SkillHub entry (no official affiliation with DeepSeek / High-Flyer; the DSH ecosystem follows an “everything is a plugin” extension model).

Meaning of Status on the UI

The colored dot on the left side of the Composer toolbar means the following (aligned with DeepSeek’s official four-tier status):

  • Green: All Systems Operational
  • Yellow: Degraded Performance
  • Orange: Partial Outage
  • Red: Full Outage, or no API response
  • Gray: Unknown (status feed cannot be read)

Clicking the dot opens a panel anchored next to it, where you can view API response latency, the lifecycle stage of the latest incident (Investigating → Identified → Monitoring → Resolved), start time, affected components, description, and a link to the official status page.

Core Features and How It Works

The following describes how the host side and browser side cooperate (all facts come from the plugin README).

Host Side: Two Independent Probes Per Minute

  1. Reachability
    Sends a GET request without an API key to https://api.deepseek.com/models. Returns of 200 / 401 / 403 are considered the service being alive; timeout, 5xx, or network interruption is considered no response.

  2. Status feed
    Reads https://status.deepseek.com/history.rss, parsing the latest incident, its stage, and affected scope.

Colors follow DeepSeek’s four-tier rules: closed incidents do not color the indicator — only active events affect the light, avoiding resolved degradations leaving the indicator yellow for a long time.

The plugin deliberately does not use the model API key for the liveness probe, so it still works when DSH is upgraded or the key storage location changes.

Browser Side: 30-Second Refresh

The frontend requests /plugins/dsh-status-beacon/api on DSH and refreshes the dot approximately every 30 seconds. Styling uses DSH design tokens (--dsw-alias-*), consistent with the interface and dark theme.

Installation and Activation

The installation command must be pinned to a specific commit (the <commit> in the README should be replaced with the Git commit hash you want to pin).

On a host machine or any environment with git:

dsh plugin --profile web add github:toposferapro/dsh-status-beacon#<commit>

If the environment has no git (e.g., a common situation inside a DSH container), the github: form cannot be resolved, and you can switch to a tarball:

dsh plugin --profile web add \
  https://codeload.github.com/toposferapro/dsh-status-beacon/tar.gz/<commit>

Both forms add the dependency and register it in dsh.profile.bundles. After every dsh plugin add/remove, confirm that dsh-status-beacon is still in the bundle list.

The plugin loads when DSH starts; after installation you must restart the dsh container, otherwise the host side will not be running and /plugins/dsh-status-beacon/api will return 404:

sudo docker restart dsh

To roll back, run:

dsh plugin --profile web remove dsh-status-beacon

Then restart the container again.

Typical Usage

After installing and restarting, no additional configuration or API key is needed:

  1. Open the DSH Web Composer and check the color of the status dot to the left of the model menu.
  2. If you suspect a platform-side issue, click the dot to open the panel and compare latency, incident stage, and the official link.
  3. If the dot is gray or red for a long time, investigate together with host outbound networking (see “Use Cases and Cautions” below) and the official status page.

package.json marks the plugin version as 0.1.0, with a runtime requirement of Node.js >= 22.19.0 (satisfied by the DSH host environment; users typically only need to complete the plugin installation flow above).

Use Cases and Cautions

Who It’s For

  • Developers who long-term build Harness under the DSH web profile and need to quickly distinguish between “local configuration / network” and “DeepSeek platform status.”
  • Those who want daily availability awareness via official RSS and simple HTTP probes without opening extra tabs.

Environment and Permissions

  • Requires the DSH web profile.
  • Outbound HTTPS must be able to reach api.deepseek.com and status.deepseek.com.
  • No DeepSeek API key needed; no additional npm dependency declarations.

Security and Operations

  • The plugin runs with the current dsh process’s permissions; before installing, read the repository source code and the MIT license to confirm it meets your deployment policy.
  • The API route being unavailable without a container restart is expected behavior; do not misjudge it as plugin corruption.

Closing

dsh-status-beacon combines a “keyless models probe” and the “official history RSS” into a single light in the Composer; clicking it shows incidents and a link to the status page. It’s suitable as a web-side reference during daily DSH development, not as a replacement for official operations channels.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye