dsh-plugin-pomodoro: DSH Floating Pomodoro and Kanban Task Management

Preface

When writing code, debugging agents, or chatting with models for long stretches inside DeepSeek Harness (DSH), focus sessions are easily interrupted by message and tab switching; opening a separate system Pomodoro timer or Trello board feels disconnected from the current workspace, and focus time is hard to attribute to specific tasks. The community plugin dsh-plugin-pomodoro (maintainer atzx) brings a Pomodoro timer and a Trello-style board into the DSH client: the timer floats as an overlay on top of the application, board data is stored in local SQLite, and focus time can be credited to the current card. The plugin does not call models, does not provide tools, prompts, or conversation events, and is a combination of a pure browser client plus a small host-side storage layer.

What Is This

dsh-plugin-pomodoro is a Pomodoro timer and task board plugin for DSH (category: client; current package version 0.2.1, license MIT). Half of it renders the floating timer and board UI in the browser; the other half persists the board with SQLite in the host process and exposes APIs through five authenticated routes. Directory page: SkillHub - atzx/dsh-plugin-pomodoro; source code and docs: GitHub - atzx/dsh-plugin-pomodoro.

Core Features

Focus Timer

  • Displays a capsule-shaped countdown (phase and pulse) as a floating overlay on the shell; expands into a card with a ring progress indicator, period dots, start/pause/skip/reset, and settings.
  • Default cycles: 25-minute focus, 5-minute short break, 15-minute long break, with a long break after every 4 focus blocks; defaults can be changed on the Plugins configuration page.
  • Keyboard shortcuts: Space to start/pause, S to skip, R to reset, Esc to collapse, B to open/close the board.
  • Optional sound alerts, desktop notifications, and an inline completion banner; the clock uses an absolute deadline, so reloads, tab throttling, or sleep do not cause drift.

Board (Trello Style)

  • Custom lists (defaults: To Do / Doing / Done): inline renaming, drag-to-reorder, marking the done column, and task reassignment on deletion.
  • Cards support priority, colored labels, due dates, estimates, notes, subtasks, accumulated focus time, and pomodoro counts; a full creation form and a task drawer for later editing.
  • Cards can be dragged between lists; list handles reorder lists; there is also a “Move to list” menu and Alt+←/→/↑/↓ when a card is focused.
  • Sidebar smart sections (Today, Overdue, This Week, etc.) and four metrics (estimated, remaining, spent, completed); search, label filtering, and multiple sorting options; full-board JSON export/import (with confirmation).

Focus Time Crediting

  • When you start Focus on a card or bind the timer to a task, the actual focus time (segments are settled on pause, reset, skip, task switch, or phase end) is credited to that task; completing a focus phase counts as 1 pomodoro.
  • Credits are idempotent via creditId; if the host is unreachable, items are queued locally, and reloads or retries do not double-count; phases that end while the app is closed are replayed on the next load.

Installation & Activation

The plugin declares dsh.bundle.patch, so the install command adds both the dependency and a dsh.profile.bundles entry. The README example is as follows (replace the path with your local clone or extracted plugin directory; do not construct dsh plugin add github:... yourself based on the repo name):

APP_CLI="/Applications/DeepSeek Harness.app/Contents/Resources/runtime/cli/bin/dsh"
"$APP_CLI" plugin --profile desktop add "link:/path/to/pomodoro-plugin" --offline

After installation you must restart DeepSeek Harness once for the plugin to load in the desktop window. For fuller steps, rollback, and log locations, see docs/install.md in the repo.

Open Plugins in the DSH sidebar → Installed plugins → dsh-plugin-pomodoro:

  1. Profile level: a master bundle toggle and a Component toggle (written to the profile’s cordis.patch.yml as id: pomodoro / disabled: true, supporting live unload with HMR).
  2. Plugin level: Configure can hide/show the timer widget and edit timer defaults; board data is not affected by these toggles.

An optional host configuration (written into the loader’s config) example:

- insert:
    - id: pomodoro
      name: dsh-plugin-pomodoro
      config:
        dbPath: /custom/path/board.sqlite   # default: $DSH_HOME/pomodoro/board.sqlite
        storageKey: dsh-plugin-pomodoro:state:v1
        defaults:
          focusMin: 25
          shortBreakMin: 5
          longBreakMin: 15
          longBreakEvery: 4
          autoStartBreaks: true
          autoStartFocus: false
          sound: true
          notify: true

Typical Usage

  1. After enabling the plugin and restarting DSH, you will see a floating Pomodoro capsule in the UI; press B or expand the board from the timer as needed.
  2. Create or open a task card on the board and start Focus on the task to associate the timer with the card; work in pomodoro cycles, and paused or skipped segments are settled according to the rules.
  3. Use the sidebar sections and search/filter to manage your backlog; when you need a backup, use the board menu to export JSON, and import it with confirmation when migrating.

Data locations (for self-checking and backup):

  • Board: SQLite $DSH_HOME/pomodoro/board.sqlite (WAL; can be overridden via config.dbPath), with daily rotating backups board.sqlite.bak through .bak.7.
  • Per-window board UI state → localStorage; timer state and widget preferences → localStorage (keys such as dsh-plugin-pomodoro:state:v1, etc.); pending focus credit queue → :pending-credits:v1.

Use Cases & Notes

Suited for developers who want to do Pomodoro focus inside the DSH desktop client and attribute time to specific tasks; it also matches the design goal when an offline local board is needed and the model pipeline should not be involved.

Please review the source repository and the MIT license yourself before installing. The host side of the plugin runs with the current dsh process privileges and reads/writes local SQLite; install only from sources you trust. The community directory SkillHub is an independent ecosystem site with no official affiliation with DeepSeek / High-Flyer.

Conclusion

dsh-plugin-pomodoro brings a floating Pomodoro timer and a SQLite board into the DSH client, allows focus time to be idempotently credited to tasks, and does not touch models or providers. For more on features and verification commands, see the GitHub README; for installation from the directory and classification info, see the SkillHub plugin page.

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

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

Xiaoye