Nikketryhard
d4de436856
feat: MITM interception for standalone LS with UID isolation
...
- Spawn standalone LS as dedicated 'antigravity-ls' user via sudo
- UID-scoped iptables redirect (port 443 → MITM proxy) via mitm-redirect.sh
- Combined CA bundle (system CAs + MITM CA) for Go TLS trust
- Transparent TLS interception with chunked response detection
- Google SSE parser for streamGenerateContent usage extraction
- Timeouts on all MITM operations (TLS handshake, upstream, idle)
- Forward response data immediately (no buffering)
- Per-model token usage capture (input, output, thinking)
- Update docs and known issues to reflect resolved TLS blocker
2026-02-14 17:50:12 -06:00
Nikketryhard
6842bfeaa5
chore: clean up code — remove dead code, stale allows, eprintln→tracing, remove volatile data from docs
2026-02-14 16:11:34 -06:00
Nikketryhard
2ccc4b46f8
fix( #4 ): remove dead total_cost_usd field; map model enums to readable names
2026-02-14 15:54:03 -06:00
Nikketryhard
dd7b12a97d
fix( #2 ): cap domain cert cache at 64 entries
2026-02-14 15:49:39 -06:00
Nikketryhard
7f5a0f51d3
docs: enrich module docs with binary analysis cross-references
2026-02-14 04:20:57 -06:00
Nikketryhard
edad784bcd
refactor: extract GrpcUsage::into_api_usage to DRY up h2_handler
2026-02-14 04:13:46 -06:00
Nikketryhard
686f5820d6
refactor: extract ResponseData struct to eliminate 18-arg build_response_object
2026-02-14 04:09:41 -06:00
Nikketryhard
901cd3d2e3
fix: resolve clippy warnings (matches!, map_or, redundant guard, unnecessary allocations)
2026-02-14 04:06:18 -06:00
Nikketryhard
725bdb4e9a
chore: add snapshot CLI binary and lib re-export
2026-02-14 04:04:47 -06:00
Nikketryhard
ee6fce12a7
fix: suppress unused direction field warning in snapshot
2026-02-14 04:04:35 -06:00
Nikketryhard
4fa8775b61
feat: transparent proxy mode with SNI extraction and DNS bypass for upstream
2026-02-14 04:03:19 -06:00
Nikketryhard
df7dcc96db
fix: prefer .real binary PID and fallback to ss for port discovery
2026-02-14 04:03:15 -06:00
Nikketryhard
07e705084e
fix: install rustls CryptoProvider at startup to prevent panic under load
2026-02-14 04:03:11 -06:00
Nikketryhard
d5e7f09225
feat: initial commit — antigravity proxy with MITM, standalone LS, and snapshot tooling
2026-02-14 02:24:35 -06:00