Aero chat welcome panel: frosted and flush; honest model availability

The welcome panel is the same frosted glass as the cards now (blurred,
not a flat tint) and stretches flush with the chat header and composer
(measured: 268..1280 at 1280, exactly the chrome's edges) - a flat pane
floating 40px inside the scene read as "cut off next to the sidebar".

Availability no longer over-promises: a /api/tags listing proves
availability only on a local daemon (the listing is the installed set);
on a cloud key the catalogue can include models a free plan cannot run,
and provider seeds before their first live /models test, so those stay
badge-less until actually used. The configured favourites keep their
verified state.

Contrast 0 findings, chat 102/102, providers 20/20, mobile 126/126,
i18n 13/13, native 33/33. Version 0.5.2, SW -> freezmo-v75.
This commit is contained in:
Martin Dvořák 2026-10-14 08:51:14 +00:00
commit 7e7969b568
4 changed files with 25 additions and 5 deletions

View file

@ -153,7 +153,14 @@ export async function GET(request: Request) {
if (known.has(canonical)) continue;
if (/embed|bert|whisper|clip|rerank/i.test(model.name)) continue;
known.add(canonical);
extras.push({ name: model.name, badge: badgeFor(model.name), available: true });
// A local daemon's listing *is* its installed set, so "available" is a
// fact there. The cloud's /api/tags is a catalogue — a free key can list
// models its plan cannot run — so those stay "unknown" until used.
extras.push({
name: model.name,
badge: badgeFor(model.name),
available: health.mode === "local-daemon" ? true : null,
});
}
extras.sort((a, b) => a.name.localeCompare(b.name));
health.chatModels = [...health.chatModels, ...extras.slice(0, 120)];