zx
a229d79158
feat(antigravity): initial steps for Antigravity anti-ban alignment
Cherry-picked from decolua/9router#141 (author: LinearSakana / zx <me@char.moe>)
- Implement client identity spoofing with numeric enums (ideType: 9, pluginType: 2)
- Add runtime platform detection for User-Agent and metadata
- Implement per-connection session ID caching (binary-compatible format)
- Add ANTIGRAVITY_HEADERS (X-Client-Name, X-Client-Version, x-goog-api-client)
- Add X-Machine-Session-Id header injection
- Align metadata/mode parameters across all Antigravity API calls
- Implement double injection for system prompt (raw + [ignore] wrapped)
- Rename internal anti-loop header to x-request-source for anonymity
Skipped: commit 6 (signature side-channel caching) — kept DEFAULT_THINKING_GEMINI_SIGNATURE
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-20 14:44:29 +07:00
..
2026-02-20 14:44:29 +07:00
2026-02-07 11:17:06 +07:00
2026-02-15 11:47:55 +07:00
2026-02-07 11:17:06 +07:00
2026-02-06 15:10:57 +07:00
2026-01-11 21:45:01 +07:00
2026-02-15 07:40:55 +07:00
2026-02-11 15:32:22 +07:00
2026-02-11 15:32:22 +07:00
2026-02-03 00:29:22 +07:00