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-2196
Adam Eivy3dbcc964fd01
diff --cc .changelog/NEXT.mdindex 281c535cf1,206874a1b0..85bdcc601c--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@@ -39,7 -45,7 +45,8 @@@- **Installing a video LoRA from HuggingFace now shows live download progress.** The LoRA Manager's "Install video LoRA from HuggingFace" form (and the curated video quick-install buttons) used to freeze on a static "Downloading…" label with no indication of how far along a multi-GB LoRA was — unlike image-model downloads, which show a percentage. The install now streams byte-level progress over SSE: the button shows `Downloading 42%` and a progress bar with `received / total` bytes fills as it downloads (an indeterminate pulse when the server can't read a Content-Length). Errors — including the "couldn't detect the model family" case that offers the inline "Install as LTX-Video" retry — still surface exactly as before.- **The LoRA Manager's Installed list is now grouped by Video / Image.** The curated "Video LoRAs" suggestion cards sat directly above a single flat "Installed" grid, so installed *image* LoRAs looked like they belonged to the video section. The Installed section is now visually divided from the suggestions and, in the "All" view, splits into labeled **Video LoRAs** / **Image LoRAs** subsections (mirroring the suggestion panel) so it's obvious which renders each LoRA applies to. The Image/Video filter still collapses it to a single scoped list.- **[issue-2036] Sketch & Annotation Canvas (phase 2): re-render an image guided by your annotations.** The annotate page (`/media/annotate/:mediaKey`) gained a "Re-render" action: draw over a generated image, then feed your markup back through local img2img so the marks reshape the render. A confirmation dialog names the exact local model it will run (no surprise AI calls) and lets you add an optional prompt and tune how much to change before it starts; the new render is queued and appears in Media History. Requires a local FLUX img2img runner — the action explains when one isn't available. Phase 3 (blank-canvas storyboard) remains open on #2036.+- **[issue-2196] Video Gen now takes an exact custom Width×Height.** The `/media/video` page only offered a 9-item resolution preset dropdown, so a size the presets didn't cover was only reachable via URL params, remix/continue, or aspect-snap on upload. Two numeric Width and Height inputs now sit beside the preset select — type any dimensions and the render uses them (the server still rounds each down to a multiple of 64 and enforces the per-tier pixel budget). Uploading a source image still auto-snaps the size to the image's aspect ratio by default, until you take the dimensions into your own hands.+ - **[issue-2197] First-run model downloads now show GB progress instead of raw text.** The video and image generation handlers now parse byte sizes from `DOWNLOAD:` markers and tqdm progress bars, displaying a formatted "Downloading model · first run · X.X GB / Y.Y GB" message instead of the raw protocol output. Progress frames include `downloadedBytes`/`totalBytes` numeric fields so the UI can build download progress bars. Phase tracking (`isDownloading`, `currentPhase`) ensures the formatting only applies during actual download phases.## MeatSpace POSTdiff --cc client/src/pages/VideoGen.jsxindex d37cf5fd40,19590f3b44..6b5797befe--- a/client/src/pages/VideoGen.jsx+++ b/client/src/pages/VideoGen.jsx@@@ -1725,33 -1713,43 +1725,68 @@@ export default function VideoGen())}{VIDEO_RESOLUTIONS.map((r) => <option key={r.label} value={r.label}>{r.label}</option>)}</select>+ <div className="flex items-center gap-1 mt-1">+ <input+ type="number"+ min={64}+ max={2048}+ step={64}+ value={width}+ onChange={(e) => {+ const v = Number(e.target.value);+ if (Number.isFinite(v) && v > 0) {+ setWidth(v);+ sizeManuallySetRef.current = true;+ }+ }}+ className="flex-1 min-w-0 bg-port-bg border border-port-border rounded-lg px-2 py-1.5 text-xs text-white focus:outline-none focus:border-port-accent disabled:opacity-50"+ title="Width in pixels (will be floored to a multiple of 64)"+ />+ <span className="text-gray-500 text-xs">x</span>+ <input+ type="number"+ min={64}+ max={2048}+ step={64}+ value={height}+ onChange={(e) => {+ const v = Number(e.target.value);+ if (Number.isFinite(v) && v > 0) {+ setHeight(v);+ sizeManuallySetRef.current = true;+ }+ }}+ className="flex-1 min-w-0 bg-port-bg border border-port-border rounded-lg px-2 py-1.5 text-xs text-white focus:outline-none focus:border-port-accent disabled:opacity-50"+ title="Height in pixels (will be floored to a multiple of 64)"+ />+ </div></FormField>+ {/* Free-form W×H for exact I2V sizing beyond the preset list. Drives+ the same width/height state as the preset select; the "(custom)"+ option above reflects any off-preset value. The server accepts+ 64..2048 and rounds each dim DOWN to the 64-grid, so an off-grid+ size here renders at the next-lower multiple of 64. */}+ <FormField label="Width" labelClassName="block text-xs font-medium text-gray-400 mb-1">+ <input+ type="number" min={64} max={2048} step={64}+ value={width}+ onChange={handleDimensionChange(setWidth)}+ title="Custom width in px (64–2048) — the server rounds down to the nearest multiple of 64."+ className="w-full bg-port-bg border border-port-border rounded-lg px-2 py-2 text-sm text-white focus:outline-none focus:border-port-accent disabled:opacity-50"+ />+ </FormField>++ <FormField label="Height" labelClassName="block text-xs font-medium text-gray-400 mb-1">+ <input+ type="number" min={64} max={2048} step={64}+ value={height}+ onChange={handleDimensionChange(setHeight)}+ title="Custom height in px (64–2048) — the server rounds down to the nearest multiple of 64."+ className="w-full bg-port-bg border border-port-border rounded-lg px-2 py-2 text-sm text-white focus:outline-none focus:border-port-accent disabled:opacity-50"+ />+ </FormField>+<FormField label="Frames" labelClassName="block text-xs font-medium text-gray-400 mb-1"><selectvalue={numFrames}