dsh-feng-gu-lite: Offline display of DeepSeek Beijing peak-valley periods

Preface

The DeepSeek API distinguishes peak and off-peak periods by Beijing time; the pricing page applies different billing rules for weekday 09:00–12:00, 14:00–18:00 versus weekends and public holidays. When having long conversations in DeepSeek Harness (DSH), if you cannot see in the UI which type of time window you are currently in, you may unknowingly issue extra requests during peak windows. The community already has pricing-related plugins that show network status, balance, or countdowns; if you only need a minimal, offline peak/off-peak indicator and do not want the plugin to read keys or make requests, dsh-feng-gu-lite targets exactly this need.

What Is This

dsh-feng-gu-lite is published by maintainer linglanxin, categorized as model inference, and is available on both the SkillHub directory page and the GitHub repository. The plugin adds an offline indicator below the DSH conversation input box: based on the Beijing time rules described on DeepSeek’s official pricing page, it shows whether the current time is closer to peak or off-peak, and gives a brief, non-blocking top-of-window reminder when entering a peak period or when opening/switching a session during peak hours. It does not intercept input or send requests, does not play sounds, does not require clicks, and periodic refreshes do not repeat the reminder.

Core Features

Indicator and Reminders

Under normal conditions, only one of two personified labels is shown below the input box: Liang Wenfeng (peak, warning icon, warm color) or Liang Wengu (off-peak, muted color). When a peak window begins, and when opening or switching sessions during peak hours, a brief reminder with the same name appears at the top of the window; there is no sound and no click interaction. The breathing animation lasts about 2.7 seconds; when the system enables prefers-reduced-motion: reduce, the animation is fully disabled and only a static reminder is briefly shown.

Time Window Rules (for Display)

The rules follow the DeepSeek official pricing page. Beijing time Monday through Friday (excluding statutory public holidays in China) 09:00–12:00 and 14:00–18:00 are peak; all other times, including all day on weekends, are off-peak. The display calculation uses the half-open intervals [09:00,12:00) and [14:00,18:00); the README explicitly states that this is a plugin boundary convention and not an actual billing guarantee. Weekends that are adjusted into working days (makeup workdays) are still classified as off-peak in the plugin, following the official “Monday to Friday” semantics.

Offline Calendar and “Time Window Pending Confirmation”

Holiday data is built into src/calendar.js. The current offline data only covers 2026, sourced from State Council Decree No. 795 and the State Council General Office’s 2026 holiday arrangement. For years not covered, or for known ambiguous dates that fall within possible peak windows on weekdays, the function returns unknown; the UI only shows Time Window Pending Confirmation, without displaying peak or off-peak, and without triggering reminders; weekends and non-peak windows can still be determined as off-peak. The plugin has no online fallback, nor does it display calendar clauses or rule sources in the UI.

Permissions and Implementation Boundaries

At runtime it does not make network requests, does not read keys/environment variables/accounts, does not declare network or credentials, does not persist data, and does not call models. The client attaches to conversation.composer.dock via ctx.slots.inject and ctx.slots.register; it uses the stable reference from useSession to identify session switches and does not read conversation content. The target desktop runtime version is desktopVersion 0.2.0-rc.2.

Installation and Enablement

The publicly released version is v0.1.0 (MIT license). The README notes that the npm publish was not performed and no plugin marketplace submission was made; installation relies on the dsh-feng-gu-lite-0.1.0.tgz provided by the GitHub Release. Before installing, save your work and fully exit DeepSeek Harness desktop (including tray processes). The following commands come from the repository README, using the desktop’s built-in CLI with the default Windows installation path; for non-default installations, adjust $desktop.

$desktop = Join-Path $env:LOCALAPPDATA 'Programs\DeepSeek Harness'
$cli = Join-Path $desktop 'resources\runtime\cli\bin\dsh.cmd'
$package = (Resolve-Path -LiteralPath '.\dsh-feng-gu-lite-0.1.0.tgz').Path
if (-not (Test-Path -LiteralPath $cli)) {
  throw 'Desktop built-in CLI not found; please change $desktop to the actual desktop installation directory.'
}
& $cli plugin --profile desktop add $package
if ($LASTEXITCODE -ne 0) { throw 'Plugin installation failed, please check CLI output.' }

After installation, reopen the desktop and check the indicator below the conversation input box; you can switch conversations, adjust window width, and enable the system “Reduce motion” option for manual verification. The README reminds: do not use the npm version of the CLI against the desktop profile, and do not manually modify the running profile; some users have reported completing the installation operation, but the repository itself states that full visual/interaction acceptance testing has not been completed in a real desktop environment.

Typical Usage and Self-Testing

For regular users, after installing and starting the desktop version it can be used immediately, with no additional configuration options. For developers who want to build from source, the README requires Node.js 18+, with no npm dependency installation step:

node scripts/build.mjs
node --check lib/client.js
node --test

node --test covers logic such as Beijing time/UTC day and year transitions, weekends, public holidays, half-open interval boundaries, unknown coverage, reminder deduplication and session switching, as well as a VM smoke test for the client factory/slot; the README notes that this smoke test is not a browser or desktop end-to-end visual verification.

Use Cases and Caveats

Suitable for developers or heavy users who want to see at a glance in DSH “whether the current time looks more like peak or off-peak” and accept the 2026 calendar and the “Time Window Pending Confirmation” policy for ambiguous dates. Not suitable for scenarios requiring real-time pricing, balance, online calendar verification, or billing guarantees.

The plugin runs with the permissions of the current DSH desktop process; before installation you should read the source code and MIT license yourself, and verify the SHA-256 of the tgz from the Release (see the v0.1.0 Release notes). The DSH ecosystem emphasizes “everything is a plugin”; community directories such as SkillHub are independent sites and have no official affiliation with DeepSeek / High-Flyer.

Links

  • Directory page: https://www.skillhub.cn/plugins/linglanxin/dsh-feng-gu-lite
  • Source code and documentation: https://github.com/linglanxin/dsh-feng-gu-lite
  • v0.1.0 Release: https://github.com/linglanxin/dsh-feng-gu-lite/releases/tag/v0.1.0
羽毛球分组比赛记分
小程序二维码

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

Xiaoye