Commit Graph
163 Commits
Author SHA1 Message Date
Your Name 3ace80dcca add countdown OCR voting fallback 2026-06-23 19:18:12 +08:00
Your Name ab664e4da8 fix countdown digit extraction regression 2026-06-23 19:05:07 +08:00
Your Name 7086ab1d6e fix: stabilize fudai countdown OCR crops 2026-06-23 15:11:29 +08:00
Your Name 25df550304 fix: prioritize reservation conflicts by value 2026-06-23 11:46:02 +08:00
Your Name 4af2adc4d6 fix: preserve fudai detail countdown detection 2026-06-23 11:22:23 +08:00
Your Name a449b7634c fix: speed up fansclub reservation prejoin 2026-06-23 10:43:17 +08:00
Your Name 920c51d460 fix: broaden fansclub reservation prejoin match 2026-06-23 10:00:56 +08:00
Your Name ba9ac4cb0e fix: prejoin fansclub before reservation 2026-06-23 09:57:06 +08:00
Your Name f95832579a fix: avoid live-room back on fudai retry 2026-06-23 03:09:14 +08:00
Your Name 86bf5cefb1 fix: recognize joined recommendation live tab ocr 2026-06-23 02:17:05 +08:00
Your Name 48b0a32e24 Guard fudai retry and reservation seek verification 2026-06-19 20:01:46 +08:00
Your Name b3d3f28ff3 Reduce fudai detection overhead 2026-06-19 19:16:25 +08:00
Your Name 58c1856fad Keep live title OCR in fudai detail path 2026-06-19 18:12:28 +08:00
Your Name 78a75d4843 Tune fudai detail OCR strategy 2026-06-19 14:44:17 +08:00
Your Name 32fcbc4c24 Skip full countdown OCR in fudai critical path 2026-06-19 14:30:47 +08:00
Your Name 6b987fd04f Keep task OCR out of fudai detail critical path 2026-06-19 14:12:23 +08:00
Your Name aa3690fecf Fix fudai wrong-target retry and detail OCR delay 2026-06-19 13:54:18 +08:00
Your Name 207748a901 Improve screenshot fallback and miss samples 2026-06-19 12:54:57 +08:00
Your Name ec51772cf0 Fix fudai countdown and room mapping guards 2026-06-18 19:25:46 +08:00
Your Name 28709d2d97 Fix fudai diagnostics and redpacket guard 2026-06-18 18:41:27 +08:00
Your Name 8dbaab9d27 Fix v2 fudai detail recognition 2026-06-18 13:27:27 +08:00
Your Name 89fb278988 Generalize coupon overlay rejection for fudai detection 2026-06-18 12:18:25 +08:00
Your Name b9c5106f62 Harden fudai icon detection against coupon taps 2026-06-18 11:50:50 +08:00
Your Name fe1a62e92d Fix fudai live flow state and icon fallback 2026-06-18 10:40:47 +08:00
Your Name 55d38c46ec Fix fudai coupon misclick detection 2026-06-18 08:35:04 +08:00
Your Name 9ffbe47bdb Improve fudai live flow diagnostics 2026-06-18 04:48:16 +08:00
Your Name 1adaefdce6 Add lightweight fudai flow diagnostics 2026-06-18 03:52:18 +08:00
Your Name 207cf0eadb improve fudai ocr debug captures 2026-06-05 15:50:00 +08:00
Your Name 62c84939ee add fudai detail and reservation verdict markers 2026-06-05 15:46:43 +08:00
Your Name 9b03556b7d expose fudai detail thresholds and regions 2026-06-05 15:36:10 +08:00
Your Name 1d564000ca add detail OCR performance diagnostics 2026-06-04 11:39:29 +08:00
Your Name 0c77bf9e0e Keep debug capture history for px and overview 2026-06-03 22:46:53 +08:00
Your Name 4797fa046e feat: expose fudai region coordinates in gui 2026-06-03 20:29:10 +08:00
Your Name 198a30dce1 完善新UI适配与日志简化 2026-06-03 12:40:06 +08:00
Your Name 3bcb5cb259 优化详情调试标注与截图复用 2026-06-03 11:36:47 +08:00
Your Name 42aa0f214d 修正调试图标注对齐 2026-06-03 10:47:39 +08:00
Your Name 098083a354 修正福袋详情调试图与图标检测 2026-06-03 01:34:30 +08:00
Your Name 1d37d57c90 修复福袋详情OCR v2与调试日志 2026-06-03 01:22:13 +08:00
Your Name 36e374ef67 refactor: split large modules and harden live-room fudai flow 2026-06-01 18:39:44 +08:00
Your Name c2010084cf fix(fudai): root-fix countdown minute misread with full-line mm:ss priority 2026-06-01 16:37:11 +08:00
Your Name d696f2c974 fix(countdown): harden minute OCR selection and normalization 2026-06-01 15:15:01 +08:00
Your Name 93d950e78f fix: 根治倒计时分钟误识别并统一候选解析策略 2026-06-01 14:48:36 +08:00
Your Name 5a51c951a2 fix(fudai): treat notice text as attended and harden attend/log parsing 2026-06-01 12:33:33 +08:00
Your Name 61dfc1c15c fix: keep parallel OCR stable and add unknown-button fallback 2026-06-01 12:18:21 +08:00
CodexandClaude Sonnet 4.5 bb90e2983f fix(pil): 补充修复剩余 PIL Image 资源泄漏
覆盖 14 个文件中的 Image.open() 未正确关闭问题:
- fansclub_handler: 5 处(pic/pic_rgb/img 未 close)
- image_ops: 2 处(crop 后 pic 未 close)
- douyin_popups: 2 处(pic.convert 重赋值泄漏原始句柄)
- douyin_fudai: 1 处(open().convert() 链式调用泄漏)
- douyin_robot: 2 处(同上)
- save_files/direct_attend/finder/stage/find_open/detail/_common/ocr_preprocess: 各 1-2 处

统一修复模式:分离 open 与 convert,try/finally 确保原始句柄关闭。

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-05-23 22:49:50 +08:00
CodexandClaude Sonnet 4.5 c3746b0207 fix(pil): 修复 PIL Image 资源泄漏
Image.open() 后未 close() 导致文件句柄泄漏,用 _raw + try/finally 模式修复。

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-05-23 22:42:22 +08:00
CodexandClaude Sonnet 4.5 c4544489ac refactor(coords): 提取点击坐标常量,消除硬编码
在 coords.py 添加 DETAIL_OUTSIDE_CLICK、PARTICIPATE_BTN_CLICK、
FANSCLUB_JOIN_CLICK、FANSCLUB_JOIN_FALLBACK_CLICK 常量,
替换 fudai_attend/fansclub_handler/join_decision 中的硬编码坐标。

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-05-23 21:20:17 +08:00
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 4908df19d4 refactor(cleanup): 移除死代码和冗余导入
- douyin_fudai_core.py: 移除未使用的 ThreadPoolExecutor/check_contain 导入
  和被覆盖的 fudai_result_checker 导入
- ocr_executor.py: 移除重复的 _fudai_ocr_executor_state 初始化
- flow_control_pkg: 移除 stage_handler/no_fudai/find_open 中未使用的导入

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-05-23 20:27:41 +08:00
CodexandClaude Sonnet 4.5 ca00258bf3 fix(code-quality): 修复 NameError 风险和死代码清理
- detect_by_template.py: 添加缺失的 os 和 path_config 导入
- join_decision.py: 添加缺失的 is_watch_task_fudai 导入
- read_once.py: 添加缺失的 Optional 类型导入
- fudai_detail_validator.py: 使用 extract_2digits 做更健壮的数字解析
- screenshot_manager: 移除未使用的导入和死代码

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-05-23 20:22:52 +08:00