Repository navigation
Releases
KaoriReader 0.2.2
Regression fix, honestly reported.
The microphone in the chat works again. 0.2.1 removed the RECORD_AUDIO permission from
the manifest but left the code that asks for it. Android never grants an undeclared
permission, so the request was refused instantly and the recogniser never opened — the button
did nothing. It never needed the permission: RecognizerIntent is handled by the system
speech app, which owns the microphone. The permission block is gone, and if a phone has no
recogniser at all you now get a short notice instead of silence. Verified on device — the
Google speech sheet opens and says "Speak to Kaori…".
Durability
AtomicJsonnow flushes the temporary file withfd.sync()before the rename, and
prefersATOMIC_MOVE. A sudden power loss cannot leave an empty file.- New
AtomicJson.read(): when a data file will not parse, the app loads the previous good
version (.bak), repairs the main file from it and carries on. Before, you got an empty
library while a perfectly good copy sat next to it. Applies to progress, collections,
bookmarks, chat history, memory, stats and personas. Quarantine is now only the last
resort, when both copies are broken. ProgressStoreserialises its read-modify-write, so two quick saves cannot overwrite each
other. (Bookmarksalready did.)
Tests: 45 (was 39), including recovery from .bak, quarantine when both copies are
broken, and the "read leaves a missing file alone" case. CI runs them on every push.
Install: download the APK below, tap it, allow install from this source.
Obtainium users: add https://github.com/Grandpa2137/KaoriReader and updates arrive automatically.
SHA-256: eb8b0cc457576c3e91e21f628e57d5da3d6f4242dc057aba5ace9a6f8c04a537