fix(qwen): patch regional dashscope endpoints + inline validator

Qwen patcher had two issues:
1. Only patched dashscope.aliyuncs.com but missed regional endpoints
   (cn-hongkong, dashscope-intl, dashscope-us). Users in those regions
   would still hit Aliyun directly.
2. --validate raised ModuleNotFoundError (referenced removed updater/
   package). Replaced with self-contained inline checker — 13 GREEN
   targets covering cli.js markers, settings.json, env vars.

Also bump Codex version to v0.122.0 across all READMEs (was v0.116.0).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
delta-cloud-208e
2026-04-21 10:26:55 +00:00
parent 0a3de88e65
commit 82830c971d
7 changed files with 126 additions and 18 deletions

View File

@@ -1,7 +1,7 @@
# Codex CLI — Patched
Patched OpenAI Codex CLI for use with custom API endpoints.
Latest: **v0.116.0** (6 config patches).
Latest: **v0.122.0** (6 config patches).
> Codex CLI — это compiled Rust binary. В отличие от Claude Code и Gemini CLI (JavaScript),
> патчинг выполняется через `config.toml` + переменные окружения.
@@ -76,7 +76,7 @@ powershell -ExecutionPolicy Bypass -File ucodex_install.ps1
```bash
# Скачать последнюю версию с GitHub
sudo bash update-codex.sh
codex --version # Должно показать: codex-cli 0.116.0
codex --version # Должно показать: codex-cli 0.122.0
```
**Шаг 2 — Настроить конфиг:**