Repository navigation
Releases
v0.2.3 — safer cleanup and language switching
v0.2.3 — safer cleanup and language switching
- Ignore late RPC results after disposal/remount; prevent null-root errors.
- Disconnect locale observers and cancel in-flight expand/collapse animations safely.
- Keep collapsed bars inside the viewport after Chinese/English switches; measure unscaled layout bounds while docking.
- Ship the README banner and linked documents in the npm tarball.
Validation: 9 package tests, 6 Chromium lifecycle/locale scenarios, four-corner regression, and real DSH 0.1.2-rc.1 install → full web-profile start → zh/en browser render → uninstall, all using an isolated DSH_HOME. No live provider accounts exercised; scope and four RPC paths unchanged.
Install the attached tarball: dsh plugin --profile web add ./dsh-usage-mini-0.2.3.tgz. npm 0.2.3 is also verified available, with the same artifact checksum: dsh plugin --profile web add dsh-usage-mini@0.2.3.
Evidence: https://github.com/teethyachi/dsh-usage-mini/blob/v0.2.3/docs/store-evidence.md
v0.2.2 — all four corners work
0.2.2 — all four corners work
The 掘金 write-up admitted it: "右下角正常,另外三个角布局是坏的". Fixed.
- Dragging the expanded window is now clamped to the viewport on both axes (before, only top/left were), so it can't run off the right or bottom edge.
- Collapse → expand restores a saved spot pulled back on screen if it was partly hidden or the viewport shrank.
- Drag the collapsed bar to a different corner and it expands there, instead of flying back to the old spot.
- Window resize re-runs placement.
Verified with a headless-Chromium harness that drags / collapses / expands at every corner (useage-window-campaign/scripts/corners.cjs); test 8 locks the geometry. Same four RPCs, no new endpoints, nothing else changed.
dsh plugin install github:teethyachi/dsh-usage-mini#v0.2.2
v0.2.1 — DSH 0.1.2-rc.1 verified compatible
0.2.1 — DSH 0.1.2-rc.1 verified compatible
DSH 0.1.2-rc.1 is now declared compatible, on the strength of a full run from a disposable DSH_HOME: real dsh plugin add, real dsh --profile web start, lib/client.js delivered through the web module loader, headless-browser render in zh-CN and en-US with zero page errors, then a clean dsh plugin remove. Steps, results and a reproduce script are in docs/store-evidence.md.
Fix found by that run: on a bare web profile the subscriptions RPC path answers 405, not 404. 0.2.0 showed "fetch failed: HTTP 405"; 0.2.1 shows the intended "channel unavailable (dsh-plugin-subscriptions not installed / enabled)".
The other three declared DSH releases stay unknown — they haven't had this run.
Install
dsh plugin install github:teethyachi/dsh-usage-mini#v0.2.1
or the tarball below. No auto-update: reinstall to pick this up.
v0.2.0 — UI follows DSH language (zh-CN / en)
0.2.0 — the widget speaks your DSH language
UI follows the DSH language setting. The floating window and its Settings card now read the host's <html lang> (zh-CN / en, as set in Settings → Language) and switch live when it changes. No language switch of its own, no new storage key. All ~70 strings are externalized; the feedback prompt is 给点儿意见? / Any feedback?.
English-first repository. README is English with a parallel README.zh-CN.md. The issue template is English — write the feedback body in any language, the reply comes back in yours.
Unchanged: the same four same-origin RPCs, no new network endpoints, scope still Claude subscriptions + Codex (ChatGPT) subscriptions + DeepSeek API only. Companion to dsh-cost-meter and dsh-plugin-subscriptions.
Install
dsh plugin install github:teethyachi/dsh-usage-mini#v0.2.0
or download the tarball below and dsh plugin install ./dsh-usage-mini-0.2.0.tgz. No auto-update: reinstall to pick this up.
Full details: CHANGELOG.md · 中文说明 README.zh-CN.md
用量小窗(USEAGE WINDOW) v0.1.4
Feedback bar prompt is now 给点儿意见? (one line, no rotation). Otherwise identical to 0.1.3: the bar opens a pre-filled GitHub issue with your text and the plugin version only; the plugin itself makes no network call.
Install:
dsh plugin --profile web add github:teethyachi/dsh-usage-mini#v0.1.4or download the tarball below and run dsh plugin --profile web add ./dsh-usage-mini-0.1.4.tgz. Restart the Web profile.
用量小窗(USEAGE WINDOW) v0.1.3
New: feedback bar. The bottom of the expanded window now has a one-line input. Type, press 发送, and a pre-filled GitHub issue opens in a new tab. The plugin itself makes no network call; the only data in the URL is your text and the plugin version. Every feedback issue gets a reply; adopted ones ship in the next release with credit.
Rotating prompts: 哪个数字看不懂?/ 哪次刷新不对?/ 少了什么你每天都想看的?/ 告诉我如何改进. 500-character cap, 60-second local cooldown.
Also folds in the 0.1.2 manifest corrections (exact tested Node 22.23.2, DSH releases declared unknown pending full runtime evidence). Runtime data paths unchanged: same four same-origin RPCs, no new endpoints.
Install:
dsh plugin --profile web add github:teethyachi/dsh-usage-mini#v0.1.3or download the tarball below and run dsh plugin --profile web add ./dsh-usage-mini-0.1.3.tgz. Restart the Web profile. Requires dsh-plugin-subscriptions and/or dsh-cost-meter; see README.
Still Claude / Codex subscriptions + DeepSeek API only. Six automated tests pass; not a live-account certification.
用量小窗(USEAGE WINDOW) v0.1.1
用量小窗(USEAGE WINDOW) v0.1.1
Your agents have big plans. Your quota has office hours.
A small DeepSeek Harness Web plugin that keeps your usage numbers close and your tab count out of grad-school territory.
Currently supports Claude subscriptions, Codex (ChatGPT) subscriptions, and DeepSeek API only.
- Subscription usage windows and reset countdowns—not fictional subscription dollar balances.
- DeepSeek API ledger spend, call counts and cached official balance.
- Draggable window, four-corner docking, settings toggle and visibility-aware polling.
- Manual-refresh balance fix included.
Install the attached .tgz with dsh plugin --profile web add ./dsh-usage-mini-0.1.1.tgz, then restart the existing Web profile. Required upstream data plugins are not included; see README.
Two automated tests pass. This is not a fresh live-account certification across all providers or browsers. No automatic budget enforcement, model switching, or promised savings.