Your Name
d48fa4eec3
Add forced startup updater
2026-06-18 07:57:38 +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
5166678590
Add license key entry to UI
2026-06-17 23:01:21 +08:00
Your Name
b1c2128d72
Add local license verification and distribution checks
2026-06-17 22:22:04 +08:00
Your Name
87838daad4
add windows installer packaging workflow
2026-06-09 21:58:35 +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
37a2f94486
detect fudai detail body and dacheng task count
2026-06-04 12:27:14 +08:00
Your Name
5e2ca0587b
preserve simple and detail logs
2026-06-04 12:05:38 +08:00
Your Name
f07fbb305b
fix false fudai detail pixel detection
2026-06-04 11:51:12 +08:00
Your Name
1d564000ca
add detail OCR performance diagnostics
2026-06-04 11:39:29 +08:00
Your Name
dc6ae7d1e4
fix task count digit detection
2026-06-04 11:15:45 +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
daf0c49288
统一日志详细度入口
2026-06-03 17:39:53 +08:00
Your Name
198a30dce1
完善新UI适配与日志简化
2026-06-03 12:40:06 +08:00
Your Name
71a9f4a25f
精简简单模式日志输出
2026-06-03 12:15:47 +08:00
Your Name
40f9812ab1
收口像素检测调试图输出
2026-06-03 12:05:27 +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
e51d37890a
精简像素调试图与日志
2026-06-03 02:11:45 +08:00
Your Name
168ab4e1f8
调整调试图像开关语义
2026-06-03 01:48:02 +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
147892a144
fix: 根因修复同房三连与映射合并,避免双切房
2026-06-01 21:13:58 +08:00
Your Name
05b9d17951
fix: remove recursive run_once reentry after desktop recovery
2026-06-01 20:58:24 +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
Your Name
3659d5b7da
refactor: centralize web gui host/port config in path_config
2026-06-01 07:08:47 +08:00
Codex and Claude 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
Codex and Claude 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
Codex and Claude Sonnet 4.5
96fdc96f24
refactor(cleanup): 移除剩余死代码模块
...
- 删除 douyin/utils/douyin_text_utils.py 及其测试
- 移除 performance_tracker.py 中未使用的 track_function 方法
- 移除 param_usage_tracer.py 中未使用的 stop_tracing / is_enabled
- 清理 bin/run_cli.py 和 tests/test_imports.py 中的残留引用
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-05-23 21:58:41 +08:00
Codex and Claude 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
Codex and Claude Sonnet 4.5
d19d5bfc56
refactor(cleanup): 移除 logging 模块死代码
...
- unified_logger.py: 删除 5 个从未使用的装饰器/函数
- internal_loggers.py: 删除 3 个未使用方法和工厂函数
- action_logger.py: 删除 3 个未使用方法
- log_formatter.py: 删除 6 个未使用格式化函数(保留 GUI 依赖的 4 个)
- 同步更新 __init__.py 和测试文件
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-05-23 21:04:35 +08:00
Codex and Claude 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
Codex and Claude 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
Codex and Claude 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
Codex and Claude Sonnet 4.5
e62314fa25
fix(import): 修复 fudai_attend 相对导入路径错误
...
join_decision.py 在 fudai_filter_pkg 子包内,用 .fudai_attend 会查找
fudai_filter_pkg.fudai_attend(不存在),实际模块在上层 core 包。
改为 ..fudai_attend。
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-05-23 19:26:58 +08:00
Codex and Claude Sonnet 4.5
df69c6ab67
fix(countdown): 修复长倒计时被截断到15分钟的bug
...
check_countdown 中 >900s 的上限过于激进,将实际的58分钟福袋截断到14:50。
改为 >3600s(1小时)上限,兼容抖音的60分钟福袋。
同时修复 _extract_digits 取后N位的问题,改为取前N位,
避免当子图意外捕获额外数字时(如 "1458")被误提取为 "58"。
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-05-23 19:22:20 +08:00
Codex and Claude Sonnet 4.5
a50f08de5a
fix(fudai): 验证失败时按钮可操作则继续参与
...
验证失败(如内容识别被禁用导致内容为空)时,若按钮状态为
"可以参与"/"需要加入粉丝团"等可操作状态,继续走参与流程而非
直接返回,避免漏参与有效福袋。同时修正 basic_join_decision 调用签名。
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-05-23 19:03:51 +08:00
Codex and Claude Sonnet 4.5
8fd38dd30b
fix(fudai): validator 内容检查正确尊重 disable 配置
...
当 config.json 中 fudai_disable_content_recognition=true 时,
跳过内容为空的检查。原实现在 except 块中丢失 disable_content
状态,导致配置生效时仍误判内容为空为验证失败。
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-05-23 19:00:32 +08:00
Codex and Claude Sonnet 4.5
d850af2c44
fix(fudai): 验证器不再因内容为空而拒绝有效福袋
...
当奖品价值>0且倒计时合理时,内容为空是正常的(部分福袋无文字
内容),不应判定验证失败导致跳过参与。
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-05-23 18:39:13 +08:00
Codex
842dd254e3
fix: correct import path for check_detail_height in detect_fudai_detail_page
...
The relative import from .douyin_detection was looking in the
douyin/detection/pixel/ package, but douyin_detection.py lives
at douyin/detection/douyin_detection.py. This caused every fudai
detail page detection to fail with detection_exception, making the
system always treat successful detail page opens as misclicks.
2026-05-23 17:05:43 +08:00
Codex and Claude Sonnet 4.5
6f38907119
fix(fudai/reservation): 修 3 处拆模块遗留 NameError
...
- douyin_fudai_core.py: get_fudai_contain 引用 TASK_LIST / PARTICIPATE_BUTTON
但只导入了 LIVE_ROOM_TITLE,运行时必触发 NameError
- douyin_reservation_verify.py: match_reservation 末尾日志引用
current_title,但该变量仅在 if expected_title 块内赋值,
expected_title 为空时 NameError(被 try/except 吞掉但丢失日志)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-05-23 13:28:54 +08:00