80 Commits
Author SHA1 Message Date
CodexandClaude Sonnet 4.5 703da834fb fix(security): 修复 shell 注入风险和类型转换未捕获问题
- path_config.py: find_executable Unix 回退路径使用 shlex.quote 防注入
- underlying_operations.py: try_set_ime IME ID 使用 shlex.quote 防注入
- screenshot_direct.py: 环境变量 float/int 转换添加 try/except 容错
- device_select.py: 用户输入 int() 转换添加 try/except 容错
- read_once.py / image_acquirer.py / detail_verifier.py: PIL Image 添加 close()
- detector.py: 移除 return 后不可达死代码
- optimized_entry.py: 统一返回值类型 int,失败时返回 0
- read_once.py: 移除 try/except 中重复的相同代码

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-05-23 20:50:26 +08:00
CodexandClaude Sonnet 4.5 470c68a252 fix(fudai/stage): 修 reservation_check_start NameError + ocr_detection 缩进 + stage 默认值
- douyin_fudai.py: 补回 reservation_check_start 初始化(ffd048f 拆 helper 时丢失)
- ocr_detection.py: 修 _confirm_live_list 中 OCR 变量在 if 块外赋值的缩进 bug
- ocr_detection.py: shopping_redpacket_ocr_confidence_threshold 改 getattr 兜底 0.35
- douyin_stage.py: enable_ocr_mode1 默认值 False→True;像素检测未命中补 return
- config.json: 同步 enable_ocr_mode1 默认值

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-05-23 11:22:03 +08:00
CodexandClaude Opus 4.7 87bac9e548 chore(config): 补充新增功能默认配置
新增 GUI realtime_status / swipe_down_back / log_unified 默认值,
与代码中 cfg.get(..., default) 兜底保持一致。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-23 07:04:59 +08:00
Your Name 7eb72bd00e Update config, web GUI, and add debug features 2026-05-20 08:12:06 +08:00
Your Name 3b2aab67bd 优化:启用杨号功能并更新PaddleOCR和PaddlePaddle版本要求;新增OCR引擎性能对比测试脚本 2026-02-01 12:14:20 +08:00
Your Name 272dcab91d 优化:调整参与按钮区域坐标,增强对部分机型底部按钮的覆盖;更新调试截图逻辑以使用新坐标 2026-01-25 16:58:15 +08:00
Your Name d057c1d84e 优化:调整WiFi ADB连接逻辑,支持ip:port格式;改进USB设备选择逻辑,增强连接稳定性 2026-01-25 15:33:32 +08:00
Your Name 4903e50ff2 优化:调整代码格式,增强可读性 2026-01-23 15:29:09 +08:00
Your Name 3b4293365d 优化:调整日志保留天数和压缩设置,增强日志管理;添加预约记录检查逻辑,避免直播间循环 2026-01-18 15:20:21 +08:00
Your Name 191edf9f28 docs: V4.4 (2026-01-18) — add shopping_redpacket threshold GUI/config; document OCR recheck, mapping write-to-disk, reservation backtrack fixes, attend retry fix, swipe handler fix 2026-01-18 14:49:21 +08:00
Your Name c79c50ffe4 优化:添加购物红包背景红色占比阈值配置,增强红包弹窗检测功能 2026-01-18 14:38:38 +08:00
Your Name a4edc8338d 修复配置:将重置后滑动动作从“back”更改为“swipe” 2026-01-17 22:04:51 +08:00
Your Name 54a99d4bbd feat: 优化代码格式,提升可读性和一致性 2026-01-17 18:07:43 +08:00
Your Name 716567dbb0 feat: 优化预约福袋参与逻辑,修复锁定期处理和映射表记录,新增重复标题去重功能 2026-01-17 08:43:21 +08:00
Your Name 54f9b39d2e feat: 优化滑动重置和返回键回退逻辑,完善预约系统二次回退机制 2026-01-16 21:53:05 +08:00
Your Name 44519f2f6b feat: 更新筛选逻辑,添加按钮文本记录和条件跳过原因,优化日志记录 2026-01-16 19:58:19 +08:00
Your Name ca77862a86 feat: 添加滑动坐标配置功能,优化滑动操作的灵活性 2026-01-16 19:18:37 +08:00
Your Name 8d31e0ba1a feat: 启用杨浩功能并调整日志时间戳设置为系统时间 2026-01-16 17:46:09 +08:00
Your Name 575d6f3fd5 feat: 添加按钮文本过滤功能以优化筛选逻辑,并支持真实时间戳记录 2026-01-16 16:50:19 +08:00
Your Name 7c839c5d39 feat: 优化直播间标题识别逻辑,增强缓存管理和错误处理 2026-01-16 16:15:40 +08:00
Your Name 5b377472f4 feat: 优化直播间标题识别逻辑,增加缓存管理以提升性能 2026-01-16 13:22:08 +08:00
Your Name da098fafdc feat: 更新福袋相关配置,优化任务数量处理逻辑,增强映射表记录功能 2026-01-16 12:53:59 +08:00
Your Name 3723c39a58 feat: 优化福袋详情记录逻辑,提升代码可读性 2026-01-16 03:44:53 +08:00
Your Name df65adfe4e feat: 更新配置文件以启用调试捕获,调整福袋相关坐标,优化预约处理逻辑,增强界面显示信息 2026-01-16 03:04:11 +08:00
Your Name 71d2f218cf feat: 更新最小奖品值和高价值福袋阈值,提升参与激励 2026-01-16 02:24:24 +08:00
Your Name ea1e3dd876 Refactor fudai detection and logging mechanisms
- Improved logging for task count retrieval and warnings in `douyin_fudai_core.py` and `douyin_stage.py`.
- Enhanced error handling and logging in `fudai_detail_reader.py` to provide clearer insights when task counts are not saved.
- Updated template matching logic in `douyin_detection.py` to include detailed logging and error handling for template loading and matching processes.
- Refactored screenshot handling and debugging paths to ensure better traceability and error reporting.
- Adjusted default task count values to zero where applicable to prevent unintended behavior.
2026-01-16 02:08:01 +08:00
Your Name d2c5ca57e8 feat: 更新房间状态管理,优化直播间标题记录逻辑,移除过时的房间位置映射文件 2026-01-15 23:03:56 +08:00
Your Name 2358682216 feat: 添加持久化映射加载和状态文件序列化功能,优化 GUI 显示 2026-01-15 14:25:54 +08:00
Your Name e898202a90 refactor: 优化代码格式,提升可读性 2026-01-15 03:04:03 +08:00
Your Name 3fa03b780b refactor: 优化代码格式,提升可读性 2026-01-15 01:52:00 +08:00
Your Name a3b15e3965 feat: 更新养号推荐时长和间隔设置,提升推荐效果 2026-01-15 00:20:51 +08:00
Your Name ea77c0b501 refactor: 优化代码格式,提升可读性 2026-01-15 00:20:17 +08:00
Your Name d36b73d3df feat: 添加养号模式下的桌面检测和自救恢复功能;优化评论操作和定时触发逻辑 2026-01-15 00:19:42 +08:00
Your Name 540c30f90c feat: 添加彩色日志查看器,支持关键字过滤和行数限制 2026-01-13 00:38:31 +08:00
Your Name 54f3b35a26 Refactor code structure for improved readability and maintainability 2026-01-11 23:31:38 +08:00
Your Name da272de7f8 feat: 合并ADB subprocess和截图信息到单个日志输出;更新高价值房间数据和配置 2026-01-09 20:20:07 +08:00
Your Name 2f01200887 feat: 更新高价值房间数据,调整房间信息和时间戳;优化红包弹窗检测函数,增加返回详细信息参数 2026-01-09 16:35:23 +08:00
Your Name 0830c08fca feat: 更新高价值房间数据,调整房间信息和检测耗时 2026-01-09 15:09:06 +08:00
Your Name 51eced1346 refactor: 优化基础参与决策函数的参数格式,提高代码可读性 2026-01-08 22:04:11 +08:00
Your Name fb0c07c91a Add shopping red packet detection tests and sample image
- Implemented a test script for shopping red packet detection using pixel analysis and OCR.
- Created a sample image to simulate a shopping red packet for testing purposes.
- Added functions to test pixel detection, coordinate definitions, and OCR keyword matching.
- Included detailed print statements for test results and summaries.
2026-01-08 20:37:49 +08:00
Your Name b3011dd9ce feat: Implement high-value room revisit feature and enhance fudai tracking
- Added tracking for previously seen fudai in Runner and ProcRunner classes to avoid duplicate recognition.
- Extracted room title during fudai recognition for better tracking.
- Updated high_value_rooms.json with new room entries and adjusted total count.
- Introduced new GUI elements for configuring icon coordinates in webui.
- Created comprehensive documentation for the high-value room revisit functionality.
- Added tests for delay settings and icon detection logic to ensure functionality.
- Implemented a tool for analyzing step times in logs to identify performance bottlenecks.
2026-01-08 14:27:38 +08:00
Your Name 5738d29bd6 feat: 添加预约回退功能完整测试脚本和错误场景测试脚本 2026-01-08 00:15:00 +08:00
Your Name 93d47a16d6 Refactor reservation preemption handling and logging
- Removed the reservation preempt minimum value from the Runner and GUI components.
- Updated logging mechanism to streamline log message handling and improve readability.
- Introduced a new method for appending log lines in the Runner class.
- Cleaned up related GUI elements and configuration options in web interface.
- Deleted obsolete simulation scripts related to reservation preemption checks.
2026-01-07 21:24:10 +08:00
Your Name a3175aaddb feat: 调整配置和逻辑,优化等待开奖和日志显示体验 2026-01-07 07:58:11 +08:00
Your Name 68295e564e feat: 优化配置和日志提取逻辑,增强用户体验和数据准确性 2026-01-06 22:39:27 +08:00
Your Name 2c9513ebd4 feat: 添加日志监控阈值配置选项,优化日志管理功能 2026-01-06 17:04:45 +08:00
Your Name 917438af2e feat: 优化代码格式和可读性,增强日志清理策略配置 2026-01-06 17:00:54 +08:00
Your Name dcded08796 feat: enhance swipe and back navigation logic
- Adjusted configuration for reset after swipes to 10 seconds and added action to go back.
- Updated flow control to skip back action if a recent reset was triggered within 5 seconds.
- Implemented a mechanism to enable back navigation when consecutive misses reach a threshold.
- Added GUI options to enable or disable back navigation on misses, ensuring consistency with user settings.
- Introduced new diagnostic tools for runtime flag checks and screenshot diagnostics.
- Created PowerShell scripts for restoring Start Menu shortcuts and performing system health checks.
- Added tests for swipe operations and back navigation to validate new logic.
2026-01-06 16:55:00 +08:00
Your Name 0c3a763d63 feat: 调整连续无福袋退出阈值和启用返回键回退配置,优化界面布局 2026-01-05 23:27:00 +08:00
Your Name 43e39f4db6 feat: 添加工具以查找重复的异常处理,增强代码质量检查;新增验证 GUI 回退方式的自检脚本 2026-01-05 21:32:50 +08:00