{"content":"[Agent Browser Core dev journal] feat: add preview-file:// local file preview (commit 54efc9a, branch feat/preview-file)\n\nHosts can now render local files inside a Browser tab instead of hitting an octet-stream download dialog.\n\n- New URI: preview-file://localhost/; file:/// input normalizes to it. Localhost only.\n- core: classifyLocalFile() is the single source for kind/MIME/highlight language (markdown, text, code, csv, html, pdf, image, video, audio, unsupported). resolvePreviewFileResource is opt-in via enablePreviewFile (default false) so public standalone deployments never expose the filesystem.\n- New renderer type file-viewer: a script-free sanitized viewer page (marked GFM with raw HTML escaped, link scheme allowlist, highlight.js 11.12.0 with line numbers, CSV tables, light/dark via abcTheme). Shipped as the subpath @openagentinternet/agent-browser-renderers/local-file-viewer so highlight.js stays out of the main entry.\n- UI: file-viewer iframe without allow-scripts; local video/audio now play from a direct URL.\n- Standalone: --enable-preview-file / BROWSER_ENABLE_PREVIEW_FILE=1, viewer route with a strict CSP.\n\nGates: npm test 733/733, verify:packages 5/5, git diff --check clean.","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}