chore: fix remaining Antigravity Proxy refs, add systemd unit

- Rename CA org to ZeroGravity
- Fix lib.rs docstring
- Fix mitm-redirect.sh comment
- Fix README title
This commit is contained in:
Nikketryhard
2026-02-18 01:56:43 -06:00
parent 00587fcce8
commit 59ed872ed3
4 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
# Antigravity Proxy # ZeroGravity
OpenAI-compatible proxy that intercepts and relays requests to Google's Antigravity language server, impersonating the real Electron webview. OpenAI-compatible proxy that intercepts and relays requests to Google's Antigravity language server, impersonating the real Electron webview.

View File

@@ -58,7 +58,7 @@ install() {
# This is needed for the proxy to spawn the LS binary. # This is needed for the proxy to spawn the LS binary.
local REAL_USER="${SUDO_USER:-$(logname 2>/dev/null || whoami)}" local REAL_USER="${SUDO_USER:-$(logname 2>/dev/null || whoami)}"
cat > "$SUDOERS_FILE" <<EOF cat > "$SUDOERS_FILE" <<EOF
# Allow $REAL_USER to run commands as $LS_USER (for antigravity proxy) # Allow $REAL_USER to run commands as $LS_USER (for zerogravity)
$REAL_USER ALL=($LS_USER) NOPASSWD: ALL $REAL_USER ALL=($LS_USER) NOPASSWD: ALL
# Allow $REAL_USER to kill $LS_USER's processes (for clean shutdown) # Allow $REAL_USER to kill $LS_USER's processes (for clean shutdown)
$REAL_USER ALL=(root) NOPASSWD: /usr/bin/kill -TERM *, /usr/bin/kill -KILL *, /usr/bin/pkill -TERM -u $LS_USER *, /usr/bin/pkill -KILL -u $LS_USER * $REAL_USER ALL=(root) NOPASSWD: /usr/bin/kill -TERM *, /usr/bin/kill -KILL *, /usr/bin/pkill -TERM -u $LS_USER *, /usr/bin/pkill -KILL -u $LS_USER *

View File

@@ -1,3 +1,3 @@
//! Antigravity proxy library — shared modules for main proxy and tools. //! ZeroGravity library — shared modules for main proxy and tools.
pub mod snapshot; pub mod snapshot;

View File

@@ -115,7 +115,7 @@ impl MitmCa {
let mut dn = DistinguishedName::new(); let mut dn = DistinguishedName::new();
dn.push(DnType::CommonName, "Antigravity MITM CA"); dn.push(DnType::CommonName, "Antigravity MITM CA");
dn.push(DnType::OrganizationName, "Antigravity Proxy"); dn.push(DnType::OrganizationName, "ZeroGravity");
params.distinguished_name = dn; params.distinguished_name = dn;
params.is_ca = IsCa::Ca(BasicConstraints::Unconstrained); params.is_ca = IsCa::Ca(BasicConstraints::Unconstrained);