dsh-task-hub: Remember Your Work Context in DeepSeek Harness — Restore on Demand

Preface

When working in DeepSeek Harness (DSH), a common scenario is opening folders and PDFs or browsers for reference while the conversation tab holds the context of the previous round. After shutting down or switching to other tasks, restarting requires finding windows and file paths from scratch; often, over ten minutes are spent before even getting to the point.

The community plugin dsh-task-hub (maintainer: gushengsheng, category: workflow) addresses this “work environment” problem: recording window snapshots during advancement and pause, using the difference set to infer what was newly opened this time, and asking item by item to open them all at once during the next advancement; during the pause at the end of the day, it asks item by item whether to close them. It does not make decisions for you, and the answering phase will not suddenly pop up windows to interrupt you.

The following explains the positioning, capabilities, installation, and typical usage. Facts are based on the GitHub repository README and package.json.

What is it

dsh-task-hub is a task hub plugin for DeepSeek Harness (README summary: a manager for tasks; package.json describes it as a task stack with timing, associated work scenarios, planning and reminders, and a guided “restore previous workspace” process).

  • Maintainer: gushengsheng
  • License: MIT (0.1.0)
  • Requirements: node >= 22.19.0, dsh >= 0.1.0-rc.5, peer dependency @deepseek-ai/cordis ^4.0.1
  • Community Directory Page: https://www.skillhub.cn/plugins/gushengsheng/dsh-task-hub (Independent site, no official affiliation with DeepSeek or Huafan; DSH ecosystem philosophy is “everything is a plugin”)

Core Functions

Remembering the work environment (Snapshots and Difference Sets)

Clicking “Advance” takes a snapshot of which windows are currently open; clicking “Pause” takes another. The difference set of the two snapshots represents the windows newly opened during this work session. Snapshots are enumerated via windows, taking about 1 second each, and occur only at the moments of Advance and Pause.

Next Advance: Ask before opening

When clicking “Advance” again, the plugin asks item by item, for example (README example):

1/3  Open folder papers?              [Open] [Skip]
2/3  Open PDF "Gabriel_2023"?          [Dual PDF▾] [Open] [Skip]
3/3  Open webpage PubMed?              [Open] [Skip]

During the process of you clicking “Open” or “Skip”, it does not execute any opening actions; after all answers are given, a summary is provided which can be modified; finally clicking “Open these N items” opens them all at once.

Pause/Finish: Ask before closing

When clicking “Pause”, the same process is applied to the new windows in this session’s difference set: answer first, then close the items you confirmed to close all at once.

Explicitly non-overriding behaviors

  • Every action requires your confirmation click; it will not automatically decide for you.
  • Windows for WeChat, QQ, security software, etc., will not be asked about, nor will they be closed on your behalf.

Interface and Other Capabilities (README Table)

Position Function
Task Card Status, timer, last/next continuation points, collapsible view
Task Details Associated network (files/folders/chat tree), task planning (groupable step tree), reminders, launch commands
Upcoming Reminders and deadlines for the next N days (default 30), cross-task summary
Reminder Overlay Pops up at top-right of page when due; clicking × marks as known
Suggestion Bar AI-written suggestions for the ledger, can be Adopted / Annotated / Rejected
Persistent Floating Window Displays current advancing task and timer at top-right of desktop (Windows)

Installation and Enablement

This is a DSH plugin, so you must first install DeepSeek Harness. The method given in the README is to place the repository in a location resolvable by the profile and declare dependencies and bundles in the profile’s package.json, not by concatenating dsh plugin add github:owner/repo by name.

# 1. Place the repository somewhere the profile can find it, for example
#    ~/.dsh/profiles/desktop/node_modules/dsh-task-hub  (junction / symlink is fine)

# 2. In the profile's package.json
#    "dependencies": { "dsh-task-hub": "link:C:/.../dsh-task-hub" }
#    "dsh": { "profile": { "bundles": [..., "dsh-task-hub"] } }

After completion, refresh the page (Ctrl+Shift+R), and a “Task Hub” will appear in the conversation tab.

It is recommended to read the repository source code and the MIT license before installing; the plugin runs with current DSH process permissions; you must verify the installation path and the link: target yourself.

Typical Usage

The four-step process given in the README can be reproduced as follows:

  1. Create a task in the Task Hub and fill in the main project folder.
  2. Click “Advance” to start working.
  3. Click “Pause” when finishing work – it will ask what was newly opened and whether to close them.
  4. Click “Advance” when returning next time, confirm item by item according to the prompts, and restore the work environment all at once.

If using a self-developed or custom PDF reader (e.g., Dual PDF), you need to configure the environment variable DUAL_PDF_HOME; the plugin will not guess the path.

Known Limitations and Refresh Rate

  • The reminder overlay is only visible within the DSH page; switching to other programs will cover it up; cross-window reminders rely on Windows floating windows.
  • The floating window is implemented by Windows’ PowerShell + WinForms process; other platforms lack this capability.
  • Page clock, reminder overlay, suggestion bar, and floating window refresh approximately every 60 seconds; the host has no timer; window snapshots occur only once at Advance/Pause (README “Refresh Rate” table).

For Developers

The repository provides local testing entry points:

node test/all.mjs      # Four sets: rules/ledger/render/contracts
node test/simulate.mjs # Dry run script: fake windows + fake launcher, no desktop interaction

Structure summary: lib/rules.mjs (Type → Software → Questioning Method), lib/openers.mjs (Software → Launch Method), lib/scene.mjs (Snapshot → Difference Set → Lookup → Validation).

Conclusion

dsh-task-hub solves the problem in DSH of difficultly restoring “where we left off” and “what was open” with a single click: using snapshots and difference sets to record the scene, using a Q&A process to open or close windows only after you confirm, while stacking task timing, planning, reminders, and ledger suggestions.

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

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

Xiaoye