Repository navigation
Conversation
…ent upstream releases - trae: X-Ide-Version-Code 20260212 -> 20261117. Trae gates the model catalog and chat on the build date; the old value collapsed the catalog to the legacy six models and rejected current ones with 4001. Adds a cohort guard test. UG check-in/quota live-verified unchanged. - workbuddy: CLI segment 2.176.0 -> 2.186.0 (CN desktop 5.11.3 / Global 5.11.4 stay). Live A/B: same 57-model CN catalog and streaming chat; billing check-in / user-resource untouched. - kiro: IDE fallback 1.4.236 -> 1.5.37. codex: UA 0.172.0. command: CLI 1.93.3. kimi: CLI 2.7.3. devin: CLI 3000.14.30821.
The wire version string was 3.4.24, a number that does not appear in trae.cn's public release line (3.4.21 shipped 2026-11-17, and nothing newer is published). Trae does not gate the catalog on this string, but reporting an unpublished build still misdescribes the client, so it now carries the same 3.4.21 release as the 20261117 build code. Re-audited every other pin against its public source on 2026-11-25: Kiro IDE 1.5.37 (stable metadata), Codex 0.172.0 (published 11-24), Command 1.93.3 (published today), Kimi 2.7.3, Devin 3000.14.30821 (11-17), WorkBuddy CLI 2.186.0 with desktop 5.11.3/5.11.4, QwenWork 2.1.0/26111906. All are the newest published builds and stay unchanged.
…uilds Meta Muse: chat now sends muse-build/1.4.14 with build dec7d749... (the pair captured from Muse Code 1.4.14-R7309.1 and still shipped by CLIProxyAPI main), tbh:exec and the host platform, replacing the stale 1.3.0 / tbh:tui identity. The 1.4.25 client exists but has no published build hash, and a new version with an old hash is an inconsistent fingerprint. MiniMax: the check-in query reports desktop_version=0.7.9, the current MCode TUI release (npm @minimax-ai/code, 2026-11-20), instead of 0.7.2. The route signs the exact path+query, so this only changes the attribution field.
Qoder: check-in reports the desktop release per edition (CN 0.5.18, 2026-11-24; global 0.5.3, 2026-11-03) instead of 0.4.8. CodeArts: login reports snap_vscode / 26.11.300. Both the IDE 26.11.200 package (bundled huaweicloud.codearts-snap) and the 26.11.300 VSIX build plugin-name as \_vscode and send the raw extension version; neither contains snap_AIIDE or 5.2.0. Kiro: KAS moves to 0.66.123, the @kiro/agent version bundled in IDE 1.5.37 (kiro.kiro-agent 1.1.1168, commit 03cd03a). Doubao Work: account query reports sdk_version 2.2.10, the value doubao.com requests today; version_code 20800 is kept because the official page still sends it.
Preparation used to download the updater asset from GitHub. On slow routes that stalls or dies mid-transfer (unexpected EOF), so the console's download update never reached ready_to_apply. Stage the binary out of the pulled image instead, keep staging failures non-fatal, install the updater from the running container, and let start.sh install it on Linux.
Check-in ran at a provider-wide fallback, so Qoder CN inherited Qoder Global's 10:00 window and probes that failed downgraded a learned hour back to a guess. Resolve the window per provider+region from the registry, learn it from the upstream payload when the provider exposes one, keep the learned hour when a probe fails, and rewrite the built-in table for day-flag-only providers. Each table entry now records whether it is upstream-learned and where the fallback comes from.
A stalled registry connection held the whole 15-minute preparation budget and failed the console update. Each pull attempt now has a four-minute deadline and three attempts, reusing cached layers.
The learned earliest window and the region table both guessed when to claim. One operator-set time per provider (default 09:00) is now the single source of truth: the runtime mirrors it onto every account, a per-account custom time still wins, and upstream payloads only report status.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This replaces #597 with the non-behavioral part of the fork's work. The release identity defaults are not changed: this branch is cut from
mainand keepscaigee-cmd/cli2api/ghcr.io/caigee-cmd/cli2apieverywhere. A fork overrides those throughUPDATE_GITHUB_REPO/CLI2API_IMAGE_REPOSITORY/CLI2API_GITHUB_REPOSITORYinstead.Included
Provider client identities
1.1.96, Bun1.4.4), WorkBuddy desktop/CLI, Trae CN3.4.21(20261117), QwenWork2.1.0, CodeArts, Kiro1.5.37with KAS0.66.123, Codex CLI0.172.0, Command Code1.93.3, Kimi Code2.7.3, Devin3000.14.30821, Meta Musemuse-build/1.4.14, MiniMax0.7.9.X-Ide-Version-Code, catalog tiers, fingerprint segments) aligned with those identities; tests cover the fingerprint and catalog split.Updater and host install
docker pullattempts are bounded to four minutes and retried up to three times, reusing downloaded layers.0.7.xandv0.7.x.deploy/install-updater.shandscripts/start.shinstall from the running container first.Check-in
Stream lifetime
CLI2API_STREAM_IDLE_MS, 30s minimum). The timer only runs while a read is actually waiting on upstream, so a slow client write does not kill a healthy stream. On expiry the body is closed, the in-flight slot released, and the failure classified asstream_idle_timeout.started/streamingby the previous process aserror/stream_abandoned.Deliberately not here
allow_rewind, latest-marker check, fork image defaults) is not included.Verification
go test ./...passes.go build ./...passes.cd frontend && npm run syncregeneratedinternal/webui/staticfor the updater/check-in text changes in this branch.