Repository navigation
Refina o projeto: CI, release com executável, README novo e correções - #1
Merged
Merged
Conversation
- Add ruff config and fix its findings (import order, unused import, one-line compound statements) - Keep the app version in config.APP_VERSION instead of hardcoded strings - Give the overlay a dark, slightly transparent theme with a status color for in-game, waiting and offline states - Add .gitattributes so .bat files always check out with CRLF Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On Windows a redirected stdout (e.g. "> log.txt") uses cp1252, so the first emoji in the startup messages raised UnicodeEncodeError and closed the coach. Reconfigure stdout/stderr to UTF-8 with line buffering at startup. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scripts/build.ps1 builds dist/LoL_AI_Coach with the spec, copies the files people need to edit (.env.example, player_profile.json) plus a short LEIA-ME.txt, and zips it as LoL_AI_Coach-<version>-windows.zip. UPX is disabled to reduce antivirus false positives. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ask DWM for the immersive dark title bar on Windows 10 20H1+ and 11 so the window chrome matches the dark overlay. Other systems ignore it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- CI: ruff on Ubuntu and the test suite on Windows with Python 3.11-3.14 - Release: a vX.Y.Z tag checks it matches APP_VERSION, runs the tests, builds the Windows zip and publishes a GitHub release with the notes from CHANGELOG.md - Dependabot for pip and GitHub Actions, grouped monthly Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- README: banner, badges, overlay screenshot, executable and source install paths, full .env reference, provider table, architecture diagram and troubleshooting - Move the change notes from the README into CHANGELOG.md - Add CONTRIBUTING.md, issue forms and a pull request template Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
O que muda
Infraestrutura
vX.Y.Zgera o executável com PyInstaller, roda os testes e publica a release com o.zipe as notas doCHANGELOG.md. A tag precisa bater comAPP_VERSION.scripts/build.ps1para gerar o.ziplocalmente;LoL_AI_Coach.specversionado (sem UPX, para reduzir falso positivo de antivírus)..gitattributesgarante CRLF nos.bat.Código
LoL_AI_Coach.exe > log.txtoupython main.py > log.txt), o Windows usava cp1252 e o primeiro emoji derrubava o coach comUnicodeEncodeError. Agora stdout/stderr são UTF-8 com buffer por linha. Teste de regressão incluído.config.APP_VERSION(3.2.0).Documentação
.env, tabela de provedores (OpenAI/OpenRouter/Ollama), diagrama de arquitetura e solução de problemas.CHANGELOG.mdcom as versões 3.1.0 e 3.2.0,CONTRIBUTING.md, formulários de issue e template de PR.Como testei
python -m unittest discover -s tests— 44 testes passando (eram 42)ruff check .scripts/build.ps1gera o.zip; o.exeabre, escolhe a personalidade e fica aguardando a partidaDepois do merge
Criar a tag
v3.2.0para publicar a primeira release com o executável.🤖 Generated with Claude Code