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 v2.16.0
Released: 2026-06-05
Added
- Verified, restorable database backups — PostgreSQL now gets the same backup safety as your files. Every backup snapshot already dumped the database alongside the file copy, but a failed or skipped dump was silent — a green "backup complete" could hide that your database (where Memory and the creative catalog live) was never actually captured. Now the dump outcome is explicit and verified: a successful dump reports its size and table count, a dump that's not applicable (you're running without Postgres) reads as a neutral "not configured," and a dump that should have worked but failed marks the whole backup "degraded" and raises a warning toast — even on unattended scheduled runs — so you find out the day it breaks, not when you need to restore. The dump is hashed into the snapshot manifest so a truncated file is detectable, and the Backup settings tab now shows the last run's database status and lists your snapshots with a one-click Restore DB action (it previews what would be restored, then asks you to confirm before replaying the dump into the live database).
- PR Watcher task — run a custom AI prompt whenever a PR opens — A new
pr-watchertask type (Chief of Staff → Schedule, enable per app on the Automation tab) polls each managed app's GitHub repo and, whenever a pull request is opened against the default branch, dispatches an agent running a prompt you control. A "PR Author Filter" gates triggering on authorship — react to any PR, only your own (the gh-authenticated user / your automation), or only PRs opened by others — and the task prompt is fully editable, so you decide what the agent does for each opened PR (the shipped default reviews the diff and leaves a summary comment; you can rewrite it to label, triage, run checks, or make changes). Pick the provider/model like any other task. It tracks a per-app high-water mark so each PR fires once; the first run after you enable it baselines silently so it only reacts to PRs opened from then on, not your existing backlog. - Search & browse more LoRAs per base model on /media/loras — Each "Top for …" base-model section (Flux 1, Flux 2, Z-Image, ERNIE, HiDream, Qwen) gains a keyword search box and a "Load more" button. Type a term (e.g. a character or style name) to query Civitai live within that base model so you can find a specific LoRA that targets the model you're using, and click "Load more" to page past the top few into Civitai's deeper results (cursor-paginated). Clearing the search drops back to the cached top ranking. The curated picks section is unchanged.
- Custom scheduled tasks per app — Each managed app's Automation tab gains a "Custom Tasks" section where you write your own prompt and pick a schedule (interval or cron), and a Chief-of-Staff agent runs it against that app's repo on cadence — just like the built-in task types, but fully your own. Per task you choose priority, autonomy level, and whether the agent works in an isolated worktree and opens a PR (or commits/auto-merges) in the target app. Run-now triggers an immediate pass. Custom tasks also appear (with an app badge) in the Chief of Staff → System Tasks list, where the create/edit form now has an optional app-scope picker so any agent job can be pointed at a specific app or left global.
- Password-protected federated peers — If one of your PortOS instances sits behind an HTTP Basic auth proxy (Tailscale
serve, Caddy, nginx), its peers can now reach it: probes were failing withHTTP 401. Each peer in the Instances page gains an optional credential — set a username (optional) and password when adding a peer, or click "set credential" on an existing peer. The credential is attached to every outbound hop to that peer (health probes, snapshot sync, per-record push/pull, asset pulls, and the live agent socket relay), so a reachable-but-401 peer now connects. A peer that returns 401/403 is flagged "auth required" in the UI instead of just reading as offline. Credentials are stored locally per peer and are never synced or announced to the peer itself. - [issue-708] Digital Twin "Voice" tab — spoken vs. written style — Paste a transcript of yourself speaking and the Digital Twin compares it against how you write (a pasted sample, or your existing twin documents), surfacing where your spoken voice differs from your writing — formality, verbosity, sentence length, directness, filler words — and suggesting a communication profile for voice contexts that you can apply in one click.
- [issue-711] "While You Were Away" dashboard card — A new dashboard widget recaps what your agents did since your last visit: a count of completed runs, success/failure tally, total time worked, and the most recent wins plus anything that failed and needs a look. Each item opens the agents view, and a "Mark as seen" button resets the window to now. It appears on the Everything and Agent Watch layouts and can be added to any layout via Arrange.
- [issue-708] Digital Twin "Appearance" tab — image identity source — Upload a photo of yourself and a vision-capable provider extracts your visible appearance and self-presentation (apparent age range, build, hair, style, grooming, vibe, setting, expression). Review and edit the generated write-up, then save it as your "Appearance & Presentation" core identity document so the twin has a grounded sense of how you look. Use a local vision model (LM Studio / Ollama) to keep the photo on-device; the image itself is never persisted, only the derived text.
- [issue-711] Per-domain autonomy guardrails — The Chief of Staff config gains a "Domain Guardrails" panel that lets you set how much each domain acts on its own, independently: Brain auto-classify, Memory auto-extract, CoS auto-run, and Messages auto-send. Each is Off (never act automatically — leave it for you), Dry-run (do the thinking and surface what it would do, but don't commit the side effect), or Execute (act automatically — the default, so nothing changes unless you dial a domain back). Dry-run captures and classifies thoughts but holds them for your confirmation, routes extracted memories to pending approval instead of storing them live, lists the autonomous tasks it would have run without spawning them, and skips outbound message forwarding while logging what it would have sent.
- [issue-713] Pinned & Recent in the sidebar — The top of the left navigation now shows the pages you've pinned and the ones you visited most recently, so your working set is one click away. Hover (or keyboard-focus) a page row inside any sidebar section to reveal a pin button; pinned pages stay at the top until you unpin them, and Recent tracks your last few pages automatically. Both sections appear only when they have something to show.
- [issue-715] "Why am I seeing this?" chips on Insights — Your taste-identity theme cards now carry a tappable provenance chip alongside the confidence badge, the same source-chip affordance the health views use. Tap it to see that the theme was inferred by AI from your taste profile (not something you stated outright) and what would change it — answering more of your profile or regenerating. Confidence (how strong the pattern is) and provenance (how it was derived) are now two distinct, honest signals on every card.
- [issue-842] Turn a draft into a Creative Director project from the editor — With live mode enabled in Writers Room, a new "CD Bridge" panel can read the prose around your cursor and propose a short film treatment — a logline, synopsis, an overall visual style, and a handful of filmable scenes (each with its own shot description and duration). Review it in the panel and send it into a brand-new Creative Director project in one click, then jump straight to it via an "Open in Creative Director" link on the work menu. It never overwrites an existing project, and it shares the same opt-in and daily suggestion budget as the inline continuation suggestions.
- [issue-715] "Why am I seeing this?" chips across Chief of Staff, Goals, and the dashboard — The same provenance chip now appears wherever PortOS shows you something it derived rather than something you set. The Chief of Staff's actionable-insights banner explains how its top item was derived — a live count of your records (pending approvals, blocked tasks) reads as data-backed, while a success-rate-driven suggestion reads as inferred. A goal's detail panel marks its urgency and activity-budget readings as modeled from your health timeline and linked activities — not numbers you entered — so a derived reading never reads as a fact you stated. On the dashboard, the Proactive Alerts card declares its alerts are inferred from trends in your goals, costs, and system metrics, while the Decision Log card declares its entries are read straight from the ledger of choices the Chief of Staff actually made. Tap any chip for how it was derived and what would change it.
- [issue-952] Cinematic depth-of-field in City photo mode — Photo mode now blurs the background for a cinematic look: whatever the current framing points at stays sharp while the rest of the city falls off softly, and each preset focuses on its own subject (the low-angle shot uses a shallower, more dramatic focus). It's on by default; toggle it with the "Depth" button in the photo bar or the D key, and your captured postcard matches what you see. Depth-of-field only runs while you're in photo mode, so the live dashboard is unaffected.
- [issue-912] Regenerate gallery images to defeat SynthID watermarks — Generated images gain a "Regenerate" action in the lightbox, next to "Clean", whenever a local FLUX image generator is installed. The existing Clean only strips embedded provenance metadata and can't touch SynthID — Google's invisible per-pixel watermark — which survives by design. Regenerate is the honest defeat path: it round-trips the picture through a local FLUX model so the watermark signal is overwritten by fresh sampling, while keeping the change to the image as small as possible — it uses no prompt and a low denoise, so the result is a near-faithful copy of the original rather than a reinterpretation. It runs entirely on-device, is never applied automatically, and saves the result as a new variant beside the original (which is kept); the lightbox's variant switch lets you toggle between them. Very large source images (e.g. 4K) are handled by regenerating at a model-friendly resolution and scaling the clean result back up to the original size, so a big image no longer stalls the pass. The Regenerate button opens an inline panel with a strength slider (lower = more faithful) and an optional prompt field, so you can dial in how much the pass changes the image — or paste a prompt for a creative re-roll — right from the lightbox.
- [issue-877] City records its history for a future timeline scrubber — The City now quietly snapshots its own state on a schedule (every 5 minutes by default), capturing which apps are online, how many agents are working, system health, and the other landmark readouts. These frames accumulate locally — never synced to peers — so an upcoming timeline view can let you scrub back and watch the city change over time. There's nothing to interact with yet; this is the recording groundwork. You can tune the capture interval, set how many frames to keep, or turn it off in settings.
- [issue-967] Scrub back through City history — A new "History" button on the City opens a playback timeline: drag the slider to any past moment, or hit play to watch your city evolve at 1×/2×/4× (←/→ step a frame, Esc exits). As you move through time, buildings rise in (construction) when an app first appeared, scale away (teardown) when one was gone, and recolor as their status changed; agent activity, automation state, and backup status follow each recorded moment, and a readout shows that moment's captured CPU/memory/disk, task, agent, peer, and review numbers. Districts whose detail the snapshots don't capture (the task, federation, health, memory, goals, Jira, and activity landmarks) keep showing live data and are flagged as such in the timeline bar, so a historical view never quietly passes off "now" as "then."
- Send any image straight into image-to-image, and pick a source from your gallery visually — Image cards and the image lightbox gain a "Send to i2i" action next to "Remix": click it and the Image Gen page opens with that picture already loaded as the image-to-image source and its prompt + render settings filled in, ready to iterate (it switches you to an image-to-image-capable backend if needed). Image-to-image now works on the Codex backend too, not just local FLUX — the init-image picker appears for both. And the picker is no longer upload-only: a new "Browse gallery" button opens a searchable visual picker of everything you've generated, with the same prompt/model/seed/LoRA search as Media History, so you can reuse an existing image without downloading and re-uploading it. The FLUX.2 multi-reference slots get the same "Gallery" pick option alongside upload.
Changed
Image Gen accepts an empty prompt — The prompt is no longer required: you can Generate with an empty prompt (and empty negative prompt), which is the natural case for image-to-image and unconditional/edit renders. Models that require a source image (edit-only) still prompt you for one.
[issue-912] Stronger, more compatible SynthID regeneration — The gallery "Regenerate" pass (which overwrites Google's invisible SynthID watermark by round-tripping the image through a local FLUX model) gets four upgrades drawn from a survey of public watermark-removal tools. (1) Every regen now also nudges the render resolution down-and-back-up, not just oversized images — SynthID's invisible signal is keyed to resolution, so this resolution shift disrupts it for free on top of the model round-trip. (2) A new Light (CPU) option appears even on machines without a local FLUX runner: a fast, GPU-free spatial pass that disrupts the watermark directly in the pixels — clearly labeled as less reliable than the full round-trip, so installs that previously had no defeat path at all now have a best-effort one. (3) Each regenerated image now records and shows how much it actually changed (a "% changed" figure in the image's lineage row, with the full PSNR kept in the saved metadata), so you can see at a glance whether a pass stayed faithful or drifted — and it surfaces silent failures that used to be invisible. (4) The default denoise strength now adapts to the source: watermark-bearing generators (gpt-image / Gemini / Imagen) keep the conservative known-good setting, while your own local renders use a lighter, more faithful default. The original image is always kept; you can still tune strength and prompt by hand.
[issue-878] City photo mode freezes the scene for a clean shot — When you enter photo mode, the city now holds still once the camera settles into its framing — particles, data streams, weather, and landmark pulses pause — so your postcard captures a deliberate, motion-free frame instead of whatever the animation happened to be doing. The camera still flies smoothly to each preset (and re-animates when you switch shots); the scene only freezes once it arrives. Leaving photo mode resumes the live, always-moving city.
City night sky, horizon, and flight controls — Night is now a moonlit cyber-night rather than a near-black dusk: a galaxy starfield wraps the dome, distant mountains and themed terrain fill the horizon, and the sky dome cross-dissolves with daylight so the stars fade out as day comes up. Buildings gain lit floor bands and brighter facades so dark towers stay readable, and the AI Core spire gets light rings, an additive apex glow, and a point light. First-person exploration is now free-look flight: WASD moves, Q/E descend/ascend, Shift sprints, and the interact key moved to F (E is now "up"); you can fly up and over the city, with building collision disabled above rooftop height. The galaxy texture only loads at night. No change to the daytime look.
CyberCity is now "City" — renamed throughout the UI (sidebar, scene title, command palette, keyboard help, billboards) since the cyberpunk look is now just one of several themes rather than the brand. The route stays
/city.City navigation is now map-style — in orbital view, left-drag pans the camera across the city (so you can reach off-center districts without dropping into first-person), scroll zooms, right-drag (or ctrl-drag on a Mac trackpad) rotates, and arrow keys pan. Previously the only way to look away from the center was first-person mode.
City follows your PortOS theme — the HUD panels (now fully opaque for readability) and the 3D scene's accent surfaces (ground grid, particles, online buildings, neon, and the CRT edge-glow) recolor to the active theme instead of being locked to dark cyan-on-black. The CRT affectations are opt-in per theme family: scanlines only on the terminal family, neon edge-glow on terminal + classic, and a cinematic vignette on all but the clean glass family. Status colors (stopped/red, warnings/amber) stay semantic.
City time-of-day follows your theme (day/night), with a real daytime look — the old four-way sunrise/noon/sunset/midnight picker is now Auto/Day/Night. Auto (the default) renders a bright daytime city under light themes and a dark neon city under dark themes; you can still force Day or Night. Daytime is now a genuine bright, sunlit style rather than dusk: the night-tuned color grade, bloom, film grain, and chromatic aberration fade out in daylight; the sky opens to a luminous blue with high-key sun + sky fill; the ground sheds its neon grid and wet-street glow; and buildings shed their neon (edge strips, halos, base glow) to read as light, sunlit solids. The dark neon night look is unchanged. Existing installs pick up the coupling automatically (any previously-saved time-of-day reads as Auto).
City labels stay readable in daytime — in the daytime view, the in-world text labels (app and process names, plus every district readout — goals, health, task queue, memory, Jira, AI core, productivity, backup, federation mesh, voice, review/instance beacons, and the archive-district sign) no longer wash out against the bright sky. At night they keep their neon glow; as day comes up they switch to dark ink with a soft light halo so they read against sunlit buildings and the open sky. Decorative neon signage still dims in daylight, as it should. Works across all eight themes (four day, four night). No change to the night look.
[issue-908] City scene theming goes deeper — the parts of the 3D city that were still locked to the cyan-on-black cyberpunk palette now follow your theme too. Building bodies, the district/monument plinths and footings, the building window-grid bases, and the upper sky gradient all pick up a tint from the active theme accent (with their original darkness/brightness preserved, so the scene's depth and shading are unchanged — just recolored). Process buildings now use the same status colors as their parent app (a stopped process is the same red as a stopped app, not amber; a missing one the same purple, not indigo) and an online process follows the theme accent. Works across all eight themes.
[issue-875] CyberCity district layout internals consolidated — the city's districts now share one set of layout primitives for grid placement, category tallies, and log-scaled building heights, so each district no longer carries its own copy of that math. No visible change to the city.
[issue-713] Simpler, collapsed sidebar — The left navigation is consolidated to a focused set of top-level areas with a "More" group for the long tail. Messaging and your wiki now live under Brain, system and infrastructure tools under Dev Tools, and health tracking is now simply "Health"; Goals is promoted to its own top-level entry. Deep page tabs no longer clutter the sidebar — open a page and its tabs live in the page — and everything stays reachable from ⌘K and voice navigation.
[issue-925] Pin the top-level sidebar pages too — Dashboard, Review Hub, City, and Goals can now be pinned to the top of the sidebar, the same way pages inside the collapsible sections already could. Hover (or keyboard-focus) one of these rows to reveal its pin button; the Chief of Staff unread badge and the collapsed icon-rail look are unchanged.
City keeps downtown clear of the AI Core — downtown buildings that would otherwise grid onto the central AI Core landmark are now pushed out onto a one-cell plaza ring (dodging occupied slots so two buildings never stack), so no downtown building or label overlaps the core; a lone app sits at the front of the plaza. The warehouse district keeps its existing placement. District neon signs also gain a styled back panel with a thin accent strip so they read as finished objects when seen from behind instead of flat black cutouts.
[issue-919] Internal: shared-helper catalog for the client utility modules — Added a discovery index and a drift-guard test so the client's pure helper modules stay easy to find and can't silently fall out of the catalog. No user-facing change.
[issue-939] Internal: integration test locking pinned single nav rows — Added a sidebar-level test that pinning a top-level page (Dashboard, Review Hub, City, Goals) renders it in the Pinned section, so a future refactor of the nav indexing can't silently drop pinned top-level pages. No user-facing change.
[issue-895] Internal: pinned the goal-organization apex round-trip with a test — Confirmed "create a new apex from AI suggestions" already works end-to-end and added regression coverage so it can't silently break. No user-facing change.
Internal: restored a green lint build — Added the standard DOM element globals the client lint config was missing, so the build's lint check passes again. No user-facing change.
[issue-739] LTX-2 video runtime updated to v0.14.8 — Bumped the bundled LTX-2 (Apple Silicon) video generator to a newer upstream release with better memory behavior on HD and long renders and a fix that stops character LoRAs from silently dropping on Extend and high-quality modes. All five render modes (text, image, keyframe, extend, audio-to-video) keep working across the upgrade, and the previous version stays supported until an install re-runs its image/video setup.
[issue-907] Internal: upgraded the server validation library to Zod 4 — Migrated the server's request-validation layer to the Zod 4 major release, preserving the exact accept/reject behavior of every existing rule (including a fix so partial-update saves no longer risk silently resetting fields you didn't touch). No user-facing change.
[issue-907] Internal: upgraded the web build tooling to Vite 8 — Moved the client to the Vite 8 major release (and its new Rust-based bundler) for faster builds. The app builds, runs, and tests identically. No user-facing change.
[issue-951] Internal: moved the web build to Vite 8's native chunking API — Switched the client's vendor-chunk splitting from the older Rollup-compatibility form to Vite 8's canonical equivalent, dropping reliance on a compatibility shim that a future Vite may remove. The same vendor bundles are produced. No user-facing change.
[issue-905] Internal: local-LLM playground stream honors socket backpressure — The streaming model-test endpoint now pauses upstream reading when a slow client can't keep up, instead of buffering the whole response in memory. No user-facing change.
Fixed
- [issue-906] Reasoning models now stream their thinking live in the LLM playground — When you test a reasoning model (deepseek-r1, QwQ, and similar) in the Local LLM Playground, its chain-of-thought now appears token-by-token in a live "Thinking" block as it arrives, instead of the panel sitting on "Waiting for the first token…" for the whole run and then dropping the entire answer at once. Reasoning streams on its own channel above the answer, so the final answer text stays clean, and time-to-first-token is now measured honestly for reasoning-only models.
- [issue-957] Writers Room live-suggestion budget readout now stays in sync across panels — The Live Director continuation panel and the CD Bridge panel share one daily AI-suggestion budget, but each used to only update its own "N left today" readout. After one panel spent budget, the other kept showing the old number until its own next call. Both panels now reflect the shared count immediately, whichever one you use.
- FLUX.2 LoRAs no longer silently do nothing on the wrong model size — A LoRA trained for FLUX.2 Klein 9B has different tensor dimensions than Klein 4B, so loading a 9B LoRA onto a 4B render (or vice-versa) failed deep inside diffusers with a shape mismatch — which the runner swallowed and quietly fell back to a base render. The result: you'd select a LoRA, see it in the logs, and get the exact same image as with no LoRA. The LoRA picker now distinguishes FLUX.2 by size (4B vs 9B), not just "is it FLUX.2", and hides weights that don't match the selected model — determining a LoRA's size from its safetensors header (so self-trained LoRAs with no Civitai metadata are classified too) and falling back to the Civitai base-model tag. Switch to the matching model size and the LoRA reappears and actually applies. LoRAs whose size can't be determined are still shown (and surface a clear error if incompatible), and non-FLUX.2 runners (mflux / Z-Image / ERNIE / HiDream / Qwen) are unaffected.
- [issue-737] Keyframe-interpolation video is smoother on high-memory Macs — When you interpolate a video between two keyframes, the result no longer stutters on machines with plenty of memory. The clip-length cap that governs motion quality used to be pinned to a conservative 48 GB-safe value, which on any machine clamped interpolated clips so short that motion advanced in juddery near-duplicate pairs. That cap now scales with your Mac's unified memory — a 128 GB machine renders the longer clips needed for smooth motion out of the box, while machines with 64 GB or less behave exactly as before. You can still override it with the
FFLF_LTX2_PIXEL_BUDGETsetting. - [issue-915] Chief of Staff dry-run preview now matches what would really run — In Dry-run autonomy mode, the "would spawn" preview for auto-run system tasks now lists only the tasks the Chief of Staff would actually start — accounting for free agent slots, retry limits, app cooldowns, and per-app caps — instead of every queued task regardless of whether it could run. The preview is now a faithful plan of the next pass.
- Local image generation no longer thrashes VRAM on large diffusers models (Windows/CUDA) — The shared diffusers runner behind Z-Image-Turbo, ERNIE, HiDream, and Qwen loaded a model's full weights onto the GPU at once. The big bf16 pipelines are
19–20 GB, which on a 24 GB card leaves no room for the forward pass's activations — and on Windows the NVIDIA driver answers the overflow with silent "system memory fallback" (spilling to host RAM over PCIe) instead of an out-of-memory error, so every denoising step ran ~50× slower than the GPU is capable of. A single 1024px Z-Image-Turbo image took 35 minutes. The runner now measures each pipeline's weight footprint and, when it would fill most of the card, switches to diffusers' model CPU offload — keeping only the active component resident (the transformer stays on the GPU across the whole denoising loop while the text encoder and VAE are paged in just for their one-shot pass). The same image now renders in **1.5 minutes** with live step previews intact, and peak VRAM drops from ~21 GB to ~13 GB. Small models (SD-1.5, SDXL) keep the faster full-residency path. The stepwise live-preview decode is fixed to target the VAE's execution device so previews still render under offload. Override the heuristic withPORTOS_IMAGE_OFFLOAD=1(force offload) orPORTOS_IMAGE_OFFLOAD=0(force full residency). - [issue-934] City archive district no longer overlaps the AI Core on sparse installs — On installs with few or no active apps, the archived-apps "warehouse" district (and its ARCHIVE DISTRICT sign) sat right on top of the central AI Core landmark — most visibly on an all-archived install with no active apps, where the sign landed on the monument. The district is now floored to always sit clear of the core. Installs with several active apps are unaffected — their layout is unchanged.
- [issue-894] Numeric edge-case hardening — Task-learning duration stats can no longer go negative when resetting a task type against an older or hand-edited store, goal velocity reports no trend (instead of a garbage value) when a progress entry has a malformed date, and a stray non-numeric music gain falls back to the default instead of breaking an audio render.
- Federated peers with PortOS password auth now connect — If a remote PortOS instance has its built-in password enabled (Settings → Security), peer probes were always returning 401 even with the correct credential set in the Instances UI. The root cause: PortOS's auth gate only accepted session cookies and
Authorization: Bearertokens; peer probes sendAuthorization: Basic <base64>, which was silently ignored. The auth gate now also validates HTTP Basic credentials against the stored password hash, so federated probes, syncs, and the live socket relay all authenticate correctly. The backoff-reset fix is bundled: if a peer was deep in exponential backoff (up to 24 h) from prior 401 failures, re-saving the credential in the Instances UI immediately clears the backoff and re-probes without waiting. - Autofixer dashboard now loads over Tailscale HTTPS — On installs with a Tailscale TLS cert, the main app is served over HTTPS, so the sidebar's "Autofixer" link points at
https://<host>:5560. The standalone Autofixer UI server was hard-coded to plain HTTP, so that HTTPS request hit an HTTP-only listener and failed to connect (e.g.https://host-alpha.example-tailnet.ts.net:5560/wouldn't load). The Autofixer UI now serves HTTPS with the same shareddata/certs/cert when one is present (and hot-reloads it on renewal), falling back to plain HTTP when no cert exists — so its scheme always matches the link the sidebar generates. - City daytime sky no longer washes out to white; night reads as a galaxy backdrop — The bright-day sky and pavement were tuned so light, so the dome and ground turned into a near-white fog sheet over the city; daytime now keeps real blue in the horizon bands and a muted blue-gray street so the city stays legible in full sun. At night the galaxy map is the backdrop, the shader sky-dome gets out of the way, and the moon is a smaller, softer disc instead of an over-bright bloom. The experimental "Dreamworld" sky-theme picker (and its drifting clouds) has been removed — the City now has one canonical look that follows your theme's day/night mode; any previously-saved Dreamworld setting falls back to it automatically.
- City night sky is a real environment map (the galaxy now also lights the scene) — The night galaxy was a pair of hand-placed meshes that frequently didn't show and contributed no light. It's now wired through three.js's environment system the way an HDRI is: the equirectangular panorama is assigned to
scene.background(a true 360° spheremap, visible in every camera direction) and, viaPMREMGenerator, toscene.environment— so the galaxy also tints reflections and lighting on the metallic building/ground materials. The low-resolution (1774×887) AI-generated panorama that read as pixelated was replaced with a crisp 8192×4096 Milky Way (Solar System Scope, CC BY 4.0), brightness/saturation graded for the stylized night. Day is unchanged. - City no longer flashes a blank white scene when the GPU drops the WebGL context — Heavy post-processing plus an always-on frame-readback buffer made Chromium lose the City's WebGL context easily, leaving a white canvas with no recovery. The readback buffer is now only enabled while taking a postcard, the render resolution is capped to keep the context stable, and a lost context is detected and either recovered on restore or surfaced over the page background instead of a white void. Known THREE.js deprecation and expected context-loss console messages are also filtered out so the browser console stays usable. With the post-processing pass gone, the City settings panel drops the now-inert Bloom, Film Grain, Chromatic Aberration, Color Grading, and Exposure controls so nothing toggles an effect that no longer renders.
- LoRA downloads no longer fail with a spurious
mkdirerror on Windows — Installing a Civitai LoRA could fail withUNKNOWN: unknown error, mkdir '…\data\loras'even though the directory already existed. On Windows,fs.mkdir(..., { recursive: true })can intermittently throwUNKNOWN/EPERM/EEXIST— antivirus locks, OneDrive sync, and network/mapped drives all surface spurious failures that the POSIX "recursive is a no-op when the dir exists" contract doesn't anticipate. The sharedensureDirhelper (and the LoRA installer, now routed through it) swallows the error whenever the path is in fact a directory afterward, so installs succeed on existing directories. - Browser download keep-alive no longer spams JSON-parse errors — The browser service's CDP keep-alive treated any
200 OKon its DevTools port as a live Chrome endpoint and calledres.json()on it unconditionally. When another process answers on that port with HTML (e.g. the Vite dev server auto-incrementing onto it), the parse threwUnexpected token '<', "<!DOCTYPE "..., which the reconnect loop logged every 2 seconds. The CDP check now validates the response is actually Chrome's JSON (webSocketDebuggerUrlpresent) and treats anything else as "not reachable." Separately, the Vite dev server now usesstrictPortso it fails loudly instead of silently walking up onto a reserved PortOS port (5555 API, 5556 browser CDP).
Full Changelog
Full Diff: https://github.com/atomantic/PortOS/compare/v2.15.0...v2.16.0