mirror of
https://github.com/HeyPuter/gex.git
synced 2026-11-13 20:12:43 -10:00
The kernel marks every TmpFs file something opens (TmpFs::opened, shims/kernel k_fs_opened); the page reads that set from a side Worker (__ntOpened, web/src/fs-opened.js), record-w3.mjs keeps it as the session's files_read, and a project with user/eject.json "bundle": "split" (the W3 template's default) ships those files in the site's bundle and every other one as a lazy file: stored once by content under project/build/web/lazy/, listed in lazy.json with its time, read from the host in 1 MiB ranges when a guest first reads it. The site's serve.mjs answers ranges. nt-page.js takes a lazy file's mtime from the manifest (wineboot compares wine.inf's with the prefix's). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_ea9f71488b6e448da93d6c2dabf4879c