GEMINI.md for antigravity

This commit is contained in:
github-actions[bot]
2025-12-14 16:40:46 +11:00
parent 0031143151
commit 38b796fd12
2 changed files with 416 additions and 7 deletions

View File

@@ -60,7 +60,6 @@ docker-compose up -d
## Architecture
**⚠️ IMPORTANT: The codebase has been refactored into a modular structure.**
The application now uses a clean `src/` package structure with clear separation of concerns.
@@ -81,7 +80,7 @@ src/
├── core/ # Core client (Twitch client)
├── exceptions.py # Custom exceptions
├── version.py # Version string
└── __main__.py # Entry point (replaces old main.py)
└── __main__.py # Entry point
lang/ # Translation JSON files (19 languages)
├── English.json # Default/fallback translations
@@ -122,7 +121,6 @@ lang/ # Translation JSON files (19 languages)
- `MaintenanceService`: Periodic maintenance tasks
- `MessageHandlerService`: Websocket message routing and handling
Note: The services layer is complete and handles all business logic that was previously in the monolithic client file.
**src/models/channel.py** - Channel and Stream:
@@ -168,9 +166,10 @@ Note: The services layer is complete and handles all business logic that was pre
- Games to watch list (auto-populated from available campaigns if empty)
- Connection quality multiplier
- Language selection
- Proxy support
- Proxy support (including verification)
- Logging and dump flags from command-line arguments
- Persistence to JSON file (`settings.json`) in DATA_DIR
- Inventory filters (Status, Benefit Type, Game Search)
### State Machine Flow
@@ -310,6 +309,7 @@ source env/bin/activate && python -m pytest tests/
- `tests/test_proxy_settings.py` - Tests for proxy settings configuration
- `tests/test_verify_proxy.py` - Tests for proxy verification functionality
### Manual Testing
1. Run with `-vvv` for maximum verbosity (levels: -v, -vv, -vvv, -vvvv)
@@ -341,7 +341,7 @@ The application uses a web-based interface accessible via browser:
**web/** - Frontend assets:
- `index.html` - Single-page application layout with tabs
- `static/app.js` - Socket.IO client, real-time UI updates, API calls
- `static/app.js` - Socket.IO client, real-time UI updates, API calls, Inventory Filtering logic
- `static/styles.css` - Responsive design with dark mode support
### Communication Protocol
@@ -397,7 +397,7 @@ The application uses a web-based interface accessible via browser:
**Supported:**
- ✅ Web GUI - browser-based interface
- ✅ Web GUI - browser-based interface with advanced filtering
- ✅ Docker deployment - containerized for any platform
- ✅ Remote access - access from any device on network
- ✅ Headless operation - no display server required
@@ -407,4 +407,4 @@ The application uses a web-based interface accessible via browser:
- Multi-account support
- Channel points mining
- Mining for unlinked campaigns
- Desktop GUI (removed in favor of web-only)
- Desktop GUI