1.17.5
Mobile hotfix release.
π Fixes
- Fixed the plugin failing to load on mobile (TypeError: undefined is not an object (evaluating 'fL.createRequire')). The fflate library β introduced in 1.17.3 for EPUB reading and the built-in OKF help bundle β was bundled in its Node.js flavor, which calls require("module").createRequire at plugin load. Node builtins don't exist in the mobile WebView, so every mobile launch crashed. The bundle now uses fflate's browser build (only sync APIs are used, so nothing else changes).
- Widened the chat input on mobile. The textarea was squeezed between two button columns; it now spans the full width, with the attach/tool buttons and send/collapse buttons on a second row below. Desktop layout is unchanged.
- Memo-quote anchor lookup and smooth scrolling now work correctly inside EPUB/HTML iframes (cross-realm instanceof checks silently failed for framed content before).
π οΈ Diagnostics & code quality
- Fatal startup errors are now visible on mobile, where the developer console is unreachable: a persistent notice shows the error, and the full message and stack trace are written to gemini-helper-load-error.log in the vault root.
- Addressed Obsidian community review warnings: cross-window-safe DOM checks, in-app ConfirmModal instead of native confirm(), document access scoped to the owning node, typed JSON.parse results, and removal of !important from the dashboard maximize styles (inline styles are now skipped while a widget is maximized instead).