Skip to content

Commit cb19615

Browse files
authored
chore(release): prepare v2.2.1 (#382)
- bump src-tauri/{Cargo.toml,tauri.conf.json} 2.2.0 → 2.2.1 (Cargo.lock synced) - README / README.en 当前版本标注 → v2.2.1 - CHANGELOG Unreleased → v2.2.1 + 补漏 fix / 基础设施条目(MOC-108/131/123/147/104/160 + MiniMax)
1 parent 550d891 commit cb19615

6 files changed

Lines changed: 8 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
逐版本要点。
44

5-
## Unreleased
5+
## v2.2.1 — 2026-06-04
66

77
**web_fetch 模型摘要 + per-provider 总结模型 (MOC-152)**:web_fetch 工具改为「抓取 → 正文抽取 → 用『总结模型』针对调用方 prompt 作答」后返回(类 Claude Code WebFetch,只回摘要、大幅省 Codex context)。① `prompt` 参数设为**必填** —— 模型每次说明想从该页了解 / 提取什么,据此生成针对性摘要 / 回答;② 提供商配置页「模型映射」下方新增**网页摘要模型**选择(per-provider,经 `Provider.extra` flatten 透传持久化,`AddProviderInput` 同步加字段),留空 → 回退该 provider 的 `models["default"]`;③ 摘要调用经本地 proxy `/v1/chat/completions`(`Bearer gatewayApiKey`,复用路由 + 鉴权改写),按 `provider.apiFormat` 仅 `openai_chat` 支持;④ **任意失败兜底**(未配总结模型 / proxy 未起 / 模型报错 / 非 chat 格式)→ 回退返回抓取到的网页正文原文并注明,**绝不丢内容**。⑤ **大页相关性选块(MOC-156 基础)**:正文超 60k 字符时不再"取前 60k"(位置截断会漏掉深处相关段),而是全文按段落分块、用 prompt 做词法相关性(latin 词 + CJK bigram,无额外依赖/无额外模型调用)打分、选**全页最相关**的 ~60k 字符喂给模型并恢复原序,截断时显式告知模型 + 消费者可能不完整(选块仍有损,无损方案见 MOC-156 调研)。⑥ **剥离思维链**:总结模型内联在 `content` 的 `<think>…</think>` 推理在返回前剥掉(否则整段 CoT 当摘要返回 = 噪声 + 浪费 token);剥后为空则保留原文。失败回退原文时提示醒目标注"非摘要"+ 排查指引。
88

@@ -25,6 +25,8 @@
2525

2626
**模块更新自动检查机制 — 周 cron CF 金丝雀 (MOC-138, Tier 2)**:新增 `.github/workflows/weekly-cf-check.yml`,每周一定时(GitHub Actions cron `37 1 * * 1`,错峰避整点,UTC)真实打 `chatgpt.com` / `help.openai.com``cf_bypass --include-ignored`,验 `wreq` Chrome120 指纹还能过 Cloudflare;附 OpenAI status RSS / Codex CLI release 对照,连续 3 次失败(retry×3 抗瞬时网络抖动)才 `::error::` 告警。支持 `workflow_dispatch` 手动触发。注:Actions 跑数据中心 IP,CF 策略与家宽不同 → fail 不等于用户真挂,接硬告警前需先校准命中率(故先不接 Slack)。至此 MOC-138 4 层(Tier 1/2/3/4)全部落地。canary 逻辑抽成 `_reusable-cf-canary.yml`(`workflow_call`),并新增 `cf-canary-on-deps.yml` —— Dependabot 升 `wreq`/`wreq-util`(或手动改)的 PR 当场触发金丝雀(diff 含 wreq 才跑),在 merge 前就验新版本还过不过 CF,把 Tier 1↔Tier 2 连起来;该 check 非必需(DC-IP 假阳性不卡 Dependabot PR merge)。
2727

28+
**其它修复与基础设施**:① proxy 启动强制生成 `gateway key`、消除无鉴权模式 (MOC-108);② 修复 MiniMax compact 工具参数截断产出非法 JSON,新增 `MiniMax-M3` (1M 上下文)(#357);③ Theme 页 CSP 兼容(inline onclick → 事件委托,MOC-131)+ app.js escape / 缩进 NIT 清理 (MOC-147);④ Codex Desktop context-usage footer 写 live atom key `show-context-window-usage` (MOC-123);⑤ 真账号 token 刷新分流后的命名 / 注释认知债清理 (MOC-104);⑥ Dependabot `everything-else` group 改为只合 patch、minor / major 各自单独 PR,并 ignore `wreq` / `wreq-util` rc.29(CI canary 实证数据中心 IP 下 CF 绕过回归、保持 rc.23,MOC-160)。
29+
2830
详细变更见 [GitHub Releases](https://github.com/Cmochance/codex-app-transfer/releases)`release-notes/v*.md`
2931

3032
## v2.2.0 — 2026-06-01

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.

README.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Codex App Transfer is a lightweight desktop config + forwarding tool for the **O
2828

2929
After starting forwarding, Codex App talks to this tool at `127.0.0.1:18080`. Closing the window minimizes the app to the system tray; right-click the tray icon and choose "Exit" to fully quit.
3030

31-
Current version **v2.2.0** (see [Changelog](CHANGELOG.md) and [Releases](https://github.com/Cmochance/codex-app-transfer/releases)).
31+
Current version **v2.2.1** (see [Changelog](CHANGELOG.md) and [Releases](https://github.com/Cmochance/codex-app-transfer/releases)).
3232

3333
## Preview
3434

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Codex App Transfer 是一个面向 **OpenAI Codex APP** 的轻量桌面配置 +
2828

2929
启动转发后,Codex APP 通过本机 `127.0.0.1:18080` 与本工具通信。关闭窗口会缩到系统托盘继续运行,右键托盘"退出"才完全退出。
3030

31-
当前版本 **v2.2.0**(详见 [Changelog](CHANGELOG.md)[Releases](https://github.com/Cmochance/codex-app-transfer/releases))。
31+
当前版本 **v2.2.1**(详见 [Changelog](CHANGELOG.md)[Releases](https://github.com/Cmochance/codex-app-transfer/releases))。
3232

3333
## 界面预览
3434

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 = "codex-app-transfer"
3-
version = "2.2.0"
3+
version = "2.2.1"
44
description = "Codex App Transfer - Tauri 2 shell"
55
edition.workspace = true
66
rust-version.workspace = true

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": "Codex App Transfer",
4-
"version": "2.2.0",
4+
"version": "2.2.1",
55
"identifier": "store.alyse.codex-app-transfer",
66
"build": {
77
"frontendDist": "../frontend"

0 commit comments

Comments
 (0)