Preface¶
When working with multiple sessions in DSH for long periods, deadlines are often scattered across chat logs or local notes, making it difficult to see “how much time is left” at a glance before switching back to a task. Deadline Pulse turns countdowns into pills on the right side of the session title bar and supports multi-deadline conflict detection and rescheduling via the agent; data is stored in a global JSON file shared by all sessions.
The following section covers the plugin’s positioning, capabilities, installation, and typical usage. For facts, please refer to the GitHub Repository README.
What is this¶
Deadline Pulse (npm package name @wjw0419/deadline-pulse, current package.json version 1.2.1) is published by maintainer wjw0419 and categorized as “Memory” in the SkillHub directory. In one sentence: it displays deadline countdown pills in the DSH Web session title bar, becoming visually more prominent the closer it gets to the due date. Starting with v1.1, it adds preparation window conflict detection and rescheduling for multiple deadlines, allowing the agent to maintain data via natural language calls to deadline_tool.
The plugin reads and writes ~/.dsh/deadline-pulse/deadlines.json with DSH process permissions. Before installation, it is recommended to review the source code and the MIT License.
Core Features¶
Title Bar Countdown & Tiered Alerts¶
- Persistent countdown pill on the right side of the title bar, refreshing every second with monospaced numbers.
- Remaining time ≤1 day (including overdue): Breathing glow and sway animation.
- ≤3 days: Pulse animation.
- ≤7 days and >7 days: Visible by default only in the expanded panel (the pill remains viewable in the expanded panel with the full list).
- Each pill features a ring progress indicator representing the proportion of time consumed.
- Clicking the pill expands a panel showing: color dot, label, notes, estimated work hours, progress bar, and a completed section.
- When a deadline crosses the 3 days or 24 hours threshold, an in-page slide-down toast appears (auto-dismissing after ~5 seconds); items already in a critical state will not trigger duplicate toasts on page load only.
Conflict Detection & Rescheduling (v1.1+)¶
conflicts: Scans all incomplete deadlines to detect overlaps in preparation windows.- Severity:
- High: Due on the same day with overlapping preparation windows.
- Medium: Due on different days but with overlapping preparation windows.
- Low: Due on the same day but with non-overlapping preparation windows.
- Preparation window is defined as
[due - effort, due]; ifeffortis not set, it defaults to an estimate of 2 hours. - The “Conflict Detection” button inside the panel triggers a scan; results are displayed inline with quick rescheduling entry points.
reschedule: Modifies the due date (optionally changingeffortsimultaneously); can be initiated from panel rows, conflict result cards, or natural language; if conflict detection has been run previously, the detection results will refresh automatically after rescheduling.
Agent & Natural Language¶
The agent supports deadline_tool with commands: add / list / done / remove / conflicts / reschedule, writing to the same deadlines.json.
Hot Update & Accessibility¶
After manually editing the JSON, the UI syncs within approximately 15 seconds; it refreshes immediately when the window regains focus. When the system enables prefers-reduced-motion, pulse and sway animations are disabled, retaining only color states.
Installation & Activation¶
Command Line (Recommended: Published Package)¶
Execute after specifying your DSH profile:
dsh plugin --profile <your-profile> add @wjw0419/deadline-pulse
If the local directory is not yet published to npm, an absolute path can be used:
dsh plugin --profile <your-profile> add "file:<absolute-path-to>/deadline-pulse"
Installing Local Bundle via DSH Agent¶
In any DSH session, instruct the agent to use install_bundle from plugin_manager, targeting the absolute path of the local plugin directory. Example:
plugin_manager { action: "install_bundle", target: "<absolute-path-to>/deadline-pulse" }
After the installation returns application: applied, Refresh the browser (F5) to load the client module.
To uninstall, tell the agent: Use plugin_manager to remove @local/deadline-pulse; deadlines.json will be preserved.
Typical Usage¶
Method 1: Speaking to the Agent¶
"Help me remember a deadline: submit the plugin assignment on Friday at 18:00, tag 'Course', estimated 4 hours"
"See what deadlines I currently have"
"Check if there are conflicts with my deadlines"
"Reschedule the English speech contest to next Monday"
"The English speech contest deadline is done"
"Delete that 'bad data test' entry"
Method 2: Editing deadlines.json¶
Create or edit ~/.dsh/deadline-pulse/deadlines.json:
{
"deadlines": [
{ "title": "提交插件作业", "due": "2026-02-10 18:00", "tag": "课程", "note": "含演示视频", "effort": 4, "done": false },
{ "title": "英语演讲比赛", "due": "2026-02-10 15:00", "tag": "社团", "effort": 3, "done": false }
]
}
Field descriptions (from the README):
duesupports"2026-02-10 18:00","2026-02-10"(treated as 23:59 that day), or ISO formats.tag,note,effort,done,createdare all optional.
If there is a JSON format error, the plugin will not crash: the panel displays a red “parse failed”, and retains the last successfully parsed data.
Use Cases & Notes¶
Suitable for: Users who need to keep multiple project/course deadlines visible while using the DSH Web interface and wish to perform simple conflict checks using preparation windows when tasks pile up.
Important Notes:
- Data is globally shared at
~/.dsh/deadline-pulse/deadlines.jsonand is independent of specific sessions. - Conflict detection requires at least 2 incomplete deadlines.
- The plugin is distributed within the DSH ecosystem following the “everything is a plugin” approach; the SkillHub directory page is a community site and has no official affiliation with DeepSeek or Hithink RoyalFlush.
- Installation and execution imply trusting the maintainer’s code to run within your local DSH environment; please review the repository source code and license before installing.
Links¶
- Directory Page: https://www.skillhub.cn/plugins/wjw0419/-deadline-pulse
- GitHub: https://github.com/wjw0419/-deadline-pulse
Following the steps above, you can directly perceive deadline pressure in the session title bar and use conflict detection and rescheduling to reduce situations where multiple tasks fight for preparation windows within the same time frame.