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 feat/lora-gated-repo-and-dataset-reassign
[._.]/ Adam Eivyad45d5d7450c
diff --cc .changelog/NEXT.mdindex a41ffcdeda,b5887a4f23..3f5086d6c1--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@@ -12,9 -12,11 +12,13 @@@- **Video LoRAs — install LTX-2 LoRAs from HuggingFace and fuse them into Video Gen renders** — LoRA support now extends past image models to the **dgrauet `ltx2` video runtime**. A new **"Install video LoRA from HuggingFace"** box on the LoRA Manager (`/media/loras`) takes any HF repo URL or `org/name` id (e.g. `fal/ltx2.3-audio-reactive-lora`), fetches the repo metadata, picks the `.safetensors`, auto-detects the video family from the repo id / tags / `base_model` (LTX-Video → `ltx-video`), and writes a sidecar — the HuggingFace analogue of the existing Civitai installer (gated repos use your HuggingFace token from Image Gen settings). Video Gen (`/media/video`) gains a **LoRA picker** that appears only on an LTX-2 (`ltx2`) model, filtered to the `ltx-video` family, with per-LoRA strength and a trigger-word append button — the same component the Image Gen page uses. Selected LoRAs fuse into the transformer via the pipeline's `_pending_loras` hook (the exact mechanism upstream's `ltx-2-mlx generate --lora` CLI uses), so they apply across **every** mode — text, image, FFLF, extend, and audio-to-video — including multi-chunk chains. Applied LoRAs are stamped into the video-history entry and round-trip through the resume/Remix flow. Only the `ltx2` runtime can fuse LoRAs today; the route and service reject LoRAs on the legacy `mlx_video` / `wan22` / `hunyuan` runtimes with a clear error. (`server/lib/huggingfaceLora.js`, `server/services/loras.js`, `server/routes/loras.js`, `server/services/videoGen/local.js`, `server/routes/videoGen.js`, `scripts/generate_ltx2.py`, `server/lib/runners.js`, `client/src/lib/runnerFamilies.js`, `client/src/pages/VideoGen.jsx`, `client/src/pages/Loras.jsx`)+ - **Suggested video LoRAs + Image/Video filter on the LoRA Manager** — The LoRA Manager (`/media/loras`) only suggested image LoRAs (Civitai per-runner-family), so a video LoRA like `fal/ltx2.3-audio-reactive-lora` was reachable only by knowing its repo and pasting it into the install box. A new **Video LoRAs** section now surfaces a curated quick-install list of HuggingFace LTX-Video LoRAs alongside the Civitai suggestions — one click installs through the HF path with the right family pre-stamped. An **All / Image / Video** filter at the top of the page narrows *both* the suggestion panel and the installed list by media type, so a video-focused session isn't buried under image suggestions. Curated video cards mark themselves "Installed" by matching the installed sidecar's HF repo, and installed video LoRAs now link back out to HuggingFace from their card. The curated list enriches each card with HuggingFace metadata best-effort (description/preview) and degrades to the static card on a fetch failure, caching for an hour like the Civitai panel. (`server/services/videoLoraSuggestions.js`, `server/routes/loras.js`, `server/services/loras.js`, `server/lib/runners.js`, `client/src/lib/runnerFamilies.js`, `client/src/pages/Loras.jsx`)+## Changed- - **Reassign a LoRA training dataset to a different universe character** — A dataset was permanently bound to the character you picked when you created it — a mis-pick (or a character you later renamed/restructured) meant deleting the dataset and rebuilding all its images from scratch. The dataset workbench header (`/media/training/:id`) now has a **Reassign** button next to the character name: pick a different universe + character and the dataset's images, captions, and trigger word all move with it (the trigger word is left as-is — edit it separately if the new character needs its own token, which re-prefixes captions as before). Reassigning onto a character that already owns a dataset is refused (one dataset per character), and the picker is the same universe→character cascade the "New dataset" dialog uses, factored into a shared `UniverseCharacterPicker`. (`server/services/loraDatasets.js`, `server/routes/loraDatasets.js`, `client/src/pages/LoraDatasetDetail.jsx`, `client/src/components/loraTraining/UniverseCharacterPicker.jsx`, `client/src/pages/LoraTraining.jsx`)++- **Reassign a LoRA training dataset to a different universe character** — A dataset was permanently bound to the character you picked when you created it — a mis-pick (or a character you later renamed/restructured) meant deleting the dataset and rebuilding all its images from scratch. The dataset workbench header (`/media/training/:id`) now has a **Reassign** button next to the character name: pick a different universe + character and the dataset's images, captions, and trigger word all move with it (the trigger word is left as-is — edit it separately if the new character needs its own token, which re-prefixes captions as before). Reassigning onto a character that already owns a dataset is refused (one dataset per character), reassignment is blocked while a training run is in flight, and the picker is the same universe→character cascade the "New dataset" dialog uses, factored into a shared `UniverseCharacterPicker`. (`server/services/loraDatasets.js`, `server/routes/loraDatasets.js`, `client/src/pages/LoraDatasetDetail.jsx`, `client/src/components/loraTraining/UniverseCharacterPicker.jsx`, `client/src/pages/LoraTraining.jsx`)+++ - **LoRA dataset workbench now coaches toward a quality target, not just the 10-image floor** — The readiness summary only knew two states ("add more" / "ready to train"), so a barely-trainable 10-image dataset looked just as finished as a strong 25-image one. The workbench now tracks a recommended quality target (~20, sweet spot 20–30) alongside the hard `MIN_TRAINING_IMAGES` floor: the count badge turns amber while trainable-but-thin and green once it clears the target, the sub-label tells you exactly how many more captioned images are recommended, and the Train panel echoes the same nudge. A new collapsible **"Tips for a strong character dataset"** panel spells out the variety that actually matters — vary angle, framing (face close-ups + full-body), pose, expression, outfit, lighting, and background; keep it single-subject and on-model; drop blurry/near-duplicate frames. The **Generate** batch dialog now defaults to 20 images (was 12) and notes the sweet spot inline. Advisory only — the server still trains any dataset that clears the 10-image gate. (`server/lib/loraDataset.js`, `client/src/pages/LoraDatasetDetail.jsx`, `client/src/components/loraTraining/TrainingPanel.jsx`, `client/src/components/loraTraining/GenerateBatchDialog.jsx`)- **LoRA dataset caption fields auto-size to their content** — Each image card's caption box was a fixed 3-row textarea, so anything longer than ~3 lines was clipped behind an internal scrollbar (and you had to drag the corner to read it). The caption field now grows to fit its full caption by default — no scrolling, no manual resize — with a comfortable minimum height for short/empty captions. Factored into a reusable `useAutoSizeTextarea` hook + `AutoSizeTextarea` component for any future auto-growing field. (`client/src/components/loraTraining/DatasetImageGrid.jsx`, `client/src/components/ui/AutoSizeTextarea.jsx`, `client/src/hooks/useAutoSizeTextarea.js`)diff --cc client/src/pages/LoraDatasetDetail.jsxindex ef7b215d60,1a641fd262..a0315b5d01--- a/client/src/pages/LoraDatasetDetail.jsx+++ b/client/src/pages/LoraDatasetDetail.jsx@@@ -10,7 -10,7 +10,7 @@@import { useState, useEffect, useMemo, useRef, useCallback } from 'react';import { useParams, Link } from 'react-router-dom';import {- ArrowLeft, Loader2, Upload, Wand2, Scissors, Tags, RefreshCw, AlertTriangle, Images, Replace,- ArrowLeft, Loader2, Upload, Wand2, Scissors, Tags, RefreshCw, AlertTriangle, Images, Lightbulb,++ ArrowLeft, Loader2, Upload, Wand2, Scissors, Tags, RefreshCw, AlertTriangle, Images, Replace, Lightbulb,} from 'lucide-react';import toast from '../components/ui/Toast';import Modal from '../components/ui/Modal';