π»π³ NgΖ°α»i dΓΉng Viα»t Nam: Xem README tiαΊΏng Viα»t Δα» cΓ³ hΖ°α»ng dαΊ«n chi tiαΊΏt bαΊ±ng tiαΊΏng Viα»t.
Auto-sync AI context + Auto-accept/retry for AI coding agents. Zero-babysitting automation.
Dung Le β Software Engineer from Vietnam π»π³
- πΌ Facebook: @mrd.900s
- π GitHub: mrd9999
- π§ VNLF: Vietnam Linux Family
| Auto Retry | Sync Dashboard |
|---|---|
![]() |
![]() |
Automatically click Retry buttons when AI agents encounter errors. Zero-babysitting automation!
Uses Chrome DevTools Protocol (CDP) to inject a script that monitors the IDE webview and auto-clicks approval buttons.
- Open Antigravity Sync panel in sidebar
- Click "Start Auto Retry"
- First time: Follow setup dialog to enable CDP
- Restart IDE (Quit + Reopen using the command shown)
- Click "Start Auto Retry" again β Active! β
- β VS Code
- β Cursor
- β Antigravity
- β Other Electron-based IDEs
| Platform | Status |
|---|---|
| macOS | β Full support |
| Windows | β Full support |
| Linux | β Full support |
Sync Gemini Antigravity context (~/.gemini/antigravity/) across machines via private Git repository.
Problem solved: When switching machines, all conversation history, Knowledge Items and brain artifacts are lost. This extension auto-syncs via Git to preserve everything.
Antigravity stores conversation history by absolute workspace path. To see conversations from the old machine on a new machine, workspace paths MUST BE IDENTICAL.
Example:
- Machine A:
/Users/dung.leviet/Documents/myproject - Machine B: MUST also be
/Users/dung.leviet/Documents/myproject
If paths differ, conversations won't appear even after successful sync.
Create symlinks on the new machine to match the old machine's paths:
# Linux/macOS
sudo mkdir -p /Users/dung.leviet/Documents
sudo ln -s /actual/path/to/project /Users/dung.leviet/Documents/myproject
# Windows (Run as Administrator)
mklink /D "C:\Users\dung.leviet\Documents\myproject" "D:\actual\path\to\project"After pulling data from remote, you MUST reload VS Code window to load new conversations:
Cmd+Shift+P (macOS) / Ctrl+Shift+P (Windows/Linux)
β "Developer: Reload Window"
| Sync between | Works? | Notes |
|---|---|---|
| macOS β macOS | β | Use symlink |
| Linux β Linux | β | Use symlink |
| Windows β Windows | β | Use mklink /D (Admin) |
| macOS β Linux | β | Use symlink |
| macOS/Linux β Windows WSL | β | Symlink in WSL + VS Code Remote |
| macOS/Linux β Windows native | β | Path format incompatible |
Note:
knowledge/andbrain/work on all platforms without symlink- Only
conversations/needs workspace path matching
- Auto-sync β Auto sync changes to private repository
- Private repo only β Validate repository must be private
- Sensitive data protection β Auto-exclude OAuth tokens and credentials
- Side panel β Dashboard showing sync status, files and history
- Selective sync β Choose folders to sync
- Setup wizard β Step-by-step config
VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=mrd9999.antigravity-sync
Open VSX (for Cursor, VSCodium): https://open-vsx.org/extension/mrd9999/antigravity-sync
- Open Extensions (
Cmd+Shift+X/Ctrl+Shift+X) - Search "Antigravity Sync"
- Install
# If agy is already in PATH:
agy --install-extension antigravity-sync-0.1.1.vsix
# If agy is NOT in PATH, add it first:
# Cmd+Shift+P β "Shell Command: Install 'agy' command in PATH"
# Then run the install command above- Create private Git repository (GitHub, GitLab, Bitbucket)
- Generate access token with repo scope
- GitHub: github.com/settings/tokens
- GitLab: Settings β Access Tokens
- Bitbucket: App passwords
- Command Palette (
Cmd+Shift+P/Ctrl+Shift+P) - Run
Antigravity Sync: Configure Repository - Follow setup wizard
| Setting | Default | Description |
|---|---|---|
antigravitySync.repositoryUrl |
"" |
Git repository URL (must be private) |
antigravitySync.autoSync |
true |
Auto sync changes |
antigravitySync.syncIntervalMinutes |
5 |
Auto-sync interval (minutes) |
antigravitySync.syncFolders |
["knowledge", "antigravity"] |
Folders to sync |
antigravitySync.excludePatterns |
[] |
Additional exclude patterns |
antigravitySync.geminiPath |
"" |
Custom path to .gemini |
These files are never synced to protect privacy:
| Pattern | Reason |
|---|---|
google_accounts.json |
OAuth credentials |
oauth_creds.json |
OAuth credentials |
browser_recordings/ |
Large video files |
code_tracker/ |
Machine-specific data |
implicit/ |
Workspace indexing |
user_settings.pb |
User preferences |
Note:
conversations/*.pbARE synced (chat history).
Custom patterns can be added in .antigravityignore at .gemini/antigravity.
| Command | Description |
|---|---|
Antigravity Sync: Configure Repository |
Setup or change repository |
Antigravity Sync: Sync Now |
Manual sync (push + pull) |
Antigravity Sync: Push Changes |
Push local changes only |
Antigravity Sync: Pull Changes |
Pull remote changes only |
Antigravity Sync: Show Status |
Show sync status |
β οΈ Extension requires Git access token with repo scope.
- Token stored in VS Code Secret Storage
- Only works with private repositories
- Sensitive files auto-excluded
- HTTPS only
git clone https://github.com/mrd9999/antigravity-sync.git
cd antigravity-sync
yarn install
yarn build
yarn test
# Run extension (dev mode)
agy . && press F5MIT Β© Dung Le

