rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:begin2023/dsh-weight-journal
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English · 简体中文
A daily weight journal for the DeepSeek Harness Web GUI: one page, one reading a day, one honest trend.
The page in the app's own theme, light and dark. The figures above are sample readings, rendered from the plugin's shipped stylesheet rather than pasted from a screenshot tool, so what ships is what is shown.
A scale icon sits in the left sidebar's panel row (above Settings). It opens the Weight journal main-panel page, beside Plugins and Schedules.
While the app is open, a small capsule holds the centre of the conversation title row — the strip that stays visible on every panel — until you drag it somewhere better. Each language keeps it for three beats before the next takes over, so one pass states the day, then the change, then a tip:
今天 68.4 kg, or 今天还没记录 before the day is saved.比上次轻 0.3 kg · 继续保持, 比上次重 1.2 kg · 需要加油, or
和上次持平 · 稳住就好. It compares with the last recorded reading, which is
why it says 比上次 rather than 比昨天: after a gap it tells the truth about the
gap instead of inventing the missing days.Eight languages in all, starting with the one the app is set to, one beat every 5.4 seconds — a language holds 16.2 seconds and the whole cycle is 2.16 minutes. Clicking the capsule selects the journal, so the page has a second entrance.
Some themes draw their own controls in that strip, and a capsule on top of one is worse than no capsule at all. Drag it wherever it is out of the way: the seat is stored as a fraction of the window, so it survives a resize and a restart, and Back to the middle in the settings dialog brings it home. Arrow keys move it eight pixels at a time, twenty-four with Shift, for anyone working without a mouse — and a drag never opens the page by accident, because a press only becomes a drag after three pixels and the click that follows is swallowed.
It reads the journal before painting, so the state it shows is the stored one:
once the day is saved the trend mark turns accent and its end dot fills in, and
before that the mark keeps a slow waiting pulse. It registers into the frame's
shell.overlay seat, a whole-app layer that is click-through by default; the
capsule opts back into pointer events for its own 30-pixel row only. Being
centred, it stays clear of the session title on the left and the utilities on the
right until the window is narrow enough for the three to meet.
− / + in 0.1 steps), pick another
day from the date field, add an optional note, and save. One reading per
calendar day: saving a day that already exists replaces it.The same journal is reachable through the weight_journal tool (record,
list, delete). Both callers share one implementation, so a weight stated in a
conversation lands in the page the moment it refreshes.
$DSH_HOME/storages/weight-journal.json, written atomically. The plugin makes no
network request and reads nothing else. Disabling the plugin hides the page and
the tool; the file stays where it is.
| File | Role |
|---|---|
index.js |
Host half: the JSON store, two ctx.connection.fetch routes, the tool |
client.js |
Browser half: the page, the chart, the reminder capsule, the sidebar icon, the copy |
cordis.patch.yml |
Inserts the Host row |
locale/*.json |
Plugin Manager title, description, detail document |
docs/ |
The detail document, its feature image, and the two screenshots |
icon.svg |
Plugin Manager icon |
assets/icon-180.png |
The square tile the plugin market shows |
From the registry, into a profile:
dsh plugin --profile web add dsh-weight-journal
Or from the Web GUI: Plugins → Add plugin and give the package name, a
github: spec, or a directory. The bundle is a plain package directory; when it
is installed from a directory DSH links it into the profile, so where the
directory lives is part of the installation.
plugin_manager tool with
action: install_bundle and this absolute path.index.js (the Host
half) needs the app restarted.link: path,
so a move leaves a dangling link. Re-install as above, or run
plugin_manager remove_bundle and then install_bundle with the new path.The page composes only from the host's --dsw-alias-* and --dsw-radius-*
theme tokens, so it follows light, dark, and every shipped theme without a local
palette. It imports no Harness Client package: React arrives from the browser
module table and every control is written here.
MIT — see LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。