feat:支持 Codex 中转注入智能路由#7
Merged
JialinLiu-codedance merged 10 commits intoMay 25, 2026
Merged
Conversation
- 记录 Codex 中转注入的本地代理路由设计 - 明确模型发现、手动补充、受控配置写入和测试策略 🤖 Generated with [Codex](https://openai.com/codex/) Co-Authored-By: GPT 5.5 xhigh (1M context) <noreply@openai.com>
- 将 Codex 中转注入从本地代理页内区块调整为工具箱独立入口 - 明确新增独立中转注入页面及入口状态展示规则 🤖 Generated with [Codex](https://openai.com/codex/) Co-Authored-By: GPT 5.5 xhigh (1M context) <noreply@openai.com>
- 新增中转注入数据模型、Codex 配置写入和模型 catalog 生成 - 支持已绑定账号模型发现、手动补充模型 ID 和受管本地代理路由 - 新增工具箱入口和独立中转注入页面 - 支持 Codex Responses 经本地代理转 OpenAI Chat 上游 🤖 Generated with [Codex](https://openai.com/codex/) Co-Authored-By: GPT 5.5 xhigh (1M context) <noreply@openai.com>
- 启用注入时迁移 Codex 全量会话到本地代理账号 - 禁用注入时按备份恢复原账号并保留新增会话 - 补充 archived 会话、重复启用和恢复路径测试
- 以官方 models_cache 模型作为中转 catalog 模板 - 保留 support_verbosity 等 Codex 必需 schema 字段 - 增加 catalog 字段保留回归测试
- 启用和关闭注入前显示确认弹窗 - 通过 Tauri 事件推送会话迁移进度 - 展示会话迁移日志并覆盖启用/恢复进度测试 🤖 Generated with [Codex](https://openai.com/codex/) Co-Authored-By: GPT 5.5 xhigh (1M context) <noreply@openai.com>
- 使用 experimental_bearer_token 写入本地代理占位 token - 为注入 profile 写入默认模型 - 补充托管配置断言避免回退到 env_key 🤖 Generated with [Codex](https://openai.com/codex/) Co-Authored-By: GPT 5.5 xhigh (1M context) <noreply@openai.com>
- 添加 Codex 中转注入配置、智能路由目录和会话迁移流程 - 支持本地代理推理强度兼容、手动模型增删和注入进度提示 - 补充本地代理路由和中转注入 UI 测试 🤖 Generated with [Codex](https://openai.com/codex/) Co-Authored-By: GPT-5 Codex <noreply@openai.com>
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.
修改范围
为 AI Usage 增加 Codex 中转注入能力,把本地代理包装成 Codex 可选择的智能路由 provider,并补齐启用/禁用时的会话迁移、配置写入和模型目录生成。
修改内容
如何测试