feat(input): upgrade graph personalization, english morphology detection, and atomic SendInput replacement

This commit is contained in:
Yun Chan 2026-10-29 08:16:26 +09:00
parent 52eef21bab
commit cd4a452148
21 changed files with 1098 additions and 110 deletions

View file

@ -12,6 +12,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Additional Whisper model management UI
- Plugin system for custom pipelines
## [1.13.0] - 2026-10-29
> Published from an annotated tag. Installer and update metadata are served by the
> canonical Forgejo feed; no binaries are committed to this repository.
### Added
- **Graph-relational extreme personalization & sentence suggestion upgrades (그래프 관계성 기반 극한 개인화 및 문장 제시 고도화).**
- Chains consecutive short messages within the same app (`_lastIndexedByScope`, 10-minute session window) via `follows` edges and restores post-send chat context from `recentWrites` when Enter clears the input box.
- Adds particle-invariant stemmed continuations (`stemContinuationsFrom`) so phrases like `"회의록 정리해서 내일 오전까지 공유드리겠습니다"` continue seamlessly when you type `"오늘 회의록을 정리해서"`, alongside 2-hop graph path scoring (`rankTwoHopGraphTargets` across `shares_terms → follows` and `follows → follows`).
- Weights frequent `personalPhrases` (`count >= 2`) and adds a Korean stemmed-word bigram fallback (`_stemBigram`) in `PersonalNgramModel`, while reranking generated LLM candidates by `scoreCandidatePersonalization` (graph overlap + Korean register match) without reducing suggestion frequency.
- **Stronger English detection via derivational morphology & phrase lookahead (파생 형태론 및 전방 구문 호응 기반 영어 감지 강화).**
- Expands English stem lexicon (`EXTENDED_ENGLISH_STEMS`: `kubernetes`, `microsoft`, `supabase`, `postgres`, `typescript`, `refactor`, `endpoint`, `workflow`, `dashboard`, etc.) with productive derivational prefixes (`un-`, `re-`, `pre-`, `non-`, `sub-`, `over-`, `under-`, `auto-`, `multi-`, `micro-`, `inter-`) and suffixes (`-tion`, `-sion`, `-ation`, `-ment`, `-ness`, `-able`, `-ible`, `-ful`, `-less`, `-ive`, `-ous`, `-al`, `-ic`, `-ize`, `-or`, `-ist`, `-ism`).
- Detects clause-initial and post-Korean Hangul-typed English function words via lookahead (`"새 ㅠㄷ "` → `"to be "`, `"새 솓 "` → `"to the "`, `"새 애 this "` → `"to do this "`, `"랙 솓 "` → `"for the "`, `"뭉 솓 "` → `"and the "`) while keeping Korean determiners intact (`"오늘 새 API를 만들었어 "`).
### Changed
- **Zero-sleep single-syscall atomic replacement & in-flight delta rebasing (단일 `SendInput` 원자적 치환 및 타이핑 중 델타 리베이싱).**
- Packs `(optional VK_SPACE) + N × VK_BACK + M × KEYEVENTF_UNICODE` into a single Windows `SendInput` call (`sendWin32UnicodeReplacement`, `< 0.5 ms`, `0 ms` sleep) so physical keystrokes never interleave with auto-correction.
- Rebases replacement plans (`rebaseTypoReplacementPlan`) when you keep typing during the 40 ms UIA verification or background LLM check, preserving newly typed suffix characters (`<= 12` chars) in one atomic swap.
## [1.12.0] - 2026-10-28
> Published from an annotated tag. Installer and update metadata are served by the