Off-Duty Bell: A Timed Off-Duty Reminder Plugin for DeepSeek Harness
Off-duty Bell
A fun timed off-duty reminder plugin. Open the "Off-duty Bell" entry on the left, configure the time and message, and a reminder pops up when the time comes, complete with a slide-in-from-left animation, message rotation, notification sounds, and a punch card calendar. It is a pure Client plugin; configuration and punch records are stored in the browser's localStorage.
Plugin Info
| Field | Value |
|---|---|
| Package name | @oakzhong/dsh-off-duty |
| Version | 1.0.1 |
| Entry | index.js (Host, empty) · client.js (Client) |
| Type | DSH bundle plugin, ES module ("type": "module", "private": false, MIT) |
| Sidebar entry | Off-duty Bell (left) |
Features
1. Time and Trigger
- Set a cutoff time (HH:mm) and the reminder fires automatically when it's reached.
- Optionally check "Weekdays only" (Mon–Fri; silent on weekends).
- One-click enable/disable of the reminder.
- It triggers only once per day; after punching out, no more reminders that day.
- The "Work a bit longer" button defers the next reminder by 15 minutes.
2. Custom Messages and Rotation
- A multi-line text box lets you edit reminder messages (one per line).
- Messages rotate in order on trigger, with adjustable interval (1–60 seconds).
- Five default messages are included (e.g., "Are you ready? Go go go! Clock out?" / "Are you ok?" / "Thanks for your hard work today, have a big chicken leg 🍗").
3. Animation and Notification Style
- Animation effects: slide-in from left (slide), fade in/out (fade), typewriter.
- Notification style: top-right banner (banner) / full-screen overlay (overlay).
- Notification sounds: 6 Web Audio synthesized tones (chord / bell / ding-dong / marimba / electronic / off), no external audio files needed, with a "Preview" button to hear them.
- A confetti particle animation plays when you punch out.
4. Punch and Data
- The "Punch Out" button records that day's checkout and celebrates with confetti.
- Punch calendar (current month view, completed days highlighted, today outlined).
- Stats: consecutive punch days, current-month punch count, cumulative punch count.
5. Preview and Testing
- The panel provides "Test Reminder" / "Preview Effect" buttons to see the animation immediately without waiting until the set time.
- After changing settings, click "Save Settings" to persist them.
Host API
None (the Host half is an empty implementation); all logic lives on the Client side.
Directory Structure
dsh-off-duty/
├── index.js # Host half: empty implementation
├── client.js # Client half: panel, timer, animation, sound, punch
├── cordis.patch.yml # DSH bundle patch
├── icon.svg / icon.png # Plugin icons
├── locale/ # zh.json / en.json metadata
├── package.json
├── README.md # This document (English)
└── README.zh.md # Chinese document
Installation and Usage
- Install this bundle into the target DSH profile and refresh the Harness Web UI.
npm install: @oakzhong/dsh-off-duty
GitHub install: https://github.com/gougou1993/dsh-off-duty.git
Open "Off-duty Bell" from the left sidebar.
Set the off-duty time, edit messages, choose animation and notification style, then click "Save Settings".
The reminder pops up automatically when the time arrives; you can also click "Test Reminder" to preview immediately.
Click "Punch Out" each day to build up your consecutive record.
Interface