OmniProxy v1.2.0
v1.2.0 - macOS preview, release workflow hardening, and MiMo region routing / macOS 预览、发布流程加固与 MiMo 区域路由
This stable release consolidates the validated v1.2.0 beta line. It adds the initial macOS desktop implementation and credential protection path, hardens the GitHub Actions release workflow, reduces the initial frontend bundle, and fixes Xiaomi MiMo Token Plan routing for all documented service centers.
本正式版汇总已验证的 v1.2.0 beta 版本线,加入初步 macOS 桌面实现与凭据保护路径,加固 GitHub Actions 发布流程,降低前端首包体积,并修复 Xiaomi MiMo Token Plan 在各文档服务中心的路由处理。
Features / 新特性
- macOS desktop platform support: Added a Darwin application bundle configuration, macOS menu bar controls, login launch support, and macOS task automation primitives for existing workflows.
- macOS 桌面平台支持:新增 Darwin 应用包配置、macOS 菜单栏控制、开机自启支持,并为已有任务流程补充 macOS 自动化能力。
- macOS credential protection: macOS credentials are encrypted through an application master key stored in the current user's Keychain.
- macOS 凭据保护:macOS 上的账号凭据通过保存在当前用户 Keychain 中的应用主密钥进行加密。
- DMG-aware update handling: macOS update checks can select
darwin-universal.dmgassets and open the verified DMG instead of using the Windows restart-install flow.- DMG 更新适配:macOS 更新检测可选择
darwin-universal.dmg资产,并在校验后打开 DMG,而不是使用 Windows 重启安装流程。
- DMG 更新适配:macOS 更新检测可选择
Improvements / 优化
- Release workflow hardening: The release workflow now avoids the third-party GitHub Release action, prepares Go directly where needed, and uses newer GitHub Actions runtimes.
- 发布流程加固:发布流程移除第三方 GitHub Release action,在需要时直接准备 Go 工具链,并使用更新的 GitHub Actions 运行时。
- macOS preview validation: Beta releases now build a universal macOS app and attach an ad-hoc signed unsigned-testing DMG for external validation.
- macOS 预览验证:Beta 发布现在会构建 universal macOS 应用,并附加 ad-hoc 签名的未签名测试 DMG 供外部验证。
- Frontend bundle split: Page and modal styles were moved into lazy-loaded component chunks, reducing the initial CSS and JavaScript loaded by the desktop UI.
- 前端拆包:页面与弹窗样式迁移到按需加载的组件 chunk 中,降低桌面 UI 初始加载的 CSS 与 JavaScript。
- Dialog loading optimization: Token editor and batch import dialogs are now async components, so secondary dialog code is loaded only when needed.
- 弹窗加载优化:账号编辑和批量导入弹窗改为异步组件,相关代码只在需要时加载。
Bug Fixes / 问题修复
- MiMo Token Plan service centers: Xiaomi MiMo Token Plan credentials now explicitly support
CN,SGP, andAMSservice-center choices.- MiMo Token Plan 服务中心:Xiaomi MiMo Token Plan 凭据现在明确支持
CN、SGP和AMS服务中心。
- MiMo Token Plan 服务中心:Xiaomi MiMo Token Plan 凭据现在明确支持
- AMS upstream routing: Added Europe AMS OpenAI-compatible and Anthropic-compatible Base URLs and route Token Plan requests according to the selected account's service center.
- AMS 上游路由:新增欧洲 AMS 的 OpenAI 兼容和 Anthropic 兼容 Base URL,并根据所选账号所属服务中心转发 Token Plan 请求。
- Configuration defaults: Existing configs load with default AMS endpoints when the new fields are absent.
- 配置默认值:既有配置缺少新增 AMS 字段时会自动使用默认入口加载。
Compatibility / 兼容性
- Attention: Existing Windows behavior remains unchanged, including DPAPI credential protection and the restart-to-install update handoff.
- 必读:现有 Windows 行为保持不变,包括 DPAPI 凭据保护和重启安装更新交接流程。
- Attention: The public stable release asset remains Windows-first until a Developer ID signed and notarized macOS package is available. The macOS unsigned DMG remains a beta/testing artifact.
- 必读:在具备 Developer ID 签名并完成公证的 macOS 安装包前,公开正式版附件仍以 Windows 安装包为主。macOS 未签名 DMG 仍属于 beta / 测试附件。
- Attention: Existing China and SGP MiMo Token Plan accounts keep their current routing behavior; previously accepted overseas/global aliases continue to map to SGP.
- 必读:已有中国区和 SGP MiMo Token Plan 账号保持原有路由行为;此前接受的 overseas/global 别名继续映射到 SGP。
- Attention: No proxy route or credential format breaking changes are expected in this stable release.
- 必读:本正式版预计没有代理路由或凭据格式不兼容更新。
Validation / 验证
go test ./...npm testnpm run buildgit diff --check- GitHub Actions release builds for
v1.2.0-beta.1throughv1.2.0-beta.4 - Local Windows Dev executable build and launch with the
omniproxy_devprofile
Full Changelog / 完整更新日志: v1.1.8...v1.2.0