CodexBar icon indicating copy to clipboard operation
CodexBar copied to clipboard

CodexBar 0.20 cannot detect Antigravity usage on macOS, even though the local Antigravity language server responds successfully.

Open jeshbarlow opened this issue 7 months ago • 2 comments

Environment:

  • CodexBar 0.20
  • Antigravity 1.22.2
  • macOS 15.3.0 / Darwin arm64 25.3.0

What I see:

  • CodexBar shows: “Last Antigravity fetch failed: Antigravity port detection failed: no working API port found.”

What I verified manually:

  • Antigravity language_server_macos processes are running
  • local listening ports exist
  • manual POST to GetUnleashData succeeds with 200 OK

Known-good responding ports:

  • PID 46027 -> 64096
  • PID 46065 -> 64130
  • PID 46321 -> 64175
  • PID 46417 -> 64180

Nearby Antigravity/Electron ports also present:

  • 64094, 64129, 64173, 64174

So the local Antigravity endpoint is alive, but CodexBar still reports no working API port found. This looks like a port-selection / token-pairing / probe-parsing bug in the Antigravity provider.

jeshbarlow avatar Apr 13 '26 01:04 jeshbarlow

This looks like the same localhost Antigravity probe issue from #692, fixed on main in #693, but that fix has not shipped in a release yet. You can either build a version from main if you want a fix for this issue immediately, or wait for 0.21 to be released.

anirudhvee avatar Apr 13 '26 10:04 anirudhvee

Closing as fixed on current main. The original 0.20 local-port detection path was addressed by the later Antigravity endpoint selection/trust fixes, and current main also has Google OAuth-backed remote Antigravity usage as a fallback when the local IDE API is unavailable. I verified the local probe behavior with swift test --filter AntigravityStatusProbeTests: 30 tests passed, covering endpoint ordering, fallback ports, alternate tokens, and localhost TLS trust. Please file a fresh issue if current main still reports no working API port with logs from that build.

steipete avatar May 10 '26 13:05 steipete