feat(desktop): sync knowledge, recordings and shared settings; play any recording

Knowledge documents travel as source-text chunks; each surface embeds them
with its own model, the server index is requested through embed-chunks, and
documents from the phone are stored without a file and indexed from their
chunks. Chunk text is now kept when local embedding fails, so reindexing no
longer needs the original file.

Recordings upload to the mobile storage contract (audio bucket under the
user's folder plus an audio_files row, 50 MiB cap, a Settings > Cloud
toggle) and are removed with their record. The history card gains a play
button that uses the local file or, for phone recordings, a signed URL.

Language (ko/en), system/light/dark theme, auto-polish and the active user
command follow the phone's user_settings with its revision rule; changes that
arrive from the phone reach the open window.
This commit is contained in:
Yun Chan 2026-09-27 14:44:56 +09:00
parent cee4ab9317
commit 9a8f7e6aa6
34 changed files with 1405 additions and 64 deletions

View file

@ -541,5 +541,10 @@
"cloudSync.browserPending": "请在浏览器中完成登录。",
"cloudSync.signedOut": "已退出登录。本机上的记录会保留。",
"cloudSync.done": "同步完成(已应用 {{count}} 项)",
"cloudSync.doneWithErrors": "同步完成(已应用 {{count}} 项,{{errors}} 项失败 — 下次同步时重试)"
"cloudSync.doneWithErrors": "同步完成(已应用 {{count}} 项,{{errors}} 项失败 — 下次同步时重试)",
"history.playAudio": "播放录音",
"history.stopAudio": "停止播放",
"history.audioUnavailable": "没有可播放的录音(其他设备的录音需在该设备同步后才能播放)",
"cloudSync.audio": "同时同步录音",
"cloudSync.audioDesc": "将录音上传到云端,以便在手机和网页上播放。超过 50MB 的文件只保留在本机。"
}