feat(desktop): built-in Han/Eng layout auto-switching, terminal/Vim support, and Unicode input
This commit is contained in:
parent
1da04b9e46
commit
a3ac44da2b
109 changed files with 8234 additions and 242 deletions
|
|
@ -32,7 +32,7 @@ const REQUEST_TIMEOUT_MS = 1500
|
|||
* 사이드카 준비는 1.1초 후였다. 20초를 통째로 백오프하면 앱을 켠 직후의 입력이 전부 죽으므로
|
||||
* 일시 실패는 짧게 시작해 배수로 늘리고, 브리지 자체가 없는 경우(미지원 플랫폼)만 길게 잡는다.
|
||||
*/
|
||||
const BACKOFF_STEPS_MS = [1500, 3000, 6000, 12000, 30000] as const
|
||||
const BACKOFF_STEPS_MS = [300, 600, 1200, 2500] as const
|
||||
/** 영구 실패(브리지 없음) 백오프 */
|
||||
const BACKOFF_PERMANENT_MS = 5 * 60 * 1000
|
||||
|
||||
|
|
@ -170,6 +170,7 @@ class UiaContextService {
|
|||
this._last = snapshot
|
||||
this._lastSuccessAt = now
|
||||
this._backoffUntil = 0
|
||||
this._failureStreak = 0
|
||||
this._lastReason = ''
|
||||
return snapshot
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue