Repository navigation
Releases
AMR v0.1.5
AMR (Antigravity Manager Rust) v0.1.5
Release Highlights & What's Changed
-
Antigravity 2.29.1 Client Emulation: Updated upstream hub version and CL metadata (
antigravity/hub/2.29.1,CL 1015941558) to match latest Antigravity desktop release (44.5.1). -
Upstream Image, STT, & TTS Protocol Fixes: Switched
/v1/images/generations,/v1/audio/transcriptions, and/v1/audio/speechto non-streamingv1internal:generateContent(Accept: application/json) with automatic OAuth token refresh, aspect ratio support, PCM-to-WAV wrapping, and authentic voice mapping. -
Web Search (
POST /v1/search&googleSearchGrounding): Reverse-engineered AntigravityGetWebSearchResults(requestType: "web_search",googleSearchtool,groundingMetadatasources) and exposedPOST /v1/search, theweb-searchcatalog model, and OpenAIweb_searchtool mapping in/v1/chat/completions. -
Personalized UI Test Modals & Modality Badges: Added distinct model badges (
Image Gen,Audio STT,Audio TTS,Web Search) and tailored interactive Test Dialogs for image preview/saving, STT audio file browsing/transcription, TTS voice synthesis/playback, and manual web search with sources. -
Metadata-Driven Version Placeholders & Packaging: Synchronized
Cargo.toml(0.1.5), Slint UI version, metainfo XML/desktop stamping inbuild_appimage.sh/build_deb.sh/build_rpm.sh,README.mdplaceholders, and dynamic changelog extraction in.github/workflows/release.yml. -
v0.1.4:
-
Window & Tray Integration: Fixed window minimize-to-tray lifecycle on Linux/Windows and preserved dynamic tray context actions.
-
Prompt Caching & Telemetry: Integrated real prompt caching ratios, request latency counters, and token tracking.
-
UI / Model Explorer: Added model ID copy chip, grey thinking badges, and sanitized upstream headers.
-
Windows Dependencies: Added
Win32_System_ProcessStatusandWin32_System_Threadingfeatures towindows-sys. -
v0.1.3:
-
Protocol Alignment: Eliminated problematic upstream endpoints causing synthetic 429 errors and aligned request schemas to native Pa API parameters.
-
v0.1.2:
-
Windows Subsystem: Configured
#![windows_subsystem = "windows"]to suppress unwanted background console windows. -
OAuth & State: Fixed URL escaping and token keeper persistence across application reboots.
-
UI Quota: Fixed rendering when quota reaches 0%.
-
v0.1.1:
-
Packaging: Streamlined AppImage, DEB, RPM, and EXE build scripts with cross-distro compatibility.
-
v0.1.0:
-
Multi-Architecture CI: Introduced standalone 64-bit ARM (
aarch64Linux &arm64Windows) build matrix. -
v0.0.4:
-
Antifraud & Identity: Implemented randomized jitter refresh (±15%), hardware fingerprint generators, and comprehensive trilingual i18n (EN, RU, ZH).
-
v0.0.3:
-
Security & Storage: Added persistent SQLite token cache, device isolation, and per-account proxy support.
-
v0.0.2:
-
Models: Enriched
/v1/modelsbroadcast with reasoning capabilities and reasoning clone toggle. -
v0.0.1:
-
Core: Initial release of pure Rust AI API proxy and protocol emulator under MIT License.
Core Architecture & Module Layout
src/
├── main.rs # Application entry point, CLI handling, Slint UI event binding & timers
├── lib.rs # Library exports for unit and integration testing
├── cli.rs # Clap CLI parser (--headless, --port, --config, --start-minimized)
├── config.rs # App configuration, quota calculus, account state, model catalogs
├── i18n.rs # TranslationBundle & multi-language loader (EN, RU, ZH)
├── autostart.rs # XDG Desktop (Linux) & Registry (Windows) auto-start manager
├── sys_metrics.rs # Low-overhead OS process RSS / memory metrics collector
├── tray/ # System tray integration (muda / tray-icon) with dynamic localization
└── proxy/
├── server.rs # Axum HTTP proxy router (/v1/chat/completions, /v1/messages, /v1/models)
├── audio.rs # Audio STT (/v1/audio/transcriptions), TTS (/v1/audio/speech), Images (/v1/images/generations)
├── balancer.rs # Quota-aware load balancing, session stickiness & KV cache retention
├── router.rs # Suffix table & native reasoning effort parser, model name translation
├── antigravity.rs # Upstream OAuth token refresh, Cloud Code Pa API mapping, device profiles
├── fingerprint.rs # Cryptographic machine ID, device ID & hardware fingerprint generators
├── stats.rs # Lock-free atomic metrics counters & persistent disk logging (logs.jsonl)
├── stream.rs # SSE chunk transformer, heartbeat injector (: ping\n\n), reasoning parser
└── mappers/ # OpenAI <-> Claude protocol request & response schema transformers
Core Philosophy & Design Principles
- Zero Bloat & Zero Telemetry:
- No analytics, tracking, ads, or phone-home requests are allowed under any circumstances.
- Do NOT introduce WebViews, Chromium, Electron, or Node.js dependencies.
- License Compliance:
- The project is licensed under MIT License.
- Preserves standard permissive open-source usage with attribution retained.
- Lock-Free Concurrency:
- Never hold standard blocking locks across async
.awaitboundaries. - Use
tokio::sync, atomic counters (AtomicU64,AtomicBool), orparking_lot::RwLockfor synchronous operations only.
- Thinking Stream Resilience:
- All SSE streams must maintain heartbeat/ping frames (
: ping\n\n) when reasoning models (Claude 3.7, o1, o3, Gemini 2.5) take extended time before first token arrival. - Always map and recover reasoning tokens (
reasoning_contentin OpenAI chunks;thinkingblocks in Claude).
- Dual-Mode Reasoning:
- Both suffix-based clones (
(low),(medium),(high),(no-thinking)) and native protocol parameters (reasoning_effort,thinking) are parsed via the declarativeREASONING_SUFFIXEStable insrc/proxy/router.rs.
- Strict Internationalization (i18n):
- Every single user-visible string in the UI, system tray, notifications, test runner, and status indicators must be declared in
i18n/{en,ru,zh}.jsonand mirrored insrc/i18n.rs(TranslationBundle) andui/app.slint(I18nData). - Hardcoded English UI strings are prohibited.
- Cleanliness & Linter Standard:
- Zero clippy warnings (
cargo clippy --message-format=short). - All 15+ router, mapper, balancer, and model tests must pass at all times (
cargo test).
Release Packaging & Artifacts
The release workflow (.github/workflows/release.yml) builds standalone release packages in 4 architecture pairs (x86_64 & arm64):
- Linux AppImage:
AMR-*-x86_64.AppImage&AMR-*-aarch64.AppImage - Debian / Ubuntu DEB:
AMR_*_amd64.deb&AMR_*_arm64.deb - Fedora / RHEL RPM:
AMR-*-1.x86_64.rpm&AMR-*-1.aarch64.rpm - Windows Portable EXE:
AMR-*-x86_64.exe&AMR-*-arm64.exe
Do not add unnecessary packaging formats or complex installer wrappers.
Maintenance Policy
AMR prioritizes stability, sub-millisecond dispatch performance, and zero bloat. Releases occur on significant protocol shifts or when a solid bundle of improvements has accumulated.
Standalone Packages (x86_64 & ARM64):
- Linux AppImage:
AMR-0.1.5-x86_64.AppImage&AMR-0.1.5-aarch64.AppImage(Portable binary for Linux) - Debian / Ubuntu DEB:
AMR_0.1.5_amd64.deb&AMR_0.1.5_arm64.deb - Fedora / RHEL RPM:
AMR-0.1.5-1.x86_64.rpm&AMR-0.1.5-1.aarch64.rpm - Windows Portable EXE:
AMR-0.1.5-x86_64.exe&AMR-0.1.5-arm64.exe(Standalone single-file executable)
Full Changelog: v0.1.4...v0.1.5
AMR v0.1.4
AMR (Antigravity Manager Rust) v0.1.4
Release Highlights & What's Changed
- Google Antigravity Upstream Fix: Resolved
404 Not Found (Requested entity was not found)by mapping image generation requests togemini-3.1-flash-image(withimage-generator&dall-e-3aliases). - OpenAI Model Compliance: Standardized all broadcast models to OpenAI-compliant lower-case identifiers.
- OpenAI Audio STT (
/v1/audio/transcriptions): Full Whisper API compatibility for multipart audio transcription via Gemini Pa upstream. - OpenAI Audio TTS (
/v1/audio/speech) & Audio Models: Added audio speech synthesis endpoint and catalogedwhisper-1&tts-1models. - Dynamic Automated Packaging: Standalone release packages dynamically bound to project versioning.
Standalone Packages (x86_64 & ARM64):
- Linux AppImage:
AMR-*-x86_64.AppImage&AMR-*-aarch64.AppImage(Portable binary for Linux) - Debian / Ubuntu DEB:
AMR_*_amd64.deb&AMR_*_arm64.deb - Fedora / RHEL RPM:
AMR-*-1.x86_64.rpm&AMR-*-1.aarch64.rpm - Windows Portable EXE:
AMR-*-x86_64.exe&AMR-*-arm64.exe(Standalone single-file executable)
AMR v0.1.3
AMR (Antigravity Manager Rust) v0.1.3
Ultra-lightweight high-performance AI API proxy, protocol emulator & multi-account quota dispatcher in pure Rust.
Release Packages (x86_64 & ARM64):
- Linux AppImage:
AMR-0.1.3-x86_64.AppImage&AMR-0.1.3-aarch64.AppImage(Portable package for any modern Linux) - Debian / Ubuntu DEB:
AMR_0.1.3_amd64.deb&AMR_0.1.3_arm64.deb - Fedora / RHEL RPM:
AMR-0.1.3-1.x86_64.rpm&AMR-0.1.3-1.aarch64.rpm - Windows Portable EXE:
AMR-0.1.3-x86_64.exe&AMR-0.1.3-arm64.exe(Standalone executables)
AMR v0.1.2
AMR (Antigravity Manager Rust) v0.1.2
Ultra-lightweight high-performance AI API proxy, protocol emulator & multi-account quota dispatcher in pure Rust.
Release Packages (x86_64 & ARM64):
- Linux AppImage:
AMR-0.1.0-x86_64.AppImage(Portable package for any modern Linux) - Debian / Ubuntu DEB:
AMR_0.1.0_amd64.deb&AMR_0.1.0_arm64.deb - Fedora / RHEL RPM:
AMR-0.1.0-1.x86_64.rpm&AMR-0.1.0-1.aarch64.rpm - Windows Portable EXE:
AMR-0.1.0-x86_64.exe&AMR-0.1.0-arm64.exe(Standalone executables)
AMR v0.1.1
AMR (Antigravity Manager Rust) v0.1.1
Ultra-lightweight high-performance AI API proxy, protocol emulator & multi-account quota dispatcher in pure Rust.
Release Packages (x86_64 & ARM64):
- Linux AppImage:
AMR-0.1.0-x86_64.AppImage(Portable package for any modern Linux) - Debian / Ubuntu DEB:
AMR_0.1.0_amd64.deb&AMR_0.1.0_arm64.deb - Fedora / RHEL RPM:
AMR-0.1.0-1.x86_64.rpm&AMR-0.1.0-1.aarch64.rpm - Windows Portable EXE:
AMR-0.1.0-x86_64.exe&AMR-0.1.0-arm64.exe(Standalone executables)
AMR v0.1.0
AMR (Antigravity Manager Rust) v0.1.0
Ultra-lightweight high-performance AI API proxy, protocol emulator & multi-account quota dispatcher in pure Rust.
Release Packages (x86_64 & ARM64):
- Linux AppImage:
AMR-0.1.0-x86_64.AppImage(Portable package for any modern Linux) - Debian / Ubuntu DEB:
AMR_0.1.0_amd64.deb&AMR_0.1.0_arm64.deb - Fedora / RHEL RPM:
AMR-0.1.0-1.x86_64.rpm&AMR-0.1.0-1.aarch64.rpm - Windows Portable EXE:
AMR-0.1.0-x86_64.exe&AMR-0.1.0-arm64.exe(Standalone executables)