d3ro-voice/packages/core/src
Yun Chan f95bc9cdeb refactor(core): delete dead IPC/TTS contract and rewire live payload types (WS-G2)
Wave 5 G2 — 채널·타입 SSOT 정리 (docs/REFACTOR_WAVE5_AUDIT.md W5-02/W5-03).

삭제한 죽은 채널 (값 문자열·`IPC_CHANNELS.X` 참조 모두 0, 빌드 산출물 제외 검증):
- TTS 블록 전체 (tts:speak/stop/getVoices/getActiveVoice/setVoice/getStatus/
  downloadVoice/statusChanged/speakingStateChanged) — preload·handler·렌더러 어디에도 없음
- WINDOW: showRecordingTip, showResultPopup, tipMeasured, tipPrepare, tipShow
- SYSTEM: requestMicPermission, showNotification, getActiveApp, insertText
- HISTORY: export · STATS: getDaily, getWeekly · RAG: queryResult
- SUPPORT: getTickets · POPUP_SUGGESTION: accepted

삭제한 죽은 타입 (참조 0): TTS 9종, ShowRecordingTipParams, ShowResultPopupParams,
TipMeasuredParams, TipPrepareEvent, TipShowEvent, ActiveAppInfo, ShowNotificationParams,
InsertTextParams, InsertTextResult, HistoryExportParams, StatsQueryParams, DailyStats,
WeeklyStats, RAGChunk, CreateSupportTicketParams, DiarizationResult,
MeetingGenerateDocResult (preload는 이미 MeetingDocument를 반환 — 낡은 래퍼).

재배선한 살아있는 계약 (드리프트 수정):
- PullModelParams: 실제 payload는 { modelId } 인데 SSOT는 { modelName } 이었다 →
  타입을 실제에 맞추고 llm-handlers + preload가 코어 타입을 쓰도록 복구
- OpenExternalParams: preload·window-handler 인라인 { url } → 코어 타입
- RecordingTipState/TipStateChangedEvent: WindowManager가 string을 받고 있었다 →
  유니온으로 좁히고 'done'(팝업 렌더러가 실제 사용)을 유니온에 포함

검증:
- npm run typecheck (desktop/web/admin/packages) GREEN
- npm run typecheck:mobile GREEN · lint --max-warnings=0 GREEN
- npm test GREEN (desktop 2800, core 605, web 24, api-client 31)
- npm run test:mobile 599 GREEN · test:hygiene 400 files GREEN
- contract:check GREEN · check:design 0 violations
2026-11-08 21:06:24 +09:00
..
utils fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
araso-layout.ts feat(desktop): built-in Han/Eng layout auto-switching, terminal/Vim support, and Unicode input 2026-10-27 10:48:07 +09:00
caption-streaming.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
chat-template.ts feat(desktop): typo auto-correct and context-aware sentence prediction 2026-10-03 21:48:28 +09:00
constants.ts refactor(core): keep plan prices, cloud quotas and public URLs in one contract (WS-A) 2026-09-26 15:48:18 +09:00
dictation-cleaner.ts feat(input,voice): instant first-word-after-focus PC layout fix and speech disfluency post-processing (INPUT-04, INPUT-19, AI-03, AI-05) 2026-10-29 19:05:01 +09:00
dictionary-policy.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
entitlement.ts
errors.ts feat(desktop): built-in Han/Eng layout auto-switching, terminal/Vim support, and Unicode input 2026-10-27 10:48:07 +09:00
hangul-common-syllables.ts feat(desktop): typo auto-correct and context-aware sentence prediction 2026-10-03 21:48:28 +09:00
index.ts feat(input,voice): instant first-word-after-focus PC layout fix and speech disfluency post-processing (INPUT-04, INPUT-19, AI-03, AI-05) 2026-10-29 19:05:01 +09:00
input-intelligence.ts fix(desktop): prevent modifier key buffer resets, clipboard race on terminal accept, and redundant UIA settle snapshots 2026-10-31 04:19:53 +09:00
instruction-policy.ts fix(desktop): harden session, meeting, caption and LLM lifecycles; route LLM calls through the gateway 2026-09-28 02:16:15 +09:00
instruction-template.ts feat(commands): multi-select ordered command pipeline with step reordering and single-pass composition (AI-05, AI-07) 2026-10-31 02:54:54 +09:00
ipc-channels.ts refactor(core): delete dead IPC/TTS contract and rewire live payload types (WS-G2) 2026-11-08 21:06:24 +09:00
keybinding-runtime.ts fix(desktop): resolve Ctrl+Alt+Enter accept drops and duplicate typo LLM checks 2026-10-31 04:45:55 +09:00
keybinding.ts feat(desktop): built-in Han/Eng layout auto-switching, terminal/Vim support, and Unicode input 2026-10-27 10:48:07 +09:00
llm-chat.ts fix(desktop): harden session, meeting, caption and LLM lifecycles; route LLM calls through the gateway 2026-09-28 02:16:15 +09:00
meeting-live.ts fix(desktop): harden session, meeting, caption and LLM lifecycles; route LLM calls through the gateway 2026-09-28 02:16:15 +09:00
meeting-llm-input.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
meeting-transcript.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
memo-tag-policy.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.ts feat(input): upgrade graph personalization, english morphology detection, and atomic SendInput replacement 2026-10-29 08:16:26 +09:00
personal-ngram.ts feat(input): upgrade graph personalization, english morphology detection, and atomic SendInput replacement 2026-10-29 08:16:26 +09:00
plan-catalog.ts chore: land in-progress workspace changes before 1.16.2 2026-11-05 21:58:44 +09:00
popup-placement.ts fix(suggestion): place overlay in DIPs, size it to content, and harden suggestion sessions 2026-09-28 02:16:15 +09:00
recent-writes.ts feat(desktop): typo auto-correct and context-aware sentence prediction 2026-10-03 21:48:28 +09:00
suggestion-confidence.ts feat(desktop): built-in Han/Eng layout auto-switching, terminal/Vim support, and Unicode input 2026-10-27 10:48:07 +09:00
suggestion-text.ts feat(desktop): built-in Han/Eng layout auto-switching, terminal/Vim support, and Unicode input 2026-10-27 10:48:07 +09:00
supabase-config.ts
template-field-policy.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
terminal-prompt.ts fix(desktop): prevent modifier key buffer resets, clipboard race on terminal accept, and redundant UIA settle snapshots 2026-10-31 04:19:53 +09:00
text-chunking.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
text-segmentation.ts fix(suggestion): place overlay in DIPs, size it to content, and harden suggestion sessions 2026-09-28 02:16:15 +09:00
transcript-correction.ts fix(meeting): keep polish from inventing markers or dropping qualifiers 2026-11-06 23:24:30 +09:00
types.ts refactor(core): delete dead IPC/TTS contract and rewire live payload types (WS-G2) 2026-11-08 21:06:24 +09:00
typo-correction.ts feat(commands): multi-select ordered command pipeline with step reordering and single-pass composition (AI-05, AI-07) 2026-10-31 02:54:54 +09:00
url-policy.ts fix(security): trust file: URLs only inside the app renderer directory 2026-09-28 02:16:18 +09:00
voice-error-message.ts fix: red-team round 3 hardening across desktop, mobile, core and server 2026-09-28 20:45:52 +09:00
voice-llm-route.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
web-urls.ts refactor(billing): remove Stripe; payments are Payple (web) and Google Play (mobile) 2026-09-26 20:56:18 +09:00
writing-context.ts feat(desktop): typo auto-correct and context-aware sentence prediction 2026-10-03 21:48:28 +09:00