feat: smart systray Léa (plyer), preflight GPU, fix tests, support qwen3-vl

- Smart systray (pystray+plyer) remplace PyQt5 : notifications toast,
  menu dynamique avec workflows, chat "Que dois-je faire ?", icône colorée
- Preflight GPU : check_machine_ready() + @pytest.mark.gpu dans conftest
- Correction 63 tests cassés → 0 failed (1200 passed)
- Tests VWB obsolètes déplacés vers _a_trier/
- Support qwen3-vl:8b sur GPU (remplace qwen2.5vl:3b)
  - fix images < 32x32 (Ollama panic)
  - fix force_json=False (qwen3-vl incompatible)
  - fix temperature 0.1 (0.0 bloque avec images)
- Fix captor Windows : Key.esc, _get_key_name()
- Fix LeaServerClient : check_connection, list_workflows format
- deploy_windows.py : packaging propre client Windows
- VWB : edges visibles (#607d8b) + fitView automatique

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dom
2026-03-16 22:25:12 +01:00
parent cf495dd82f
commit ad15237fe0
36 changed files with 432 additions and 8103 deletions

View File

@@ -279,17 +279,19 @@ class TestHealingErrorScenarios:
def test_healing_with_malformed_elements(self):
"""Test healing avec des éléments malformés"""
# Créer un élément avec des attributs manquants/None
# Note: BBox exige des dimensions positives, on utilise (0,0,1,1) comme bbox
# minimale valide pour tester le healing avec des éléments "malformés"
malformed_element = UIElement(
element_id="malformed",
type=None, # Type manquant
role="", # Rôle vide
bbox=(0, 0, 0, 0), # Bbox invalide
bbox=(0, 0, 1, 1), # Bbox minimale valide (dimensions > 0)
center=(0, 0),
label=None, # Label manquant
label_confidence=0.0,
embeddings=UIElementEmbeddings(image=None, text=None),
visual_features=VisualFeatures(
dominant_color="", has_icon=False,
dominant_color="", has_icon=False,
shape="", size_category=""
),
confidence=0.0,