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
docs: catalog moodBoardCollageSrc
[._.]/ Adam Eivy1e5c3103404d
diff --git a/client/src/lib/README.md b/client/src/lib/README.mdindex cc467570a1..89a67dfb34 100644--- a/client/src/lib/README.md+++ b/client/src/lib/README.md@@ -184,7 +184,7 @@ grep -i "what you want to do" client/src/lib/README.md| `providerManagement.js` | What every AI Providers surface shares about a service instance (#7567, #8014): `catalogSummary` reads its catalog state honestly (keeps `unknown` / `known`-and-empty / `failed`-with-retained-models distinct), `serviceReadinessCopy` / `SERVICE_READINESS_COPY` give one phrasing per `readiness` value (badge tone + label, and the predicate the compose popover and compatibility matrix append to the service's name), `draftFromTransports` / `transportsFromDraft` round-trip its `transports` map through a text form, dropping a blank endpoint rather than sending an empty one, and `classifyServiceCategory` / `SERVICE_CATEGORIES` / `serviceMatchesQuery` / `sortServices` / `servicePresetAction` group the Services view by what the definition offers (not the instance's selected plan) and decide whether a card may start a derived preset. || `morsePractice.js` | Pure deterministic adaptive Morse sampler — `selectMorsePrompt` combines bounded weak-character/confusion weighting with a non-zero exploration floor and only emits material valid for the active Koch pool; `canAdvanceMorseLevel` guards level advancement on sample count, accuracy, and effective speed. || `moodBoardAnalysis.js` | `moodBoardAnalysisFromResult(item, result)` picks the type-matched prompt-from-media payload stored on a pin; `boardAnalyzePlan(items)` splits pins into already-analyzed, still-readable, and skipped; `boardPosterRenderCfg(imageCfg, mode)` builds the explicit landscape poster render (any chosen image service) and `posterStyleKey(style)` detects a style change while that render is in flight. |-| `moodBoardItemSrc.js` | `moodBoardItemSrc(item)` resolves a mood-board item to a display image/poster src (`imageUrl` → served `image:<file>` bytes → derived video thumbnail → null); `moodBoardPosterSrc(board)` resolves the board's canonical poster filename to `/data/images/…`; `moodBoardItemVideoSrc(item)` resolves a `type:'video'` item's playback URL; `moodBoardItemAnalysisSource(item)` resolves an item to a prompt-from-media source (null when not a local gallery asset). Shared by MoodBoardDetail + MoodBoardReferenceStrip. |+| `moodBoardItemSrc.js` | `moodBoardItemSrc(item)` resolves a mood-board item to a display image/poster src (`imageUrl` → served `image:<file>` bytes → derived video thumbnail → null); `moodBoardPosterSrc(board)` resolves the board's canonical poster filename to `/data/images/…`; `moodBoardCollageSrc(board)` resolves the persisted collage (`collageImageRef`) the same way; `moodBoardItemVideoSrc(item)` resolves a `type:'video'` item's playback URL; `moodBoardItemAnalysisSource(item)` resolves an item to a prompt-from-media source (null when not a local gallery asset). Shared by MoodBoardDetail + MoodBoardReferenceStrip. || `rapidReaderPosition.js` | Cursor-to-word mapping plus privacy-preserving Rapid Reader progress persistence keyed by a text fingerprint; stores position/settings without storing pasted source text. || `registerServiceWorker.js` | `registerServiceWorker()` / `unregisterServiceWorkers()` — wires up the offline app-shell + low-bandwidth asset-caching service worker (`public/sw.js`). Registers only in a production secure context (HTTPS or localhost); no-ops over plain-HTTP Tailnet and tears down any stale SW in dev. Called once from `main.jsx`. || `safeStorage.js` | `safeReadStorage` / `safeReadJsonStorage` / `safeWriteStorage` / `safeWriteJsonStorage` / `safeRemoveStorage` — guarded `localStorage` access that swallows throws (Safari private mode, blocked storage), with fallback-safe JSON parsing for structured entries. Use instead of touching `localStorage` inline so a storage failure never crashes init or a write path (#2387). Consumed by `useTheme`, `useNavWorkingSet`, and the command palette. Also `safeReadJsonSession` / `safeWriteJsonSession` / `safeRemoveSession` — the same guarantees over `sessionStorage`, for tab-scoped crash-recovery buffers of edits the server has not accepted yet (QuotaBurn's unsaved-patch stash). |