Clerk v0.4.0 — Built-In Site Serving, Folio Manager, Ranger Keymap, Gallery Stage & Open With¶
Major ergonomics and workflow release aligning Clerk’s desktop-web cockpit with Ranger muscle memory and zero-friction publishing previews:
Built-In ``/site/<org>/<repo>/`` Static Serving:
clerkdnow serves every repository’s builtdocs/(or standaloneindex.html) directly over HTTP withCache-Control: no-cache,publish.site/publish.serveactions, Repo Cockpit anddocsrc/launchers, and direct View Built Page links.Fixed & Managed Folio Review Sessions: Corrected the
publish.foliocapability requirement (folio_scans), added persistent process tracking inlaunchers.py(reusing live servers and exposing one-click Stop controls over SSE), and surfaced Folio Viewer buttons across codex views.Ranger-Aligned Keymap & Clamped Lists: Introduced the
w*leader chord for views and app windows, directW/Vrepo launchers, strictly clamped list scrolling (no wrap-around),gg/G/J/K/H/L/uq/Tabnavigation, full 2-key Ranger file chords with a live status-bar prompt, andrc.conf-alignedg*bookmarks.In-Place Gallery Single-Image Stage & ``r`` Open With Modal: Pressing
Enterin Gallery now toggles smoothly between the Contact Sheet Grid and a full Single-Image Stage (with SVG themes, facsimile underlays, and zoom), and pressingropens a numbered Ranger-styleOpen With…picker (including live HTTP HTML serving,nvim, and custom commands).Verification: Full
xvfb-run pytestsuite (69 passed, 0 skipped, including headless WebKit2GTK E2E checks for Ranger chords, clamped scrolling, and Gallery stage toggling),ruff check, andnode --checkall clean.