본문으로 건너뛰기
Z

BigWater4Workers

zjhwater/bigwater4workers

Pixel-art desk widget with separate stand-up and hydration timers, a mini cup row, Chinese/English UI, and local-only storage.

설치

dsh plugin --profile web add github:zjhwater/bigwater4workers

README

dsh-stand-reminder

English | 中文

A stand-up and hydration reminder for the DSH (DeepSeek Harness) desktop profile. A pixel-art worker sits at a desk: stand-up reminders default to every 30 minutes, and a glass fills with desk time — click it to log a cup.

Repository: https://github.com/zjhWater/BigWater4Workers · npm: https://www.npmjs.com/package/dsh-stand-reminder · MIT

What problem it solves

  • Hours slip by without moving: the worker stands up and stretches on schedule, with an in-page card and a chime to remind you to take a break.
  • You realize you barely drank today: the glass fills with desk time — one full glass per 60 minutes — growing and chiming when full.
  • No chat interruptions: no messages, no background agent, no model calls, no token usage. Everything happens in the page; glance and click.

Features

  • Stand-up reminders: every 30 minutes by default (adjustable 5–180); acknowledge, snooze for 5 minutes, or pause for today.
  • Hydration tracking: a configurable daily goal of 1–20 cups, default 8. One glass fills per 60 minutes of desk time, independently of the stand-up interval.
  • Work-time stats: desk time accumulates automatically and resets when you finish for the day or at midnight.
  • Mini cup row: collapse the desk into a row of cups next to the input box, keeping hydration reminders only; draggable.
  • Appearance and language: dragging, edge snapping, mirroring, wheel zoom, Chinese/English, dark-mode and reduced-motion support.
  • Local storage: settings, positions, and today's progress stay on your machine.

This is an in-page reminder, not an OS alarm or health monitor. It does not detect human presence or actual drinking. The page must remain running; closing the client stops reminders. No desktop notifications, historical reports, or cloud sync. The hydration goal is a habit aid, not medical advice.

Installation

Ask the host's plugin_manager in a DSH session to install the bundle (a host tool call, not a shell command):

plugin_manager install_bundle  target = dsh-stand-reminder
  • Requires the DSH desktop profile; declared compatibility dsh >= 0.2.0.
  • Fully quit and reopen DSH after installation, updates, or removal.
  • Uninstallation does not delete local saved data.

To try the local working-tree source, link your repository instead (replace the path):

plugin_manager install_bundle  target = link:D:\path\to\BigWater4Workers

First use

  1. Start: the worker initially sits with legs crossed, the monitor is dark, and the badge reads "off". Click the monitor to start timing; this is the widget's own state, not your computer's power switch.
  2. Move: when due, the worker stands up. Choose "I stood up!" to restart the interval, or "5 more minutes" to snooze.
  3. Leave: click the worker to step away; click the empty chair to return. The stand-up timer restarts a full interval. Hydration progress is kept but does not fill while away.
  4. Drink: click the glass on the desk to log a cup and reset its level. You can log before it is full; this is manual logging, not measurement.
  5. Finish: click the monitor again to stop reminders, keeping the totals. Starting again in the same page clears today's totals, without waiting for the next day.

Each new calendar day clears daily progress and returns the full widget to not-started. There is no automatic work-hour detection and no fixed work schedule.

Controls at a glance

ActionResult
Click the monitorStart / finish
Click the worker / empty chairLeave / return
Click the glassCups +1 and refill; full mode can exceed the goal
Hover, then the three-line buttonOpen settings
Hover, then the "—" buttonCollapse to the mini cup row; unavailable when hydration is off
Drag the workerMove the widget; snapping uses the center point within 10% left/right and 15% bottom zones
Hover the worker and scrollZoom 5% per step
EscClose the card or panel; closing the card is not an acknowledgement
Card "no more today"Pause stand-up reminders until tomorrow; hydration and work time keep running

The badge only shows "work / away / off". A paused widget also shows the "off" pose while the monitor stays on; check the tooltip or settings panel for pause state. The next reminder time and cup count live in tooltips and the panel, not on the badge.

Settings

SettingDefaultRange or behavior
LanguageFollow systemzh* uses Chinese, others English; can force either
Stand-up interval30 minutes5–180 minutes; restarts on start, return, or acknowledgement
Sound / volumeOn / 70%0–100%; may stay silent until you interact with the page
Hydration / goalOn / 8 cups1–20 cups; the goal changes display only, not the one-glass-per-hour pace
Work-time displayShownHiding stats does not stop accumulation
Scene size100%50%–300%
Badge font size32px20–48px; cards and the panel follow the host text font, not scene zoom

Timing and reminder rules

  • A stand-up card shows for 60 seconds. If ignored, it retries once after 10 minutes, then a normal interval starts.
  • "5 more minutes" only affects stand-up timing; changing the cup goal or language does not reset it.
  • A full glass chimes; if ignored for 10 minutes, each glass chimes once more. No chimes while away; they can replay after you return.
  • Stand-up timing checks every 15 seconds and is not second-precise; background throttling can delay it.
  • A reminder missed by more than 5 minutes rolls over quietly. Gaps of 2 minutes between checks do not count toward work or water, so sleep and background time reduce accuracy.

Mini mode

"—" collapses to cups, "+" expands. Entering mini mode counts as at-desk and starts timing even when not started; no stand-up cards and no away detection.

  • Grey cups are upcoming; blue water is the current cup. A full cup grows from 1× to 2× over 5 minutes.
  • Click the current cup to log a drink; clicking cup N also logs all earlier cups. Logged cups cannot be undone.
  • After reaching the goal, cups dim and new-cup chimes stop in mini mode; expand the full widget to keep logging.
  • Hover the row for settings and "+". A drag beyond 4px counts as moving; double-click to re-follow the input box.
  • If no input box is found, the row falls back to the bottom-right area; drag it away to avoid covering text or the send button.
  • Mini shape is not saved: refresh/restart returns to the worker; the dragged row position is saved.

Data and privacy

Everything stays on your machine; nothing is uploaded and no telemetry is sent. Two storage locations:

LocationContents
Browser localStorageSettings, positions, daily progress, reminder and power state
~/.dsh/dsh-stand-reminder.json (overridable via DSH_HOME)Settings, positions, daily work and hydration progress, restored across restarts

Back up before troubleshooting or resetting; a full reset must clear both locations. Do not store credentials or secrets in the saved data.

Troubleshooting

SymptomCheck first
No widget after installationBundle enabled, full client restart, desktop profile
Worker always "off"Click the monitor to start; a paused "off" pose can be resumed in settings
Hydration but no stand-up cardsMini mode is on; click "+" to expand
Card missing or clippedResize the window and reopen; cards/panels clamp to the viewport
No soundInteract with the page once, check sound switch, volume and OS mute; cards still work
No timing after leavingClick the empty chair to return; returns are not auto-detected
Position or progress lost after restartCheck the host save file is readable/writable; if reads keep failing, the widget pauses writeback to protect old saves and retries automatically
Cup row in the wayDrag it; double-click to re-follow the input box, especially with large cup goals

License and feedback

MIT. Issues: https://github.com/zjhWater/BigWater4Workers/issues.

When reporting, include: npm package or local link, package version / source commit, DSH version, OS, full/mini mode, and reproduction steps. Do not attach full chats, keys, or unredacted host configuration.

관련 플러그인