v3.10.5 — Update CHANGELOG + README: compaction, OAuth secrets, model mapping

This commit is contained in:
Roman
2026-05-25 14:48:05 +04:00
Unverified
parent e42eb906a3
commit db2b33befc
2 changed files with 20 additions and 0 deletions

View File

@@ -1,5 +1,15 @@
# Changelog # Changelog
## v3.10.5 (2026-05-25)
**Context Compaction for Antigravity/Gemini OAuth**
### Fix
- **Prevent `input token count exceeds maximum` errors** during long conversations
- Added aggressive compaction policies for Antigravity (`cloudcode-pa`) and Gemini CLI (`googleapis`)
- Auto-trims old turns when approaching 60% of model context limit (1M tokens for Gemini, 200K for Claude, 128K for GPT-OSS)
- Added REST model IDs to context size map (`gemini-3-flash`, `gemini-3.1-pro-low`, `claude-sonnet-4-6`, etc.)
## v3.10.4 (2026-05-25) ## v3.10.4 (2026-05-25)
**Security: OAuth Secrets Editor + Import JSON** **Security: OAuth Secrets Editor + Import JSON**

View File

@@ -546,6 +546,16 @@ Codex Launcher includes special handling for Gemini 3 / Antigravity OAuth:
- **User instruction enforcement**: The latest user message is guaranteed to be the - **User instruction enforcement**: The latest user message is guaranteed to be the
final content turn sent to Gemini, even after compaction. final content turn sent to Gemini, even after compaction.
- **Smart compaction**: Old tool outputs capped at 3000 chars, recent 6 at 20000 chars. - **Smart compaction**: Old tool outputs capped at 3000 chars, recent 6 at 20000 chars.
- **Context compaction**: Aggressive auto-trimming when approaching 60% of model context
limit (1M tokens Gemini, 200K Claude, 128K GPT-OSS). Prevents token limit errors.
- **Model ID mapping**: Display names (e.g. `Gemini 3.5 Flash (High)`) mapped to REST API
slugs (e.g. `gemini-3-flash`). See `docs/ANTIGRAVITY.md` for details.
### OAuth Secrets
Google OAuth credentials are stored locally in `~/.config/codex-launcher/oauth-secrets.json`
and never committed to the repository. Use the **OAuth Secrets** button in the launcher
header to edit or import `client_secret_*.json` files from Google Cloud Console.
--- ---