Skip to content

v2.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 13 Sep 11:01

新功能

  • 全新官方运行时兼容性内核:引入统一的强类型虚拟修改骨架和统一生命周期管理,以修改点、Adapter、Provider、等层次组织对官方运行时的兼容适配,规范地修改官方行为,同时支持调试观测以辅助开发。
  • 官方运行时适配能力扩展:支持新的 Codex runtime 布局、重命名后的头像覆盖层、结构化 App Host 消息,以及更完整的官方运行时报告与状态同步。
  • 启动器能力增强:打开 OpenCodex 时优先使用已安装的 PWA;支持备份和还原上一版本的官方运行时资源,降低官方运行时更新后的恢复成本。
  • 智能调度增强:支持动态调度档位和可配置的分类历史条数;界面展示实际选中的档位及分类回退状态,并恢复运行时更新后的调度摘要。另外,针对GPT6更新,也更新了默认调度配置。

优化/重构

  • 优化 Web 首次加载和会话恢复,大幅提升加载速度。
  • 对带内容哈希的已修补静态资源启用不可变缓存,减少远程访问时大型资源的重复传输。
  • 插件开发能力升级,全新基于虚拟修改骨架实现 Plugin v2 SDK,具体见文档。

修复

  • 修复新版官方运行时布局、窗口控件覆盖层(WCO)生命周期、macOS runner 启动和 ASAR 完整性校验相关的兼容问题。
  • 修复 WebSocket/IPC 状态变化后的调度摘要、跨线程请求相互阻塞等问题。
  • 修复项目“最近更新”排序无问题。
  • 修复 Token 用量展示问题。
  • 修复移动端侧栏触摸滚动、拖拽手势冲突、iOS 布局恢复,以及新建任务后的侧栏交互问题。
  • 修复浏览器窗口焦点事件、智能调度菜单透明度、滚动时 Tooltip 弹层消失、官方应用菜单图标路径和设置页后的 Gateway 登出注入问题。
  • 修复 Electron 更新后的隐藏托盘钩子、Guardian 审批状态竞争等问题。
  • 修复其他已知问题

New Features

  • All-New Official Runtime Compatibility Core: Introduces a unified, strongly-typed virtual modification framework and lifecycle management. It organizes compatibility adaptations—using layers such as modification points, Adapters, and Providers—to standardize modifications to official behavior while supporting debugging and observability for development.
  • Expanded Official Runtime Adaptation Capabilities: Adds support for the new Codex runtime layout, renamed avatar overlays, structured App Host messages, and more comprehensive official runtime reporting and state synchronization.
  • Enhanced Launcher Capabilities: Prioritizes the installed PWA when launching OpenCodex; supports backing up and restoring official runtime resources from the previous version, reducing recovery costs after official runtime updates.
  • Enhanced Smart Scheduling: Supports dynamic scheduling tiers and configurable history limits for categories; the UI displays the currently selected tier and category fallback status, and restores the scheduling summary after runtime updates. Default scheduling configurations have also been updated for the GPT6 release.

Optimizations/Refactoring

  • Optimized initial web loading and session recovery, significantly improving load speeds.
  • Enabled immutable caching for patched static resources with content hashes, reducing redundant data transfer for large assets during remote access.
  • Upgraded plugin development capabilities; implemented the Plugin v2 SDK based on the new virtual modification framework (see documentation for details).

Fixes

  • Fixed compatibility issues related to the new official runtime layout, Window Controls Overlay (WCO) lifecycle, macOS runner startup, and ASAR integrity verification.
  • Fixed issues regarding scheduling summaries following WebSocket/IPC state changes and cross-thread request blocking.
  • Fixed sorting issues in the "Recently Updated" project list.
  • Fixed token usage display issues.
  • Fixed mobile-specific issues: sidebar touch scrolling, drag gesture conflicts, iOS layout restoration, and sidebar interactions after creating new tasks.
  • Fixed issues with browser window focus events, smart scheduling menu transparency, tooltips disappearing during scrolling, official app menu icon paths, and Gateway logout injection after visiting the settings page.
  • Fixed issues with hidden tray hooks after Electron updates and race conditions in Guardian approval status.
  • Fixed other known issues.

本次版本新增多名贡献者 @py2815 @imAndyrrr @yorkane @kcng0 @apple-ouyang ,感谢他们的贡献。