Commit graph

274 commits

Author SHA1 Message Date
Yun Chan
cc3f7460be fix(mobile): delete cleanup audio files on retry and isolate screen busy state across user switches 2026-11-14 15:26:18 +09:00
Yun Chan
bd3c1a98d9 fix(mobile): harden recorder, queue, context, and screen async lifecycles 2026-11-14 15:26:18 +09:00
Yun Chan
3f9e412257 fix(desktop): wrap pull and STT download aborts into D3ROError on dispose
Catch pre-header fetch and stream rejections in LocalLLMService._doPullModel and map disposed or aborted pulls to ErrorCode.LLMProcessingCancelled (and unexpected failures to ErrorCode.LLMServerUnreachable). Convert disposed fetch aborts and JSON body aborts in LocalSTTService._fetchDownload and downloadModel into ErrorCode.STTModelDownloadCancelled while wrapping network or timeout errors as ErrorCode.STTModelDownloadFailed.
2026-11-14 15:26:18 +09:00
Yun Chan
fc5d45312c fix(desktop): harden cancellation, dispose, and lifecycle races across main services
Cancel pending result-popup measure timers on hideResultPopup; track CaptionService aux-model load state, stop deduplication, and refine abort epochs across restarts; forward per-call AbortSignal through VoiceModeService and LlmGateway to LocalLLMService and abort pull streams plus availability polling on dispose; clear aborted response pointers and gate stale mic start errors in VoiceConversationService; guard AudioCaptureService stopping resume against exited SoX processes and cleanup failed starts; abort LocalSTTService downloadModel polling on dispose; and fail closed when desktopCapturer.getSources rejects in caption loopback setup.
2026-11-14 15:26:18 +09:00
Yun Chan
4bf0f0df12 fix(web): propagate mounted timeouts across chat stream and edge-fetch awaits 2026-11-14 15:26:18 +09:00
Yun Chan
c68e81e0aa fix(cloud): harden edge gateways, api-server ssrf, supabase fail-closed quota, and web/admin lifecycle 2026-11-14 15:26:18 +09:00
Yun Chan
2a009e421a fix(input,core): fix live punctuation typo triggers, expected insert cleanup, and ngram scan 2026-11-14 15:26:18 +09:00
Yun Chan
6c6875bbee chore(release): v1.17.1
Some checks failed
ci / 정본·보안·린트·타입·테스트 (push) Failing after 50s
ci / 워크스페이스 빌드 검증 (push) Has been skipped
ci / 모바일 린트·타입·Jest (push) Successful in 40s
ci / Supabase Edge Functions + Cloudflare Worker (push) Successful in 28s
ci / .NET API 서버 테스트 (push) Successful in 1m0s
deploy-site / deploy (push) Successful in 42s
release / release-windows (push) Failing after 7m2s
portable-unsigned / portable-windows (push) Failing after 13m39s
2026-11-14 11:59:49 +09:00
Yun Chan
78c91714ef chore(release): v1.17.0 2026-11-14 11:52:37 +09:00
Yun Chan
66b6b45ba9 feat: ship Wave 5-6 multi-surface hygiene, optimization, and bug fixes 2026-11-14 11:51:41 +09:00
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
Yun Chan
b8b91901eb refactor(ui): remove dead DS exports and unify wave gradient fallbacks (WS-G1)
Wave 5 G1 — evidence-based deletion only (docs/REFACTOR_WAVE5_AUDIT.md).

Deleted (references = 0 repo-wide, grep verified):
- apps/desktop/src/renderer/components/ProBadge.tsx (65 lines, self-reference only)
- apps/admin/src/lib/supabase-server.ts (unused duplicate of the web wrapper;
  api-client already owns createSupabaseServerClient)
- packages/ui: d3roSpace, d3roWeight, d3roMotion, darkTheme, lightTheme,
  getModePalette; `themes` kept module-private (used by getTheme)
- packages/ui-native: d3roNativeSpace, d3roNativeWeight, d3roNativeMotion,
  d3roNativeOverlayShadow, D3roNativePaletteKey (+ barrel entries)

Changed:
- ds/AudioVisualizerBar, ds/GradientWave: SSR/무-문서 폴백 hex 대신
  theme-raw RAW.dark.gradient 를 읽는다. 같은 색을 두 곳에 적지 않는다 (DP1).

Verification:
- npm run typecheck (desktop/web/admin/packages) GREEN
- npm run lint --max-warnings=0 GREEN
- npm run test GREEN
- npm run typecheck:mobile, lint:mobile GREEN; test:mobile 599 GREEN
- npm run check:design: 0 violations

Kept (with reason): apps/desktop/src/preload/popup.ts (electron-vite entry),
apps/*/src/proxy.ts (Next middleware), instrumentation.ts, *.d.ts,
constants.ts WAVE_BAR (화면 고유 수치, P4).
2026-11-08 20:55:40 +09:00
Yun Chan
f57e40d82a chore(release): v1.16.5
Some checks failed
ci / 정본·보안·린트·타입·테스트 (push) Failing after 20s
ci / 워크스페이스 빌드 검증 (push) Has been skipped
ci / 모바일 린트·타입·Jest (push) Successful in 46s
ci / Supabase Edge Functions + Cloudflare Worker (push) Successful in 20s
ci / .NET API 서버 테스트 (push) Successful in 13s
deploy-site / deploy (push) Successful in 33s
portable-unsigned / portable-windows (push) Failing after 5m12s
release / release-windows (push) Successful in 13s
2026-11-06 23:25:00 +09:00
Yun Chan
3aa68f466c fix(meeting): keep polish from inventing markers or dropping qualifiers
The local model follows the polish instructions only most of the time: in
repeated runs it added a [00:00] or [화자 1] marker that was never in the
audio, and it turned "사실 거의 근간" into "사실 근간". Both change what the
meeting record says, so they are now enforced in code instead of hoped for
in the prompt: markers absent from the original chunk are stripped, and
meaning qualifiers the speaker said are restored from that chunk.

The instructions themselves were re-measured on the model: a fixed removal
list, an explicit qualifier example and a marker ban keep the filler cleanup
without touching ordinary words, and the same wording is used by the app,
the tests and the probe. Unknown-word repair still depends on the model.
2026-11-06 23:24:30 +09:00
Yun Chan
bcd0cf4f23 fix(meeting): keep learned text from injecting prompt lines
Learned text becomes part of a prompt, so a dictionary word or phrase
containing a newline could add its own instruction line. Every value that
reaches the recognition hint or the polish block is now flattened to one
line and length-capped, and a test proves an injected line stays plain text.

Also cover the invariants that keep the correction safe (random inputs,
Hangul untouched, idempotent, no token growth, large transcript) and the
file-transcription wiring that attaches the learned hint to every chunk and
corrects each chunk and segment before it is stored.
2026-11-06 23:00:29 +09:00
Yun Chan
648c7e4f4d refactor(meeting): share the transcript polish prompt with tests
Move the polish instructions into their own module so the prompt the app
sends, the unit tests and the local-model probe use the same text. Tests
now pin the two rules that matter: fix a misheard name or in-house term to
the learned spelling, and never swap an ordinary word on similarity alone.

Verified against the local model with the real learned corpus: 하람록에 was
rewritten to HaramLog에 and the dictionary pronunciation 디에로 to D3RO,
while a natural sentence with no learned term came back with no word
substitutions. Recorded the trap that this model returns empty content
unless thinking is disabled.
2026-11-06 21:47:16 +09:00
Yun Chan
7dd6178dcf chore(release): v1.16.4
Some checks failed
ci / 정본·보안·린트·타입·테스트 (push) Failing after 25s
ci / 워크스페이스 빌드 검증 (push) Has been skipped
ci / 모바일 린트·타입·Jest (push) Successful in 50s
ci / Supabase Edge Functions + Cloudflare Worker (push) Successful in 27s
ci / .NET API 서버 테스트 (push) Successful in 14s
deploy-site / deploy (push) Successful in 49s
portable-unsigned / portable-windows (push) Failing after 5m39s
release / release-windows (push) Failing after 11m50s
2026-11-06 17:23:22 +09:00
Yun Chan
e2d17601a4 feat(meeting): ground AI transcript correction in learned vocabulary
AI polishing of a recorded or pasted transcript was a generic rewrite: it
cleaned fillers but left names and in-house terms mangled even when the app
already knew them. Polishing now corrects dictionary pronunciations and
typed identifiers deterministically before and after the model, and hands
the model the learned term list plus the user's own expressions with
explicit rules: rewrite a misheard name, product or in-house term to the
learned spelling, and never swap an ordinary noun or ending on similarity
alone. Dictation output is re-checked the same way after the model runs.
2026-11-06 17:22:54 +09:00
Yun Chan
1f5372bfcc chore(release): v1.16.3
Some checks failed
ci / 정본·보안·린트·타입·테스트 (push) Failing after 44s
ci / 워크스페이스 빌드 검증 (push) Has been skipped
ci / 모바일 린트·타입·Jest (push) Successful in 47s
ci / Supabase Edge Functions + Cloudflare Worker (push) Successful in 28s
ci / .NET API 서버 테스트 (push) Successful in 18s
deploy-site / deploy (push) Successful in 47s
portable-unsigned / portable-windows (push) Failing after 36m55s
release / release-windows (push) Successful in 38s
2026-11-06 13:40:45 +09:00
Yun Chan
72e9b7c18b fix(meeting): stop learned vocabulary from rewriting ordinary Korean
The first cut replaced any Hangul word within one jamo of a learned term.
Measured against the real local corpus (three stored meeting transcripts)
it changed 286 of 3,005 words: 하면 became 라면, 이제 became 이게, 매일 became
메일. Most of what the app learns from typing is ordinary grammar, so
distance alone cannot separate a misheard word from a correct one.

Deterministic correction now covers only dictionary pronunciations and the
Latin identifiers the user types, preserving their casing. Korean terms
still bias recognition through the prompt hint and guide the polish
prompt. Re-measured on the same transcripts: 0 of 3,005 words changed.
Hangul-layout typing artifacts (dkssudgktpdy) are dropped from the hint.
2026-11-06 13:40:09 +09:00
Yun Chan
a21de78303 chore(release): v1.16.2
Some checks failed
ci / 정본·보안·린트·타입·테스트 (push) Failing after 1m6s
ci / 워크스페이스 빌드 검증 (push) Has been skipped
ci / 모바일 린트·타입·Jest (push) Successful in 48s
ci / Supabase Edge Functions + Cloudflare Worker (push) Successful in 24s
ci / .NET API 서버 테스트 (push) Successful in 20s
deploy-site / deploy (push) Successful in 54s
portable-unsigned / portable-windows (push) Failing after 14m51s
release / release-windows (push) Successful in 19m48s
2026-11-05 21:59:49 +09:00
Yun Chan
7fe49c437e chore: land in-progress workspace changes before 1.16.2
The tree carried uncommitted work from several areas (web push, mobile
screens, admin charts, test-hygiene cleanup, CI and map docs). It is landed
as one commit so the release pipeline can start from a clean tree; the
desktop transcript-correction behaviour shipped in the previous commit and
is unchanged here.
2026-11-05 21:58:44 +09:00
Yun Chan
9c2b6a9782 feat(meeting): correct transcripts with vocabulary learned from typing
Meeting and caption transcription never used what the app had already
learned: speech recognition ran with a fixed Korean prompt, the refine
prompt had no glossary, refined lines stopped inside the caption service,
and the saved transcript was a raw join of segments. Names and jargon the
user types every day were therefore re-mangled on every recording.

The learned corpus (user dictionary plus personal phrases) now feeds one
glossary that biases recognition, fixes mistyped words deterministically
right after each line is finalized, and is handed to the local model when
it polishes a line. Refined lines also reach the meeting transcript and
screen through a new segment-updated event.

Corrections never touch words the user actually wrote, refuse ties between
equally likely candidates, and keep particles intact.
2026-11-05 21:58:28 +09:00
Yun Chan
77e6796595 chore(release): v1.16.1
Some checks failed
ci / 정본·보안·린트·타입·테스트 (push) Failing after 45s
ci / 워크스페이스 빌드 검증 (push) Has been skipped
ci / 모바일 린트·타입·Jest (push) Successful in 52s
ci / Supabase Edge Functions + Cloudflare Worker (push) Successful in 31s
ci / .NET API 서버 테스트 (push) Successful in 19s
deploy-site / deploy (push) Successful in 34s
release / release-windows (push) Failing after 14m12s
portable-unsigned / portable-windows (push) Failing after 14m15s
2026-11-04 07:06:31 +09:00
Yun Chan
21a684d572 fix(desktop): prevent fast correction input races 2026-11-04 07:06:10 +09:00
Yun Chan
7f9ec45868 chore(release): v1.16.0
Some checks failed
ci / 정본·보안·린트·타입·테스트 (push) Failing after 34s
ci / 워크스페이스 빌드 검증 (push) Has been skipped
ci / 모바일 린트·타입·Jest (push) Successful in 56s
ci / Supabase Edge Functions + Cloudflare Worker (push) Successful in 39s
ci / .NET API 서버 테스트 (push) Successful in 22s
deploy-site / deploy (push) Successful in 42s
release / release-windows (push) Failing after 10m17s
portable-unsigned / portable-windows (push) Failing after 10m24s
2026-11-01 19:39:46 +09:00
Yun Chan
b3519e5da7 feat: 회의 파일 가져오기와 입력 엔진 배포 보완 2026-11-01 19:39:06 +09:00
Yun Chan
5a8c5cd792 chore(release): v1.15.4
Some checks failed
ci / 정본·보안·린트·타입·테스트 (push) Failing after 43s
ci / 워크스페이스 빌드 검증 (push) Has been skipped
ci / 모바일 린트·타입·Jest (push) Successful in 50s
ci / Supabase Edge Functions + Cloudflare Worker (push) Successful in 29s
ci / .NET API 서버 테스트 (push) Successful in 10s
deploy-site / deploy (push) Successful in 50s
release / release-windows (push) Successful in 11m18s
portable-unsigned / portable-windows (push) Failing after 14m51s
2026-10-31 23:15:11 +09:00
Yun Chan
1d4f8d8401 refactor(desktop): structure suggestion pipeline and restore test gates 2026-10-31 23:14:11 +09:00
Yun Chan
fe0989c456 chore(release): v1.15.3
Some checks failed
ci / 정본·보안·린트·타입·테스트 (push) Failing after 21s
ci / 워크스페이스 빌드 검증 (push) Has been skipped
ci / 모바일 린트·타입·Jest (push) Successful in 48s
ci / Supabase Edge Functions + Cloudflare Worker (push) Successful in 27s
ci / .NET API 서버 테스트 (push) Successful in 15s
deploy-site / deploy (push) Successful in 25s
release / release-windows (push) Failing after 13m41s
portable-unsigned / portable-windows (push) Failing after 13m46s
2026-10-31 04:46:38 +09:00
Yun Chan
02d0d0c6c1 fix(desktop): resolve Ctrl+Alt+Enter accept drops and duplicate typo LLM checks 2026-10-31 04:45:55 +09:00
Yun Chan
2a62f2496a chore(release): v1.15.2 2026-10-31 04:20:30 +09:00
Yun Chan
41901c1ec5 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
Yun Chan
6d909dd0e5 chore(release): v1.15.1
Some checks failed
ci / 정본·보안·린트·타입·테스트 (push) Failing after 30s
ci / 워크스페이스 빌드 검증 (push) Has been skipped
ci / 모바일 린트·타입·Jest (push) Successful in 41s
ci / Supabase Edge Functions + Cloudflare Worker (push) Successful in 25s
ci / .NET API 서버 테스트 (push) Successful in 10s
deploy-site / deploy (push) Successful in 29s
portable-unsigned / portable-windows (push) Failing after 3m59s
release / release-windows (push) Successful in 15s
2026-10-31 03:39:54 +09:00
Yun Chan
61123b5ad8 fix(desktop): prevent Korean character swallowing in terminal and xterm.js surfaces (INPUT-04, INPUT-19) 2026-10-31 03:38:56 +09:00
Yun Chan
f18cebaa24 chore(release): v1.15.0
Some checks failed
ci / 정본·보안·린트·타입·테스트 (push) Failing after 21s
ci / 모바일 린트·타입·Jest (push) Successful in 40s
ci / Supabase Edge Functions + Cloudflare Worker (push) Successful in 33s
ci / .NET API 서버 테스트 (push) Successful in 12s
ci / 워크스페이스 빌드 검증 (push) Has been skipped
deploy-site / deploy (push) Successful in 33s
release / release-windows (push) Failing after 14m1s
portable-unsigned / portable-windows (push) Failing after 14m6s
2026-10-31 02:55:55 +09:00
Yun Chan
10af20a0ad 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
Yun Chan
f49acf0105 chore(release): v1.14.0
Some checks failed
ci / 정본·보안·린트·타입·테스트 (push) Failing after 20s
ci / 워크스페이스 빌드 검증 (push) Has been skipped
ci / 모바일 린트·타입·Jest (push) Successful in 41s
ci / Supabase Edge Functions + Cloudflare Worker (push) Successful in 24s
ci / .NET API 서버 테스트 (push) Successful in 17s
deploy-site / deploy (push) Successful in 28s
2026-10-29 19:05:32 +09:00
Yun Chan
7a86afa7b0 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
Yun Chan
dbed97c348 chore(release): v1.13.0
Some checks failed
ci / 정본·보안·린트·타입·테스트 (push) Failing after 16s
ci / 워크스페이스 빌드 검증 (push) Has been skipped
ci / 모바일 린트·타입·Jest (push) Successful in 40s
ci / Supabase Edge Functions + Cloudflare Worker (push) Successful in 27s
ci / .NET API 서버 테스트 (push) Successful in 14s
deploy-site / deploy (push) Successful in 40s
release / release-windows (push) Failing after 2m3s
portable-unsigned / portable-windows (push) Failing after 11m47s
2026-10-29 08:17:04 +09:00
Yun Chan
cd4a452148 feat(input): upgrade graph personalization, english morphology detection, and atomic SendInput replacement 2026-10-29 08:16:26 +09:00
Yun Chan
52eef21bab chore(release): v1.12.0
Some checks failed
ci / 정본·보안·린트·타입·테스트 (push) Failing after 35s
ci / 워크스페이스 빌드 검증 (push) Has been skipped
ci / 모바일 린트·타입·Jest (push) Successful in 58s
ci / Supabase Edge Functions + Cloudflare Worker (push) Successful in 3m20s
ci / .NET API 서버 테스트 (push) Successful in 31s
deploy-site / deploy (push) Successful in 55s
release / release-windows (push) Failing after 15s
portable-unsigned / portable-windows (push) Failing after 12m21s
2026-10-28 10:42:09 +09:00
Yun Chan
f403111256 feat(input): expand Araso Han/Eng contractions, acronyms, typo recovery, and fast cursor-tail replacement 2026-10-28 10:41:26 +09:00
Yun Chan
51bf664302 chore(release): v1.11.0
Some checks failed
ci / 정본·보안·린트·타입·테스트 (push) Failing after 26s
ci / 워크스페이스 빌드 검증 (push) Has been skipped
ci / 모바일 린트·타입·Jest (push) Successful in 46s
ci / Supabase Edge Functions + Cloudflare Worker (push) Successful in 25s
ci / .NET API 서버 테스트 (push) Successful in 20s
deploy-site / deploy (push) Successful in 40s
portable-unsigned / portable-windows (push) Failing after 32s
release / release-windows (push) Failing after 12s
2026-10-27 10:48:22 +09:00
Yun Chan
a3ac44da2b feat(desktop): built-in Han/Eng layout auto-switching, terminal/Vim support, and Unicode input 2026-10-27 10:48:07 +09:00
Yun Chan
1da04b9e46 chore(release): v1.10.1
Some checks failed
ci / .NET API 서버 테스트 (push) Failing after 10m7s
ci / Supabase Edge Functions + Cloudflare Worker (push) Failing after 10m14s
ci / 모바일 린트·타입·Jest (push) Failing after 10m20s
ci / 정본·보안·린트·타입·테스트 (push) Failing after 10m28s
deploy-site / deploy (push) Failing after 14m38s
ci / 워크스페이스 빌드 검증 (push) Has been cancelled
portable-unsigned / portable-windows (push) Failing after 45s
release / release-windows (push) Failing after 14s
2026-10-24 13:15:57 +09:00
Yun Chan
cdeeff4c11 fix(suggestion): insert accepted suggestions reliably and learn typing as whole sentences
Acceptance waited for modifiers using only the uiohook-tracked set; a missed keyup
made it time out after 1.5 s and paste while Ctrl/Alt counted as held, so nothing
was inserted. Trust GetAsyncKeyState instead, and suppress new suggestions while an
accept is in flight.

Typed deltas were saved per snapshot (every 0.4-0.8 s), storing mid-word fragments.
Buffer them per field and save one diff on idle, sentence end, send or focus change;
drop short pieces, URLs, trailing jamo and truncated emoji.
2026-10-24 13:15:29 +09:00
Yun Chan
bdec40d8b7 fix(popups): reload a popup renderer after it crashes
The window survives a renderer crash, so the get*Window() getters never
recreated it and the popup stayed blank until the app restarted (and a
crashed suggestion overlay could still swallow clicks). On crashed, oom or
abnormal-exit the ready flag is cleared and the renderer reloads, at most
once per 30s so a renderer that keeps dying is not restarted in a loop.
2026-10-21 11:38:59 +09:00
Yun Chan
ddd734fd30 fix(window): don't steal focus when the app starts at login
The login item now passes --autostart (also used when querying it, which
Windows needs to match the registration). On such a launch the main window
is shown inactive instead of focused, flashed and pinned on top for a second,
so typing that already started in another app is not interrupted. Existing
registrations migrate on the next startup sync.
2026-10-21 11:37:36 +09:00
Yun Chan
e7937c877f fix(recording-tip): show "inserted" only after the text was actually inserted
The tip drew its done state on session-completed, before the async insert
ran and even when auto-insert was off or the text was empty. A failed insert
also left the screen-saver-level tip over the result popup's copy button.
session-completed now says whether an insert follows, VoiceModeService emits
text-inserted on success, and the tip hides first when the insert fails.
2026-10-21 11:35:14 +09:00