Preface¶
The plugin ecosystem of DeepSeek Harness (DSH) allows for the direct extension of functionality within the session header. sage-reminder is a time module that displays the current time, the time elapsed since your last message, and provides reminder and countdown features. Unlike long-term tools that require cross-session persistence, it is positioned as an “intra-session short-term time reminder,” managing only “timing on this machine at this moment.”
Core Features¶
- Session Header Time Module: When the panel is expanded, it displays the current time, time since your last message, the reminder list, and the countdown list from top to bottom. When collapsed, it occupies only a small strip, with a capsule on the right displaying the nearest upcoming timer.
- Pure Front-end Plugin: Data is stored in the browser’s
localStorage. The Host side intentionally remains empty—it registers no tools, services, files, processes, or network connections. - Two Reminder Modes:
- Reminder: Set a specific time of day (hour/minute). It rings once when the time is reached and remains in the list, waiting for the next designated time.
- Countdown: Set a duration (days/hours/minutes/seconds). It automatically clears from the list upon completion.
- Operation Support: Supports start, stop, pause, resume, edit, and delete operations.
- Session Wake-up: When a reminder triggers, it sends a message to the current session to wake up an idle session (disabled by default).
Installation and Activation¶
Add the dependency to the profile’s package.json and configure the bundles.
// profile package.json
"dependencies": {
"sage-reminder": "link:<your-path>/sage-reminder" // Use link: for local directories, or a version number for published versions
},
"dsh": { "profile": { "bundles": [ ..., "sage-reminder" ] } }
Run pnpm install in the profile directory, then restart DSH (or refresh the page).
Typical Usage¶
- Basic Interaction: Click the module to expand the panel; press Esc or click outside to collapse. Time selection uses a wheel (24/60 base); text input is not accepted. Supports mouse wheel or keyboard
↑,↓,PageUp,PageDown. - Creating Reminders: Click
+ New, enter a name, use the wheel to set the hour and minute, and save to start. In the list,▶starts,⏸stops, and⋯edits (there is a delete button at the bottom left of the edit page). - Creating Countdowns: Click
+ New, enter a name, use the wheel to set days, hours, minutes, and seconds, and clickStart. It clears automatically when finished. In the list,⏸pauses/resumes, and×deletes. - Session Wake-up: There is a switch at the bottom of the panel (off by default), applicable only to reminders. If the session is running when the time arrives, no message is sent; if the session is idle, a signed message is sent. The panel displays the status (e.g., “Delivered” or “Skipped: Session is running”).
Notes¶
- Data Isolation: Data is stored in the browser’s
localStorage, and the isolation key includes the port. The desktop shell uses a random port (--port 0) on every startup. After a restart, the origin changes, and the data cannot be read. Refreshing the page does not affect this. - Interface Dependency: The “Time since last message” feature relies on an internal DSH client interface (
sessions.binding). Changes to this interface may cause this row to disappear. - No System Notifications: Trigger alerts are displayed only via the UI’s breathing light and floating bars; there are no system notifications. You may miss alerts if the page is not in the foreground.
- Host Side Empty: The Host side is intentionally left empty (
lib/index.jscontains only anapply()function); it performs no file reading/writing or network connections.
Conclusion¶
sage-reminder minimizes complexity, focusing solely on short-term time management within a session. If you require long-term reminders that persist even when closed, you should consider other solutions.