dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
Pomodoro timer for the DeepSeek Harness Web UI: a sidebar page with focus/short-break/long-break cycles plus a countdown pill beside the composer. · DSH Web 番茄钟:侧栏整页(专注/短休息/长休息)+ 输入框旁倒计时胶囊。
A Pomodoro timer for the DeepSeek Harness Web UI: a sidebar page with focus / short-break / long-break cycles, plus a countdown pill beside the composer.
English | 简体中文
Repository: https://github.com/cuznmop/dsh-pomodoro-timer · Issues: https://github.com/cuznmop/dsh-pomodoro-timer/issues · Package: https://www.npmjs.com/package/dsh-pomodoro-timer
localStorage, so refreshing the page resumes the same countdown.--dsw-alias-* theme token; the plugin imports no Harness client package, so it does not break when those internals change.| Component | Requirement |
|---|---|
| DeepSeek Harness | verified on 0.2.0-rc.2 (Web/Desktop profiles); the plugin uses only the public client slots and locale services, and declares no DSH peer dependency |
| DSH profile | a Web surface (web, or the Desktop app); headless profiles have no UI |
| Node.js | ^22.19.0 or >=24.0.0 (only for the optional local check) |
# plain dsh web profile
dsh plugin --profile web add dsh-pomodoro-timer
In the Desktop app, install dsh-pomodoro-timer from the plugin market page, or from Settings → Plugins. Restart Harness (or reload the page) afterwards, then look for the clock icon in the sidebar panel list.
| Control | Behaviour |
|---|---|
| Start / Pause | Start or pause the current phase |
| Reset | Restore the current phase to its full length and pause |
| Skip | Move to the next phase without crediting a pomodoro |
| Settings | Focus length, short break, long break, pomodoros per long break, auto-start, chime |
Changing a duration while a phase is paused resizes it immediately; while it is running, the change applies from the next phase.
State lives under the dsh.plugin.pomodoro-timer.v1 key in localStorage.
dsh plugin --profile web remove dsh-pomodoro-timer
No build step: client.js is the published browser bundle. The package ships a self-contained offline check.
npm run check # node --check on both halves + the offline bundle test
# pnpm run check works too. On a machine that only has DSH's bundled runtime, put
# the workspace shims on PATH first: $env:PATH = "<workspace>\bin;$env:PATH"
test/client.test.mjs loads the browser bundle with a module-loader stub and a fake client context and exercises registration ids, the phase machine, persistence, and component rendering. It proves logic, not looks — visual verification needs the running GUI.
| Path | Responsibility |
|---|---|
package.json | manifest: bundle patch, client declaration, export map, icon, file allowlist |
cordis.patch.yml | inserts the Host row that puts the browser bundle in the module graph |
index.js | Host half — intentionally a no-op |
client.js | the timer store, the sidebar page, the composer pill, and both dictionaries |
locale/*.json | plugin-card title and description |
icon.svg | plugin-card artwork |
test/client.test.mjs | offline check |
localStorage key. It has no host-side service, no tool, and no network access.sidebar.panellist, main, and conversation.composer.dock; it never replaces the app root and never appends to document.body.