weihaobin0818-lgtm/dsh-system-monitor ↗★ 1

dsh-system-monitor

Real-time CPU, GPU, memory, disk and battery monitoring panel in the DSH sidebar, with per-application attribution, forecasts and exports 适合需要实时监控系统硬件状态、分析应用资源占用的DSH用户。

패키지
dsh-system-monitor
호환성
미검증
버전
1.0.0
라이선스
MIT
최근 업데이트
2026. 10. 12.

같은 패키지 이름의 다른 저장소

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:weihaobin0818-lgtm/dsh-system-monitor

Configuration

Every tunable is read from the loader row's config. Override it in the profile's cordis.patch.yml — that layer survives plugin upgrades, unlike the bundle's own patch:

- id: dsh-system-monitor
  config:
    alertMemory: 95
    showGpu: false

Two details matter here, and both cost real debugging time:

  • The id is the row id, not the package name. It is the id the bundle's cordis.patch.yml inserts.
  • Omit name. A patch entry with both an id and a name re-declares the row, and the Loader will not re-apply an insert for an id it already knows — so the override is silently dropped. An id alone is an override; an id plus a name is an insert.
KeyDefaultMeaning
alertCpu / alertMemory / alertGpu / alertDisk85 / 92 / 95 / 92Percent at which the sidebar badge lights
alertSustainSeconds5How long a reading must stay above its threshold first
showGputrueHide the GPU card and series on machines where the counters misbehave
showClocktrueShow live CPU clock instead of the nominal one
showDiskThroughputtrueShow the disk throughput chart
showIconstrueExtract and show application icons
showProcessestrueShip the per-application breakdown at all
persisttrueKeep extremes and the alert log in ~/.dsh-system-monitor/state.json across restarts
idleSamplingSeconds20Cadence with no viewer for 10 min; 0 stops the sampler instead
historyDays7Days of rolling NDJSON history kept on disk; 0 disables it

Forecasts are always computed; they surface on the memory and disk cards and on the Status tab.

Numbers are clamped and wrong types fall back to the default, so a typo can make a threshold odd but can never disable the sampler or wedge the page. The effective values are shown on the Status tab, so what actually took effect is never a guess.

A Config schema is exported when @deepseek-ai/schemastery resolves — which it does for a published npm install, giving the Plugin Manager a real settings form and validation at activation. It does not resolve from a linked development bundle, so the import is guarded and the plugin stays correct either way; the defaults live in resolveConfig rather than only in the schema.