dsh-desk-todo: Pin This Week's ToDos and Long-Term Tasks on Your Desktop

Preface

When running agents or persistent sessions in the DSH Desktop version, tasks are often scattered across chat history, memos, or system calendars; you have to switch back to the DSH window to see “what to do today.” System calendars are suitable for formal schedules, but they may not be suitable for side-by-side views like “what to submit daily this week” or “how many days left for long-term DDLs,” and you might not be willing to grant separate notification permissions for desktop widgets.

Below is an introduction to the community client plugin dsh-desk-todo (maintainer Astryve): It displays “todos for the next 7 days starting today + long-term tasks” on the Windows desktop using a borderless transparent widget, popping up a window and playing a sound at the scheduled time, with data stored in a local JSON file. It follows DSH’s “everything is a plugin” approach, published via the SkillHub Plugin Directory and GitHub repository, not an official DeepSeek/Quantum app store entry.

What is it

dsh-desk-todo is a client-side plugin for DeepSeek Harness (DSH): The plugin host is responsible for launching the actual interface process (preferring Electron, falling back to WPF if not found), rather than opening a BrowserWindow itself inside the host running in ELECTRON_RUN_AS_NODE mode.

One-sentence capability: Fixes “this week’s todos + long-term tasks” in the top-right corner of the desktop; no title bar, does not go to the taskbar, defaults to sinking behind other windows; supports single-click editing, one-sentence quick addition, and popup + sound for advance reminders / on time / overdue.

License MIT; Repository https://github.com/Astryve/dsh-desk-todo.

Core Features

Interface Layout

  • Left side: Todos for the next 7 consecutive days starting today (empty lines for unscheduled weekends are also kept).
  • Right side: Long-term tasks and DDL countdowns.
  • Click any entry: view or edit notes, mark as complete, delete.
  • Title bar +: Quick one-sentence addition (e.g., Hand in homework at the library at 3 PM on the 15th).

Implementation and Fallback

The interface primarily uses Electron (app/, borderless, transparent, can be sent to background); the plugin is only responsible for parsing the Electron executable path and restarting on crash.

Electron lookup order (from original documentation):

  1. Configuration item electronPath
  2. Environment variable DESH_DESK_TODO_ELECTRON
  3. $DSH_HOME/data/surfcore/pet/runtime/electron-<ver>/electron.exe (if a pet/plugin related to desktop pets is installed)
  4. %LOCALAPPDATA%\Programs\electron\electron.exe

If none are found, automatically fall back to WPF (win/desk-todo.ps1, Windows built-in runtime, simplified version of the same layout).

One-sentence recognition is handled by the plugin-side Node regex parser (lib/parse.js) via a 127.0.0.1 temporary port for the interface to call; persistent data is $DSH_HOME/desk-todo/data.json, and the widget refreshes automatically after saving.

Reminder Rules

Timing Behavior
Advance N minutes (default 15, can be set to 0) Popup in bottom-right corner + lighter sound
On time Popup + louder sound
Overdue and not completed Every 10 minutes, max 3 times
Long-term task deadline approaching Once each when 3 days / 1 day / same day remain

Reminders use custom-drawn popups and SoundPlayer / Notification, not relying on system notification permissions (can be set to silent: true in config to only show popups without sound).

Installation and Enablement

The plugin loads when DSH starts; you need to restart DSH after installing or updating. Only works on Windows 10 / 11 and DSH Desktop version (Web version has no desktop window).

dsh plugin --profile desktop add dsh-desk-todo

npm package name dsh-desk-todo, README records the current published version as 2.0.0 (publisher astryve); can also search in DSH plugin market for “Todo / todo / desk” (there may be a delay for new packages to appear).

Method 2: From GitHub

dsh plugin --profile desktop add github:Astryve/dsh-desk-todo

Suitable for tracking the latest commits in the repository.

Method 3: Local Directory

dsh plugin --profile desktop add link:/absolute/path/dsh-desk-todo

(You need to prepare the source code directory yourself; no need to execute git clone in the introduction process.)

After installation, the widget appears in the top-right corner of the screen by default; if you can’t see it, try minimizing other windows (it defaults to sinking at the bottom layer), or check the load logs in %TEMP%\desk-todo-load.txt.

Cordis Configuration Example

Path: ~/.dsh/profiles/<profile>/cordis.patch.yml

- id: desk-todo
  config:
    alwaysOnTop: true    # Floats above other windows (default false = sinks behind)
    silent: true         # Only popups without sound
    width: 520
    height: 330
    top: 16
    right: 16

Typical Usage

One-sentence Addition

Click +, enter for example:

Hand in homework at the library at 3 PM on the 15th

Can be parsed into date, time period, location, and title; falls back to “Today 09:00 + original title” if the plugin is not ready. Supported date, time, and location modes can be found in the README table in the repository (includes “today/tomorrow/tomorrow”, “Friday”, “at the library”, etc.).

Mouse and Long-term Tasks

Operation Effect
Drag title bar Move, position is written to settings in data.json
Right-click + Add long-term task (title + DDL)
⚙ Size, background opacity
- Hide widget (plugin still runs, will reappear after restarting DSH)

The data file is created on first open; you can copy data/example.json from the repository to data.json to quickly preview the layout.

Direct JSON Editing

data.json is plain JSON, fields include events (todos for this week), longterm, semester, settings, etc., see README example and field descriptions (e.g., remindMin, repeat: "weekly", color color bar, etc.).

Update and Uninstall (data files are kept by default):

dsh plugin --profile desktop add dsh-desk-todo@latest
dsh plugin --profile desktop remove dsh-desk-todo

Applicability and Notes

Who is it for: Users running DSH Desktop on Windows who want to keep todos visible on the desktop without installing a separate heavy GTD tool; those who already share the Electron runtime with a pet/plugin will more easily get to the full Electron interface.

Environment and Permissions:

  • The plugin runs with the current DSH process user permissions, will read/write $DSH_HOME/desk-todo/data.json and launch child processes; it is recommended to browse the source code and MIT license before installing to confirm that the paths and reminder behavior are acceptable.
  • No need to install Node yourself (DSH comes with it); package.json declares engines.node >= 22, marked as compatible with DSH versions 0.2.1-rc.5, 0.2.2-rc.1, etc.
  • Non-Windows platforms are currently not supported.

Troubleshooting: Widget not seen after installation → Did you restart DSH? Is dsh plugin list including the plugin? Does the log show “fallback to WPF” or Electron PID? Not sounding → Check silent and system volume.

Conclusion

dsh-desk-todo turns the “client-side plugin” concept in the DSH ecosystem into a sinkable desktop todo board: local JSON, one-sentence entry, popup and bell reminders, and uses the WPF fallback to complete the core layout even without Electron. View entry and links:

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

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

Xiaoye