Repository navigation
Releases: mmnaderi/antigravity-rtl
Release list
v1.3.0 - Remote Control Browser Support
🚀 What's New in v1.3.0
• Remote Control Support in Browser (Chrome & Arc):
• Added --browser flag to generate and install the unpacked extension for Antigravity Remote Control (npx antigravity-rtl --browser).
• Injects Vazirmatn font, RTL styling, and intelligent text-direction handling into the Remote Control cross-origin iframe (https://antigravity.static.usercontent.goog/web/*).
• Added floating RTL/LTR toggle button and Alt+R keyboard shortcut.
• Settings are stored locally in the browser extension.
• Closes #14.
• CLI & Tooling Improvements:
• Added cross-platform safe execution when revealing the extension folder.
• Added automated test suite for the remote client (npm test).
v1.2.4 - Fix Re-patch Corruption & IDE Log Path
🐛 Bug Fixes in v1.2.4
• Standalone App Re-patch & Backup Protection:
- Enforced clean
app.asaras the source of truth for backups, preventing corruption on re-patch. - Added
/* END ANTIGRAVITY RTL PATCH */marker so previous injections can be cleanly stripped. - Automatically repairs/rebuilds a clean backup when re-patching if the backup is missing or stale.
- Reject
--restoreif the backup file itself is patched to avoid false restore states. - Invalidated in-memory ASAR filesystem cache to prevent stale header corruption during multi-step repack.
• Cross-Platform IDE Logging:
- Switched IDE main-process log path from Unix-only
/tmp/antigravity-rtl.logtopath.join(os.tmpdir(), 'antigravity-rtl.log'), fixing silent log failures on Windows.
v1.2.3 - Codebase Cleanup, Streamlined Dispatch & Robust Error Handling
🧹 Cleanup & Refactoring in v1.2.3
• Unified Patch & Restore Dispatch: Streamlined application detection and dispatch logic in CLI, eliminating duplicated code paths and ensuring consistent error handling.
• Centralized Path Resolution & Single Error Catch: Simplified IDE resource path resolution into a single helper and centralized failure handling in patch and restore routines.
• Cleaner Status Bar & Observers: Removed redundant DOM retry loops and legacy element cleanups in IDE client, simplifying status bar injection with prepend and streamlined mutation listeners.
• Optimized Settings & Config State: Eliminated dual storage fallback logic in favor of single-source config persistence, and simplified input binding loops.
• Reduced Package Footprint: Pruned dead code, unused CSS utility declarations, and redundant file checks, shedding over 400 lines across the codebase.
v1.2.2 - English Font Fix, Pixel-Perfect Topbar & Community Highlights
🛠️ Improvements & Fixes in v1.2.2
- English Font Application Restored: Fixed an issue where Vazirmatn font without unicode-range intercepted Latin characters, restoring the ability to apply custom English fonts across chat and agent views in both Antigravity App and Antigravity IDE.
- Pixel-Perfect Topbar Button: Matched native titlebar font metrics and layout so the RTL button aligns seamlessly with the adjacent Open IDE button.
- Projects Inspired by Antigravity RTL: Added a dedicated section in README highlighting open-source community projects inspired by or adapted from Antigravity RTL (qoder-rtl and MarkdownRTL).
v1.2.1 - Support Antigravity IDE, GitHub Star Prompts & Live Badges
✨ What's Included in v1.2.1
- Antigravity IDE Support: Full right-to-left and typography customization support for Antigravity IDE (VS Code Edition).
- Dual Auto-Detection: Running
npx antigravity-rtlautomatically detects both standalone Antigravity and Antigravity IDE. If both are installed, it patches both! - Targeted Flags:
--ide: Patch or restore Antigravity IDE only.--app: Patch or restore Antigravity Standalone App only.
- Unified Restore: Running
npx antigravity-rtl --restore(or-r) automatically restores all detected patched applications to their original state. - GitHub Star Button & Live Counter: Minimal star button with live GitHub stars counter badge embedded directly inside the in-app settings dropdown.
- Post-Patch Star Prompt: Interactive CLI confirmation to open GitHub and support the repo with a star upon successful patch.
- Smart Star Reminders: Gentle staged community toast in Antigravity app with snooze and acknowledgement options.
- Trusted Types Compliant: Complete pure-DOM settings panel avoiding any CSP or Trusted Types violations.
- Offline Font: Embedded Vazirmatn Variable font bundled locally for offline use.
Special thanks to @Arvinb1386 for initiating Antigravity IDE support (#4)!
v1.2.0 - Antigravity IDE Support & Unified Auto-Patcher
✨ What's New in v1.2.0
- Antigravity IDE Support: Full right-to-left and typography customization support for Antigravity IDE (VS Code Edition).
- Dual Auto-Detection: Running
npx antigravity-rtlautomatically detects both standalone Antigravity and Antigravity IDE. If both are installed, it patches both! - Targeted Flags:
--ide: Patch or restore Antigravity IDE only.--app: Patch or restore Antigravity Standalone App only.
- Unified Restore: Running
npx antigravity-rtl --restore(or-r) automatically restores all detected patched applications to their original state. - Native Status Bar Widget: Dedicated
⇄ RTL: On / Offbutton on the right side of the Antigravity IDE status bar with click-to-open settings popup. - Trusted Types Compliant: Complete pure-DOM settings panel avoiding any CSP or Trusted Types violations.
- Shared Configuration: Live configuration merging in
~/.antigravity-rtl.jsonpreserves settings across both applications. - Offline Font: Embedded Vazirmatn Variable font bundled locally for offline use.
Special thanks to @Arvinb1386 for initiating Antigravity IDE support (#4)!
v1.1.0 - Native Topbar Integration, Portaled Dropdown & Typography Overhaul
🌌 Antigravity RTL v1.1.0
A major visual and architectural update bringing native header integration, portaled dropdown mechanics, complete lifecycle cleanups, and refined typography controls.
✨ What's New in v1.1.0
📍 Native Topbar Integration & Portaled Dropdown
- Header Button: Moved the RTL trigger from the floating bottom-right corner to Antigravity's native topbar (styled identically to the Install IDE button) with an active status dot.
- Body Portal: Rendered dropdown menu directly into
document.bodyto completely prevent clipping from topbaroverflow: hidden. - Natural Interactions: Toggle on click; smoothly dismisses on outside clicks or pressing
Escape. - System-Aware Shortcuts: Dynamic badge display showing
⌥Ron macOS andAlt+Ron Windows/Linux. - Theme Token Alignment: Automatically inherits native Antigravity theme variables (
--popover,--border,--muted,--ring,--color-primary).
🎛️ Typography & Slider Polish
- Seamless Flat Sliders: Replaced native browser range tracks with borderless, dual-color progressive tracks and native circular thumbs matching Radix/shadcn design systems.
- Terminal Font Enforcement: Applied custom code fonts to Antigravity's built-in
xterm.jsterminal with automatic resize triggers for character measurements. - Uniform Row Rhythm: Aligned all panel inputs and sliders to standard 28px (
h-7) row heights.
🛡️ Robust State & Lifecycle Management
- Strict Disable State: Toggling RTL off now executes
clearRTL()across all DOM elements, stripping alldirattributes and disabling typography sliders. - Force RTL Fix: Ensures Force RTL only applies when master RTL is active.
- Cleanup: Deprecated outdated
@keyboard replacement logic.
📚 Documentation & Licensing
- Added formal MIT
LICENSE. - Refreshed bilingual English/Persian
README.mdwith verified GitHub anchor links and embedded demo preview.
💻 Installation & Upgrade
# macOS
sudo npx antigravity-rtl
# Linux
sudo npx antigravity-rtl
# Windows (Run PowerShell as Administrator)
npx antigravity-rtlFull Changelog: v1.0.10...v1.1.0
v1.0.10 - RTL Support for Interactive Questions
🚀 Release v1.0.10 - RTL Support for Interactive Questions
This release adds full RTL support for Antigravity's interactive multiple-choice questions (ask_question), along with tooltip enhancements.
Special thanks to @sirramin for reporting the issue! 🙌
✨ What's New & Fixed
❓ Full RTL Support for Interactive Questions (ask_question)
- Proper Option Alignment & BiDi Flow: Added smart RTL detection and styling for option labels (
label[for^="ask-opt-"]). Badges now align to the right, and mixed Persian/English text renders with proper bidirectional flow (#2). - Header & Card Layout: The question container and header automatically adapt to RTL layout when Persian/Arabic text is detected.
- Dynamic Write-in Direction: The "Other" write-in textarea (
textarea[data-testid="ask-question-writein"]) dynamically updates text direction as you type. - Optimized Line Height: Enhanced line-height for Persian fonts in options for better readability.
💡 Shortcut Tooltip
- Added informative
Alt + Rshortcut info tooltip to the enabled toggle.
📦 Installation & Update
Run directly or update via npm:
npx antigravity-rtl@latestv1.0.9 - Font Size Control, Keyboard Shortcuts & Antigravity Compatibility
🚀 Release v1.0.9 - Smart RTL Patcher for Antigravity
This release brings major updates, including font size customization, keyboard shortcuts, and full compatibility with the latest Antigravity updates.
Special thanks to @AriaRazavi2005 for contributing key features to this release! 🙌
✨ What's New & Fixed
🔤 Chat Font Size Slider
- Added a new slider in the RTL settings panel allowing users to dynamically adjust the chat font size from 11px to 22px (default:
16px). - Added a one-click reset button to restore default font size.
⌨️ Keyboard Shortcut (Alt + R)
- Toggle RTL mode instantly from anywhere in the app using
Alt + R.
⚡ Keyboard & Focus Enhancements
- Added automatic RTL/LTR detection on
focusinevents for smoother typing experience. - Intercepts
Shift + 2on Persian layout to type@instead of٬.
🛠️ Compatibility & Performance Fixes
- Fixed settings panel hover layout and toggle switch styling for the latest Antigravity update.
- Updated
Electronconsole message logging compatibility. - Excluded MCP folder from
asarpacking to improve patching speed and reliability.
📦 Installation & Update
Update globally via npm:
npx antigravity-rtlv1.0.8
What's New in v1.0.8
This release prepares Antigravity RTL for a cleaner npm publish flow and improves the installation documentation.
English
- Package Layout: Standardized the npm package structure by moving the CLI entrypoint, payload, and bundled Vazirmatn font into
bin/. - npm Publish Readiness: Added an explicit
filesallowlist and object-stylebinmapping so the published package contains only the required runtime files. - Metadata Update: Updated
mainand package lock metadata to point at the newbin/index.jsentrypoint. - Documentation Polish: Clarified Node.js installation guidance and updated README titles to
Antigravity Smart RTL & UI Patcher.
فارسی (Persian)
- ساختار پکیج: ساختار پکیج npm استانداردتر شد و فایل اجرایی CLI، payload و فونت Vazirmatn به پوشهٔ
bin/منتقل شدند. - آمادگی برای npm publish: با اضافه شدن
filesو تعریف دقیقترbin، پکیج منتشرشده فقط فایلهای لازم برای اجرا را شامل میشود. - بهروزرسانی metadata: مسیر
mainو اطلاعات lockfile با ورودی جدیدbin/index.jsهماهنگ شد. - بهبود مستندات: راهنمای نصب Node.js واضحتر شد و عنوان README به
Antigravity Smart RTL & UI Patcherتغییر کرد.