d3ro-voice/packages/core/__tests__
Yun Chan 3cac14f668
Some checks failed
ci / 정본·보안·린트·타입·테스트 (push) Has been cancelled
deploy-site / deploy (push) Has been cancelled
ci / 워크스페이스 빌드 검증 (push) Has been cancelled
ci / 모바일 린트·타입·Jest (push) Has been cancelled
ci / Supabase Edge Functions + Cloudflare Worker (push) Has been cancelled
ci / .NET API 서버 테스트 (push) Has been cancelled
feat(desktop): typo auto-correct and context-aware sentence prediction
Typo auto-correct (INPUT-19)
- TypoCorrectionService + core typo-correction: 2-set Korean layout
  mistypes both ways, always-wrong spellings, near-misses of the user's
  frequent words, optional model check re-validated in core; applied by
  backspace N + paste and cancelled on new keys or window change.

Prediction quality (INPUT-20/21)
- gemma models are sent raw with the user's unfinished sentence pre-filled
  into the model turn, so the model truly continues the text (mid-word
  joins and spacing exact). Other models keep the instruction prompt.
- Context: text before the caret (opening lines and a fact list of names,
  dates, amounts outside the 400-char window), messages just sent in the
  same chat window (memory only, 30 min), personal-graph follow-ups and
  IDF-ranked related sentences with Korean stemming.
- Guards: first sentence only, restated-prefix stripping (also fixes the
  instruction path), repeat drop, no invented dates/names/numbers
  (one retry), plain -다 register, no emoji unless the user uses them,
  search-box keywords. Fill loop mixes instruction prompts for variety.
- Opt-in real-model probe: tests/integration/suggestion-quality.ollama.test.ts

Suggestions now actually show up
- Terminal (Claude Code): caret trust from the input line, not the whole
  screen (status line below the box blocked every keystroke); Korean
  composition counts as typing at the end; a grey placeholder filling the
  empty box at once is not user text.
- Chrome: UIA focus flicker while typing no longer resets "edited".
- KakaoTalk/RichEdit: trailing paragraph mark ignored for edit position
  and stripped so accepted text keeps its separating space.
- While the overlay is visible the suggestion shortcuts are captured so
  Ctrl+Alt+Enter no longer also types a newline; released when hidden.
- nut-js preloaded after boot (first accept waited 4.8 s).
2026-10-03 21:48:28 +09:00
..
dictionary-limits-redteam-r3-26.test.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
dictionary-policy.test.ts
input-suggestion-redteam-r3-1.test.ts feat(desktop): typo auto-correct and context-aware sentence prediction 2026-10-03 21:48:28 +09:00
instruction-template.test.ts
keybinding-altgr-redteam-r3-8.test.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
keybinding-i18n.test.ts
keybinding-redteam-r2-16.test.ts fix(keybinding): stop stealing chords on Windows, release mouse holds, keep cleared actions 2026-09-28 02:16:19 +09:00
keybinding-runtime.test.ts
keybinding.test.ts
llm-chat.test.ts
meeting-markdown-inline-redteam-r3-27.test.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
meeting-markdown.test.ts
meeting-transcript-segments.test.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
meeting-transcript.test.ts
personal-graph-terms-multiscript.test.ts
personal-graph.test.ts feat(desktop): typo auto-correct and context-aware sentence prediction 2026-10-03 21:48:28 +09:00
popup-placement.test.ts fix(suggestion): place overlay in DIPs, size it to content, and harden suggestion sessions 2026-09-28 02:16:15 +09:00
suggestion-continuation.test.ts feat(desktop): typo auto-correct and context-aware sentence prediction 2026-10-03 21:48:28 +09:00
suggestion-redteam-r1-1.test.ts
suggestion-redteam-r2-3.test.ts fix(suggestion): place overlay in DIPs, size it to content, and harden suggestion sessions 2026-09-28 02:16:15 +09:00
template-field-policy.test.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
terminal-prompt.test.ts
transcript-chunking-redteam-r3-3.test.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
typo-correction.test.ts feat(desktop): typo auto-correct and context-aware sentence prediction 2026-10-03 21:48:28 +09:00
url-policy-redteam-r2-9.test.ts fix(security): trust file: URLs only inside the app renderer directory 2026-09-28 02:16:18 +09:00
url-policy.test.ts
voice-llm-route.test.ts fix(voice): stop mic-test ref stealing, unblock action queue, keep tail audio, and move context/LLM routing behind ports and pure policies 2026-09-28 02:16:16 +09:00
write-policies-redteam-r2-1.test.ts
writing-context.test.ts feat(desktop): typo auto-correct and context-aware sentence prediction 2026-10-03 21:48:28 +09:00