DeepSeek Harness Plugin

m724523/dsh-deepseek-live-status

Stars ★ 0 Category UI Enhancements Added 2026-11-10 npm dsh-deepseek-live-status

Sidebar footer widget that shows DeepSeek service health: a status dot plus the live latency of four probes (API, chat, docs, status page) run from this machine, with a popover listing official component statuses read from status.deepseek.com. Refresh cadence 15s-2min.

Install

# from npm (prebuilt)

dsh plugin --profile web add dsh-deepseek-live-status

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:m724523/dsh-deepseek-live-status

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

中文 · English

A DSH plugin. One line at the sidebar footer: a status dot, DeepSeek, and the live average latency. Click it for four probes and the official status.

DeepSeek status card

What it shows

Local probes (one round per 60s, from this machine only): api.deepseek.com, chat.deepseek.com, api-docs.deepseek.com, status.deepseek.com. DNS time, time to first byte and HTTP status per target; the last 120 samples feed the reach rate and the latency sparkline.

Official status: read from the payload embedded in the status.deepseek.com page — that site has no public JSON API. Seven components and the incident list are reconstructed; a component is down only when an impact actually covers the current moment. Unreadable means unknown.

Install

dsh plugin --profile web add github:m724523/dsh-deepseek-live-status

Restart dsh web afterwards. #<commit> pins a version; a local path works too.

Auto refresh

15s / 30s (default) / 1 min / 2 min in the card, stored in localStorage. Each tick forces a probe round, so the numbers are live. 15s is the floor.

The Host runs no background timer: with no page polling it sends nothing and just keeps the last result.

Configuration

Variable Default Meaning
DSH_DEEPSEEK_STATUS_TIMEOUT_MS 9000 Per-request timeout (1.5s–30s)
DSH_DEEPSEEK_STATUS_URL https://status.deepseek.com/ Status page to read (mirrors work)

Compatibility

engines.dsh: ">=0.1.0-rc.5". Missing services degrade instead of throwing: without shell.overlay the footer renders the card itself, without locale the text stays Chinese, without connection.requestRejection the routes skip the source check.

Known limits

  • If the status page changes its embedded shape, parsing fails and the official row degrades to "page reachable, state unknown"; the probes keep working.
  • Only samples from the current run are counted; a restart clears them.
  • It measures this machine's reachability of those domains — not region- or account-level problems.

License

MIT

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.