Back to home

arvin-yd

dsh-update-notifier

No description

Stars
1
Language
JavaScript
Created
Aug 14, 2026
Updated
Aug 14, 2026

Introduction

dsh-update-notifier

Red-dot update checker for DeepSeek Harness (dsh).

Adds an entry to the sidebar footer that lights a red dot whenever the published @deepseek-ai/dsh latest version on npm is newer than your installed one. Click it for a panel with current → latest, last-checked time, and actions: open the npm page, ignore this version, snooze, or re-check now.

This is a community plugin, not an official DeepSeek product.

How it works

  • Host half (src/index.js): resolves your installed DSH version once at startup, polls the npm registry (default: first check 10s after startup, then every 6h), and serves the cached decision on GET /dsh-update-check via the optional webServer service. Headless compositions are unaffected.
  • Browser half (client/client.js): registers a sidebar.footer.action slot entry and polls the endpoint every 5 minutes (and on tab focus). "Ignore" persists in localStorage until a newer version appears; "Later" hides the dot until the next fresh check result.

Install

dsh plugin --profile web add dsh-update-notifier

Config

Defaults live in cordis.patch.yml; override in $DSH_HOME/profiles/web/cordis.patch.yml:

- id: dsh-update-notifier
  config:
    checkIntervalMs: 21600000   # host re-check interval (default 6h)
    timeoutMs: 5000             # registry fetch timeout (ms)

Development

pnpm install
pnpm test

License

MIT