diff --git a/CHANGELOG.md b/CHANGELOG.md
index 547f8cd4..865f98b5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,34 +12,6 @@ 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.15.3] - 2026-10-31
-
-> Published from an annotated tag. Installer and update metadata are served by the
-> canonical Forgejo feed; no binaries are committed to this repository.
-
-### Fixed
-- **`Ctrl + Alt + Enter` suggestion acceptance reliability (`@d3ro/core/keybinding-runtime`, `KeyBindingService`, `SuggestionService`, `bootstrap`).**
- - Fixes `ChordStateMachine.keyUp` so releasing a shared modifier (`Ctrl` or `RightAlt`) releases all held chords in `_isDown` that depend on that modifier instead of stopping after the first match (`command` `Ctrl+RightAlt`), preventing `suggestion-accept` (`Ctrl+Alt+Enter`) from remaining stuck in `_isDown` and silently dropping subsequent presses as auto-repeat.
- - Maps `UiohookKey.NumpadEnter` and numpad navigation keys in `UIOHOOK_TO_VK` and adds a 25 ms OS `globalShortcut` fallback trigger in `KeyBindingService._syncSuggestionCapture` so `Ctrl+Alt+Enter` still fires even if `uiohook` misses a key event.
- - Keeps OS suggestion shortcut capture active while the `"생성 중..."` pending indicator or an accept is in flight (`isOverlayOrCaptureActive`), and when `Ctrl+Alt+Enter` is pressed while candidate #1 is still streaming (`_inFlight` / `_generating` / `_pending`), waits up to 2.5 s for candidate #1 to finish and immediately accepts it instead of ignoring the key press.
-- **Duplicate typo-model check elimination (`TypoCorrectionService.propose`).**
- - Skips re-running `_askModel` in `TypoCorrectionService.propose` when `handleTypingContext` has already verified the same region (`_isRegionChecked(region)`), preventing a redundant 336-token LLM call during suggestion candidate filling from evicting Ollama's suggestion KV cache.
-
-## [1.15.2] - 2026-10-31
-
-> Published from an annotated tag. Installer and update metadata are served by the
-> canonical Forgejo feed; no binaries are committed to this repository.
-
-### Fixed
-- **Modifier key (`Ctrl` / `Alt` / `Shift` / `Win`) classification & terminal buffer preservation (`@d3ro/core/input-intelligence`, `@d3ro/core/terminal-prompt`, `InputTelemetryService`).**
- - Fixes `classifyKeyStroke` so modifier virtual keycodes (`0x10..0x12`, `0x5b..0x5c`, `0xa0..0xa5`) are classified as `'modifier'` before checking `modifiers.ctrl || modifiers.alt || modifiers.meta` (which `uiohook-napi` sets to `true` on the modifier keydown itself). Previously, pressing or holding `Ctrl` / `Alt` was misclassified as `'shortcut'` (`key=shortcut+C+A`), wiping out `TerminalKeystrokeTracker`'s active line buffer (`prefixLen=0`), clearing `_typedInCurrentFocus`, and triggering repeated UIA snapshots on every key-repeat tick.
- - Ignores standalone modifier keydowns and D3RO Voice's own `Ctrl+Alt` suggestion navigation/accept chords (`Ctrl+Alt+Up/Down/Left/Right/Enter/Space/Backspace`) in `InputTelemetryService._handleKeyDown` and `TerminalKeystrokeTracker.onKeyDown` without advancing `_inputRevision` / `_lastKeyAt` or resetting the tracked terminal line.
-- **Terminal suggestion acceptance without clipboard race (`SuggestionService._insertAccepted`).**
- - Uses direct Unicode keyboard injection (`insertMethod = 'keyboard'` via `SendInput(KEYEVENTF_UNICODE)`) instead of clipboard `Ctrl+V` when accepting a suggestion in terminal mode (`terminalMode === true` or `isTerminalApp(appName)`, including `xterm-helper-textarea`, `WindowsTerminal`, and `Kitedesk`), preventing delayed terminal paste processing from pasting the restored previous clipboard content (such as copied URLs) and synchronizing `TerminalKeystrokeTracker` via `applyProgrammaticReplacement`.
- - Stops the background candidate fill loop (`_fillRemainingCandidates`) immediately when `SuggestionService.accept()` is triggered so new candidates do not continue streaming while waiting for modifier release.
-- **UIA snapshot timer optimization (`InputTelemetryService._scheduleTextSnapshot`, `_readTextSnapshot`).**
- - Skips scheduling the 780 ms `_settleTimer` UIA snapshot on non-typing keys (`Enter`, `Arrow`, `Shortcut`, `Navigation`, `Function`, `Tab`) and automatically cancels any pending `_settleTimer` once the 380 ms `_textTimer` snapshot determines the field cannot trigger a suggestion (`prefixLen < minPrefixChars`, non-editable, or password), cutting redundant UIA bridge calls in half during everyday typing and navigation.
-
## [1.15.1] - 2026-10-31
> Published from an annotated tag. Installer and update metadata are served by the
diff --git a/apps/admin-swagger/openapi.json b/apps/admin-swagger/openapi.json
index 87a928b2..bfaf6373 100644
--- a/apps/admin-swagger/openapi.json
+++ b/apps/admin-swagger/openapi.json
@@ -3,7 +3,7 @@
"info": {
"title": "D3RO-VOICE Admin API",
"description": "Admin CRM Edge Functions for user management, subscription CRUD, payment history, and audit logs.",
- "version": "1.15.3"
+ "version": "1.15.1"
},
"servers": [
{
diff --git a/apps/admin/package.json b/apps/admin/package.json
index 2729d998..d2d487b9 100644
--- a/apps/admin/package.json
+++ b/apps/admin/package.json
@@ -1,6 +1,6 @@
{
"name": "@d3ro/admin",
- "version": "1.15.3",
+ "version": "1.15.1",
"private": true,
"description": "D3RO Voice Admin CRM — SaaS 관리 도구",
"scripts": {
diff --git a/apps/api-server/D3ROVoice.Api.csproj b/apps/api-server/D3ROVoice.Api.csproj
index 059d59b3..74145958 100644
--- a/apps/api-server/D3ROVoice.Api.csproj
+++ b/apps/api-server/D3ROVoice.Api.csproj
@@ -2,7 +2,7 @@
net10.0
- 1.15.3
+ 1.15.1
enable
enable
diff --git a/apps/desktop/package.json b/apps/desktop/package.json
index c6cca645..f30613f4 100644
--- a/apps/desktop/package.json
+++ b/apps/desktop/package.json
@@ -1,6 +1,6 @@
{
"name": "@d3ro/desktop",
- "version": "1.15.3",
+ "version": "1.15.1",
"productName": "d3ro-voice",
"description": "로컬 AI 음성 어시스턴트 (Electron)",
"main": "./out/main/index.js",
diff --git a/apps/desktop/src/main/bootstrap.ts b/apps/desktop/src/main/bootstrap.ts
index 717e7227..0a4aa2ac 100644
--- a/apps/desktop/src/main/bootstrap.ts
+++ b/apps/desktop/src/main/bootstrap.ts
@@ -284,7 +284,7 @@ async function initInputIntelligence(): Promise {
// 제안 창이 떠 있는 동안만 제안 단축키를 OS 에서 잡는다 — Ctrl+Alt+Enter 가 앱에도 전달돼
// 개행이 들어가던 문제(2026-10-03). 창이 사라지면 바로 푼다.
const syncSuggestionKeyCapture = (): void =>
- getKeyBindingService().setSuggestionCaptureActive(suggestion.isOverlayOrCaptureActive)
+ getKeyBindingService().setSuggestionCaptureActive(suggestion.isPresentationActive)
suggestion.on('updated', (state) => {
overlay.onUpdated(state)
syncSuggestionKeyCapture()
@@ -319,7 +319,7 @@ async function initInputIntelligence(): Promise {
trackModifierKeys()
uIOhook.on('keydown', (event: UiohookKeyboardEvent) => {
if (uiohookCodeToVk(event.keycode) !== VK.Escape) return
- const shouldDismiss = shouldDismissOnEscape(suggestion.isOverlayOrCaptureActive, {
+ const shouldDismiss = shouldDismissOnEscape(suggestion.isPresentationActive, {
ctrl: event.ctrlKey === true,
alt: event.altKey === true,
shift: event.shiftKey === true,
diff --git a/apps/desktop/src/main/services/InputTelemetryService.ts b/apps/desktop/src/main/services/InputTelemetryService.ts
index ef8b4014..4448d7a2 100644
--- a/apps/desktop/src/main/services/InputTelemetryService.ts
+++ b/apps/desktop/src/main/services/InputTelemetryService.ts
@@ -40,7 +40,6 @@ import {
isTerminalApp,
manhattanDistance,
mergeActivityBucket,
- normalizeRequestPrefix,
rankFlowWindows,
recommendAppExclusion,
summarizeActivity,
@@ -533,6 +532,8 @@ class InputTelemetryService extends EventEmitter {
// ── 이벤트 수집 ────────────────────────────────────────
private _handleKeyDown(event: UiohookKeyboardEvent): void {
+ // 합성 키도 화면을 바꾼다. 통계 제외 여부와 무관하게 이전 UIA 응답은 무효다.
+ this._inputRevision += 1
this._syncModifiers(event)
// Win32 SendInput(KEYEVENTF_UNICODE) 가 보내는 합성 유니코드 키는 uiohook 에서 keycode=0 으로 들어온다.
// 사용자 키스트로크나 IME 입력으로 처리하면 버퍼와 타이머를 교란하므로 즉시 무시한다.
@@ -552,7 +553,6 @@ class InputTelemetryService extends EventEmitter {
vk === 0xa2 ||
vk === 0xa3
if (isExpectedProgrammaticKey) {
- this._inputRevision += 1
this._programmaticKeys -= 1
if (this._programmaticKeys === 0) {
this._scheduleTextSnapshot()
@@ -560,24 +560,6 @@ class InputTelemetryService extends EventEmitter {
return
}
}
- // 순수 수정자 키(Ctrl/Alt/Shift/Win) 단독 눌림·키 반복은 화면 텍스트를 바꾸지 않는다.
- // 여기서 _inputRevision·_lastKeyAt·스냅샷 타이머를 건드리면 수정자 키를 쥐고 있는 동안
- // 진행 중 UIA 스냅샷이 버려지고 유휴 시간(idleMs)과 터미널 버퍼가 리셋된다.
- if (vk !== null && classifyKeyStroke(vk, this._modifiers) === 'modifier') {
- return
- }
- // D3RO Voice 전역 제안 탐색/수락 단축키(Ctrl+Alt+방향키/Enter/Space/Backspace)는
- // OS globalShortcut 이 가로채므로 대상 앱 텍스트를 바꾸지 않는다.
- const isSuggestionChord =
- this._modifiers.ctrl &&
- this._modifiers.alt &&
- !this._modifiers.meta &&
- (vk === 0x0d || vk === 0x20 || vk === 0x08 || (vk !== null && vk >= 0x25 && vk <= 0x28))
- if (isSuggestionChord) {
- return
- }
- // 실제 키 입력은 화면을 바꾼다 — 이전 UIA 응답은 무효다.
- this._inputRevision += 1
this._registerInput(true)
const bucket = this._bucket()
// 한글·일본어 IME 가 켜져 있으면 Windows 는 글자 키를 VK_PROCESSKEY 로 넘기고, uiohook 은 그것을
@@ -854,27 +836,22 @@ class InputTelemetryService extends EventEmitter {
}, INPUT_TELEMETRY_DEFAULTS.textSnapshotDebounceMs)
this._textTimer.unref?.()
- // 제안 트리거 지연(기본 600ms)이 스냅샷 디바운스(380ms)보다 크다. 스냅샷이
+ // 제안 트리거 지연(기본 1000ms)이 스냅샷 디바운스(700ms)보다 크다. 스냅샷이
// 디바운스에만 돌면 "타이핑을 멈춘 뒤 N ms" 조건이 결코 충족되지 않아
// 제안이 영원히 요청되지 않는다(실측: debounce 로그만 반복). 그래서
- // 실제 글자/편집 입력이 있었고 제안이 켜져 있을 때만 트리거 지연을 넘긴 시점에 한 번 더 스냅샷을 돌린다.
- if (this._settleTimer) {
- clearTimeout(this._settleTimer)
+ // 트리거 지연을 넘긴 시점에 한 번 더 스냅샷을 돌려 게이트를 연다.
+ if (this._settleTimer) clearTimeout(this._settleTimer)
+ // 조합 중(한글은 멈출 때 거의 늘 조합 중이다)에 필요한 유휴 시간을 막 넘긴 순간에 찍는다 — 예전엔
+ // 지연+400ms(=1초)라 멈춘 뒤 제안이 그만큼 늦게 시작됐다(실측 2026-10-17: "빠릿하지 않다").
+ const settleDelay = Math.max(
+ INPUT_TELEMETRY_DEFAULTS.textSnapshotDebounceMs + 50,
+ Math.ceil((configGet('suggestionTriggerDelayMs') || SUGGESTION_DEFAULTS.triggerDelayMs) * COMPOSING_IDLE_MULTIPLIER) + 60
+ )
+ this._settleTimer = setTimeout(() => {
this._settleTimer = null
- }
- if ((!keyClass || TYPING_KEY_CLASSES.has(keyClass)) && configGet('suggestionEnabled') === true) {
- // 조합 중(한글은 멈출 때 거의 늘 조합 중이다)에 필요한 유휴 시간을 막 넘긴 순간에 찍는다 — 예전엔
- // 지연+400ms(=1초)라 멈춘 뒤 제안이 그만큼 늦게 시작됐다(실측 2026-10-17: "빠릿하지 않다").
- const settleDelay = Math.max(
- INPUT_TELEMETRY_DEFAULTS.textSnapshotDebounceMs + 50,
- Math.ceil((configGet('suggestionTriggerDelayMs') || SUGGESTION_DEFAULTS.triggerDelayMs) * COMPOSING_IDLE_MULTIPLIER) + 60
- )
- this._settleTimer = setTimeout(() => {
- this._settleTimer = null
- void this._captureTextSnapshot()
- }, settleDelay)
- this._settleTimer.unref?.()
- }
+ void this._captureTextSnapshot()
+ }, settleDelay)
+ this._settleTimer.unref?.()
}
/**
@@ -1164,21 +1141,6 @@ class InputTelemetryService extends EventEmitter {
}
this._lastContext = context
- if (this._settleTimer) {
- const minPrefixChars = configGet('suggestionMinPrefixChars') || SUGGESTION_DEFAULTS.minPrefixChars
- const canTriggerSuggestion =
- configGet('suggestionEnabled') === true &&
- context.available &&
- context.isEditable &&
- !context.isPassword &&
- context.editedSinceFocus &&
- context.typedRecently &&
- normalizeRequestPrefix(context.prefix).length + (context.isComposing ? 1 : 0) >= minPrefixChars
- if (!canTriggerSuggestion) {
- clearTimeout(this._settleTimer)
- this._settleTimer = null
- }
- }
this.emit('typed-context', context)
// 진단 줄이 즉시 갱신되도록 상태 변경을 알린다 (키 입력마다가 아니라 스냅샷마다).
this._emitState()
diff --git a/apps/desktop/src/main/services/KeyBindingService.ts b/apps/desktop/src/main/services/KeyBindingService.ts
index 5ba98668..91acdbb1 100644
--- a/apps/desktop/src/main/services/KeyBindingService.ts
+++ b/apps/desktop/src/main/services/KeyBindingService.ts
@@ -17,11 +17,7 @@ import { getLogger } from './LoggerService'
import { acquireGlobalInputHook } from './global-input-hook'
import { forgetHeldModifiers } from './modifier-state'
import { configGet, loadKeyBindings, onConfigChanged } from './ConfigService'
-import {
- acceleratorsToReserve,
- bindingToAccelerator,
- suggestionCaptureAccelerators
-} from './keybinding-accelerator-policy'
+import { acceleratorsToReserve, suggestionCaptureAccelerators } from './keybinding-accelerator-policy'
import type { ReservableBinding } from './keybinding-accelerator-policy'
import { D3ROError, ErrorCode } from '@d3ro/core/errors'
import {
@@ -37,12 +33,7 @@ import type {
ChordClock,
ChordTriggerEvent
} from '@d3ro/core/keybinding-runtime'
-import type {
- KeyBinding,
- KeyBindingActionId,
- KeyBindingActionSpec,
- MouseButtonCode
-} from '@d3ro/core/types'
+import type { KeyBinding, KeyBindingActionSpec, MouseButtonCode } from '@d3ro/core/types'
const logger = getLogger('KeyBindingService')
@@ -214,22 +205,9 @@ const VK_TO_UIOHOOK: ReadonlyMap = new Map([
[VK.NumLock, UiohookKey.NumLock]
])
-const UIOHOOK_TO_VK: ReadonlyMap = new Map([
- ...Array.from(VK_TO_UIOHOOK, ([vk, uiohookCode]) => [uiohookCode, vk] as const),
- // 넘패드 확장 키(NumpadEnter / Numpad 방향키)는 Windows VK 에 별도 코드가 없어
- // 일반 Enter / 방향키 VK 로 합류시킨다 — 넘패드 Enter 로도 Ctrl+Alt+Enter 수락이 동작하도록 한다.
- [UiohookKey.NumpadEnter, VK.Enter],
- [UiohookKey.NumpadArrowLeft, VK.ArrowLeft],
- [UiohookKey.NumpadArrowUp, VK.ArrowUp],
- [UiohookKey.NumpadArrowRight, VK.ArrowRight],
- [UiohookKey.NumpadArrowDown, VK.ArrowDown],
- [UiohookKey.NumpadHome, VK.Home],
- [UiohookKey.NumpadEnd, VK.End],
- [UiohookKey.NumpadPageUp, VK.PageUp],
- [UiohookKey.NumpadPageDown, VK.PageDown],
- [UiohookKey.NumpadInsert, VK.Insert],
- [UiohookKey.NumpadDelete, VK.Delete]
-])
+const UIOHOOK_TO_VK: ReadonlyMap = new Map(
+ Array.from(VK_TO_UIOHOOK, ([vk, uiohookCode]) => [uiohookCode, vk] as const)
+)
/**
* uiohook 이트 키코드 → Windows VK (정본 좌표계).
@@ -285,12 +263,7 @@ class KeyBindingService extends EventEmitter {
/** press / release · 더블프레스 · AltGr 보류 판정 (순수 정책, core) */
private readonly _machine = new ChordStateMachine({
clock: systemClock,
- onTrigger: (event) => {
- if (event.type === 'pressed') {
- this._lastPressedAt.set(event.actionId, Date.now())
- }
- this.emit('triggered', event)
- },
+ onTrigger: (event) => this.emit('triggered', event),
debug: (message) => logger.debug(message)
})
@@ -306,8 +279,6 @@ class KeyBindingService extends EventEmitter {
/** 제안 창이 떠 있는 동안만 잡는 제안 단축키 (키를 앱에 넘기지 않으려고) */
private _suggestionCaptureWanted = false
private _capturedAccelerators: Set = new Set()
- private _lastPressedAt: Map = new Map()
- private _captureFallbackTimers: Set> = new Set()
/** 상태 머신에 등록한 바인딩과 액션 — accelerator 예약 정책의 입력 */
private _reservable: ReservableBinding[] = []
@@ -538,9 +509,7 @@ class KeyBindingService extends EventEmitter {
for (const accelerator of suggestionCaptureAccelerators(this._reservable, process.platform, this._ownedAccelerators)) {
try {
const ok = globalShortcut.register(accelerator, () => {
- // 기본 경로는 uiohook 이나, 관리자 창(UIPI)·수정자 비동기 등으로 uiohook 이 놓쳤을 때
- // OS 핫키만 삼켜지고 동작이 안 나가는 일을 막기 위해 25ms 뒤 폴백 트리거를 보낸다.
- this._scheduleCapturedSuggestionFallback(accelerator)
+ // noop — 동작은 uiohook 이 낸다. 등록 목적은 키를 앱에 넘기지 않는 것이다.
})
if (ok) this._capturedAccelerators.add(accelerator)
else logger.debug(`제안 단축키를 잡지 못함 (다른 곳에서 사용 중): ${accelerator}`)
@@ -550,37 +519,7 @@ class KeyBindingService extends EventEmitter {
}
}
- private _scheduleCapturedSuggestionFallback(accelerator: string): void {
- const timer = setTimeout(() => {
- this._captureFallbackTimers.delete(timer)
- if (!this._suggestionCaptureWanted || !this._isRunning) return
- const now = Date.now()
- for (const { actionId, binding } of this._reservable) {
- if (bindingToAccelerator(binding, process.platform) !== accelerator) continue
- const lastPressed = this._lastPressedAt.get(actionId) ?? 0
- if (now - lastPressed <= 250) continue
- this._lastPressedAt.set(actionId, now)
- logger.info(`제안 단축키 OS 캡처 폴백 발동: ${actionId} (${accelerator})`)
- this.emit('triggered', {
- actionId,
- type: 'pressed',
- isDoublePress: false,
- holdMode: false,
- timestamp: now,
- durationMs: 0,
- binding: { ...binding }
- })
- }
- }, 25)
- timer.unref?.()
- this._captureFallbackTimers.add(timer)
- }
-
private _releaseSuggestionCapture(): void {
- for (const timer of this._captureFallbackTimers) {
- clearTimeout(timer)
- }
- this._captureFallbackTimers.clear()
for (const accelerator of this._capturedAccelerators) {
try {
globalShortcut.unregister(accelerator)
diff --git a/apps/desktop/src/main/services/SuggestionService.ts b/apps/desktop/src/main/services/SuggestionService.ts
index 40a63a41..c5bdf09c 100644
--- a/apps/desktop/src/main/services/SuggestionService.ts
+++ b/apps/desktop/src/main/services/SuggestionService.ts
@@ -86,8 +86,6 @@ export interface SuggestionLearningPort {
recordAccepted(text: string, meta: { appName: string | null; windowTitle: string | null }): void
/** 곧 보낼 프로그램 키 수(교정 수락의 백스페이스 등) — 입력 통계에서 뺀다. */
expectProgrammaticKeys?(count: number): void
- /** 터미널 키스트로크 버퍼에 프로그램 치환/삽입을 반영한다. */
- applyProgrammaticReplacement?(deleteCount: number, insertText: string, baseLength?: number): void
}
/**
@@ -134,8 +132,6 @@ export function createDefaultSuggestionServiceDeps(): SuggestionServiceDeps {
learning: {
expectProgrammaticInsert: (text) => getInputTelemetryService().expectProgrammaticInsert(text),
expectProgrammaticKeys: (count) => getInputTelemetryService().expectProgrammaticKeys(count),
- applyProgrammaticReplacement: (deleteCount, insertText, baseLength) =>
- getInputTelemetryService().applyProgrammaticReplacement(deleteCount, insertText, baseLength),
recordAccepted: (text, meta) =>
getInputTelemetryService().recordExternalText(text, { ...meta, source: 'suggestion' })
}
@@ -468,11 +464,6 @@ export class SuggestionService extends EventEmitter {
return this.isVisible || this._generating || this._warmingUp || this._partialText.length > 0
}
- /** 오버레이가 화면에 떠 있거나("생성 중" 보류·수락 대기 포함) 제안 단축키 캡처가 필요한 상태인가 */
- get isOverlayOrCaptureActive(): boolean {
- return this.isPresentationActive || this._pending || this._acceptInFlight
- }
-
get activeText(): string | null {
return this._candidates[this._activeIndex]?.text ?? null
}
@@ -2121,26 +2112,6 @@ export class SuggestionService extends EventEmitter {
if (index !== undefined && index >= 0 && index < this._candidates.length) {
this._activeIndex = index
}
- if (!this._candidates[this._activeIndex] && (this._inFlight || this._generating || this._pending)) {
- if (this._pending && !this._inFlight && this._lastContext) {
- const config = this.readPolicyConfig()
- const prefix = normalizeRequestPrefix(this._lastContext.prefix)
- if (prefix.length > 0) {
- this._clearPending(false)
- void this._generate(prefix, this._lastContext, config.maxCandidates, config.maxChars)
- }
- }
- logger.info('제안 수락 대기: 첫 후보 생성 중 — 완료 즉시 수락합니다')
- this._acceptInFlight = true
- try {
- await this._waitForFirstCandidate(2500)
- } finally {
- this._acceptInFlight = false
- }
- if (index !== undefined && index >= 0 && index < this._candidates.length) {
- this._activeIndex = index
- }
- }
const candidate = this._candidates[this._activeIndex]
if (!candidate) {
// 창이 이미 닫힌 뒤의 클릭·단축키 — 조용히 끝나면 "골라도 안 들어간다" 의 원인이 안 보인다.
@@ -2175,22 +2146,11 @@ export class SuggestionService extends EventEmitter {
const anchorKind = this._anchorKind
const provenance = this._provenance
const composing = this._lastContext?.isComposing === true
- const terminalMode = this._lastContext?.terminalMode === true
const appName = this._appName
const windowTitle = this._windowTitle
const targetWindow = this._windowHandle
const sessionRecordId = this._sessionRecordId
- // 수락이 시작된 순간 추가 후보 채우기 루프는 즉시 멈춘다 — 손을 떼길 기다리는 동안
- // 2/12, 3/12 후보가 계속 스트리밍되면 사용자가 아직 선택 중이라 오인해 Ctrl+Alt 를 계속 쥐고 있게 된다.
- if (this._filling) {
- this._filling = false
- this._fillAbort?.abort()
- this._fillAbort = null
- if (!this._inFlight) this._generating = false
- this.emit('updated', this.getState())
- }
-
// 단축키로 수락했다면 사용자가 아직 키를 쥐고 있다. 그대로 Ctrl+V 를 보내면 대상 앱에 Ctrl+Alt+V 가 들어가
// 붙여넣기가 되지 않는다. 창을 띄워 둔 채 손을 다 뗄 때까지 기다린다(최대 5초) — 창이 먼저 사라지면 사용자는
// "들어가는 중" 이라 여기고 계속 쥐고 있었다(2026-10-25). 클릭 수락은 기다림 없이 바로 지나간다.
@@ -2213,7 +2173,6 @@ export class SuggestionService extends EventEmitter {
text,
deleteCount,
composing,
- terminalMode,
appName,
windowTitle,
targetWindow,
@@ -2229,34 +2188,6 @@ export class SuggestionService extends EventEmitter {
}
}
- private _waitForFirstCandidate(timeoutMs: number): Promise {
- if (this._candidates.length > 0) return Promise.resolve(true)
- if (!this._inFlight && !this._generating && !this._pending) return Promise.resolve(false)
- return new Promise((resolve) => {
- let settled = false
- const finish = (ok: boolean): void => {
- if (settled) return
- settled = true
- clearTimeout(timer)
- this.off('updated', onUpdated)
- this.off('cleared', onCleared)
- resolve(ok)
- }
- const onUpdated = (): void => {
- if (this._candidates.length > 0) {
- finish(true)
- } else if (!this._inFlight && !this._generating && !this._pending) {
- finish(false)
- }
- }
- const onCleared = (): void => finish(false)
- const timer = setTimeout(() => finish(this._candidates.length > 0), timeoutMs)
- timer.unref?.()
- this.on('updated', onUpdated)
- this.on('cleared', onCleared)
- })
- }
-
/** 단어 단위 수락 뒤 남은 문장을 같은 자리에 다시 띄운다 — 세션 접두는 방금 넣은 글까지로 맞춘다. */
private _presentRemainder(
prefixAfterInsert: string,
@@ -2291,7 +2222,6 @@ export class SuggestionService extends EventEmitter {
text: string
deleteCount: number
composing: boolean
- terminalMode?: boolean
appName: string | null
windowTitle: string | null
targetWindow: number | null
@@ -2300,17 +2230,7 @@ export class SuggestionService extends EventEmitter {
/** 수락한 문장을 사용자 문체 표본으로 배운다 (단어 단위 수락은 false) */
learn?: boolean
}): Promise {
- const {
- text,
- deleteCount,
- composing,
- terminalMode = false,
- appName,
- windowTitle,
- targetWindow,
- sessionRecordId,
- candidateText
- } = params
+ const { text, deleteCount, composing, appName, windowTitle, targetWindow, sessionRecordId, candidateText } = params
// 붙여넣기(Ctrl+V)는 그 순간의 포그라운드 창으로 간다. 오버레이는 다음 스냅샷이 와야
// 닫히므로, 그사이 다른 앱으로 옮겨 간 뒤 수락하면 엉뚱한 창에 삽입됐다 — 세션을 만든
// 창이 아니면 삽입하지 않는다 (창을 알 수 없으면 기존처럼 진행한다).
@@ -2327,11 +2247,7 @@ export class SuggestionService extends EventEmitter {
// 삽입 직후의 텍스트 스냅샷 diff 가 이 텍스트를 "타이핑" 으로 다시 학습하지 않도록 알린다.
const cancelExpectedInsert = this._learning.expectProgrammaticInsert(text)
const method = configGet('insertMethod')
- // 터미널(xterm-helper-textarea, Windows Terminal, Kitedesk 등)에서는 Ctrl+V 붙여넣기가
- // 클립보드 복원 타이밍(250ms)과 경합해 이전 클립보드(URL 등)가 대신 붙여넣어지거나 ^V 가 입력될 수 있으므로
- // 클립보드를 건드리지 않는 직접 유니코드 키보드 주입('keyboard')을 사용한다.
- const isTerminal = terminalMode || isTerminalApp(appName)
- const insertMethod = method === 'keyboard' || isTerminal ? 'keyboard' : 'clipboard'
+ const insertMethod = method === 'keyboard' ? 'keyboard' : 'clipboard'
try {
if (deleteCount > 0) {
// 확정용 Space(+1)·백스페이스·붙여넣기(Ctrl, V) 키는 사용자 입력 통계에서 뺀다.
@@ -2350,9 +2266,6 @@ export class SuggestionService extends EventEmitter {
logger.warn(`제안 삽입 실패 (method=${result.method}, len=${result.textLength})`)
return { ok: false, reason: 'generation-failed' }
}
- if (isTerminal) {
- this._learning.applyProgrammaticReplacement?.(deleteCount, text)
- }
} catch (error) {
cancelExpectedInsert()
logger.warn(`제안 삽입 예외: ${error instanceof Error ? error.message : String(error)}`)
diff --git a/apps/desktop/src/main/services/TypoCorrectionService.ts b/apps/desktop/src/main/services/TypoCorrectionService.ts
index 6fb9a624..c396c78d 100644
--- a/apps/desktop/src/main/services/TypoCorrectionService.ts
+++ b/apps/desktop/src/main/services/TypoCorrectionService.ts
@@ -368,12 +368,7 @@ export class TypoCorrectionService extends EventEmitter {
let fromModel: TypoCorrection[] = []
const model = configGet('typoAutoCorrectUseModel') !== false ? this._deps.warmModel() : null
- // handleTypingContext 의 자동 교정(_runModelCheck)이 이미 같은 구간을 모델로 검사해
- // 교정 사항 없음으로 확인했다면, 제안 채우기 중(_proposeLateCorrection) 같은 구간을
- // 다시 모델에 물어 Ollama KV 캐시를 밀어내지 않는다.
- const worthAsking =
- !this._isRegionChecked(region) &&
- (hasSuspiciousTypo(region) || (options.thorough === true && this._worthModelCheck(region)))
+ const worthAsking = hasSuspiciousTypo(region) || (options.thorough === true && this._worthModelCheck(region))
if (model && worthAsking) {
const abort = new AbortController()
const forward = (): void => abort.abort()
@@ -382,9 +377,6 @@ export class TypoCorrectionService extends EventEmitter {
timer.unref?.()
try {
fromModel = await this._askModel(model, prefix, abort.signal, ignoredWords, vocabulary.known)
- if (!abort.signal.aborted && fromModel.length === 0) {
- this._markRegionChecked(region)
- }
} catch (error) {
if (!abort.signal.aborted) {
logger.debug(`제안용 오타 검사 실패: ${error instanceof Error ? error.message : String(error)}`)
diff --git a/apps/desktop/tests/main/services/KeyBindingService.test.ts b/apps/desktop/tests/main/services/KeyBindingService.test.ts
index 773b0cf7..130b4f2c 100644
--- a/apps/desktop/tests/main/services/KeyBindingService.test.ts
+++ b/apps/desktop/tests/main/services/KeyBindingService.test.ts
@@ -507,35 +507,5 @@ describe('KeyBindingService', () => {
expect.any(Function),
)
})
-
- it('triggers suggestion-accept for NumpadEnter and via OS capture fallback when uiohook misses the key', () => {
- vi.useFakeTimers()
- try {
- const service = getKeyBindingService()
- const triggered: KeyBindingTriggerPayload[] = []
- service.on('triggered', (payload) => triggered.push(payload))
- service.loadFromConfig()
- service.start()
- service.setSuggestionCaptureActive(true)
-
- // 1) NumpadEnter via uiohook
- hook.keydown({ keycode: UiohookKey.NumpadEnter, ctrlKey: true, altKey: true })
- hook.keyup({ keycode: UiohookKey.NumpadEnter, ctrlKey: true, altKey: true })
- expect(triggered.filter((t) => t.actionId === 'suggestion-accept' && t.type === 'pressed')).toHaveLength(1)
-
- // 2) OS globalShortcut callback fires without a recent uiohook press (e.g. elevated window / UIPI)
- vi.advanceTimersByTime(300)
- const returnCall = vi
- .mocked(globalShortcut.register)
- .mock.calls.find(([accelerator]) => accelerator === 'Control+Alt+Return')
- const callback = returnCall?.[1] as (() => void) | undefined
- expect(callback).toBeDefined()
- callback?.()
- vi.advanceTimersByTime(30)
- expect(triggered.filter((t) => t.actionId === 'suggestion-accept' && t.type === 'pressed')).toHaveLength(2)
- } finally {
- vi.useRealTimers()
- }
- })
})
})
diff --git a/apps/desktop/tests/main/services/input-intelligence.test.ts b/apps/desktop/tests/main/services/input-intelligence.test.ts
index c627292a..386a83db 100644
--- a/apps/desktop/tests/main/services/input-intelligence.test.ts
+++ b/apps/desktop/tests/main/services/input-intelligence.test.ts
@@ -108,15 +108,10 @@ describe('classifyKeyStroke', () => {
expect(classifyKeyStroke(0xe5, NO_MODS)).toBe('ime')
})
- it('수정자 조합은 단축키로 분류하되, 수정자 키 자체(Ctrl/Alt/Shift/Win)는 플래그가 켜져 있어도 modifier 로 분류한다', () => {
+ it('수정자 조합은 단축키로 다', () => {
expect(classifyKeyStroke(0x41, { ...NO_MODS, ctrl: true })).toBe('shortcut')
expect(classifyKeyStroke(0x41, { ...NO_MODS, alt: true })).toBe('shortcut')
expect(classifyKeyStroke(0x41, { ...NO_MODS, meta: true })).toBe('shortcut')
- expect(classifyKeyStroke(0x11, { ...NO_MODS, ctrl: true })).toBe('modifier')
- expect(classifyKeyStroke(0xa2, { ...NO_MODS, ctrl: true })).toBe('modifier')
- expect(classifyKeyStroke(0x12, { ...NO_MODS, ctrl: true, alt: true })).toBe('modifier')
- expect(classifyKeyStroke(0xa4, { ...NO_MODS, alt: true })).toBe('modifier')
- expect(classifyKeyStroke(0x5b, { ...NO_MODS, meta: true })).toBe('modifier')
})
it('알 수 없는 키는 other 이며 키 내용을 담지 않는다', () => {
diff --git a/apps/desktop/tests/main/services/suggestion-accept-hold.test.ts b/apps/desktop/tests/main/services/suggestion-accept-hold.test.ts
index 3684a74c..2d2b0aa1 100644
--- a/apps/desktop/tests/main/services/suggestion-accept-hold.test.ts
+++ b/apps/desktop/tests/main/services/suggestion-accept-hold.test.ts
@@ -169,32 +169,4 @@ describe('단축키 수락 — 손을 뗄 때까지 창을 띄워 두고 기다
await first
expect(harness.insertText).toHaveBeenCalledTimes(1)
})
-
- it('첫 후보가 스트리밍 중일 때 Ctrl+Alt+Enter 를 누르면 첫 후보가 완성되는 즉시 수락한다', async () => {
- let finishStream: () => void = () => undefined
- harness.streamGenerate.mockImplementation(async function* () {
- yield ' 내일'
- await new Promise((resolve) => {
- finishStream = resolve
- })
- yield ' 다시 볼게.'
- })
-
- const service = create()
- const context = typingContext()
- ;(service as unknown as Internal)._lastContext = context
- const genPromise = (service as unknown as Internal)._generate(PREFIX, context, 1, 160)
-
- await vi.waitFor(() => expect(service.getState().partialText).toBe('내일'))
- expect(service.getState().candidates).toHaveLength(0)
-
- const acceptPromise = service.accept()
- finishStream()
- await genPromise
-
- const result = await acceptPromise
- expect(result.ok).toBe(true)
- expect(harness.insertText).toHaveBeenCalledTimes(1)
- expect(harness.insertText.mock.calls[0]?.[0]).toContain('내일 다시 볼게.')
- })
})
diff --git a/apps/desktop/tests/main/services/suggestion-typo-correction.test.ts b/apps/desktop/tests/main/services/suggestion-typo-correction.test.ts
index 2aa47c6d..b4a08bdc 100644
--- a/apps/desktop/tests/main/services/suggestion-typo-correction.test.ts
+++ b/apps/desktop/tests/main/services/suggestion-typo-correction.test.ts
@@ -239,29 +239,4 @@ describe('제안 + 오타 교정', () => {
expect(options).toEqual(expect.objectContaining({ raw: true }))
}
})
-
- it('터미널 모드(terminalMode=true)에서 수락하면 클립보드(Ctrl+V)를 건드리지 않고 keyboard 방식으로 넣으며 터미널 버퍼를 동기화한다', async () => {
- const expectKeys = vi.fn()
- const applyReplacement = vi.fn()
- const customDeps = deps(expectKeys)
- customDeps.learning.applyProgrammaticReplacement = applyReplacement
- const service = new SuggestionService(customDeps)
- services.push(service)
- service.setTypoProposer(proposer)
- const context = typingContext({ terminalMode: true })
- const internal = service as unknown as Internal
- internal._lastContext = context
- await internal._generate(context.prefix, context, 3, 160)
-
- const result = await service.accept()
-
- expect(result).toEqual({ ok: true })
- expect(harness.replaceBeforeCaret).toHaveBeenCalledWith(
- TYPO.length,
- '안녕하세요.? 오늘 회의 자료 공유드립니다.',
- 'keyboard',
- { commitComposition: false }
- )
- expect(applyReplacement).toHaveBeenCalledWith(TYPO.length, '안녕하세요.? 오늘 회의 자료 공유드립니다.')
- })
})
diff --git a/apps/mobile-rn/android/app/build.gradle b/apps/mobile-rn/android/app/build.gradle
index deaee342..4bc4aae4 100644
--- a/apps/mobile-rn/android/app/build.gradle
+++ b/apps/mobile-rn/android/app/build.gradle
@@ -151,8 +151,8 @@ def versionSettingsValid = configuredVersionName != null &&
configuredVersionName ==~ strictSemver &&
configuredVersionCodeValue != null &&
configuredVersionCodeValue <= 2100000000L
-def resolvedVersionName = versionSettingsValid ? configuredVersionName : "1.15.3"
-def resolvedVersionCode = versionSettingsValid ? configuredVersionCodeValue.toInteger() : 1150300
+def resolvedVersionName = versionSettingsValid ? configuredVersionName : "1.15.1"
+def resolvedVersionCode = versionSettingsValid ? configuredVersionCodeValue.toInteger() : 1150100
def requiredReleaseSettings = [
D3RO_RELEASE_STORE_FILE: releaseStoreFilePath,
diff --git a/apps/mobile-rn/ios/D3ROVoice.xcodeproj/project.pbxproj b/apps/mobile-rn/ios/D3ROVoice.xcodeproj/project.pbxproj
index 7b91279b..05b09375 100644
--- a/apps/mobile-rn/ios/D3ROVoice.xcodeproj/project.pbxproj
+++ b/apps/mobile-rn/ios/D3ROVoice.xcodeproj/project.pbxproj
@@ -257,7 +257,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
- CURRENT_PROJECT_VERSION = 1150300;
+ CURRENT_PROJECT_VERSION = 1150100;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = D3ROVoice/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
@@ -265,7 +265,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
- MARKETING_VERSION = 1.15.3;
+ MARKETING_VERSION = 1.15.1;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
@@ -287,14 +287,14 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
- CURRENT_PROJECT_VERSION = 1150300;
+ CURRENT_PROJECT_VERSION = 1150100;
INFOPLIST_FILE = D3ROVoice/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 15.1;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
- MARKETING_VERSION = 1.15.3;
+ MARKETING_VERSION = 1.15.1;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
diff --git a/apps/mobile-rn/metadata/android/en-US/changelogs/1150200.txt b/apps/mobile-rn/metadata/android/en-US/changelogs/1150200.txt
deleted file mode 100644
index a6c57884..00000000
--- a/apps/mobile-rn/metadata/android/en-US/changelogs/1150200.txt
+++ /dev/null
@@ -1 +0,0 @@
-Stability and performance improvements.
diff --git a/apps/mobile-rn/metadata/android/en-US/changelogs/1150300.txt b/apps/mobile-rn/metadata/android/en-US/changelogs/1150300.txt
deleted file mode 100644
index a6c57884..00000000
--- a/apps/mobile-rn/metadata/android/en-US/changelogs/1150300.txt
+++ /dev/null
@@ -1 +0,0 @@
-Stability and performance improvements.
diff --git a/apps/mobile-rn/metadata/android/ko-KR/changelogs/1150200.txt b/apps/mobile-rn/metadata/android/ko-KR/changelogs/1150200.txt
deleted file mode 100644
index 183fbc16..00000000
--- a/apps/mobile-rn/metadata/android/ko-KR/changelogs/1150200.txt
+++ /dev/null
@@ -1 +0,0 @@
-안정성과 성능을 개선했습니다.
diff --git a/apps/mobile-rn/metadata/android/ko-KR/changelogs/1150300.txt b/apps/mobile-rn/metadata/android/ko-KR/changelogs/1150300.txt
deleted file mode 100644
index 183fbc16..00000000
--- a/apps/mobile-rn/metadata/android/ko-KR/changelogs/1150300.txt
+++ /dev/null
@@ -1 +0,0 @@
-안정성과 성능을 개선했습니다.
diff --git a/apps/mobile-rn/package-lock.json b/apps/mobile-rn/package-lock.json
index 055fd511..adb207b1 100644
--- a/apps/mobile-rn/package-lock.json
+++ b/apps/mobile-rn/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@d3ro/mobile-rn",
- "version": "1.15.3",
+ "version": "1.15.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@d3ro/mobile-rn",
- "version": "1.15.3",
+ "version": "1.15.1",
"dependencies": {
"@d3ro/api-client": "file:../../packages/api-client",
"@d3ro/core": "file:../../packages/core",
@@ -62,7 +62,7 @@
},
"../..": {
"name": "d3ro-voice-monorepo",
- "version": "1.15.3",
+ "version": "1.15.1",
"license": "MIT",
"workspaces": [
"apps/desktop",
@@ -81,7 +81,7 @@
},
"../../packages/api-client": {
"name": "@d3ro/api-client",
- "version": "1.15.3",
+ "version": "1.15.1",
"license": "MIT",
"dependencies": {
"@d3ro/core": "*",
@@ -98,7 +98,7 @@
},
"../../packages/core": {
"name": "@d3ro/core",
- "version": "1.15.3",
+ "version": "1.15.1",
"license": "MIT",
"dependencies": {
"docx": "^9.6.1"
@@ -109,7 +109,7 @@
},
"../../packages/i18n": {
"name": "@d3ro/i18n",
- "version": "1.15.3",
+ "version": "1.15.1",
"license": "MIT",
"devDependencies": {
"@types/react": "^19.0.0"
@@ -120,7 +120,7 @@
},
"../../packages/ui-native": {
"name": "@d3ro/ui-native",
- "version": "1.15.3",
+ "version": "1.15.1",
"license": "MIT",
"devDependencies": {
"@types/react": "*"
diff --git a/apps/mobile-rn/package.json b/apps/mobile-rn/package.json
index f731808d..6d349b00 100644
--- a/apps/mobile-rn/package.json
+++ b/apps/mobile-rn/package.json
@@ -1,6 +1,6 @@
{
"name": "@d3ro/mobile-rn",
- "version": "1.15.3",
+ "version": "1.15.1",
"private": true,
"scripts": {
"android": "react-native run-android",
diff --git a/apps/web/package.json b/apps/web/package.json
index c321e454..4206d2aa 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -1,6 +1,6 @@
{
"name": "@d3ro/web",
- "version": "1.15.3",
+ "version": "1.15.1",
"private": true,
"description": "D3RO Voice 웹 앱 — Next.js 기반 SaaS 인터페이스",
"scripts": {
diff --git a/apps/web/src/components/layout/sidebar.tsx b/apps/web/src/components/layout/sidebar.tsx
index 73502838..6399385a 100644
--- a/apps/web/src/components/layout/sidebar.tsx
+++ b/apps/web/src/components/layout/sidebar.tsx
@@ -139,7 +139,7 @@ export function Sidebar(): React.ReactElement {
- v1.15.3
+ v1.15.1
diff --git a/docs/map/00-index.md b/docs/map/00-index.md
index 28be13ef..0f786a99 100644
--- a/docs/map/00-index.md
+++ b/docs/map/00-index.md
@@ -2,7 +2,7 @@
> Status: ACTIVE
> Last full audit: 2026-09-13
-> Last update: 2026-10-31 — **v1.15.2 릴리스 + `Ctrl+Alt+Enter` 제안 수락 불발 근본 해결 + 터미널·xterm.js 한글 씹힘 및 UIA·LLM 캐시 최적화(`INPUT-04`, `INPUT-06`, `INPUT-19`, `GAP-INPUT-08`, `GAP-INPUT-11`).** (1) **`Ctrl+Alt+Enter` 제안 수락 근본 해결:** ① `classifyKeyStroke`가 수정자 VK(`0x10..0x12`, `0x5b..0x5c`, `0xa0..0xa5`)보다 수정자 플래그를 먼저 검사해 `Ctrl`/`Alt`를 누르는 순간 `'shortcut'`(`key=shortcut+C+A`)으로 분류되어 `TerminalKeystrokeTracker` 버퍼가 `prefixLen=0`으로 초기화되고 `Enter`를 누르기 전에 제안 창이 닫히던 버그 수정, ② `ChordStateMachine.keyUp`에서 `Ctrl` 또는 `RightAlt`를 먼저 놓았을 때 `command`(`Ctrl+RightAlt`)만 해제하고 `break`/`return`으로 빠져나가 `suggestion-accept`(`Ctrl+Alt+Enter`)가 `_isDown`에 영구 고착되어 이후 입력이 auto-repeat으로 무시되던 버그 수정, ③ `KeyBindingService`에 `UiohookKey.NumpadEnter` 매핑 및 OS `globalShortcut` 캡처 25ms 폴백 트리거 추가, ④ `"생성 중..."` 또는 첫 후보 스트리밍 중 `Ctrl+Alt+Enter`를 누르면 무시하지 않고 첫 후보 완성(최대 2.5s) 즉시 수락(`_waitForFirstCandidate`)하도록 개선, ⑤ 터미널(`terminalMode` / `isTerminalApp`) 수락 시 클립보드 `Ctrl+V` 경합 대신 `KEYEVENTF_UNICODE` 직접 주입 및 백그라운드 채우기 루프 즉시 중단. (2) **UIA·Ollama 최적화:** 비타이핑 키 및 짧은 입력에서 780ms 중복 `_settleTimer` 스냅샷을 취소하고, `TypoCorrectionService.propose`가 이미 검사 완료된 구간(`_isRegionChecked`)에 대해 336토큰 오타 LLM 호출을 중복 실행해 제안 KV 캐시를 밀어내던 문제를 제거했다. (3) 직전 `v1.15.1`: 터미널 `WM_IME_CONTROL` 키다운 호출 제거 및 `uia_bridge.py` `xterm-helper-textarea` 고속 경로 적용.
+> Last update: 2026-10-31 — **v1.15.1 릴리스 + 터미널·xterm.js 환경 한글 1글자씩 씹힘 근본 해결(`INPUT-04`, `INPUT-19`, `GAP-INPUT-08`, `GAP-INPUT-11`).** 터미널(`Agent Switchboard.exe` `xterm-helper-textarea`, `WindowsTerminal.exe`, `Kitedesk.exe`, `pwsh.exe`, `cmd.exe` 등)에서 한글 연속 타이핑 시 글자가 한 글자씩 씹히던 4가지 원인을 전수 제거했다: (1) `InputTelemetryService._handleKeyDown`에서 터미널 표면일 때 매 키다운마다 호출하던 크로스-프로세스 `isForegroundKoreanIme`(`SendMessageTimeoutW(WM_IME_CONTROL)`)가 Windows TSF/DefIME 조합 상태를 흔들던 문제를 제거하고 유휴 스냅샷 시점 1회 동기화(`TerminalKeystrokeTracker.syncKoreanIme`)로 전환, (2) `sidecar/uia_bridge.py`에서 `xterm-helper-textarea` 조회 시 Chromium 렌더러 메인 스레드를 최대 1,500ms 블로킹하고 `comp=True` 고착을 유발하던 `GetTopLevelControl()`·`TextPattern.GetSelection()`·`ExpandToEnclosingUnit(Character)`·`TextEditPattern.GetActiveComposition()` 호출을 건너뛰는 고속 경로 추가 및 `_WAKE_TTL_SECONDS` 60s→86,400s 연장, (3) 일반 한글 단어(`"근데 "`, `"터미널 "` 등) 입력 중 공백 직후 40ms 경계 스냅샷·680ms 중복 타이머·800ms 타이핑 중 폴링 억제(`_shouldRunFastTerminalBoundarySnapshot`, `_sampleWhileTyping`), (4) `TypoCorrectionService`에서 터미널의 공백 전 완성형 한글 음절(`[가-힣]$`)에 대해 `commitComposition`(`VK_SPACE`+`VK_BACK`) 주입을 원천 차단. 직전 같은 날 `v1.15.0`: `CommandsPage.tsx` 다단계 명령 파이프라인 복수 선택·순서 조정 UI 및 단일 패스 합성 실행(`AI-05`, `AI-07`).
>
> Previous update: 2026-10-30 — **백로그 26건 일괄 해소 (`GAP-INPUT-03`, `GAP-LLM-01`, `GAP-UX-01/02/03/05/06/07`, `GAP-I18N-01`, `GAP-REL-11/14/15`, `GAP-INFRA-01/02/04/06`, `GAP-OPS-01`, `GAP-QA-02`, `GAP-KEY-01/03`, `GAP-ADS-02`, `GAP-ID-01/02`, `GAP-TEAM-02`, `GAP-SHELL-01`, `GAP-PUSH-03`, `GAP-MTG-01`, `DOC-01`) + 입력 누락 검증 인프라 및 서비스 결함 재현(`INPUT-04/19`, `INFRA-20`, `GAP-INPUT-11`).** (1) **백로그 26건 해소:** CJK 무공백 어절 집계(`countWords`), 12개 번역 대상 언어 설정(`targetLanguage`), 12개 로케일 2,716개 키 100% 동기화(`sync-i18n-locales.mjs`), 데스크톱 strict 타입체크 0 에러(`tsconfig.node.json` + `tsconfig.web.json`), Forgejo 릴리스 태그 푸시 순서·SHA 고정(`GAP-REL-14`), 포터블 워크플로 매니페스트 검증(`GAP-REL-11`), 네이티브 ABI 스위처(`rebuild:app`/`rebuild:test`), Supabase 마이그레이션 정합성 검사기(`check:migrations`), NAS 배포 런북(`nas-deploy-runbook.md`), 오프라인 격리 테스트 하네스(`GAP-QA-02`), `KeyBindingService` 단위 테스트·`command` 전용 액션 핸들러, 데스크톱 광고 보상 쿼터 연동(`grantRewardQuota`), 회의 종료 후 메모 추가·노트패드 동기화, 이력 SQLite 커서 페이지네이션·인라인 편집·전체 내보내기, 회의 요약 `[MM:SS]` 타임스탬프 인용·클릭 시크 연동(데스크톱·웹·모바일), `resolveEntitlement` 정본 통일, 통합 검색(`UnifiedSearchService`) 취소·세그먼트 검색·페이로드 경량화, 웹 팀 초대 수락(`/app/accept-invite`), 관리자 고객지원 콘솔(`/support`), Web Push 서비스워커(`sw.js`)·iOS APNs 토큰 등록을 완료했다. (2) **입력 누락 검증 인프라(`GAP-INPUT-11`):** `typing-race-proof.mjs`가 체크아웃을 바꾸지 않고 3개 서비스만 HEAD `f49acf0`와 수정본으로 바꿔 같은 현재 의존성·시험에서 비교했다: HEAD 1/17, 수정본 17/17. 3개 문자열 손상 사례와 13개 스냅샷·메타데이터·조회 병합 계약 실패를 구분했고, 정상 교정 대조군은 양쪽 모두 통과했다. `typing-fixture`(scan-code·IME·CPU 부하)와 `typing-runtime`(별도 로컬 프로필·실제 제품 번들)을 준비했으며, 실제 GUI·IME·CPU·모델 cold/warm 시험은 아직 미실행이다. 증거: `test-results/typing-load/race-proof-2026-10-30T00-50-32-284Z/report.json`; 실행 명령은 `02` §3, 검증 경계는 `04` §6과 `11` GAP-INPUT-11.
>
diff --git a/docs/map/04-desktop-app.md b/docs/map/04-desktop-app.md
index 64ca9cad..cb1627a7 100644
--- a/docs/map/04-desktop-app.md
+++ b/docs/map/04-desktop-app.md
@@ -84,7 +84,7 @@ Singleton + `EventEmitter` pattern (`getXService()` accessors).
| Service / file | Purpose |
|---|---|
| `InputTelemetryService` | Global input telemetry and context observer: keystroke/click/scroll counters, mouse travel (Manhattan sum of per-axis deltas), active time, per-hour-per-app buckets flushed every 5 s; typed-text learning via UIA snapshot diffs. **Since 2026-10-26**, the UIA context observer runs by default whenever `typoAutoCorrectEnabled !== false` (or `suggestionEnabled === true`), while SQLite `input_activity` persistence only runs when `inputTelemetryEnabled === true` (opt-in). **Since 2026-10-27**, includes `TerminalKeystrokeTracker` (`@d3ro/core/input-intelligence`) + `isForegroundKoreanIme` (`utils/win32-foreground.ts`) to reconstruct the active terminal/Vim line (`reconcileWithScreen` for UIA screen buffers like Windows Terminal/pwsh/cmd, `reconcileWithXtermValue` for `xterm.js` `