Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: lxf746/any-auto-register
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.11
Choose a base ref
...
head repository: lxf746/any-auto-register
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.12
Choose a head ref
  • 2 commits
  • 7 files changed
  • 2 contributors

Commits on May 1, 2026

  1. log: build_phone_callbacks 增加决策路径日志

    排查 ChatGPT add_phone 类问题时常见盲点是"任务到底有没有接上 SMS
    provider"。原代码三条静默 return 没有日志,本次仅添加日志(行为
    完全等价,未改决策逻辑):
    
    - 找到 provider:打印 provider_key / 来源 / service / country
    - 找到 definition 但认证字段全空:打印缺哪些字段
    - 完全没找到 provider:明确提示注册到 add_phone 步骤将抛错
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
    fanlixing and claude committed May 1, 2026
    Configuration menu
    Copy the full SHA
    82609df View commit details
    Browse the repository at this point in the history
  2. feat: 修 Solver 缺 quart 依赖 + 桌面版自动版本检查

    Solver 启动失败修复:
    - v1.0.11 桌面版手动 spawn solver 时报 ModuleNotFoundError: quart,
      PyInstaller 没把 Quart Web 框架打进去(条件 import 让 modulefinder
      跟踪不到)
    - main.py 顶层加 if False 块强制 modulefinder 看到
      services.turnstile_solver.api_solver
    - release.yml 加 --collect-all quart/hypercorn/aiofiles/werkzeug
    
    版本注入:
    - release.yml 增 Inject version 步骤:把 tag 写进 core/version.py
      和 electron/package.json,修复 dmg 文件名永远是 1.0.0 的问题
    - core/version.py 新建(dev 占位,CI 覆盖)
    
    桌面版自动检查更新(提示式,不强制升级):
    - api/system.py 增 GET /api/system/version:返回当前版本 +
      GitHub latest release,10 分钟缓存避免 rate limit
    - 前端 UpdateBanner 组件挂在 main 之上:
      - 检测到新版显示 "有新版本 vX.Y.Z 可下载(当前 vX.Y.Y)"
      - 点"前往下载"打开 release 页
      - 点 X 忽略本版(localStorage 持久化),下次有更新版再提示
      - 每小时自动复查
      - 离线/GitHub 不通时静默失败不影响主功能
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
    fanlixing and claude committed May 1, 2026
    Configuration menu
    Copy the full SHA
    9015bef View commit details
    Browse the repository at this point in the history
Loading