16 Commits

Author SHA1 Message Date
Fengqing Liu
3ef92d8d7f simplify agent instructions 2026-01-22 18:57:11 +11:00
Fengqing Liu
9727a9b8d2 unify game selection and expectation logic (#32)
- unify game selection and expectation logic
- refactore settings and settings manager
- formatting and coverage and precommit hook
2026-01-19 00:39:58 +11:00
Fengqing Liu
8d2f253da0 translation update (#24)
* update agent instructions

* - update translations
- add id to translation anchors to ensure correct update
2025-12-15 09:43:43 +11:00
github-actions[bot]
38b796fd12 GEMINI.md for antigravity 2025-12-14 16:40:46 +11:00
Fengqing Liu
275ce682b8 feat: Add proxy support with verification and benefit type filters (#13)
* feat: Add proxy configuration and verification functionality with dedicated API and UI.

* no header needed

* batch render

* feat: Add inventory filters for drop benefit types and refine proxy settings UI.

* debug message

* benefit type filter fix

* avoid duplicated update

* claude md update

* sync change from 5d7a697c2b

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-11 00:36:13 +11:00
Fengqing Liu
50cdeca935 version fix 2025-10-25 17:03:02 +11:00
Fengqing Liu
c046deb967 static check & format 2025-10-25 14:59:24 +11:00
Fengqing Liu
cd75e0818c Update documentation for new translation pattern and removed exception
Updated CLAUDE.md to reflect the new translation access pattern and
removal of the ReloadRequest exception.

Changes:
- Updated translation usage examples to show new dict access pattern:
  - Old: _("gui", "status", "idle")
  - New: _.t["gui"]["status"]["idle"]
- Removed ReloadRequest from exceptions list in Key Files section
- Examples now accurately reflect the current codebase implementation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-25 14:01:05 +11:00
Fengqing Liu
cf69deb6d7 format 2025-10-24 21:57:11 +11:00
Fengqing Liu
46291e83d8 Update CLAUDE.md with comprehensive translation system documentation
This commit documents the current state of the translation system architecture
and consolidates the recent i18n refactoring work.

Documentation updates:
- Add detailed Translation System section describing architecture
- Document all 19 supported languages with native names
- Include TypedDict schema structure and usage examples
- Update project structure to show lang/ directory
- Expand Key Files section with i18n/ package details
- Document language persistence and dynamic switching

Translation system changes:
- Migrate English translations from hardcoded to lang/English.json
- Add English.json as single source of truth for fallback translations
- Update all language files with comprehensive GUI translations
- Refactor translator.py to load English from JSON file
- Add language_name and english_name fields to all translations

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-24 21:48:30 +11:00
Fengqing Liu
31a9056f65 clean up 2025-10-19 22:31:39 +11:00
Fengqing Liu
45e0c47970 migrate to pyproject.toml following PEP 621 standard
Replace requirements.txt with modern pyproject.toml configuration to align with Python packaging best practices. All dependencies are now declared in [project] section, with optional dev dependencies (ruff, mypy) in [project.optional-dependencies].

Updated all references:
- Dockerfile: Install with `pip install .` instead of `-r requirements.txt`
- setup_env.sh: Install with `pip install -e .` for editable development mode
- README.md: Updated installation instructions in both quick start and development sections
- CLAUDE.md: Updated documentation references
- .gitignore: Added common IDE and tool directories

Installation is now: `pip install -e .` for development or `pip install .` for production.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-19 21:50:52 +11:00
Fengqing Liu
a321da91f8 remove "tray" 2025-10-19 17:15:28 +11:00
Fengqing Liu
e8144e9591 chore: Refactor environment detection and paths; remove unused variables and improve resource path handling 2025-10-19 16:27:12 +11:00
Fengqing Liu
3cedd0ef7f chore: Remove legacy logging options and build scripts; update logging to use TimedRotatingFileHandler 2025-10-19 12:40:22 +11:00
Fengqing Liu
5b736e3bb1 Migrate to Docker-ready web UI and remove legacy desktop GUI
Replace the legacy desktop/Tkinter client and packaging artifacts with a Docker-first, web-hosted approach.

- Add Docker quickstart and run-from-source instructions to the README to simplify deployment.
- Simplify launcher to invoke the new web backend module instead of the old desktop entrypoint.
- Update dependencies for a web UI stack (FastAPI, Uvicorn, python-socketio, Jinja2, etc.) and remove desktop/tray-specific packages.
- Remove legacy GUI, packaging and platform-specific helper code, along with obsolete build/pack scripts and AppImage assets to declutter the repo.
- Tidy project ignore rules to add runtime logs and editor metadata.

Rationale: streamline deployment, favor a browser-accessible interface, and reduce maintenance overhead from multiple platform-specific GUI/packaging implementations.
2025-10-16 21:54:43 +11:00