Repository navigation
Releases: Awenforever/dsh-ustc-quota
Release list
dsh-ustc-quota 1.0.9
Adds a Host-version watchdog for carriers whose in-app update applies the Host bundle but does not reload the open renderer client. The Host snapshot now reports pluginVersion; a loaded client that sees a newer Host version calls location.reload() once. TokenWorks in-app update is Host-side only, so the first v1.0.9 load may still need one page reload or app restart to install the watchdog; later updates should reload without restarting the app. If the carrier caches the client module even across a page reload, only a full restart can replace it. Includes white-card restyle, rounded green/gray bars, per-conversation star, reset tooltips, and BOM-free manifest.
dsh-ustc-quota 1.0.8
Clarifies the reset legend and makes the active provider visible on the star tooltip. The star follows the open session modelSelection projection and updates when the conversation changes provider inside a conversation; switching models under the same provider keeps the same key. The reset subline is next reset time plus countdown: 3h windows roll every three hours, so at 21:xx the next 3h boundary is 00:00, the same as 12h/24h, which is expected. Hovering the column shows each key full reset time. Includes white-card restyle, rounded bars, one-time self-refresh, direct-DOM layout, URL-based discovery, and BOM-free manifest.
dsh-ustc-quota 1.0.7
The star now follows the key actually selected by the open conversation, not the global default model. A null session probe in the conversation composer dock captures the active session id; the sidebar card reads that session modelSelection projection and moves the star immediately when switching conversations or changing models. Includes the white-card restyle, rounded green/gray bars, one-time self-refresh, direct-DOM footer layout, URL-based provider discovery, and BOM-free manifest.
dsh-ustc-quota 1.0.6
Visual restyle matching the white-card reference while keeping the compact sidebar layout: 13px bold title, 10px bold column headers, bold row labels/values, subtle row dividers, white layer with soft shadow, and 6px fully rounded progress pills. Bars now use green = used and a light-gray remaining track; 70%/90% still switch to amber/red. Includes the one-time self-refresh after install/update, direct-DOM footer layout, URL-based provider discovery, and BOM-free manifest.
dsh-ustc-quota 1.0.5
The client half now performs a one-time page refresh after a new version is loaded into an already-running page (per version, guarded by localStorage/sessionStorage). Install/update no longer requires a manual interface refresh or a full DSH/TokenWorks restart. A fresh boot already containing the bundle skips the extra reload. Includes the direct-DOM footer layout fix (update/Cordis action above, full-width card), BOM-free manifest, URL-based provider discovery, and the remaining-green quota bar.
dsh-ustc-quota 1.0.4
Footer layout fix: the client now collapses only-card slot cells and wraps the real footerActions row after mount, instead of relying on <style>/:has. This pushes the TokenWorks ?? button (and DSH Cordis button) to the line above and gives the quota card the full row. Also preserves the BOM-free package manifest, URL-based provider discovery, green-remaining dual-tone bar, and live key discovery. No full restart is required; refresh the page to load the new client bundle.
dsh-ustc-quota 1.0.3
Fixes the package manifest BOM that made the bundle loader skip dsh-ustc-quota on a fresh install (the TokenWorks ????). Package.json is now strict JSON without a BOM; 23 unit tests pass. Also includes the full-width footer layout, URL-based provider discovery with /v1 normalization, the dual-tone remaining-green bar, and live discovery of newly added providers/keys (8s Host cache, 15s client poll, or the refresh button).
dsh-ustc-quota 1.0.1
Sidebar quota card for DSH and USTC TokenWorks. This release puts the card on its own full-width row below TokenWorks ?? / DSH Cordis actions, discovers providers by baseURL (provider id/name are arbitrary; /v1 is normalized), and contains no local paths, school account, Windows user, API keys, or personal email in the tree, commit metadata, or tag.