12 Commits

Author SHA1 Message Date
QLHazyCoder 3a60560e27 refactor shared flow settings and runtime cleanup 2026-05-24 19:36:08 +08:00
QLHazyCoder a7b35ee11a refactor flows into canonical runtime architecture 2026-05-21 07:21:34 +08:00
QLHazyCoder 81fc40706a Refactor workflow auto-run to node graph 2026-05-15 17:41:35 +08:00
Q3CC e7b6b4512d test: update stop cleanup harness for iCloud abort helper 2026-04-26 15:43:06 +08:00
QLHazyCoder 17e1c672f1 feat: 添加停止记录推断逻辑,支持归一化步骤状态并更新相关测试 2026-04-19 16:54:15 +08:00
祁连海 73f9deb53e feat: 修复停止逻辑 2026-04-17 23:29:10 +08:00
QLHazyCoder cbe9b1fabf 抽取cookie清理逻辑为新的第六步 2026-04-17 15:56:19 +08:00
QLHazyCoder 33c5f759d9 feat: refactor user registration steps into modular functions and implement step registry
- Replaced individual step imports with a centralized step registry in background.js
- Created separate modules for each registration step: open-chatgpt, submit-signup-email, fill-password, fetch-signup-code, fill-profile, oauth-login, fetch-login-code, confirm-oauth, platform-verify
- Updated tests to reflect changes in step imports and added new tests for step registry functionality
2026-04-16 23:56:57 +08:00
QLHazyCoder 4f12d67d9f feat: implement multi-step background process for user registration
- Add step 1: Open ChatGPT homepage and prepare for signup.
- Add step 2: Handle email submission and ensure the signup entry page is ready.
- Add step 3: Fill in the password using either a custom or generated password.
- Add step 4: Confirm the registration verification page and handle email verification.
- Add step 5: Generate random user details and handle onboarding redirection.
- Add step 6: Manage OAuth login process and handle login verification.
- Add step 7: Retrieve verification code from email and manage retries.
- Add step 8: Handle consent page interactions and manage callback URLs.
- Add step 9: Submit callback information to CPA or SUB2API based on user settings.
- Implement tests to ensure all steps are correctly imported and functional.
2026-04-16 23:38:43 +08:00
QLHazyCoder 439268b4b7 feat: 新增 isSignupEntryHost 函数以支持 chatgpt.com 和 chat.openai.com 的注册页面识别,更新相关测试用例 2026-04-16 20:21:03 +08:00
copilot-swe-agent[bot] 0a3a75a809 fix: restore buildLocalhostCleanupPrefix/closeTabsByUrlPrefix, fix test mocks, improve Hotmail AADSTS90023 error
Agent-Logs-Url: https://github.com/QLHazyCoder/codex-oauth-automation-extension/sessions/2111e544-f823-4faa-b8b6-57f506fe45ac

Co-authored-by: QLHazyCoder <109800873+QLHazyCoder@users.noreply.github.com>
2026-04-12 19:35:52 +00:00
QLHazyCoder 3e2457f7c7 fix(oauth): 整合 Step 8/9 回调修复并补充回归测试
- 支持 localhost 和 127.0.0.1 的本地回调识别,同时兼容 /auth/callback 与 /codex/callback
- 修复 Step 8 停止时的监听清理问题,并补充 onCommitted 和 onUpdated 的回调捕获路径
- 修复 Step 9 在本地 CPA 场景下的自动跳过与精确清理逻辑,避免误关正常本地页面
- 补充 Step 8 与 Step 9 的回归测试
2026-04-12 01:54:11 +08:00