Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix Antigravity provider, Codex fork dedup, tab ordering#372

Merged
iamtoruk merged 1 commit into
mainfrom
fix/antigravity-codex-dedup
May 21, 2026
Merged

Fix Antigravity provider, Codex fork dedup, tab ordering#372
iamtoruk merged 1 commit into
mainfrom
fix/antigravity-codex-dedup

Conversation

@iamtoruk
Copy link
Copy Markdown
Member

@iamtoruk iamtoruk commented May 21, 2026

Summary

  • Antigravity: Handle ephemeral port 0 via lsof fallback, force reparse when server was previously unavailable, persist precomputed cost in session cache, add pricing alias for gemini-pro-agent
  • Codex: Detect forked sessions via forked_from_id, skip replayed parent events to prevent double-counting ($143 inflating to $893)
  • Menubar: Sort provider tabs by cost descending instead of static enum order

Test plan

  • Verify Antigravity sessions appear in CLI (codeburn --provider antigravity)
  • Verify Antigravity cost is non-zero when server is running
  • Fork a Codex session and confirm cost doesn't double
  • Confirm menubar tab strip shows highest-cost providers first
  • Confirm providers with no usage still appear (sorted alphabetically at end)

…ab ordering

Antigravity:
- Handle ephemeral port (--https_server_port 0) via lsof fallback
- Force reparse when cached turns are 0 (server may have been unavailable)
- Persist precomputed costUSD in session cache for correct pricing
- Map gemini-pro-agent to gemini-3.1-pro pricing
- Add display names for gemini-pro-agent and gemini-3.5-flash-low

Codex:
- Detect forked sessions via forked_from_id in session_meta
- Skip replayed parent events within 5s of fork creation time
- Use parent session ID in dedup key so parent+fork don't double-count

Menubar:
- Sort provider tabs by cost descending instead of enum declaration order
@iamtoruk iamtoruk merged commit a51d819 into main May 21, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant