Repository navigation
v1.2.4 — native ranking tab, themed panel, dark-friendly selects
Re-draws the router's own model table inside the DSH panel, and brings the panel onto the DSH design tokens.
Ranking tab
- Reads the router database read-only and reuses the vendored
getModelGroups()/getRoutingScores(), so the stability / speed / intelligence axes and the 0..1 score are the same numbers the:3001console shows. Nothing is recomputed. - Sortable columns, search, and vision / tools / context-size filters.
- Per-row enable switches, plus tick-untick bulk actions over the currently shown set.
- A missing or locked database degrades to "scores unavailable" - the model list keeps working.
Colour and surfaces
- Accents come from DSW alias tokens and
color-mix()instead of fixed hex values, so the panel follows light and dark themes. - Flat list surfaces no longer stack
bg-layer-3/bg-layer-4on top of the card's raised surface. Cards arebg-layer-1with a hairline border; rows are transparent with an inset border.
Native selects
- A native
<select>popup is drawn fromcolor-scheme, which the host never set - so on a dark theme the list opened white with a blue highlight. The panel now measures the active theme and appliescolor-schemeto its root, with aMutationObserverso a theme flip is picked up without a reload.
Console link
- "Open the full console" from the ranking tab and the status card, for provider keys, usage and routing policy.
Install
The tarball below is self-contained: vendor/node_modules (the router's runtime closure) ships inside it, because the repository does not commit node_modules. Installing straight from the git tree will produce a router that cannot start.
smoke.mjs: 26 offline checks pass.