Sedentary Reminder: Adding a Silent Timer to DSH

Introduction

The DeepSeek Harness (DSH) chat interface is designed for extended sessions of building and debugging agents. Sitting for long periods naturally leads to fatigue, yet system notifications and sound alerts tend to break your flow. What’s needed is a non-intrusive timer that continuously tracks sitting time below the chat window and provides a non-blocking visual cue when a threshold is reached.

Plugin Overview

loterme/dsh-sedentary-reminder is a quiet sedentary timer: a small capsule below the input field displays your current sitting duration, and when the interval elapses, a card slides up from the bottom of the page, inviting you to stand up and move. No sounds, no system notifications, no network calls—all data stays local.

Core Features

  • Timer capsule: Positioned below the input field, displays the current sedentary duration (formatted as 久坐 X:XX).
  • Interval alert: After sitting continuously for the set interval (default 45 min; options: 30/45/60/90), a card slides up from the bottom.
  • Break workflow: The card offers three choices:
  • Take a walk · 5 min
  • Sit for another 10 min
  • Pause for 1 hour
  • Real-time countdown: Switching apps or refreshing the page doesn’t reset the countdown—it keeps ticking and ends right on schedule.
  • Smart reset: When the page becomes hidden or there’s no input for 5 consecutive minutes, the timer automatically resets to avoid false alerts during absence.
  • Local storage: Settings are persisted in localStorage; no network access required.

Settings

Option Available Values
Reminder interval 30 / 45 / 60 / 90 min (default 45)
Break duration 3 / 5 / 10 min (default 5)
Reminder toggle On / Off

When the toggle is off, the capsule displays “Reminder off” and the settings card contains only a single restore button.

States & UI

State Capsule Card
Timing 久坐 12:34 —
Alert triggered 该起来啦 Suggests standing up, with three options
On break 休息 04:51 (green ring) Large countdown + progress bar + “End break”
Paused 暂停中 · 55 分 —
Disabled 提醒已关 —

Installation & Enablement

Install via command line:

dsh plugin add github:loterme/dsh-sedentary-reminder

Or search for “久坐提醒” in the Plugins → Plugin Marketplace.

Typical Usage

  • Timer starts: Open a conversation; 久坐 00:00 appears below the input field and timing begins.
  • Capsule interaction: Click the capsule to open the settings panel.
  • Alert triggered: After sitting for 45 minutes, a card slides up from the bottom. Choose “Take a walk · 5 min” to enter break mode.
  • On break: The capsule shows 休息 04:51 (green ring); the bottom card displays the countdown and progress bar. Click “End break” to resume timing.
  • Pause & resume: Select “Pause for 1 hour” and the capsule shows 暂停中 · XX 分. You can resume from the capsule whether you’re on a break or in active timing.

Use Cases & Cautions

Ideal for developers and agent builders who spend long hours in DSH. The plugin runs with the current DSH process privileges—review the source code and license before installing. No sounds, no network access; well-suited for quiet work environments.

Conclusion

This plugin adds a non-intrusive sedentary timer to DSH. Combined with real-time countdown and smart reset, it’s well-suited for long, focused development sessions. For more details, see the community directory and the GitHub repository.

References

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

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

Xiaoye