feat(commands): multi-select ordered command pipeline with step reordering and single-pass composition (AI-05, AI-07)

This commit is contained in:
Yun Chan 2026-10-31 02:54:54 +09:00
parent f49acf0105
commit 10af20a0ad
157 changed files with 29455 additions and 913 deletions

View file

@ -2145,7 +2145,7 @@ export class SuggestionService extends EventEmitter {
const anchor = this._anchor
const anchorKind = this._anchorKind
const provenance = this._provenance
const composing = this._lastContext?.isComposing === true
const composing = this._lastContext?.isComposing === true && /[가-힣]$/u.test(acceptPrefix)
const appName = this._appName
const windowTitle = this._windowTitle
const targetWindow = this._windowHandle
@ -2251,7 +2251,9 @@ export class SuggestionService extends EventEmitter {
try {
if (deleteCount > 0) {
// 확정용 Space(+1)·백스페이스·붙여넣기(Ctrl, V) 키는 사용자 입력 통계에서 뺀다.
this._learning.expectProgrammaticKeys?.(deleteCount + (composing ? 2 : 0) + 2)
this._learning.expectProgrammaticKeys?.(
deleteCount + (composing ? 2 : 0) + (insertMethod === 'keyboard' ? 0 : 2)
)
}
const result =
deleteCount > 0