Commit Graph
11 Commits
Author SHA1 Message Date
Antigravity e1cacde543 fix(reader): keep word translation popup as compact block on desktop without full-width stretch 2026-10-08 11:46:44 +03:00
Antigravity f10965eff5 feat(reader): implement FEAT-01 Focus Zen Mode (100% vh/vw, auto-hiding HUD, hotkeys F/Esc, native fullscreen) 2026-10-08 10:45:09 +03:00
Antigravity a6fb4349e9 feat(tts): integrate autonomous Piper neural TTS with zero-latency pre-warming for words and context 2026-10-07 10:40:02 +03:00
Antigravity dee9b8d10b feat(reader): autonomous Wikipedia import and reading with media, tables and settings 2026-10-07 09:47:33 +03:00
Antigravity 532e2ec3b2 fix(ai,reader): robust sentence segmentation without abbreviation cutoffs & context-aware literary translation
- Implement robustSentenceSplit across reader.js and backend (miner.py, cefr.py) to prevent false cutoffs on honorifics (Mr., Mrs., Dr.), single-letter initials (John F. Kennedy), decimals, acronyms (U.S., U.K.), and abbreviations (No. 4, etc.)
- Upgrade translation prompt to professional literary Russian, eliminating literal word-for-word translation and preserving titles/honorifics
- Inject surrounding paragraph context into translation API to avoid out-of-context translations
- Inject offline dictionary hints into LLM prompt for accurate contextual word meaning
- Prefer qwen2.5:3b for higher translation fluency and fidelity
- Purge truncated cache entries from sentence_translations and restore Card 30 (briefcase) with authentic full sentence
- Bump Service Worker cache to notes-v6.0
- Add unit tests for robust sentence splitting, prompt formatting, and translation API
2026-10-06 22:32:36 +03:00
Antigravity 82b7a654ca feat(reader): добавить парсер RFC из RFC Editor и отдельную группу спецификаций на книжной полке
- Реализован парсер RFC в app/reader.py с авто-загрузкой с rfc-editor.org и datatracker.ietf.org
- Очистка пагинации ([Page X], \x0c) и разбиение спецификаций на структурированные главы (TOC, разделы)
- Эндпоинт POST /api/books/fetch-rfc с защитой от дублирования и поддержкой номеров/URL
- Визуальное разделение на книжной полке через hr-разделитель и блок спецификаций IETF & RFC
- Быстрые пресеты стандартов (HTTP/1.1, HTTP/2, TLS 1.3, OAuth 2.0, WebSocket, QUIC, TCP, DNS)
- Интеграция в интерактивную читалку (перевод по клику, авто-захват контекста, SRS карточки)
- Unit-тесты парсера и API (31/31 passed) и обновление Service Worker кэша
2026-10-06 21:46:07 +03:00
Antigravity 0ff4465d34 fix(reader): preserve full context sentence with abbreviations (Mr., Mrs., etc.) and log bug fix 2026-10-06 17:03:38 +03:00
Antigravity 1c3f03a64c feat(reader): multi-word and phrasal verb detector in reader (Task 14) 2026-10-06 15:16:02 +03:00
Antigravity 37a1f1ab35 feat(ai): integrate local Ollama AI for in-context sentence translation and caching (Task 13) 2026-10-06 15:05:24 +03:00
Antigravity 0c5951df8d fix(reader): render full book in continuous mode with smooth chapter jumping and scroll tracking 2026-10-06 14:40:32 +03:00
Antigravity 21d94acf4e feat: decompose frontend into native ES modules (zero bundlers, zero npm) 2026-10-06 14:27:30 +03:00