Repository navigation
v0.2.2
Fixed
- Report upstream streams that end without a
finishor explicitabort
event asupstream_truncated: HTTP 502 before output, or an in-band error
after SSE starts. Do not turn partial responses into successful completions
or count them as successful requests. Preserve the CLI's explicit abort
handling and complete terminal events without trailing newlines. - Correct the fallback context length for Step 3.5 Flash to 262,144 tokens.
Added
- Record cache-write tokens separately in completion logs and
commandcode_proxy_tokens_total{kind="cache_write"}. Read nested usage and
cache-write-tokensevents, including events afterfinish; use the last
valid event only when the total is zero. Ignore invalid optional counts,
avoid double-counting, and preserve downstream OpenAI usage fields.
Changed
- Refresh the offline CLI version fallback to
1.79.1following static
protocol analysis. Explicit pins and automatic registry refresh still apply. - Add DeepSeek V4.1 Flash Fast, Ling 3.1 Flash, Mistral Large 4 and Glyph
Cluster to the fallback model catalog. Dynamic upstream catalogs retain
priority, and explicit model IDs continue to be forwarded unchanged.
Downloads
Five platform archives and checksums.txt are attached. Container image: ghcr.io/rc-chn/command-code-reverse/commandcode-proxy:0.2.2 (linux/amd64 and linux/arm64).
Validation
Go 1.24 full race regression tests, go vet, and golangci-lint v2.1.6 passed locally. Main/tag CI and the release workflow passed. All five archive SHA-256 checksums were verified, and the Linux amd64 binary reports v0.2.2. The GHCR image includes linux/amd64 and linux/arm64; latest matches 0.2.2.