Metadata-Version: 2.4
Name: antigravity-manager
Version: 1.0.0
Summary: Account backup, restore, cooldown, and orchestration manager for Antigravity CLI
Author-email: Dhruv <dhruv13x@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/dhruv13x/antigravity-manager
Project-URL: Repository, https://github.com/dhruv13x/antigravity-manager
Project-URL: Issues, https://github.com/dhruv13x/antigravity-manager/issues
Keywords: antigravity,gemini,backup,cli,automation,orchestration,quota
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Environment :: Console
Requires-Python: >=3.12
Description-Content-Type: text/markdown
Requires-Dist: pyfakefs>=6.2.0
Requires-Dist: pytest-asyncio>=1.3.0
Requires-Dist: pytest-cov>=7.1.0
Requires-Dist: pytest-mock>=3.15.1
Requires-Dist: pytest-timeout>=2.4.0
Requires-Dist: rich>=13.0.0
Requires-Dist: b2sdk>=2.1.0
Provides-Extra: dev
Requires-Dist: pytest>=8.0.0; extra == "dev"
Requires-Dist: pytest-cov>=5.0.0; extra == "dev"
Requires-Dist: pytest-timeout>=2.2.0; extra == "dev"
Requires-Dist: pytest-json-report>=1.5.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.23.0; extra == "dev"
Requires-Dist: pytest-mock>=3.10.0; extra == "dev"
Requires-Dist: pyfakefs>=5.0.0; extra == "dev"
Requires-Dist: ruff>=0.6.0; extra == "dev"
Requires-Dist: black>=24.3.0; extra == "dev"
Requires-Dist: mypy>=1.11.0; extra == "dev"

# antigravity-manager

Account backup, restore, cooldown, and status manager for Antigravity CLI.
## Commands

```bash
agm                    # Defaults to 'cooldown'
agm -s                 # Shortcut for 'status'
agm -c                 # Shortcut for 'cooldown'
agm -v                 # Show version
agm -h                 # Show help
```

uv run agm backup
uv run agm backup --auth-only
uv run agm backup --decision-model "Gemini 3.5 Flash"
uv run agm restore --email you@example.com
uv run agm restore --from-archive ./backup.tar.gz --full
uv run agm use you@example.com
uv run agm cooldown
uv run agm recommend
uv run agm list-backups
uv run agm doctor
```

Default paths:

- Manager state: `~/.antigravity-manager`
- Backups: `~/.antigravity-manager/backups`
- Antigravity CLI state: `~/.gemini/antigravity-cli`

`agm restore` is auth-only by default. Use `--full` only when you want to replace
the whole Antigravity CLI state directory.

`agm` is scoped to the Antigravity CLI state directory and does not back up,
restore, or mutate files directly under `~/.gemini`.

Backups and recommendations use `Gemini 3.5 Flash` as the default decision
model. If Antigravity exposes a reset time for that model, the backup filename is
anchored to that reset time. If the model is available and `/usage` does not show
a reset time, the filename uses an explicit 5-hour estimate and records that
source in metadata.

Before restore/use, `agm` writes an account-named current-state copy under
`~/.antigravity-manager/safety_backups`.
