Skip to content

Commit 2d9c40f

Browse files
committed
feat: Introduce client identity camouflage and integrate Bun/Tailwind CSS for documentation build.
1 parent 4820dc4 commit 2d9c40f

File tree

7 files changed

+170
-2
lines changed

7 files changed

+170
-2
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,7 @@ Thumbs.db
2929
# AI agent working files
3030
docs/plans/
3131
.opencode/
32+
33+
# Node / Bun (Tailwind CSS build tooling)
34+
node_modules/
35+
bun.lockb

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ A blazing-fast Rust proxy that translates Anthropic's Claude API to Google's Clo
4242
- **Response Caching** - Cache non-streaming responses to reduce quota usage
4343
- **Interactive TUI** - Beautiful terminal UI for monitoring and configuration
4444
- **Background Daemon** - Runs quietly in the background
45+
- **Client Identity Camouflage** - Spoofs the full Electron client fingerprint (User-Agent, `X-Client-Name/Version`, `X-Machine-Id`, `X-VSCode-SessionId`) to match the official Antigravity desktop app
4546

4647
## Quick Start
4748

@@ -331,6 +332,7 @@ agcp logs # View logs
331332
| `~/.config/agcp/config.toml` | Configuration file |
332333
| `~/.config/agcp/accounts.json` | Account credentials |
333334
| `~/.config/agcp/agcp.log` | Server logs |
335+
| `~/.config/agcp/machineid` | Persistent machine UUID for client identity camouflage |
334336

335337
## License
336338

bun.lock

Lines changed: 145 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,12 @@ <h3 class="text-white text-base font-bold mb-3">Background Daemon</h3>
126126
<p class="text-gray-400 text-sm leading-relaxed">Runs quietly in the background. Single ~3MB binary, minimal dependencies, written in Rust with async I/O.</p>
127127
</div>
128128

129+
<div class="group p-8 bg-surface border border-border rounded-lg hover:border-cyan/20 transition-colors">
130+
<svg class="w-8 h-8 text-cyan mb-4" fill="none" stroke="currentColor" stroke-width="1.5" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M9 12.75L11.25 15 15 9.75m-3-7.036A11.959 11.959 0 013.598 6 11.99 11.99 0 003 9.749c0 5.592 3.824 10.29 9 11.623 5.176-1.332 9-6.03 9-11.622 0-1.31-.21-2.571-.598-3.751h-.152c-3.196 0-6.1-1.248-8.25-3.285z"/></svg>
131+
<h3 class="text-white text-base font-bold mb-3">Client Identity Camouflage</h3>
132+
<p class="text-gray-400 text-sm leading-relaxed">Spoofs the full Electron client fingerprint — Electron-style User-Agent, <code class="text-cyan/70">X-Client-Name</code>, <code class="text-cyan/70">X-Machine-Id</code>, <code class="text-cyan/70">X-VSCode-SessionId</code> — indistinguishable from the official desktop app.</p>
133+
</div>
134+
129135
</div>
130136
</section>
131137

docs/style.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

justfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,7 @@ check: fmt lint
4646
# Clean build artifacts
4747
clean:
4848
cargo clean
49+
50+
# Build Tailwind CSS for the docs site
51+
css:
52+
bunx @tailwindcss/cli -i docs/input.css -o docs/style.css --minify

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"dependencies": {},
3+
"devDependencies": {
4+
"@tailwindcss/cli": "^4.2.0",
5+
"tailwindcss": "^4.2.0"
6+
}
7+
}

0 commit comments

Comments
 (0)