fix: 微信颜色检测放宽+KB精确匹配+自动回复重试 1. monitor.py - 微信白色气泡检测阈值放宽(>=245->>=240, >=3->>=2) 适配新版微信UI颜色变化,减少漏检 2. knowledge_base.py - 精确短语匹配(5x加分)+子串匹配(2.5x/1.5x) 防止查询被不相关文档抢走高分 3. gui.py - 自动回复发送失败重试(3次/5秒间隔) 连续失败退避本轮,避免反复抢焦点 4. .gitignore - 补充build目录下的证书/构建产物 @
54 lines
678 B
Plaintext
54 lines
678 B
Plaintext
# Python
|
|
__pycache__/
|
|
*.pyc
|
|
*.pyo
|
|
*.egg-info/
|
|
dist/
|
|
# PyInstaller output (在build目录内),但保留构建脚本
|
|
build/build/
|
|
build/*.log
|
|
build/cert_info.txt
|
|
build/code_signing_cert.*
|
|
build/windowmsgbot/
|
|
|
|
# Virtual environment
|
|
venv/
|
|
.venv/
|
|
.venv311/
|
|
env/
|
|
|
|
# IDE
|
|
.vscode/
|
|
.idea/
|
|
|
|
# Config (keep template but ignore local)
|
|
config.json
|
|
local_config.json
|
|
|
|
# User data
|
|
知识库/
|
|
.knowledge_base/
|
|
|
|
# Debug dumps
|
|
.debug/
|
|
tim_dump.txt
|
|
|
|
# OCR debug screenshots
|
|
ocr_debug_*.png
|
|
wechat_ocr_*.png
|
|
|
|
# OCR 调试图片分目录(img/raw 原图 + img/processed 处理后)
|
|
img/
|
|
|
|
# Shell redirect artifacts
|
|
nul
|
|
worker_stderr.txt
|
|
worker_stdout.txt
|
|
|
|
# Logs
|
|
*.log
|
|
|
|
# OS
|
|
Thumbs.db
|
|
.DS_Store
|