Skip to content

Commit 2b13e2d

Browse files
committed
chore(release): bump CCSwitchMulti to v3.16.4-15
Release scope: - publish the Codex usage and reset credits page added after v3.16.4-14 - keep the fork version line on 3.16.4-N and bump package.json, Cargo.toml, tauri.conf.json, and Cargo.lock to 3.16.4-15 - add Chinese release notes covering the Codex usage page, banked reset credits, theme token split, and temperature default guardrails - record release preparation knowledge in memory.md, including the untracked output/log directories that must stay out of the release commit Verification: - pnpm vitest run src/components/codex/CodexUsagePage.test.tsx --testTimeout=20000 - pnpm vitest run src/components/codex/CodexUsagePage.test.tsx tests/integration/App.test.tsx -t "opens the Codex usage page from the Codex toolbar" --testTimeout=20000 - cargo test --manifest-path src-tauri/Cargo.toml responses_request_without_temperature_does_not_default_temperature --lib - cargo test --manifest-path src-tauri/Cargo.toml responses_request_with_temperature_preserves_explicit_temperature --lib - pnpm typecheck - pnpm exec prettier --check package.json src-tauri/tauri.conf.json docs/release-notes/v3.16.4-15-zh.md - cargo fmt --manifest-path src-tauri/Cargo.toml --check - git diff --check
1 parent e576443 commit 2b13e2d

6 files changed

Lines changed: 36 additions & 4 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# CCSwitchMulti v3.16.4-15
2+
3+
v3.16.4-15 是 `v3.16.4-14` 之后的 Codex 用量与重置额度页面补充版本。重点把 Codex 订阅窗口、banked reset credits 和 reset 到期信息从隐藏状态提升为独立工具页,并补齐默认温度边界测试与页面浅色/深色主题结构。
4+
5+
## 新增与改进
6+
7+
- 新增 Codex 专属“用量与重置额度”工具页,入口位于 Codex 顶部工具栏,和 MultiRouter 工作台并列。页面复用本机 Codex 登录状态,展示 5 小时窗口、每周窗口、banked reset credits、reset 到期紧迫度、刷新状态和错误提示。
8+
- 用量页面增加明确的阅读引导,帮助用户区分“当前窗口剩余额度”“每周额度”“banked reset credits”与“部分明细获取失败”的不同含义,避免只看单个数字误判订阅状态。
9+
- 页面主题拆分为浅色与深色两套显式 color token,避免浅色模式下沿用深色 dashboard 观感,也便于后续维护 Codex 专属工具页的一致视觉层级。
10+
11+
## Bug 修复与护栏
12+
13+
- 固定 Codex Chat Completions 转换路径的 temperature 边界:请求显式传入 temperature 时保持原值;请求缺省时不自动补 `temperature=0`。这避免影响 OpenAI reasoning 模型、Codex OAuth 反代和需要 provider/model 级特殊温度的第三方模型。
14+
- Codex 用量页面在 reset 明细部分失败、无凭据、刷新中和空数据状态下都保持可读提示,不再出现页面空白或只剩框架的问题。
15+
- 切换到非 Codex app 时,Codex 专属用量页会回退到 provider 视图,避免跨 app 残留专属工具页面。
16+
17+
## 验证
18+
19+
- `pnpm vitest run src/components/codex/CodexUsagePage.test.tsx tests/integration/App.test.tsx`
20+
- `cargo test --manifest-path src-tauri/Cargo.toml responses_request_without_temperature_does_not_default_temperature --lib`
21+
- `cargo test --manifest-path src-tauri/Cargo.toml responses_request_with_temperature_preserves_explicit_temperature --lib`
22+
- `pnpm typecheck`
23+
- `cargo fmt --manifest-path src-tauri/Cargo.toml --check`
24+
- `pnpm exec prettier --check package.json src-tauri/tauri.conf.json docs/release-notes/v3.16.4-15-zh.md`
25+
- `git diff --check`

memory.md

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

3+
## 2026-07-06 CCSwitchMulti v3.16.4-15 Release Preparation
4+
5+
- 本轮用户要求“发一个新版本,发新的 release”。实际检查 `git log v3.16.4-14..HEAD` 后确认 `v3.16.4-14` 之后已有 5 个本地提交:新增 Codex 用量与重置额度工具页、补 temperature 默认边界测试、补 usage page 引导和主题颜色拆分、以及上一轮 release 验证 memory,因此不是空发。
6+
- 版本号继续沿用 `v3.16.4-N` fork 递增规则,目标为 `3.16.4-15` / `v3.16.4-15`;同步更新 `package.json``src-tauri/Cargo.toml``src-tauri/tauri.conf.json``src-tauri/Cargo.lock`,新增 `docs/release-notes/v3.16.4-15-zh.md`
7+
- 发布说明重点:Codex 专属用量与 reset credits 页面、banked reset credits/窗口状态展示、浅色/深色主题 token 拆分、temperature 缺省不补 0 的回归护栏。发布前需要跑页面相关 vitest、temperature Rust 单测、typecheck、prettier、cargo fmt 和 `git diff --check`
8+
- 注意边界:未跟踪 `output/release-v3.16.4-4-upload/``output/release-v3.16.4-5wizard/``scripts/logs/` 是旧输出/日志,不应加入 release commit;GitHub release 仍通过推送 annotated tag 触发 `.github/workflows/release.yml` 自动跨平台构建和上传资产。
9+
310
## 2026-07-06 Codex Temperature Default Boundary
411

512
- 本轮排查的结论是不要在 CCSwitchMulti 收到 Codex `/v1/responses` 请求缺省 `temperature` 时全局补 `temperature=0`。外部检索和代码链路都显示:OpenAI Chat/Responses 的 `temperature` 是可选参数;GPT-5/o3 等 reasoning 模型公开反馈更多是“传了非默认 temperature 会 400”;Kimi/Roo-Code 反馈则是 `kimi-for-coding` 需要固定 `temperature=0.6`,默认补 0 反而会失败。因此“缺省补 0”不是通用修复。

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

0 commit comments

Comments
 (0)