From 1e8e2dd9f3d225bbcf23a2c3f6b9ce8b5dcdcff7 Mon Sep 17 00:00:00 2001 From: Dom Date: Tue, 31 Mar 2026 10:17:24 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20nettoyage=20scripts=20de=20d=C3=A9ploiem?= =?UTF-8?q?ent=20Windows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - deploy_windows.py : supprimé window_info dupliqués du manifeste - build_package.sh : exclusion chat_window, shared_state, capture_server, *.md - lea_ui copie uniquement __init__.py + server_client.py - Package résultant : 68 KB (propre, minimal) Co-Authored-By: Claude Opus 4.6 (1M context) --- agent_v0/deploy_windows.py | 2 -- deploy/build_package.sh | 9 +++++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/agent_v0/deploy_windows.py b/agent_v0/deploy_windows.py index 23d1bdb17..050bf9321 100644 --- a/agent_v0/deploy_windows.py +++ b/agent_v0/deploy_windows.py @@ -41,8 +41,6 @@ FILE_MANIFEST: list[tuple[str, str]] = [ ("agent_v1/core/__init__.py", "agent_v1/core/__init__.py"), ("agent_v1/core/captor.py", "agent_v1/core/captor.py"), ("agent_v1/core/executor.py", "agent_v1/core/executor.py"), - ("agent_v1/core/window_info.py", "agent_v1/core/window_info.py"), - ("agent_v1/core/window_info_crossplatform.py", "agent_v1/core/window_info_crossplatform.py"), # agent_v1/network ("agent_v1/network/__init__.py", "agent_v1/network/__init__.py"), diff --git a/deploy/build_package.sh b/deploy/build_package.sh index 46e5877e4..ef0bf2d0d 100755 --- a/deploy/build_package.sh +++ b/deploy/build_package.sh @@ -93,6 +93,10 @@ rsync -a \ --exclude='sessions/' \ --exclude='logs/*.log' \ --exclude='.hypothesis' \ + --exclude='*.md' \ + --exclude='ui/chat_window.py' \ + --exclude='ui/shared_state.py' \ + --exclude='ui/capture_server.py' \ "$PROJECT_ROOT/agent_v0/agent_v1/" \ "$PACKAGE_DIR/agent_v1/" @@ -108,8 +112,9 @@ echo "" # --------------------------------------------------------------- echo "[5/7] Copie du module lea_ui..." mkdir -p "$PACKAGE_DIR/lea_ui" -cp "$PROJECT_ROOT/agent_v0/lea_ui/"*.py "$PACKAGE_DIR/lea_ui/" -echo " lea_ui/ copie ($(ls "$PACKAGE_DIR/lea_ui/"*.py | wc -l) fichiers)" +cp "$PROJECT_ROOT/agent_v0/lea_ui/__init__.py" "$PACKAGE_DIR/lea_ui/" +cp "$PROJECT_ROOT/agent_v0/lea_ui/server_client.py" "$PACKAGE_DIR/lea_ui/" +echo " lea_ui/ copie (2 fichiers)" echo "" # ---------------------------------------------------------------