fix: hide workspace dependency directories

This commit is contained in:
wuyang
2026-07-26 20:28:52 +08:00
parent 2fbb5698ac
commit 4eb915283d
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -276,7 +276,7 @@ class DockerExecutionProvider:
"if not root.is_dir(): raise SystemExit(f'Not a directory: {root}')\n"
"items=[]\n"
"for item in root.iterdir():\n"
" if item.name=='.agent': continue\n"
" if item.name in {'.agent','.venv','__pycache__','node_modules'}: continue\n"
" try: info=item.lstat()\n"
" except OSError: continue\n"
" kind='symlink' if item.is_symlink() else ('directory' if item.is_dir() else 'file')\n"