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
fix([setup-browser-canary-headless]): align changelog wording + doc example with headed default
[._.]/ Adam Eivy5b5d8f4f577d
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex bda39a03ff..1464ee8db8 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -21,7 +21,7 @@- **[capabilities-cheap-memory-count] Capabilities overview counts Brain memories more cheaply.** The frequently refreshed status overview now reads the active-memory total directly, keeping it lighter as memory history grows.- **[media-collections-per-record-store] Media collections now persist per-record instead of in one monolithic file.** `data/media-collections.json` is split into `data/media-collections/<id>/index.json` (plus a type-level `index.json` stamping the storage `schemaVersion`) via the shared `createCollectionStore` layout — the same per-record shape universes / series / issues already use. Every collection write (`addItem`, `bulkUpdateCollectionItems`, merges, tombstone GC) now serializes on its own record queue, so high-frequency render-filing no longer rewrites the whole ~200 KB document per image or blocks unrelated collections' writes. Migration `059-split-media-collections.js` performs the one-time split (idempotent, backs the legacy file up as `.bak-059`), the boot-time verifier checks the on-disk version, and the dataSync snapshot watcher tracks the directory so per-record edits still invalidate the checksum cache. The wire sync payload is unchanged, so collections still sync across peers of mixed versions.- **[chrome-canary-followups] Custom Chrome setup writes browser config through the shared atomic writer.** The Canary setup script now uses `server/lib/fileUtils.js#atomicWrite` for browser-config updates, so it gets the same temp-file/rename behavior and Windows fallback as the rest of PortOS config persistence.-- **[setup-browser-canary-headless] The PortOS-managed browser now runs visible (headed) by default.** New installs — and opting into Chrome Canary at setup — launch a window you can see, since the whole point of a dedicated managed browser is to watch its automation. Existing installs that never changed the setting are flipped to headed on update; anyone who deliberately set it headless is left alone. To go back to headless, set `"headless": true` in the browser config.+- **[setup-browser-canary-headless] The PortOS-managed browser now runs visible (headed) by default.** New installs — and opting into Chrome Canary at setup — launch a window you can see, since the whole point of a dedicated managed browser is to watch its automation. On update, existing installs still carrying the old headless default are flipped to headed; if you'd previously turned headless *off* (or any non-default value) it's left untouched. If you actually want headless, set `"headless": true` in the browser config again.- **[media-job-throttled-progress-persist] Live media-job progress is now debounce-persisted to disk so a mid-render restart recovers the last snapshot.** `runJob` schedules a ~250ms-debounced `persist()` after each `progress`/`statusMsg` mutation — coalescing the dozens-per-second diffusion progress events instead of writing per event — and drains it in `terminate()` before the terminal transition, mirroring the `appendAgentOutputLines` batching pattern. The terminal sink (`terminate`) is now async and made idempotent via a `terminalStarted` guard, which also closes the watchdog `mod.cancel` race the async drain would otherwise widen.- **[media-job-store-progress-on-job-record] Render queue rows now hydrate live progress from the job record.** The media job queue now stores `progress` and `statusMsg` on the running job whenever image/video runners emit progress or status events, exposes those fields through `GET /api/media-jobs/:id` and list responses, and preserves them in persisted queue snapshots. The Image / Video render queue uses that snapshot to show a compact progress bar during polling, so non-SSE consumers no longer reset in-flight jobs to 0% until the next live event arrives.- **[shared-bounded-concurrency-mapper] Bounded-concurrency worker pool extracted to a shared helper.** The cursor-based worker-pool idiom that was hand-rolled in `embeddings.js`, `catalogExtraction.js`, and `routes/imageVideoModels.js` is now a single tested `server/lib/mapWithConcurrency.js` (order-preserving, concurrency-bounded), with all three call sites migrated and behavior unchanged.diff --git a/docs/features/browser.md b/docs/features/browser.mdindex 6c606b3efd..728b0d4de2 100644--- a/docs/features/browser.md+++ b/docs/features/browser.md@@ -57,7 +57,7 @@ Stored in `data/browser-config.json`:"cdpHost": "127.0.0.1","healthPort": 5557,"autoConnect": true,- "headless": true,+ "headless": false,"userDataDir": ""}```