# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
!build/*.py
!build/*.sh
!build/*.ps1
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# Virtual environments
.venv/
venv/
ENV/
env/

# IDE
.idea/
.cursor/
.vscode/
*.swp
*.swo
*~

# Environment
.env
.env.local

# Database
*.db
*.sqlite
*.sqlite3

# Logs
*.log
logs/

# Cache
.cache/
.pytest_cache/
.mypy_cache/
.ruff_cache/

# Coverage
htmlcov/
.coverage
.coverage.*
coverage.xml

# Node / frontend
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Frontend build outputs
dist/
.vite/

# Rust / Tauri
target/

# Apps (keep sources, ignore build outputs)
apps/**/node_modules/
apps/**/dist/
apps/**/.vite/
apps/**/src-tauri/target/
apps/**/tsconfig.tsbuildinfo
# Tauri resources - 构建产物，不应提交
apps/setup-center/src-tauri/resources/openakita-server/
apps/setup-center/src-tauri/resources/modules/

# Data (keep structure)
data/*
!data/.gitkeep
!data/*.example

# Identity files (local only, auto-generated from .example templates)
identity/*.md
!identity/*.md.example
identity/personas/user_custom.md

# External/downloaded skills (keep structure)
skills/*
!skills/.gitkeep
!skills/system/

# Plugins (keep structure)
plugins/*
!plugins/.gitkeep

# Tests
tests/
test_*.py
*_test.py

# Identity (only keep examples and personas)
identity/*
!identity/*.example
!identity/personas/

# Media files
*.mp3
*.mp4
*.wav
*.ogg
*.oga
*.webm
*.m4a
voice_*.txt
voice_*.py

# Personal/private folders
stock_monitor/

# Local notes (not for GitHub)
TODO_LOCAL.md
*_LOCAL.md

# Local docs directory (architecture analysis, not for GitHub)
docs_local/
docs/bug_doc/

# OS
.DS_Store
Thumbs.db

# Temporary scripts and files
temp_*.py
temp_*.json
nul
hello.txt
time.txt
todo.txt
test_file.txt
indentity_compiler.txt

# Report generation scripts (temporary)
*_report*.py
create_report*.py
fix_report.py

# Image classification scripts (temporary)
classify_*.py
vision_*.py
smart_classify.py
analyze_*.py
check_*.py
verify_*.py

# Chrome history scripts (temporary)
read_chrome_history.py
find_*_sites.py
list_*.py

# Reorganization scripts (temporary)
reorganize_*.py
execute_reorganization.py
final_cleanup.py
show_directory_tree.py
get_time.py
generate_vision_tasks.py

# Temporary documents
Microsoft_BitNet_*.docx
OPENAKITA_PROJECT_STATUS.txt
openakita_project_summary.md
CLASSIFICATION_SYSTEM.md
classification_report.json
skills_list.md

# Screenshots directory (temporary)
screenshots/

# Temporary script outputs
vision_*.json
*_results.json

# Debug/fix scripts (temporary)
scripts/run_feishu_bot.py
scripts/fix_*.py
scripts/debug_*.py
scripts/add_log_injection.py
scripts/apply_agent_changes.py
scripts/refactor_agent_tools.py
scripts/update_version.py

# Tauri signing keys (NEVER commit private keys)
.tauri/
