d3ro-voice/apps/desktop/tests/main/services
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
..
audio-capture-redteam-r1-3.test.ts refactor(desktop): session-scoped voice runtime, STT/LLM ports, caption ownership and meeting export fixes 2026-09-28 00:53:43 +09:00
audio-capture-redteam-r2-7.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
caption-owner-redteam-r1-3.test.ts refactor(desktop): session-scoped voice runtime, STT/LLM ports, caption ownership and meeting export fixes 2026-09-28 00:53:43 +09:00
caption-stop-failure-redteam-r2-1.test.ts fix(desktop): harden session, meeting, caption and LLM lifecycles; route LLM calls through the gateway 2026-09-28 02:16:15 +09:00
caption-streaming.test.ts feat(caption): stream live captions and polish finished lines in context 2026-09-24 20:22:21 +09:00
ChainService.test.ts refactor(instructions): share instruction template rendering via @d3ro/core 2026-09-28 00:53:44 +09:00
ConfigService.test.ts fix(suggestion): stop generating mid-typing and let a pause bring a suggestion at once 2026-09-27 22:55:26 +09:00
CustomInstructionService.test.ts
dictionary-file-codec.test.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
dictionary-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
DictionaryIo.test.ts feat(desktop): move dictionary entries in and out as files 2026-09-16 23:23:30 +09:00
DictionaryService.test.ts
file-transcription-cancel-redteam-r2-1.test.ts fix(desktop): harden session, meeting, caption and LLM lifecycles; route LLM calls through the gateway 2026-09-28 02:16:15 +09:00
file-transcription-redteam-r1-5.test.ts fix(file-transcription): provision ffmpeg before converting so clean installs stop failing with ENOENT 2026-09-28 00:53:43 +09:00
history-redteam-r1-0.test.ts fix(sync): bind sync engine to its user DB, scope instructions/templates per account, harden navigation 2026-09-28 00:53:42 +09:00
HistoryService.test.ts
input-flow-domain.test.ts release: ship v1.5.0 with on-device writing suggestions 2026-09-23 16:04:27 +09:00
input-flow-services.test.ts fix(suggestion): stop generating mid-typing and let a pause bring a suggestion at once 2026-09-27 22:55:26 +09:00
input-intelligence.test.ts release: ship v1.6.0 with paged suggestions and a cleaner phrase memory 2026-09-24 19:56:28 +09:00
input-telemetry-focus-flicker.test.ts feat(desktop): typo auto-correct and context-aware sentence prediction 2026-10-03 21:48:28 +09:00
input-telemetry-ime-keys.test.ts feat(desktop): typo auto-correct and context-aware sentence prediction 2026-10-03 21:48:28 +09:00
input-telemetry-redteam-r1-1.test.ts refactor(suggestion): drive suggestion decisions from one core step and split SuggestionService collaborators 2026-09-28 00:53:42 +09:00
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-redteam-r2-16.test.ts feat(desktop): typo auto-correct and context-aware sentence prediction 2026-10-03 21:48:28 +09:00
license-entitlement-r1-11.test.ts fix(license): keep signed offline keys across restarts and cloud sign-out 2026-09-28 00:53:45 +09:00
LicenseService-redteam-r1-11.test.ts fix(license): keep signed offline keys across restarts and cloud sign-out 2026-09-28 00:53:45 +09:00
llm-gateway.test.ts refactor(desktop): session-scoped voice runtime, STT/LLM ports, caption ownership and meeting export fixes 2026-09-28 00:53:43 +09:00
llm-limits-routing-redteam-r2-1.test.ts fix(desktop): harden session, meeting, caption and LLM lifecycles; route LLM calls through the gateway 2026-09-28 02:16:15 +09:00
llm-prompts-redteam-r1-7.test.ts refactor(instructions): share instruction template rendering via @d3ro/core 2026-09-28 00:53:44 +09:00
llm-prompts.test.ts feat(desktop): typo auto-correct and context-aware sentence prediction 2026-10-03 21:48:28 +09:00
local-llm-chat-contract-r1-6.test.ts fix(llm): keep system prompts on premium chat, reject incomplete streams, stop double-charging quota 2026-09-28 00:53:44 +09:00
local-llm-service.test.ts release: ship v1.5.0 with on-device writing suggestions 2026-09-23 16:04:27 +09:00
meeting-condense-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
meeting-live-segment-edits-redteam-r1-29.test.ts fix(meeting): persist transcript segment edits, restore live recording view, and route settings deep links by tab id 2026-09-28 00:54:03 +09:00
meeting-session-redteam-r2-1.test.ts fix(desktop): harden session, meeting, caption and LLM lifecycles; route LLM calls through the gateway 2026-09-28 02:16:15 +09:00
personal-graph-context.test.ts feat(desktop): typo auto-correct and context-aware sentence prediction 2026-10-03 21:48:28 +09:00
premium-llm-redteam-r1-6.test.ts fix(llm): keep system prompts on premium chat, reject incomplete streams, stop double-charging quota 2026-09-28 00:53:44 +09:00
rag-docx-redteam-r1-3.test.ts refactor(desktop): session-scoped voice runtime, STT/LLM ports, caption ownership and meeting export fixes 2026-09-28 00:53:43 +09:00
rag-redteam-r2-0.test.ts fix(sync,rag): keep restored rows, reconcile after tombstone pruning, reject partial knowledge docs, surface RAG indexing failures 2026-09-28 02:16:14 +09:00
runtime-install-release-redteam-r2-14.test.ts fix(runtime): release engine file holders right before swapping a reinstalled runtime 2026-09-28 02:16:19 +09:00
runtime-provisioner-redteam-r1-8.test.ts fix(runtime): stage runtime installs strictly, time out only on stalls, and make reinstall actually reinstall 2026-09-28 00:53:44 +09:00
runtime-provisioner-redteam-r3-5.test.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
screen-context-redteam-r1-3.test.ts refactor(desktop): session-scoped voice runtime, STT/LLM ports, caption ownership and meeting export fixes 2026-09-28 00:53:43 +09:00
screen-context-redteam-r2-7.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
SoundEffectService-redteam-r1-15.test.ts fix(sound): apply the Sound switch at once instead of after a restart 2026-09-28 00:53:47 +09:00
stt-fallback-redteam-r1-3.test.ts refactor(desktop): session-scoped voice runtime, STT/LLM ports, caption ownership and meeting export fixes 2026-09-28 00:53:43 +09:00
stt-sidecar-redteam-r2-6.test.ts fix(stt): gate local fallback on installed engine and extract SidecarSupervisor 2026-09-28 02:16:16 +09:00
stt-timeout-redteam-r3-1.test.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
STTManager.test.ts feat(desktop): make local speech transcription work end to end 2026-09-18 00:48:47 +09:00
suggestion-redteam-r1-1.test.ts feat(desktop): typo auto-correct and context-aware sentence prediction 2026-10-03 21:48:28 +09:00
suggestion-redteam-r2-3.test.ts feat(desktop): typo auto-correct and context-aware sentence prediction 2026-10-03 21:48:28 +09:00
suggestion-redteam-r3-1.test.ts feat(desktop): typo auto-correct and context-aware sentence prediction 2026-10-03 21:48:28 +09:00
SuggestionService.test.ts feat(desktop): typo auto-correct and context-aware sentence prediction 2026-10-03 21:48:28 +09:00
textinsert-redteam-r1-2.test.ts feat(desktop): typo auto-correct and context-aware sentence prediction 2026-10-03 21:48:28 +09:00
textinsert-redteam-r2-4.test.ts fix(text-insert): drop nut-js 300ms key delay and send paste as one chord 2026-09-28 02:16:15 +09:00
tts-redteam-r1-14.test.ts fix(tts): pass Windows TTS text via env and let stop() only cancel its own playback 2026-09-28 00:53:46 +09:00
TypoCorrectionService.test.ts feat(desktop): typo auto-correct and context-aware sentence prediction 2026-10-03 21:48:28 +09:00
UnifiedSearchService.test.ts feat: add mobile shell and unified search 2026-09-28 23:23:36 +09:00
update-service-redteam-r1-3.test.ts fix(update): re-evaluate policy on every update transition and skip NSIS updater on portable installs 2026-09-28 02:16:18 +09:00
update-service-redteam-r2-11.test.ts fix(update): re-evaluate policy on every update transition and skip NSIS updater on portable installs 2026-09-28 02:16:18 +09:00
voice-command-redteam-r3-9.test.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
voice-conversation-redteam-r2-1.test.ts fix(desktop): harden session, meeting, caption and LLM lifecycles; route LLM calls through the gateway 2026-09-28 02:16:15 +09:00
voice-intent.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
voice-mode-redteam-r1-3.test.ts refactor(desktop): session-scoped voice runtime, STT/LLM ports, caption ownership and meeting export fixes 2026-09-28 00:53:43 +09:00
voice-mode-redteam-r2-7.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
voice-recording-store-redteam-r3-1.test.ts fix(ci): point release-metadata checks at the relocated update and publish guards 2026-09-28 20:55:11 +09:00
VoiceConversationService.test.ts release: ship v1.5.0 with on-device writing suggestions 2026-09-23 16:04:27 +09:00
VoiceModeService.test.ts refactor(instructions): share instruction template rendering via @d3ro/core 2026-09-28 00:53:44 +09:00
windows-child-process-hide.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