commit 507632dab1b7ad6f1b5ad2e0312d55f8a356b04f truex <truex@equwal.com> 2026-09-26 23:57:33 -0700 Merge the fixes from the code review of the wiring Book switches, the restore of the last book, late meta data, the OCR start and the SubRead wait no longer act on the wrong book or wait for ever. Each status message is readable on a phone.
README.md | 57 +++++++-- index.html | 2 + src/align.ts | 20 ++++ src/book-open.ts | 109 +++++++++++++++++ src/book-subtitles.ts | 18 +++ src/main.ts | 251 ++++++++++++++++++++++++++------------ src/messages.ts | 43 +++++++ src/ocr-job.ts | 65 +++++++++- src/ocr.ts | 99 ++++++++++++--- src/status.ts | 54 ++++++++- src/style.css | 52 +++++++- src/token-cache.ts | 36 +++++- test/align.property.test.ts | 71 +++++++++++ test/book-open.test.ts | 286 ++++++++++++++++++++++++++++++++++++++++++++ test/book-subtitles.test.ts | 29 ++++- test/messages.test.ts | 57 +++++++++ test/ocr-job.test.ts | 89 ++++++++++++++ test/ocr.test.ts | 92 ++++++++++++++ test/token-cache.test.ts | 38 +++++- 19 files changed, 1347 insertions(+), 121 deletions(-)