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
Release v1.52.0
Released: 2026-05-10
Full Diff: https://github.com/atomantic/PortOS/compare/v1.51.0...v1.52.0
Added
Lightbox prev/next navigation across Image Gen, Video Gen, and Media History. The MediaLightbox now exposes left/right chevron buttons (visible on hover, top of the modal at
top-1/2 -translate-y-1/2) and bindsArrowLeft/ArrowRightkeyboard shortcuts so you can flip through the active gallery without closing/reopening. Each page passes its own filtered+sorted list as the navigation source — Image Gen uses visible+hidden gallery (respecting the "show hidden" toggle), Video Gen uses visible+hidden history (same toggle), and Media History uses the search/filter-scoped merged timeline so you only navigate within what's currently visible. New helpers:getAdjacentMedia(items, item)returns{ previous, next, hasPrevious, hasNext }keyed byitem.key, andgetMediaNavProps(items, item, onSelect)returns the four ready-to-spread Lightbox props so call sites stay one line.Auto-refresh Image Gen, Video Gen, and Media History on completion. The three media pages now subscribe to
image-gen:completed/video-gen:completedsocket events via a newuseMediaCompletionRefreshhook and silently re-fetch their galleries (250 ms debounce to coalesce burst completions). MediaHistory'srefresh()gains asilent: trueoption so the auto-refresh doesn't flash the loading state on top of the existing list. No need to reload the page after a render finishes — the new image/video appears in place.World Builder: world-pitch-poster composite board kind. The
compositeSheetslist now distinguishes between two complementary board kinds:reference_sheet(existing — costume guides, material swatches, fastener icons) andworld_pitch_poster(new — single-image cinematic concept-pitch posters with a hero panorama, inset environments, palette/materials strips, theme icons, and section headers like "The World", "The Feel", "Cultures"). The expansion prompt asks the LLM to emit 1-3 pitch posters in addition to any reference sheets when the starter idea spans a broad world/setting, and warns it to keep "text" out of the negativePrompt for those (so titles/section labels can render). Each sheet'skindis editable in-place via a select in the Composite Boards editor; when rendered, pitch posters are tagged withcategory: 'world_pitch_posters'instead ofcomposite_sheetsso they're separable downstream. ServerCOMPOSITE_SHEET_KINDSis the canonical enum (frozen, mirrored client-side); unknown kinds coerce toreference_sheetfor forward-compat. UI strings flipped from "composite sheets" to "composite boards" to reflect the broader scope.World Builder: custom categories + composite reference sheets. The world template is no longer locked to the original five buckets (landscapes/environments/characters/structures/vehicles). The expansion prompt now asks the LLM for 5–12 categories of its choosing in snake_case (e.g.
colonies,factions,species,clothing_styles,material_palettes,raider_clans) and the editor exposes an Add category input plus a per-category remove button — so a "Gas-Giant Drifters costume systems" world can carry the buckets it actually needs instead of being shoehorned into "characters". A new top-levelcompositeSheetsarray stores complete reference-board prompts (up to 4000 chars each, up to 50 per world) that combine multiple buckets into one image — costume sheets, material swatches, color palette strips, fastener/accessory icon boards, etc. — and the LLM is prompted to emit 3–8 of them when the starter idea involves clothing/colonies/factions/cultures/species/vehicles. The Batch render panel gains a Prompt set picker (Composite sheets / Atomic variations / Everything), and successful expansion that produced any sheets auto-selects the sheets mode so the next click renders the boards. Server-side:WORLD_CATEGORIESis now a starter list, not a contract;categorieszod schema isz.recordwith a 30-bucket cap and a 64-char key cap;normalizeCategoryKeysnake-cases incoming keys (Clothing Styles→clothing_styles) on both client and server so saved worlds stay portable;compilePromptsacceptspromptMode+sheetSelectionand tags rendered sheets withcategory: 'composite_sheets'. TheextractJsonshape-detector accepts responses that have onlycompositeSheets(no variations), and the expansion logger now reports per-bucket counts plus sheet count for fast debugging. Tests cover key normalization, custom-bucket round-trip, sheet sanitization, the new prompt-mode branches incompilePrompts, and the route schemas for arbitrary category names.Search box on Media History.
/media/historygains a search input (top-left of the toolbar) that filters the merged image+video timeline as you type. Whitespace tokens are AND-combined (e.g.sunset flux2 1024matches items whose searchable haystack contains all three substrings, in any order), and the haystack covers prompt, negative prompt, model id, filename, kind, seed, dimensions, LoRA names, plus virtual tokens forextracted frame/stitched/upscaled 2xso the existing corner badges are reachable through the search bar. Item counts in the Images / Videos / All filter chips update against the search-scoped totals, and the empty state offers a one-click "Clear search" when nothing matches. Haystacks are precomputed once per items list (memo keyed onitems) so each keystroke only re-runsString.includes(), not array-build + join + lowercase per item — keeps the UI responsive on 500+ item galleries.Extracted video frames carry their video's prompt. When you click "Continue" on a video card, PortOS extracts the last frame as a PNG into the gallery — that PNG now also gets a sidecar metadata.json copying the source video's
prompt,negativePrompt,modelId,width/height, andseed, plus provenance fields (extractedFromVideoId,extractedFromVideoFilename,kind: 'extracted-frame'). The Media History card surfaces a yellowframecorner badge so extracted frames are visually distinct from raw renders, and the new fields flow through the search haystack so a query likeextracted frame(or any prompt term from the parent video) filters the gallery to those frames. Sidecar write useswriteFile({ flag: 'wx' })so cache-hit re-clicks are race-free and cheap; pre-existing extracted frames get backfilled on the next continue-click without re-running ffmpeg.ERNIE-Image runner. Adds
runner: 'ernie'so PortOS can drive Baidu's ERNIE-Image (8B DiT, Apache 2.0, no HF login) — both the SFT model (baidu/ERNIE-Image, 50 steps, guidance 4.0) and the Turbo distilled variant (baidu/ERNIE-Image-Turbo, 8 steps, CFG-disabled). Reuses the FLUX.2 venv (same diffusers + torch stack, no extra setup step). The runner script gains a generic--pipeline-classarg (used here forErnieImagePipelinesince it isn't yet inAutoPipelineForText2Image's registry) and a--use-peflag for ERNIE's built-in Prompt Enhancer module — both passed only when the loaded pipe accepts them, so existing Z-Image renders are unaffected. LoRA picker, suggestion search, and Civitai'sbaseModelmapping all gain the'ernie'family.Multi-version curated cards — a curated suggestion (e.g.
hyperdetailed-colored-pencil) typically has separate Civitai versions per base model (Flux.1, Flux 2 Klein 4B, Klein 9B, Z-Image-Turbo, ERNIE…). The card now renders one Install for X button per available family, each installing the family-specific version via that family's?modelVersionId=.... Buttons flip to ✓ Installed independently, so you can install the Flux 2 version today and the Z-Image one later. Server-sidebuildCuratedCard()walks everymodelVersions[]entry and builds aninstalls: { mflux, flux2, 'z-image', ernie }map (first match per family wins; versions without a.safetensorsfile are skipped).One-click LoRA trigger-word insertion. Each selected LoRA in the Image Gen picker now exposes a small
+ triggerbutton next to its scale input — click it to append the LoRA's trigger words to the prompt, comma-separated, deduped (case-insensitive substring match against the existing prompt so re-clicking is a no-op). The "Test" deep-link from the LoRAs manager page (/media/image?lora=<filename>) also auto-inserts the trigger words on preselect — when a user clicks "Test this LoRA," they want to actually see the LoRA fire, which most LoRAs only do once the trigger is in the prompt. HelperappendTriggerWords()lives inImageGen.jsxfor now; would extract togenUtils.jsif reused elsewhere.Suggested LoRAs panel on the manager page.
/media/lorasnow leads with a "Suggested LoRAs" section that surfaces (1) a hand-curated list of picks that work well across the family — initiallyhyperdetailed-colored-pencil,anime-art,dark-ghibli-fairytales,ars-midjourney-watercolor— and (2) per-runner-family top-N from Civitai's "Most Downloaded" endpoint (Flux 1 / Flux 2 / Z-Image). Each card shows the preview thumbnail, runner-compat badges (derived from the model's actualmodelVersions[].baseModel, so a multi-base-model upload shows all the badges it deserves), creator, downloads count, and an expandable "Sample prompt" section pulled fromimages[0].meta.prompt. Quick install routes through the same path as URL-paste, so the auth-prompt modal still fires for gated LoRAs and the same lockfile-collision protection applies. Cards already installed render as a green "Installed ✓" pill instead of the install button. Server: newserver/services/civitaiSuggestions.js(in-memory 1-hour TTL cache per family, independent caches so a Z-Image search returning zero doesn't poison Flux), newsearchCivitaiLoras()+extractSamplePrompt()helpers incivitai.js, newGET /api/loras/suggestionsroute (with?force=1to bust cache). 5 new tests cover the curated/runners shape, partial-failure tolerance, cache hit/miss, force-refresh, and runner-family derivation from multi-version models.In-UI Civitai API key prompt. When a Civitai install fails because the LoRA is gated (HTTP 401/403 from either the metadata or download endpoint), PortOS now opens an inline modal asking for an API key — paste it, click "Save key & retry install", and the same install fires again with the freshly-saved key in scope. The Manager page also surfaces a green "Key saved" / blue "Key (env)" / grey "Add API key" pill in the install form so users see at a glance whether a key is configured, and the modal includes a "Clear" button to remove a settings-level key (with a hint that the env-var key, if set, takes over after clearing). New endpoints:
GET /api/loras/auth/civitai(returns{ hasKey, source }— the key itself never round-trips),POST /api/loras/auth/civitai,DELETE /api/loras/auth/civitai. Client API:getCivitaiAuth,setCivitaiAuth,clearCivitaiAuth. The install client now also takessilent: trueso the auth-error path bypasses the auto-toast and reaches the modal cleanly.Civitai LoRA manager. A new
Media Gen → LoRAstab (/media/loras) lets you paste any Civitai model URL —https://civitai.com/models/...,https://civitai.red/..., a numeric model id, orcivitai:<id>shortcut — and PortOS fetches the metadata, picks the primary.safetensors, streams the download intodata/loras/, and writes a sidecar JSON next to it with trigger words, recommended scale, base model, creator, preview image URL, and the Civitai version id. Each card shows the preview thumbnail, a runner-family badge (Flux 1 / Flux 2 / Z-Image / Unsupported), trigger words, recommended scale, file size, and three actions: Test (deep-links into/media/image?lora=<filename>which preselects the LoRA and seeds its scale from the recommended value), Open on Civitai, and Delete. The Image Gen LoRA picker now reads the same registry, filters down to LoRAs whoserunnerFamilymatches the selected model's runner (or has no family — legacy/unknown), shows trigger words inline, and applies the recommended scale by default when you tick a LoRA. Restricted/adult LoRAs that need a logged-in download work via either theCIVITAI_API_KEYenv var orcivitai.apiKeyindata/settings.json. New endpoints:GET /api/loras,POST /api/loras/install,GET /api/loras/:filename,PATCH /api/loras/:filename,DELETE /api/loras/:filename. Server:server/lib/civitai.js(URL parsing, version/file picking, sidecar shape) +server/services/loras.js(install/list/patch/delete with stream-to-disk + .partial finalizer). The runner side gets a best-effortapply_loras()helper added toscripts/flux2_macos.pyandscripts/z_image_turbo.py(calls diffusers'pipe.load_lora_weights()+pipe.set_adapters()and logs+continues on shape mismatch rather than aborting the render);mfluxcontinues to receive LoRAs through its existing--lora-paths/--lora-scalesCLI surface. TheIMAGE_GEN_FLUX2_LORA_UNSUPPORTEDguard is removed — flux2 and z-image runners now plumb LoRAs through too. 45 new tests cover the Civitai URL-shape parser, version/file/preview picking, the auth header / download token plumbing, sidecar shape, and the install/list/delete service path (using a fake fetchImpl + temp loras dir).Z-Image-Turbo support in image gen. A new
runner: 'z-image'lets PortOS render through Tongyi/Alibaba's Z-Image-Turbo (6B distilled DiT, ~8 steps, Apache 2.0 — no HF token / license-acceptance required, unlike FLUX.2). Two registry entries seed by default in/.portos/venv-flux2data/media-models.json:z-image-turbo-bf16(Tongyi-MAI/Z-Image-Turbo, ~13 GB on a 32 GB+ Mac or 16 GB+ CUDA card) and a hiddenz-image-turbo-quanttemplate (set therepoand clearbroken: trueto point at a community quantized port). The runner reuses the FLUX.2 venv at `(already hasdiffusersfrom git HEAD +torch+ MPS support), so no extra setup step. Wires through both txt2img and i2i (init image + strength) on day one, with stepwise live-preview frames and the same SSE / cancel / metadata-sidecar plumbing the FLUX.2 runner already uses. New script:scripts/z_image_turbo.py. Registry now also tracks_shippedDefaults.imageso future built-in models land on existing installs without overwriting user customisations or undoing user deletions. 9 new tests cover the dispatch branch (server/services/imageGen/local.test.js) and the image upgrade path (server/lib/mediaModels.test.js`).World Builder for Media Gen. A new
Media Gen → World Buildertab (/media/world-builder) takes a one-line starter prompt — e.g. "moebius and scavengers reign meets Prophet inspired sci fi universe" — and asks the LLM of your choice to expand it into a structured prompt set: a positivestylePromptprefix, anegativePrompt, and 6–10 variations across five canonical buckets (landscapes, environments, characters, structures, vehicles). You can edit any field, save the world, then kick off a batch render that compilesstylePrompt + variation.promptfor every selected bucket and queues them through the existing image-gen pipeline (local mflux or Codex; external SD-API not supported for batches). Each batch lands in an auto-named Media Collection ("World: — ") so the renders stay grouped with the template that produced them. Worlds support full CRUD, the LLM provider/model is per-template (falls back to active provider), and runs are logged with deep-links into the resulting collection. Backed byserver/services/worldBuilder.js(storage + prompt compilation),server/services/worldBuilderExpand.js(LLM call),server/routes/worldBuilder.js(REST surface), andserver/services/worldBuilderCollectionHook.js(hooks media-job completion → collection assignment). State persists indata/world-builder.json. 20 new tests cover sanitizers, compile-prompts logic, and the route surface.Workflow tab in Chief of Staff with canonical project-maintenance ordering. A new
/cos/workflowpage (and aWorkflowtab in the CoS panel) renders the full set of scheduled tasks and autonomous jobs as a left-to-right pipeline grouped into seven canonical stages — Hygiene → Review → Plan → Audit → Build → Report → Ambient — so it's obvious which work happens before which. Each card surfaces its own schedule, last-run time, run count, enabled state, and live "due / waiting / disabled / waiting-on-dependencies" badge, plus inlinerunAfterarrows showing hard prerequisites. Backed by a newGET /api/cos/workflowendpoint andserver/services/workflow.jswith stage definitions, gate state for jobs, and dependency edges. Two defaultrunAfterwirings ship with this:do-replanruns afterpr-reviewerandbranch-cleanup(so the plan reflects merged reality), andfeature-ideasruns afterdo-replan(so new feature work lands on a fresh plan). Both can be overridden per task or per app from the existing Schedule tab.Clean button on Image Gen lightbox. Generated images now expose a Clean control with
LightandAggressiveoptions that runs the dev-tool Image Cleaner (median denoise + C2PA strip + sharp re-encode) over the file in place and writes the result back to the gallery as<base>_clean-<level>.pngwith the source's prompt/seed/model carried forward in a sidecar. New endpointPOST /api/image-gen/:filename/clean(refactors the cleaning core out ofimageClean.jsso both the base64 and file paths sharecleanImageBuffer()) and acleanGalleryImage(filename, level)client API. Idempotent at a level (re-running Light overwrites the previous Light copy) and the new image is spliced to the top of the gallery without a refetch. 10 new tests cover happy path, level differences, idempotency, traversal/PNG-only/missing-source rejections, and sidecar lineage.Render queue embedded on Image Gen and Video Gen pages; standalone
/media/queuepage removed. Both/media/imageand/media/videonow render a compact, kind-filtered live queue inline beneath the form — live job rows (with cancel) plus a collapsible "recent" toggle — backed by the existing/api/media-jobs?kind=image|videoendpoint (no new server surface). The dedicated/media/queuepage (pages/RenderQueue.jsx), itsRender Queuetab in the Media Gen tab strip, the App.jsx route, and thenav.media.queue⌘K / voice-nav entry are all gone — the new inline component (client/src/components/media/MediaJobsQueue.jsx) replaces it everywhere.Dismissible AI Recommendations on the Learning tab. Each recommendation in the Chief of Staff Learning Analytics panel now has an X to dismiss it. Dismissals persist to
data/cos/dismissed-recommendations.jsonand are filtered out of future loads. For count-based alerts (e.g., "unknown errors occurred 74 times"), the dismissal records the count snapshot and only re-surfaces if the count grows materially worse (≥1.5× and at least +20). Rate-based recommendations stay dismissed until restored. A "Show dismissed" expander lets you restore individual entries or clear them all.
Fixed
- Image Gen backend switcher no longer feels frozen mid-check. Clicking Local / Codex / External in the backend chip strip kicks off a status probe (e.g. SD API reachability for External, codex CLI version for Codex) — the buttons were already correctly
disabledduring the probe, but there was no visible feedback so the UI just felt unresponsive while the request was in flight. The clicked chip now swaps its icon for a spinningLoader2, the tooltip flips to "Checking - mflux corrupted-install detection. When mflux's entry-point shim references
mflux.models.flux.cli.flux_generatebut the importablemflux/package on disk is stuck at an older layout (file tree out of sync with the dist-info — easy to hit when~/.local/lib/python*/site-packages/mflux/and a conda-env mflux both exist at version 0.12.1 but were installed at different repackaging stages), the runner crashed with bare "Exit code 1" and a PythonModuleNotFoundError. PortOS now detects that specific traceback in the runner's stderr and surfaces an actionable message explaining the cause and the exactpip uninstall -y mflux && pip install --user --force-reinstall --no-cache-dir --no-deps mfluxrepair command.scripts/setup-image-video.shalso now passes--force-reinstall --no-depson the mflux install so subsequent setup runs flush the package's file tree without re-resolving torch/mlx and friends — heading off the divergence at the source. - Guidance input hidden for distilled image models; runner stops emitting "Guidance scale X is ignored" warnings. Step-wise distilled image models (Flux 1 Schnell, FLUX.2 Klein 4B/9B/Int8, Z-Image-Turbo) bake classifier-free guidance internally — any guidance scale > 1.0 is silently dropped by diffusers, which logs a noisy
"Guidance scale 7.0 is ignored for step-wise distilled models."line on every render. The registry now flags those entries withcfgDisabled: true(backfilled on existing installs by id, inserver/lib/mediaModels.js → backfillCfgDisabled), the Image Gen / World Builder Guidance input is hidden when the selected model has the flag set, andserver/services/imageGen/local.jspins the resolved guidance to1.0for cfgDisabled models so the runner's diffusers call stays quiet and the saved metadata sidecar reflects the value the model actually used. Any user override ofcfgDisabled(true OR false) on a custom registry entry wins. - World Builder expansion no longer 0-variations on Codex CLI responses. The expand-starter step had three failure modes against Codex's CLI provider that all manifested as "Expanded into 0 variations": (1) Codex echoes the user prompt back to stdout before the model's reply, and the prompt itself contains a JSON-shaped schema example (
{ "label": string (max 80 chars), "prompt": … }) — its braces balance but its contents are not valid JSON, so the previous first-balanced-block extractor crashed on it; (2) Codex occasionally emits an orphan}between a variation's close-brace and the array's](…blister"}}]}}}), makingJSON.parsethrow on otherwise-recoverable output; (3) some prompt variants embed small literal{ "label": …, "prompt": … }example variations that parse cleanly but are not the response, so the extractor would happily return the wrong object.extractJsonnow (a) walks every top-level brace-balanced block and tries each in order, (b) prefers a block that has any ofstylePrompt/negativePrompt/categoriesat the top level over an example-shaped one, and (c) attempts cheap repairs for trailing commas and the orphan-brace}}]→}]corruption before giving up. The expand path also logs the toolkitrunIdplus per-category variation counts so a 0-variation outcome is debuggable fromdata/runs/<id>/output.txt. Four new tests cover the Codex prompt-echo, orphan-brace, trailing-comma, and shape-preference cases. - CoS review-loop tasks now actually loop until clean and merge the PR. Previously, scheduled or user tasks running with worktree + openPR + reviewLoop only fired one Copilot review request and stopped — the worktree got cleaned up immediately, the PR sat with whatever feedback Copilot returned, and nothing addressed comments or merged. The fix adds a follow-up internal task that the original cleanup hook spawns once the PR is open and the initial Copilot review has been requested. The follow-up agent attaches a fresh worktree to the PR branch (via a new
existingBranchoption oncreateWorktree), runs the full/do:rpr-style poll/fix/push/re-request loop until Copilot returns zero unresolved comments (or hits a 10-iteration guardrail), then merges the PR withgh pr merge --squash --auto --delete-branch. The follow-up's own cleanup pass passesskipMerge: trueso the worktree branch isn't re-merged locally on top of the squash-merge gh just executed. GitLab MRs and other non-GitHub forges still skip the loop entirely (Copilot reviewer is GitHub-only). Seeserver/services/agentLifecycle.js(spawnReviewLoopFollowUp) andserver/services/agentPromptBuilder.js(reviewLoopFollowUpSection). - Dashboard form input no longer wipes when rotating between portrait and landscape.
DashboardGridwas returning two structurally different render trees on either side of the 640px breakpoint — a flat<div className="space-y-4">on mobile and a relative-positioned absolute-grid wrapper on desktop. Crossing the breakpoint (which happens any time you rotate an iPhone, since portrait ~390px is below it and landscape ~844px is above) put the widget at a different DOM depth, so React unmounted every widget and remounted a new one — taking any in-progressuseStatevalue with it. The Quick Capture text field reset to empty mid-typing. The grid now uses a single render tree across both modes, toggling onlyclassName/stylebetween flow and absolute layouts. Widget components keep their state across rotation. - Toast notifications and the eye-exam form no longer overflow on mobile. The agent-feedback toast had a hard
w-[480px]when expanded that overflowed past the right edge of a 375px viewport, and the global toast container'smax-w-[520px]could similarly extend past the screen on narrow viewports. Both now cap atcalc(100vw - 2rem)on mobile and switch to their full width at thesm:breakpoint (640px+). The eye-exam editor on MeatSpace → Body was also unusable on mobile — itsgrid-cols-7layout squeezed seven number inputs into ~42px each at 375px wide; it now reflows to two columns on mobile (with the date field full-width), four on tablet, seven on desktop. - Image preview lightbox readable in glass-style day themes. The MediaLightbox panel (used by Image Gen and Video Gen) inherited
--port-card-alpha: 0.6from glass themes like Lumen Glass Day, rendering as muddy translucent grey over the modal'sbg-black/90overlay. Combined with the existing tinted action buttons (bg-port-accent/20 text-port-accent), the Remix and Send to Video buttons became nearly invisible. The panel now pins--port-card-alphaand--port-border-alphato 1 within the lightbox scope so it renders solid in any theme, and the action buttons switched from translucent-tint to solid-fill (bg-port-accent text-white,bg-port-success text-white) for high contrast across all day and night themes. - Action buttons no longer look disabled in day themes. Tinted-fill action buttons across the app (e.g. World Builder's "Expand starter → variations", Voice Widget's mode toggles, OpenClaw's status banners) use the dark-mode-friendly
bg-{color}-600/30 text-{color}-200pattern. In day themes (Lumen Glass Day, Black ICE Day, Blueprint Day) the existing CSS layer remappedtext-{color}-300/400/500to dark variants for contrast on cream/white surfaces but skipped the lightertext-{color}-100/200tints — so a "Light text on a light tinted background" combination ended up looking faded and disabled even when enabled. The day-mode text-color remap inclient/src/index.cssnow also covers the 100/200 tones for every hue family (purple, violet, cyan, sky, blue, indigo, pink, rose, red, orange, amber, yellow, lime, green, emerald, teal, fuchsia), so the only remaining visual difference between an enabled and disabled action button is the explicitdisabled:opacity-50(or similar) — making the standard "tinted bg + saturated dark text in day mode, faded out when disabled" consistent across all day-mode themes.
Changed
- World Builder batch-render form gains the full Image Gen knob set. The
/media/world-builderBatch render panel previously exposed only Width / Height / Steps / CFG / Per-variation, and a backend dropdown limited to "Local (mflux)" / "Codex". It now reuses the same controls as the standalone Image Gen page via a new sharedclient/src/components/imageGen/ImageGenControlscomponent: Model picker (auto-populated fromlistImageModels), resolution presets (extracted intoclient/src/lib/imageGenResolutions.jsso both pages stay in lockstep), Steps, Guidance, CFG Scale (external mode), Quantize (mflux), plus aBackendChipStripthat mirrors Image Gen's chip-style selector and hides external SD-API (which the batch path can't drive). The/api/world-builder/:id/renderroute accepts the newquantizefield. Successful expansion now auto-saves the world if it already has a name, so clicking "Render" right after "Expand starter → variations" no longer trips "No prompts to render" on a stale on-disk copy. - Browser downloads default to
~/Downloads. The CDP browser previously sent downloads todata/browser-downloads/inside the project; it now writes to the OS-native user Downloads directory (~/Downloadson macOS/Linux,C:\Users\<u>\Downloadson Windows) viaos.homedir(). Both the keep-aliveBrowser.setDownloadBehaviorcall inbrowser/server.jsandPATHS.browserDownloadsinserver/lib/fileUtils.jswere updated so the Browser page UI's listing/delete operations stay in sync with where Chrome actually writes. Existing installs without an explicitdownloadDirindata/browser-config.jsonpick up the new location automatically; users who want the old behavior can pin it by settingdownloadDirin that config file.