Skip to content

Commit e0614de

Browse files
committed
chore(release): bump CCSwitchMulti to v3.16.4-6
Prepare the v3.16.4-6 release from current main after the Codex OAuth Responses passthrough content-shape fix. Update all version surfaces: package.json, src-tauri/Cargo.toml, src-tauri/Cargo.lock, and src-tauri/tauri.conf.json. Add Chinese release notes focused on the invalid input[n].content hotfix and record the release boundary in memory.md, including the versioned local export directory. Pre-commit verification: pnpm typecheck; cargo fmt --manifest-path src-tauri/Cargo.toml --check; cargo test --manifest-path src-tauri/Cargo.toml codex_responses_request_normalizer --lib -- --nocapture; git diff --check.
1 parent 7778116 commit e0614de

6 files changed

Lines changed: 32 additions & 4 deletions

File tree

docs/release-notes/v3.16.4-6-zh.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# CCSwitchMulti v3.16.4-6
2+
3+
v3.16.4-6 基于当前 `main` 发布,紧接 v3.16.4-5,重点修复 Codex OAuth / MultiRouter 直透官方 Codex backend 时的 Responses input 形态问题。
4+
5+
## 重要修正
6+
7+
- 修复 Codex `/responses` 直透 ChatGPT Codex OAuth backend 时,部分工具输出 item 携带冗余 `content` 字段导致 HTTP 400 的问题。
8+
- 该问题典型报错为:`Invalid 'input[3].content': array too long. Expected an array with maximum length 0, but got an array with length 1 instead.`
9+
- 修复边界限制在 official managed Codex OAuth passthrough normalizer:`message` / `reasoning` item 继续保留 `content``function_call_output``custom_tool_call_output``tool_search_output` 等非 message item 会删除多余 `content`,同时保留 `output``tools``call_id``status``execution` 等有效字段。
10+
- 不影响公开 OpenAI Responses API、第三方 Responses API,也不影响 Responses -> Chat 转换路径。
11+
12+
## 验证
13+
14+
- `cargo fmt --manifest-path src-tauri\Cargo.toml --check`
15+
- `cargo test --manifest-path src-tauri\Cargo.toml codex_responses_request_normalizer --lib -- --nocapture`
16+
- `cargo test --manifest-path src-tauri\Cargo.toml responses_request_to_chat_ --lib -- --nocapture`
17+
- `git diff --check`
18+
19+
## 发布边界
20+
21+
- 本 release 使用正式 tag `v3.16.4-6`
22+
- Windows 本地构建会产出 NSIS installer、portable zip、raw exe、`latest.json` 和 SHA256;Linux / macOS 资产仍由对应平台或 GitHub Actions 补充。

memory.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# CC Switch Repository Memory
22

3+
## 2026-07-01 CCSwitchMulti v3.16.4-6 Release
4+
5+
- v3.16.4-6 是 v3.16.4-5 后的热修正式发布,核心变更是 `fix(codex): strip invalid content from oauth response items`:Codex OAuth `/responses` 直透 ChatGPT backend 前会删除非 message/reasoning input item 上的冗余 `content`,避免 `Invalid input[3].content: array too long`
6+
- 版本面必须同步更新 `package.json``src-tauri/Cargo.toml``src-tauri/Cargo.lock``src-tauri/tauri.conf.json`,release note 是 `docs/release-notes/v3.16.4-6-zh.md`
7+
- 发布输出目录使用独立路径 `C:\Users\sunda\Documents\LLMservice\ccswitchmulti-release-v3.16.4-6`,不要复用默认“最新版ccswitchmulti”目录或清理旧 `output/release-*` / `scripts/logs/` 未跟踪目录。
8+
39
## 2026-07-01 Codex OAuth Responses Passthrough Content Shape
410

511
- 用户截图里的 `Invalid 'input[3].content': array too long. Expected an array with maximum length 0, but got an array with length 1 instead.` 发生在 Codex `/responses` 直透 ChatGPT Codex OAuth backend,日志特征是 `responses_to_chat=false``responses_to_messages=false``upstream_url=https://chatgpt.com/backend-api/codex/responses`。这不是第三方 Chat 转换问题,也不是模型容量问题。

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-5",
3+
"version": "3.16.4-6",
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-5"
3+
version = "3.16.4-6"
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-5",
4+
"version": "3.16.4-6",
55
"identifier": "com.ccswitchmulti.desktop",
66
"build": {
77
"frontendDist": "../dist",

0 commit comments

Comments
 (0)