Skip to content

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

Merge remote-tracking branch 'origin/main' into pr1244-merge

[._.]/ Adam Eivyd4d1484c1d1f
diff --cc .changelog/NEXT.md
index 6348a5c3c5,e5e1480eec..69c6cc8f6b
--- a/.changelog/NEXT.md
+++ b/.changelog/NEXT.md
@@@ -2,8 -2,8 +2,10 @@@
## Added
+- **Describe a canon character / place / object from reference image(s)** — Each canon card in the Universe editor (Cast, Places, Objects) gains a **Describe from image(s)** button (the scan-text icon next to Render). Upload one reference image to turn it into an image-gen-ready prose description, or several images of the *same* subject (a character from multiple angles, a location across lighting conditions) and a vision model returns the description **common to all of them** — ignoring incidental differences like pose, background, and framing. You pick the **provider + model on demand** in the modal (only API/vision-capable providers are offered), edit the generated prose before applying, and it writes straight into the entry's descriptor field (`physicalDescription` for characters, `description` for places/objects) — the same field the render prompt reads. Vision runs through the existing API runner's `image_url` content-block path; the new `runPromptThroughProvider({ screenshots })` arg threads images through the shared runner, and the stateless `POST /api/universe-builder/describe-from-images` endpoint resolves an API provider (clear `NO_API_PROVIDER` error if none is configured) and builds the per-kind vision prompt. (`server/services/universeVisionDescribe.js`, `server/routes/universeBuilder.js`, `server/lib/promptRunner.js`, `client/src/components/universe/VisionDescribeModal.jsx`, `client/src/components/pipeline/CanonCard.jsx`, `client/src/components/universe/UniverseCanonSection.jsx`)
+
+ - **Live LoRA training progress — watch the adapter learn, sample by sample** — A running training job used to show only a progress bar, a status line, and a single 32×32 thumbnail of the most recent preview. The active-run panel (`/media/training`) now renders a **live sample gallery**: a large current preview with its step label, a scrollable step-keyed thumbnail strip to scrub back through every earlier sample (so you can spot the moment a run starts to diverge), a **loss sparkline** that builds up over the session, and step / elapsed / **ETA** metrics. Samples merge two sources so a mid-run browser reload still shows the full timeline — a one-shot seed from a new `GET /api/lora-training/runs/:id/samples` endpoint (every preview persisted so far) plus the live SSE frames since re-subscribe. To drive the curve and key the thumbnails without re-parsing display strings, the trainer's STEP/SAMPLE line protocol now carries structured `loss` and `step` fields through the media-job SSE wire (additive — image/video gen frames are unaffected). (`server/services/loraTraining/progress.js`, `server/services/loraTraining/checkpoints.js`, `server/services/loraTraining/index.js`, `server/services/mediaJobQueue/index.js`, `server/routes/loraTraining.js`, `client/src/components/loraTraining/LiveSampleGallery.jsx`, `client/src/components/loraTraining/TrainingPanel.jsx`)
+
- **`/do:next` hot button on the app manage page** — The Agent Operations panel on an app's Overview tab gains a **`/do:next`** button alongside `/do:push`, `/do:review`, `/do:replan`, and the rest. One click queues a CoS agent that claims the next unclaimed `PLAN.md` item, works it in an isolated worktree, and ships a PR — the consumer counterpart to `/do:replan`. The bundled **slashdo** submodule was updated to the latest release (which ships the `do:next` command). (`lib/slashdo`, `client/src/components/apps/SlashDoPanel.jsx`, `server/routes/cosTaskRoutes.js`)
- **Add canon characters / places / objects by hand** — Each canon section in the Universe editor (Cast, Places, Objects) now has an **Add** button next to "Pick from Catalog" — the same manual-add affordance the variation buckets already had. Click it, type a name (and optionally a description), and Save mints a new canon entry you can immediately render, refine, and fill in. The entry lands unlocked (so its inline editors are usable right away), dedupes case-insensitively against existing names, and persists through the same optimistic-append path as the catalog picker — so you no longer have to extract from prose, pick from the catalog, or promote a variation just to start a character. (`client/src/components/universe/UniverseCanonSection.jsx`)