Skip to content

OmniProxy v1.2.3

Choose a tag to compare

@github-actions github-actions released this 06 Jul 08:40
· 54 commits to master since this release

v1.2.3 - Codex workspace identities and quota UI / Codex 工作区身份与额度页优化

This stable release consolidates the validated v1.2.3 beta line. It improves local gateway operations, preserves multiple Codex workspace credentials under the same ChatGPT email by matching account_id, refines quota-page workspace display and selection, and fixes token record labels for same-email workspaces.

本正式版汇总已验证的 v1.2.3 beta 版本线:增强本地网关运维能力,使用 account_id 区分同一个 ChatGPT 邮箱下的多个 Codex 工作区凭证,优化额度页工作区展示与选择,并修复同邮箱工作区的 token 记录标识问题。

Features / 新特性

  • Codex workspace identities: Codex auth.json import and sync now match email together with account_id, allowing multiple workspace credentials under the same ChatGPT account to coexist.
    • Codex 工作区身份:Codex auth.json 导入和同步现在同时匹配邮箱与 account_id,同一个 ChatGPT 账号下的多个工作区凭证可以并存。
  • Quota workspace grouping: The quota page groups same-email Codex workspaces into one account card, with workspace switching controls and visible account_id context.
    • 额度页工作区聚合:额度页会把同邮箱 Codex 工作区聚合到同一账号卡片,并提供工作区切换控件和可见的 account_id 上下文。
  • Workspace select all: Same-email Codex workspace groups provide 全选, so all enabled workspaces under one account can be selected together.
    • 工作区全选:同邮箱 Codex 工作区分组新增 全选,可一次选中该账号下所有已启用工作区。
  • Gateway operations: Added config snapshots, provider model catalog sync, gateway route diagnostics, route strategy presets, and diagnostics bundle export.
    • 网关运维增强:新增配置快照、厂商模型目录同步、网关路由诊断、路由策略预设和诊断包导出。

UX / 体验优化

  • Cleaner quota cards: Refined same-email Codex workspace controls into a compact row so workspace numbers, switch buttons, and account status stay aligned.
    • 额度卡片优化:将同邮箱 Codex 工作区控件整理为更紧凑的一行,让工作区编号、切换按钮和账号状态保持对齐。
  • Credential visibility: Account and quota views surface Codex account_id without exposing access tokens or API keys.
    • 凭据可见性:账号与额度视图会展示 Codex account_id,同时不暴露 access token 或 API key。
  • Dashboard stability: Removed the live active-request panel that could disturb the dashboard grid; current connection counts remain visible in the top metrics.
    • 仪表盘稳定性:移除可能扰乱仪表盘网格的实时“活跃请求”面板,顶部“当前连接”指标仍保留。

Bug Fixes / 问题修复

  • Token record identity: Request history, retry logs, WebSocket records, and route diagnostics now use a workspace-aware Codex display name when an account_id is available, avoiding same-email workspaces being visually merged.
    • Token 记录身份:请求历史、重试日志、WebSocket 记录和路由诊断在存在 account_id 时会使用工作区感知的 Codex 展示名,避免同邮箱工作区在记录中混淆。
  • Codex auth sync: Re-importing or one-click syncing the same Codex account_id updates the existing credential, while different account_id values remain separate.
    • Codex 凭据同步:重复导入或一键同步相同 Codex account_id 会更新已有凭据;不同 account_id 会保留为独立账号。
  • Quota workspace actions: Selecting an account and refreshing quota continue to target the currently displayed workspace credential after same-email grouping.
    • 额度工作区操作:同邮箱聚合后,选择账号与刷新额度仍会作用于当前展示的工作区凭据。

Refactor & Performance / 重构与优化

  • Proxy routing structure: Split shared routing and service behavior into smaller focused files for route matching, target resolution, HTTP service handling, retry records, WebSocket proxying, and diagnostics.
    • 代理路由结构:将共享路由与服务逻辑拆分到更聚焦的文件,覆盖路由匹配、目标解析、HTTP 服务处理、重试记录、WebSocket 代理和诊断。
  • Quota display model: Added a tested quota grouping helper so API keys and different emails remain separate while same-email Codex workspaces can fold together.
    • 额度展示模型:新增带测试的额度分组工具,API Key 和不同邮箱保持独立,同邮箱 Codex 工作区可折叠展示。
  • Dashboard cleanup: Removed unused active-request panel helpers and styles after the layout simplification.
    • 仪表盘清理:布局简化后同步移除未使用的活跃请求面板辅助逻辑和样式。

Breaking Changes / 不兼容更新

  • None / 无

Validation / 验证

  • cd OmniProxyBackend && go test ./...
  • cd frontend && npm run build
  • cd frontend && npm test
  • cd frontend && npm run check:lines
  • git diff --check
  • GitHub Actions release builds for v1.2.3-beta.1 through v1.2.3-beta.5

Full Changelog / 完整更新日志: v1.2.2...v1.2.3