 CodexandClaude Opus 4.5
|
8fe7ff0585
|
refactor: 根目录核心模块迁移到 douyin/core/ 和 douyin/logging/
将 4 个根目录核心模块迁移到合理位置:
- path_config.py -> douyin/core/path_config.py
- version.py -> douyin/core/version.py
- Underlying_Operations.py -> douyin/core/underlying_operations.py
- unified_logger.py -> douyin/logging/unified_logger.py
配套更新所有 import:
- path_config: 41 处 import 改为 douyin.core.path_config
- version: 4 处改为 douyin.core.version
- unified_logger: 5 处改为 douyin.logging.unified_logger
- Underlying_Operations: 14 处改为 douyin.core.underlying_operations
修复 path_config.PROJECT_ROOT 计算(向上 2 级而非当前目录)。
验证:python -m compileall 全项目通过。
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-05-21 00:23:14 +08:00 |
|
 CodexandClaude Opus 4.5
|
e3e399da70
|
refactor: 入口脚本迁移到 bin/
将 4 个入口脚本从根目录迁移到 bin/:
- run_cli.py
- gui_app.py
- webgui_launcher.py
- manage_logs.py
配套修改:
- 修复 bin/*.py 内部 ROOT_DIR 计算(parent.parent)
- bin/run_cli.py 在 sys.path 加入项目根,shim 加载逻辑保持不变
- bin/manage_logs.py 在 sys.path 加入项目根
- path_config.get_run_cli_path() 返回 bin/run_cli.py
启动方式变化:
- 原: python run_cli.py / python gui_app.py
- 新: python bin/run_cli.py / python bin/gui_app.py
GUI 内部通过 path_config.get_run_cli_path() 调用,自动适配。
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-05-21 00:23:14 +08:00 |
|
zzz
|
309b629e7c
|
Merge branch 'main' into claude/wonderful-brattain-d1cfe0
|
2026-05-20 23:57:39 +08:00 |
|
 CodexandClaude Opus 4.5
|
77e797ae1c
|
chore: 清理根目录散落文件
- 删除 restore_screenshot_service.py:一次性恢复脚本,已完成使命
- 取消追踪 .stats_test_cache.json、.web_stats_cache.json:
运行时缓存文件,.gitignore 已忽略,本次清除历史误提交
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-05-20 23:33:13 +08:00 |
|
 CodexandClaude Opus 4.5
|
a19fa35a0f
|
chore: 整理 tools/ 47 个脚本按功能分组
- diagnostics/ 11 个:环境/配置/依赖诊断
- logs/ 7 个:日志分析与查看
- coords/ 6 个:坐标拾取与区域选择
- cleanup/ 3 个:代码清理工具
- adb/ 2 个:ADB / 输入法相关
- windows/ 4 个:Windows 系统修复(备份)
- dev/ 9 个:开发辅助 / 运行时探测
并更新 tools/README.md 描述新结构。
删除 3 个明显的临时调试脚本 (_dump_lines.py / tmp_*.py)。
tools/ 不被业务代码 import,分组仅为人工浏览方便。
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-05-20 23:25:28 +08:00 |
|
 CodexandClaude Opus 4.5
|
a2d6bd2cc3
|
chore: 归档过时迭代报告到 docs/archive/
将 15 份历史性的修复/审查/优化迭代报告归档:
- *_REPORT.md / *_FIXES.md(一次性修复总结)
- 多线程优化/日志系统优化等迭代说明(已被新版替代)
- 真机测试报告(具体某次测试的快照)
保留在 docs/ 下的是仍然有用的当前文档:
使用指南、技术文档、规范、功能说明等。
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-05-20 23:14:30 +08:00 |
|
 CodexandClaude Opus 4.5
|
31d4102696
|
chore: 删除 docs/reports 中的临时文件
config.json.bak / git_lsremote_trace.txt / log_filter_result.txt /
time_analysis_result.txt 都是运行/调试产生的临时输出,
已在 .gitignore 中忽略,本次将历史误提交的版本一并清理。
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-05-20 23:12:50 +08:00 |
|
 CodexandClaude Opus 4.5
|
da0c4ca3dc
|
chore: 取消追踪运行时状态文件 .web_gui_pid
.gitignore 已忽略此文件,但历史上误提交了一次。
此处仅取消 git 追踪,本地文件保留。
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-05-20 23:11:40 +08:00 |
|