# ---------- Python ----------
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
*.egg
*.egg-info/
dist/
build/
eggs/
sdist/
wheels/
*.manifest
*.spec
# 前端依赖与构建产物（desktop 桌面端）
desktop/*/frontend/node_modules
plugins/**/ui-src/node_modules
desktop/*/frontend/dist/
desktop/**/frontend/*.zip              # controlplane-web-dist.zip 等部署用压缩包
# Node 依赖全局兜底（含 electron-shell 根目录）
node_modules/
# Electron 壳子运行环境 / 打包产物（可再生，不入库；详细规则见 desktop/electron-shell/.gitignore）
dist-app/
dist-env/
python-env/

# 桌面版打包产物（PyInstaller 中间/输出、安装包、插件构建包，不入库）
# 仅执行机(壳子)/文件服务器仍走 PyInstaller 打包；中心机已改源码部署，不再产出 exe
desktop/*/build-exe/
desktop/*/dist-exe/
desktop/releases/
desktop/build/
dist-plugin/
desktop/**/setup-*.exe
desktop/**/installer/
pip-log.txt
pip-delete-this-directory.txt

# ---------- 虚拟环境 ----------
.venv/
venv/
env/
ENV/

# ---------- 环境变量 / 密钥 ----------
.env
.env.*
!.env.example
# 控制面签名密钥 / 运行期产物（禁止入库）
.admin_secret
.webhost.pid
*.pid
desktop/**/keys/
desktop/**/packages/
desktop/**/controlplane.db
desktop/**/_cp_sessions.json
# 各平台会话 cookies / 缓存目录（统一移入 %LOCALAPPDATA%\37duAutomation，禁止入库）
**/.sessions/

# ---------- IDE ----------
.idea/
.vscode/
*.swp
*.swo
# Trae IDE 本地配置/技能（不入库）
.trae/
# 工具 ACL 恢复备份产物
.dsh-acl-recovery/

# ---------- 操作系统 ----------
.DS_Store
Thumbs.db
desktop.ini

# ---------- 日志 ----------
*.log
logs/

# ---------- 测试 / 覆盖率 ----------
.pytest_cache/
.coverage
htmlcov/
.tox/
aa.md

# vc运行库
vc_redist/
vc_redist_x64/
vc_redist_x86/

静态资源/
.assets/