Commit Graph
392 Commits
Author SHA1 Message Date
lukaszraczylo 5d4a9e6cad feat(admin): decision model grid in router panel 2026-11-25 13:59:39 +00:00
lukaszraczylo f8a38e10da feat(router): decision model stats and admin view 2026-11-25 13:56:39 +00:00
lukaszraczylo 0d1f71b392 feat(router): decision model assist near tier boundaries 2026-11-25 13:51:10 +00:00
lukaszraczylo d603780560 fix(router): keep decision calls out of upstream accounting 2026-11-25 13:43:46 +00:00
lukaszraczylo 73fc53a29b feat(router): decision model client with breaker and cache 2026-11-25 13:39:45 +00:00
lukaszraczylo 266ce22e72 feat(router): decision model config and validation 2026-11-25 13:32:28 +00:00
lukaszraczylo 65654e8e83 build(admin): regenerate embedded admin UI 2026-11-25 12:47:29 +00:00
lukaszraczylo 81bf2e4ffe feat(webui): compare cost avoided against MiniMax M3.1 Flash and latest Sonnet 2026-11-25 12:47:28 +00:00
lukaszraczylo 8c9ec9e241 build(admin): regenerate embedded admin UI 2026-11-25 12:40:02 +00:00
lukaszraczylo b48ec65f94 test(mock): enforce backend series metric rules
Port seriesValidMetric and the usage/series query checks into the mock so it
returns the backend 400 for an invalid scope, metric and window combination.
2026-11-25 12:38:58 +00:00
lukaszraczylo fd9dc53241 fix(webui): request provider attempts for model page totals
The provider series endpoint rejects the req metric. Request attempt on an
hour or day window instead, and label the group total as attempts.
2026-11-25 12:38:57 +00:00
lukaszraczylo a231cebb71 build(admin): regenerate embedded admin UI 2026-11-25 12:20:39 +00:00
lukaszraczylo 13a38a6631 refactor(webui): reuse entity links and formatters; drop stale component comments 2026-11-25 12:11:21 +00:00
lukaszraczylo dccf04f840 test(webui): widen leak scan to mock sources and e2e 2026-11-25 12:11:20 +00:00
lukaszraczylo 34c2bb8dbf docs(limits): correct usage key count comments 2026-11-25 12:11:13 +00:00
lukaszraczylo ad6af8fd0a fix(webui): guard provider totals and model panel against stale responses 2026-11-25 12:11:12 +00:00
lukaszraczylo a7e9c98663 fix(webui): show unavailable usage when the store is down 2026-11-25 12:11:11 +00:00
lukaszraczylo 158a96ea55 fix(webui): open provider panel from reliability breakers 2026-11-25 12:11:10 +00:00
lukaszraczylo 62817af834 fix(webui): toasts above sheets; drop unreachable alias helpers
Stack the toast viewport on perfect-design's --z-toast token so it sits
above Sheet overlays, and add a harness check that the toast is the
topmost element at its centre while a sheet is open.

Delete useAliasNames, lib/alias and its spec, which nothing imports
since the shadcn migration removed AliasBadge.
2026-11-25 11:52:38 +00:00
lukaszraczylo ff58b03e21 test(webui): guard tailwind @source against missing perfect-design components
Add a spec that maps every component imported from perfect-design, and
every directory it imports in turn, to an @source entry in main.css.
Extend the bundle gate spec to check that utilities unique to recently
added components appear in the built CSS.
2026-11-25 11:52:38 +00:00
lukaszraczylo 6bc144cc12 refactor(webui): migrate remaining shadcn components to perfect-design
Move AuthGate, ConfigWarningsBanner, ToastViewport, SnippetBlock,
PageLoadError, LabeledSelect and the helper forms to perfect-design
Button, Input, Card, Callout, NativeSelect and ToastItem. Number fields
use a small native input because the library input rewrites typed text.

Delete components/ui, the unused ModelChip, CompactNumber, AliasBadge and
lib/utils, and the shadcn config. Remove shadcn-vue, tw-animate-css,
class-variance-authority and clsx. Give FaIcon an optional title and drop
role from decorative icons. Refresh stale comments and the README.
2026-11-25 11:52:38 +00:00
lukaszraczylo e1f1a60d4d refactor(webui): remove shadcn-vue, chart.js and replaced components
Delete 89 files that no live entry imports, drop chart.js, vue-chartjs,
@tanstack/vue-table and the FontAwesome runtime, and replace the Vue
FontAwesome wrapper with a small SVG component.

Limit Tailwind source scanning to the perfect-design components the app
bundles. Add the bundle gate script and spec: gzip JS+CSS of dist/assets
must stay at or below 324300 bytes.
2026-11-25 11:52:38 +00:00
lukaszraczylo 945621a3c5 fix(webui): compact config viewer, clear unknown helper sel, harness port guard 2026-11-25 11:52:38 +00:00
lukaszraczylo 1f8bdd8777 feat(webui): config page 2026-11-25 11:52:38 +00:00
lukaszraczylo 32a6d0c51f fix(events): keep sub-100ms paced delays readable 2026-11-25 11:52:38 +00:00
lukaszraczylo dd11ada41f fix(webui): events dates, phone detail, model links, caller coverage
Events show the date for rows from earlier days, the message sits on a second line on phones, and consecutive identical events collapse into one row with a count. Unpriced events link to the model panel or a models search. The provider filter keeps one control type. The harness covers the target callers list and the mock gains a readitall caller fixture.
2026-11-25 11:52:38 +00:00
lukaszraczylo e0e5989326 fix(events): round paced delay in event message 2026-11-25 11:52:37 +00:00
lukaszraczylo 55f1e743fe feat(webui): targets and events pages 2026-11-25 11:52:37 +00:00
lukaszraczylo ec9df6a92d fix(webui): router fixture consistency and panel screenshots
Router escalation fixtures now scale tiers, reasons and outcomes with requests, and the shadow classifier differs from live. The harness captures each panel's full scroll height, runs checks on the expanded panel, and samples smartrouter/uni. RoutersPage no longer refetches on range change. The breaker State column sorts by severity.
2026-11-25 11:52:37 +00:00
lukaszraczylo b9ca05be66 feat(webui): routers page 2026-11-25 11:52:37 +00:00
lukaszraczylo 7b660363e7 fix(webui): sort users and breaker tables before paging 2026-11-25 11:52:37 +00:00
lukaszraczylo f7cf402564 fix(webui): models page sort, request totals, panel polish 2026-11-25 11:52:37 +00:00
lukaszraczylo 9dfc663b38 feat(admin): expose model vision capability in admin meta view 2026-11-25 11:52:37 +00:00
lukaszraczylo 0f6201da38 feat(webui): models page 2026-11-25 11:52:37 +00:00
lukaszraczylo 19950c40f6 fix(webui): users page filter, labels, panel fetches 2026-11-25 11:52:37 +00:00
lukaszraczylo a138b186b6 fix(admin): count prefixed model globs in consumer model access 2026-11-25 11:52:37 +00:00
lukaszraczylo abdc059ed3 feat(webui): users page 2026-11-25 11:52:36 +00:00
lukaszraczylo 713a8acb09 fix(webui): reliability degraded breakers, failure rates, TTFB coverage 2026-11-25 11:52:36 +00:00
lukaszraczylo 31a09f5064 feat(webui): reliability page 2026-11-25 11:52:36 +00:00
lukaszraczylo 0ac9f5fb10 fix(webui): usage CSV, detail flags, burn-down labels 2026-11-25 11:52:36 +00:00
lukaszraczylo ed57488980 feat(webui): usage and spend page 2026-11-25 11:52:36 +00:00
lukaszraczylo bbb397cd75 fix(webui): compact overview events and request-ranked top lists 2026-11-25 11:52:36 +00:00
lukaszraczylo d2334d879b feat(webui): overview page 2026-11-25 11:52:36 +00:00
lukaszraczylo 6c151d3515 fix(webui): make visual harness checks meaningful 2026-11-25 11:52:36 +00:00
lukaszraczylo 0ef0894140 test(webui): visual harness and Workbench table widgets 2026-11-25 11:52:36 +00:00
lukaszraczylo 5177b2209c feat(webui): perfect-design app shell, command palette and theme boot 2026-11-25 11:52:35 +00:00
lukaszraczylo c6da612215 feat(admin): live tokens-per-minute usage per scope 2026-11-25 11:52:35 +00:00
lukaszraczylo af3628d13d fix(webui): mock live token meters and consistent huge scenario
Add tokensPerMinute to the live and limits-hot scenarios. Make the huge scenario agree across overview, catalog, performance and usage endpoints. Derive hot users from the friends group.
2026-11-25 11:52:35 +00:00
lukaszraczylo 853a66dcb7 feat(webui): mock admin API with scenarios for local development
Serve captured fixtures from the Vite dev server under MOCK=1. Synthesise missing ranges from the nearest fixture and select failure scenarios with ?mock=.
2026-11-25 11:52:35 +00:00
lukaszraczylo 0bf4e4015c test(webui): keep per-range admin fixtures 2026-11-25 11:52:35 +00:00