Skip to content

Commit 70bf31e

Browse files
committed
chore(release): bump CCSwitchMulti to v3.16.4-12
Update all release version surfaces to 3.16.4-12: package.json, src-tauri/Cargo.toml, src-tauri/Cargo.lock, and src-tauri/tauri.conf.json. Add Chinese release notes for the Codex cross-provider routing hotfix. The release documents polluted codex-official target provider handling, official OAuth reasoning.content normalization, cross-provider /model history boundaries, and the intentionally scoped third-party native Responses passthrough behavior. Validation run before tagging: rg confirmed no 3.16.4-11 version-surface residue; pnpm exec prettier --check package.json src-tauri/tauri.conf.json docs/release-notes/v3.16.4-12-zh.md; cargo fmt --manifest-path src-tauri/Cargo.toml --check; cargo test --manifest-path src-tauri/Cargo.toml codex_oauth_responses_normalizer --lib -- --nocapture; cargo test --manifest-path src-tauri/Cargo.toml codex_responses_passthrough --lib -- --nocapture; cargo test --manifest-path src-tauri/Cargo.toml proxy::providers::codex::tests --lib -- --nocapture; cargo test --manifest-path src-tauri/Cargo.toml proxy::providers::openai_compat::tests --lib -- --nocapture; git diff --check.
1 parent 260d9da commit 70bf31e

5 files changed

Lines changed: 23 additions & 4 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# CCSwitchMulti v3.16.4-12
2+
3+
v3.16.4-12 是 `v3.16.4-11` 之后的 Codex 跨 provider 路由与 Responses 历史兼容热修复版本。重点修复同一 Codex 会话先走第三方模型、再通过 `/model` 切回官方 GPT/OAuth 模型时,历史 reasoning item 或污染的官方 provider 配置导致请求被错误转发或被官方后端 400 拒绝的问题。
4+
5+
## Bug 修复
6+
7+
- 修复 MultiRouter 物化 `codex-official` 目标 provider 时可能信任旧 DB/接管备份里的第三方 `base_url``apiKey` 字段,导致界面显示官方 GPT 但实际仍像第三方 OpenAI-compatible relay 一样转发的问题。现在 `targetProviderId=codex-official`、official/category/OAuth auth 命中时,官方 OAuth 身份优先,并只在本次 request-local effective provider 上清理普通 API 字段,不改写持久 provider 配置。
8+
- 修复 ChatGPT Codex 官方 OAuth 私有 `/responses` 不接受 `type=reasoning` item 上 raw `content` 时的 400。官方路径现在保留 `summary``encrypted_content`,并在缺少 summary 时把可读 raw content 提升为 `summary_text`,随后移除官方后端不接受的 raw `content`
9+
- 明确跨 provider `/model` 切换的兼容边界:原版 Codex 切模型只更新后续 turn context,不重写已有历史 item;CCSwitchMulti 需要把历史作为 canonical Responses-like 结构保存,并在进入不同 provider 前按目标上游 wire schema 做 request-local normalization。
10+
- 保持第三方 native Responses 直透的范围收敛:继续只提升 `system` / `developer` 控制消息到顶层 `instructions`,不把 ChatGPT OAuth 私有清理规则全局套到所有第三方 Responses 上,避免误删公开 Responses 兼容实现可能接受的字段。
11+
12+
## 验证
13+
14+
- `cargo fmt --manifest-path src-tauri\Cargo.toml --check`
15+
- `cargo test --manifest-path src-tauri\Cargo.toml codex_oauth_responses_normalizer --lib -- --nocapture`
16+
- `cargo test --manifest-path src-tauri\Cargo.toml codex_responses_passthrough --lib -- --nocapture`
17+
- `cargo test --manifest-path src-tauri\Cargo.toml proxy::providers::codex::tests --lib -- --nocapture`
18+
- `cargo test --manifest-path src-tauri\Cargo.toml proxy::providers::openai_compat::tests --lib -- --nocapture`
19+
- `git diff --check`

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cc-switch-multi",
3-
"version": "3.16.4-11",
3+
"version": "3.16.4-12",
44
"description": "All-in-One Assistant for Claude Code, Codex & Gemini CLI",
55
"type": "module",
66
"scripts": {

src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cc-switch"
3-
version = "3.16.4-11"
3+
version = "3.16.4-12"
44
description = "All-in-One Assistant for Claude Code, Codex & Gemini CLI"
55
authors = ["Jason Young"]
66
license = "MIT"

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2",
33
"productName": "CCSwitchMulti",
4-
"version": "3.16.4-11",
4+
"version": "3.16.4-12",
55
"identifier": "com.ccswitchmulti.desktop",
66
"build": {
77
"frontendDist": "../dist",

0 commit comments

Comments
 (0)