huashu-design
alchaincyf
Huashu Design 3.0 · 在 agent 里打一句话,拿回能交付的设计:网页 / App 原型 / 可编辑 PPTX / 动画 / 信息图 · 六个候选挑三个方向 · 84 种带样张的风格库 · 越用越懂你的外观账本与设计体检 · HTML-native design skill for Claude Code, Codex, Cursor & any agent
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:gitByteFree/dsh-pomodoro-pet
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A focus companion for DSH Web / Desktop: a pomodoro timer, four-quadrant tasks, and a pet that grows along with your focus.

Version 0.10.0 · Requires DSH Web / Desktop 0.2.1-rc.2+ · Zero npm dependencies · Data stays on your machine
English | 中文
Open 🍅 in the DSH sidebar and start a focus round. When it ends, your pet gains EXP and the stats are recorded. Sort work with four-quadrant tasks, and let the agent start timers or create tasks for you — it always asks before changing anything.
After installing you get:
| Mode | Default length | Best for |
|---|---|---|
| Standard | 25 min | Daily tasks and routine work |
| Deep | 50 min | Coding, writing, anything that needs immersion |
| Sprint | 15 min | Getting started, or clearing small items |

When you are busy, tuck the pet into the capsule at the bottom-right of the chat page: the countdown, pause, and stop controls stay within reach.
The plugin exposes a pomodoro_pet tool to the agent:
The pet is also a read-only status board for DSH sessions:
Just ask in a DSH conversation:
$DSH_HOME/storages/pomodoro_pet/ (one JSON document per record); copy that folder to migrate. Upgrading from 0.9.4 or earlier migrates the old single pomodoro_pet.json automatically on first start and keeps it as a backupBefore you start: DSH Web or DSH Desktop (0.2.1-rc.2 or newer). The plugin has zero npm dependencies and needs no build step.
Web and Desktop are separate profiles: Web uses
~/.dsh/profiles/web, Desktop exclusively owns~/.dsh/profiles/desktop. Installing on one does not make the plugin appear on the other; the focus data ($DSH_HOME/storages/pomodoro_pet/) is shared.
The plugin is published on npm as dsh-pomodoro-pet.
Web: open Plugins → Installed → Add plugin, enter dsh-pomodoro-pet, and click Install; then restart dsh web and refresh the browser. This path is not delayed by the plugin-market index cache.
Desktop: open Plugins → Add plugin in the desktop app, enter dsh-pomodoro-pet → Install → Enable now. It normally applies live; if a restart is requested, quit the app completely and reopen it.
From a shell (do not mix the two profiles):
# Web profile (any npm-installed dsh)
dsh plugin add dsh-pomodoro-pet
# Desktop profile: use the desktop app's own dsh command (app menu → Manage dsh Command… → Install)
# and fully quit the app before running it
dsh plugin --profile desktop add dsh-pomodoro-pet
An npm-installed
dshcannot modify the Desktop profile, and the Desktop app does not load plugins installed intoprofiles/web.
Open Plugins in DSH, enable the experimental Custom plugin indexes bundle, and go to Discover
Choose Add index source and paste:
https://cdn.jsdelivr.net/gh/gitByteFree/dsh-pomodoro-pet@main/market/index.json
Find Pomodoro Pet and install it
Restart dsh web and refresh the browser (Desktop: enable the experimental plugin market, add the same index under Discover, then click Enable now after installing)
The index is served through jsDelivr because the marketplace requires a direct
200without redirects. A new release may take up to 12 hours to appear because of edge caching. Where GitHub is reachable,https://raw.githubusercontent.com/gitByteFree/dsh-pomodoro-pet/main/market/index.jsonserves the same file.
tar -xzf dsh-pomodoro-pet-0.10.0.tar.gz
cd dsh-pomodoro-pet
./install.sh # installs to ~/dsh-plugins, profile "web"
The script is for the Web profile only: it copies the plugin, registers it in the profile, and creates the node_modules symlink. The plugin's own cordis.patch.yml is applied automatically, so it does not touch the profile patch. It is idempotent and refuses the reserved desktop profile. For Desktop use Option 1. Then restart DSH:
# Press Ctrl+C in the terminal running dsh web, then start it again
dsh web
Custom location or profile:
./install.sh --dest ~/my-plugins --profile web
./install.sh --home /path/to/.dsh --profile web
Copy the plugin to a stable location, e.g. ~/dsh-plugins/dsh-pomodoro-pet
Edit ~/.dsh/profiles/web/package.json:
"dsh-pomodoro-pet": "link:/home/<you>/dsh-plugins/dsh-pomodoro-pet" to dependencies"dsh-pomodoro-pet" to the end of dsh.profile.bundlesCreate the symlink:
mkdir -p ~/.dsh/profiles/web/node_modules
ln -sfn ~/dsh-plugins/dsh-pomodoro-pet ~/.dsh/profiles/web/node_modules/dsh-pomodoro-pet
Restart dsh web and refresh the browser
Since DSH
0.2.1-rc.2the plugin's owncordis.patch.yml(dsh.bundle.patch) is applied automatically, so the manualinsertrow is no longer needed. If an older guide added it, you can remove it; a duplicate row id is de-duplicated by the Loader (last one wins) but adds no value.
For a detailed walkthrough, see INSTALL.md (Chinese).
Web:
curl -s -o /dev/null -w "%{http_code}\n" http://127.0.0.1:3080/dsh-pomodoro/state
A 200 means the Host half loaded. 3080 is dsh web's default port; if you started it with --port (for example 8080), use that port instead.
Desktop: the Host port is OS-assigned and requests need the cookie the app injects, so a direct curl returns 401 — that is the plugin's trust fence working, not a broken install. Confirm in the UI instead.
In the GUI you should see:
0.10.0 under Settings → AboutAvailable while the panel is open:
| Key | Action |
|---|---|
Space |
Start / pause / resume |
S |
Stop the current round (during a break: skip it) |
1 / 2 / 3 |
Switch Standard / Deep / Sprint |
? |
Toggle the shortcuts overlay |
Esc |
Close a dialog / leave an input |
Shortcuts only work while the Pomodoro Pet panel is open; inside an input or dialog only
Escis handled. Stopping a focus round counts as abandonment: no EXP, mood −1, round streak reset. Stopping a break has no penalty.

Settings: timer, sound and alerts, appearance, agent integration, pet, stats, and data — all on one page.
pomodoro-pet errors, then verify the bundle is in dsh.profile.bundles and cordis.patch.yml is intact/dsh-pomodoro/state returns 404 (Web only): the Host half did not load. Check the symlink and bundle list, and confirm you restarted dsh webCannot find module 'dsh-pomodoro-pet': the symlink or link: path is wrong; inspect ~/.dsh/profiles/web/node_modules/client.js do not appear: the client bundle is cached; hard-refresh. Host-side changes always need a restart (dsh web, or quit and reopen Desktop)$DSH_HOME/storages/pomodoro_pet/ (the pre-0.9.5 single file pomodoro_pet.json is auto-migrated once and kept as a backup). Web and Desktop share this data, but do not run both Hosts at the same timelocalStorage, isolated per page origin: Web is http://127.0.0.1:<port>, Desktop is dsh-app://app; they do not syncdsh-pomodoro-pet from ~/.dsh/profiles/web/package.json and dsh.profile.bundles, then restart dsh webdsh plugin --profile desktop remove dsh-pomodoro-petNo build step: client.js is a browser-ready bundle
The English dictionary lives inline in client.js; node scripts/sync-i18n.mjs regenerates the readable i18n-en.mjs copy and the tests fail if it is stale
Agent tool parameters, HTTP API, file map, and storage tables: see DEVELOPMENT.md
Run the unit tests:
node --test
# 129 tests, all passing
MIT © 2026 chris. See LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: productivity。