Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
Merge remote-tracking branch 'origin/main' into next/issue-2954
[._.]/ Adam Eivyac2a1fc266ea
diff --cc .changelog/NEXT.mdindex 054983066e,b5789ca83c..bdab35d0d0--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@@ -1,15 -1,13 +1,21 @@@# Unreleased+## Added++- **The 3D page can now generate on an NVIDIA GPU, not just on Apple Silicon.** Image-to-3D shipped with a single processing target — TRELLIS.2 running through the Apple Silicon (Metal) port — so a machine with a 24 GB NVIDIA card had nothing to select, even though the page had always described a CUDA lane as a thing it supported. There is now a second target, **TRELLIS.2 (CUDA)**, built on Microsoft's own upstream release: it installs the upstream repo and its GPU extensions, and renders a single image into the same PBR-textured GLB the Apple Silicon lane produces, with the same live progress and the same Install / Ready / cancel behaviour on the card. The export quality scales to the card rather than being fixed — a 24 GB GPU (the supported floor, and what upstream requires) renders at the proven settings, and a card with real headroom automatically gets the larger texture atlas and finer mesh that upstream's own reference settings use. Nothing about the Apple Silicon lane changes, and it remains the default, so an existing Mac install renders exactly as before.++ PortOS now actually looks at your GPU instead of assuming there isn't one: it reads the installed NVIDIA driver for each card and its memory, and that reading is what decides whether the CUDA target appears and which quality lane it uses. The check distinguishes three states rather than two, which is what keeps the card honest — "this machine has no NVIDIA GPU", "it has one, here's how much memory", and "the driver is installed but wouldn't answer" (a driver mid-update, most often). Only the first hides the target; the last says *"Could not detect this host's GPU"* rather than claiming you don't have one. On a machine with no NVIDIA hardware at all the CUDA target simply isn't listed, so a Mac's 3D page looks exactly as it does today rather than gaining a permanently-red card for hardware it will never have.++ Because upstream TRELLIS.2 builds its GPU extensions from source and supports Linux only, the target reports **"Requires a Linux host (use WSL2 on Windows)"** on a Windows machine that *does* have a qualifying card — a blocker worth naming, since it's one you can act on, unlike missing hardware. A Windows user reaches this lane by running PortOS inside WSL2, and a federated Linux + NVIDIA peer gets it directly. The same GPU reading also now drives the FLUX.2 image-gen installer's choice between the CUDA and CPU builds of PyTorch, so the two features can no longer disagree about what hardware is in the machine.+## Changed+ - **Dashboard widgets are sized by their content and float up into the space above them, and the "MODULE.04 // ALERTS" tabs are gone.** The grid used to lay every cell out at the row count stored in the layout, so a card with two lines in it still reserved five 80px rows and left the rest as dead space — with more of it wherever a gated widget dropped out or a hand-arranged row was uneven. Cells now measure their widget and pack in pixels: each one drops as high as it can go without landing on an already-placed cell that shares a column, which is what lets the space a short card doesn't use get reclaimed by whatever sits beneath it. Reading order (stored `y`, then `x`) still decides the packing order, so the result matches the arrangement that was saved rather than reshuffling to whatever fits best. Nothing gets clipped on the way in either — a widget taller than its declared rows used to be cut off by the cell's `overflow-hidden`, and now grows. A widget that renders *nothing* (several self-hide on empty data without carrying a `gate`, so a fresh install hits this as the normal state) now takes up nothing rather than reserving its declared slot — a measured 0 is a real height, distinct from "hasn't measured yet," which is the difference the cell keys on. Arrange mode floors those to a grabbable 48px so the handles have somewhere to sit.++ Heights are still adjustable, they're just opt-in: dragging the ↘ handle's vertical axis pins that cell (`fixedH: true` on the grid item), and a ⌃⌄ handle appears on pinned cells in Arrange mode to hand the height back to the content. Stored `h` survives as the first-paint fallback and is refreshed from the measurement on every commit, which is also what a client too old to know about `fixedH` renders from — an install that hasn't updated yet reads a layout saved by one that has and lays it out close to right. The drag math moved into the pack's coordinate space along with it, because once heights are measured, stored `y` describes an ordering and not a position: reasoning in stored rows would have moved the cursor and the card at different speeds.++ The micrographic schematic tabs came off the eight widgets that carried them (and off the Apps empty state). They were pinned to the top border of the cell and the widget reserved a header strip to clear them, which is a fixed cost in the exact dimension this change is trying to reclaim — and a "MODULE.01 // HEALTH" label above a card already titled "System Health" is chrome, not information. `SchematicLabel` itself stays; the Chief of Staff task lists still use it.+- **Quota Burn's per-family "Provider ID" and "Window scope" boxes are gone.** Both were free-text overrides for decisions the page already makes correctly on its own: the family match already prefers the watchable TUI provider over the headless CLI (a hand-typed id could only ever pick a worse one), and window targeting already reads *every* window on the card — the broadest one as the target the reset horizon and dispatch cap key on, the narrowest as the one that will refuse first, the tightest as the one the reserve guards. Scope was a free-text filter over that, so its realistic uses were "type the same thing the classifier already picked" or "type a word this provider doesn't publish and silently never burn." A job still carries its own optional `providerId`, which is the level where naming a specific provider actually means something. Configs written before this load unchanged — the normalizer drops both keys on the next save — and migration 221 no longer carries them over from the retired per-app shape.- **Quota burn's dispatch cap is now opt-in — `-1` (unlimited) is the default, so a plan stops when the *quota* says so rather than when a tally runs out.** `maxDispatchesPerWindow` counted how many burns one target window could spend, and at its old default of 5 it was routinely the first gate to close: a weekly window with days left and headroom above the reserve would sit idle at "dispatch cap reached (5/5)" — the exact "allowance expires unused" outcome the feature exists to prevent. It read as a safety property, but the gates that actually bound spend all measure live numbers: the reset horizon (`resetWithinHours`), the reserve (`reservePercent`, checked against the *tightest* window on the card), and the provider's own refusal, which blocks the family outright when the short window empties underneath a weekly plan. A count stacked on top of those adds no protection they don't already give. A hard ceiling is still available — set 1–50 on the family card — and the window is charged either way, so the card still shows how many burns it has spent (with no denominator when uncapped). `0` is deliberately not accepted: "never burn" is what switching the family off means, and the client's number field collapses anything below 1 to the sentinel so stepping the spinner down can't 400. Migration 226 lifts an existing plan that still carries the old default of 5 — a changed default reaches nobody otherwise, since the normalizer has written that 5 into every install's `quota-burn.json` — while any other stored value is a number the user chose and is left alone.