feat: add bilingual release notes

This commit is contained in:
lofyer
2026-08-11 20:59:26 +08:00
parent 6942bef567
commit 44d30b428d
26 changed files with 1344 additions and 42 deletions
+5
View File
@@ -65,6 +65,7 @@ import type {
ApplicationSettingsUpdate,
VersionCheckResult
} from './application-settings-contracts'
import type { ReleaseNotesSnapshot } from './release-notes-contracts'
import type {
SpeechModelSnapshot,
SpeechTranscriptionInput,
@@ -1049,6 +1050,10 @@ export type DesktopApi = {
listener: (result: VersionCheckResult) => void
) => () => void
}
releaseNotes?: {
getPending: () => Promise<ReleaseNotesSnapshot>
acknowledge: (version: string) => Promise<void>
}
speechModels?: {
getSnapshot: () => Promise<SpeechModelSnapshot>
install: (modelId: string) => Promise<SpeechModelSnapshot>