[codex] 移除 WhisperKit 并整合 MLX/会议重构#109
Merged
hehehai merged 9 commits intoJun 19, 2026
Merged
Conversation
Refine local ASR catalog visibility, MLXAudio model support, Nemotron live transcription handling, and related settings/docs. Also fixes the debug app bundle metadata and scheme product name for Xcode Run. Generated with Codex.
Migrate legacy Whisper selections to MLX Whisper repos and route translation through the LLM path.\n\nGenerated with Codex.
Avoid evaluating verbose log messages when verbose logging is disabled and ensure log file writes flush complete buffers.\n\nGenerated with Codex.
Cache hotkey runtime configuration, throttle repeated debug logs, and dispatch production callbacks asynchronously while keeping test helpers synchronous.\n\nGenerated with Codex.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概览
这个 PR 汇总了
feat/mlx-whisper-refactor分支相对main的全部改动。整体目标是把 Voxt 的本地语音、会议、模型、设置和工程结构往新的 MLX/功能化架构推进,同时移除旧 WhisperKit 运行时依赖,补齐会议模式、日志、热键和本地模型管理相关能力。本分支改动规模较大:约 586 个文件变更,包含源码目录重组、新功能模块、测试覆盖、文档和资源更新。
主要改动
1. 工程与源码结构重组
AppDelegate+...扩展拆分并重命名为更明确的 flow/coordinator 文件,例如录音、翻译、转写详情、菜单窗口、LLM warmup、hotkey lifecycle 等。Support代码迁移到更清晰的Core/*命名空间,包括:Core/DictionaryCore/HistoryCore/LLMCore/LoggingCore/ModelsCore/RemoteProvidersCore/SecurityCore/TranscriptionCore/UtilitiesSettings/Features、Settings/Models、Settings/Onboarding、Settings/Shell等子模块,并补充各目录 README,降低后续维护成本。Windows目录,增加会议详情、会议浮层和模型调试窗口相关结构。2. 会议模式恢复与扩展
3. 本地模型与 MLX 能力更新
GGUFTranslationModelManager与对应模型支持。4. 移除 WhisperKit 运行时依赖
WhisperKitModelManagerWhisperKitTranscriberWhisperKitModelSupportWhisperKitDownloadSupportWhisperModelArtifactsWhisperTextPostProcessortiny->mlx-community/whisper-tiny-mlxbase->mlx-community/whisper-base-mlxsmall->mlx-community/whisper-small-mlxmedium->mlx-community/whisper-large-v3-turbolarge-v3->mlx-community/whisper-large-v3-mlxwhisperKitengine/provider raw value 会迁移到新的 MLX/LLM 路径。5. 日志系统与调试能力
6. 热键与交互行为
7. 设置、Onboarding 和模型选择体验
8. 词典、提示词和文档
用户影响
开发影响
Core/*、Settings/*、Meeting/*、Windows/*模块边界放置文件。验证
已运行:
xcodebuild build -quiet -project Voxt.xcodeproj -scheme Voxt -destination 'platform=macOS' -derivedDataPath build/CodexDerivedData CODE_SIGNING_ALLOWED=NO结果:通过。
已运行 WhisperKit 移除和 MLX 迁移相关聚焦测试:
结果:通过。
已运行日志和热键相关聚焦测试:
结果:通过。
全量测试也运行过:
结果:仍有 1 个失败:
MeetingHotkeyPreferenceTests/testDefaultMeetingHotkeyIsFnOption(),断言默认 meeting hotkey 的 keyCode 期望65535,实际为37。这个需要单独确认当前产品期望是继续使用 Fn/Option 组合,还是接受新的默认 hotkey 配置。风险与注意事项