15 Commits

Author SHA1 Message Date
QLHazyCoder a7b35ee11a refactor flows into canonical runtime architecture 2026-05-21 07:21:34 +08:00
QLHazyCoder ff8b86a03b refactor: route platform verification completion by step key
- 删除平台验证完成后的 step 10/13 数字兜底收尾逻辑,统一由 platform-verify stepKey 入口处理。

- 调整 LuckMail 与 localhost 清理测试,改为验证 message-router 的语义路由入口。

- 保留平台验证成功后的账号、邮箱、手机号接码收尾能力,但不再依赖硬编码步骤号。
2026-05-04 04:54:21 +08:00
zhangkun 5c804fad6e fix: finalize HeroSMS reuse after full flow success 2026-04-28 14:17:23 +08:00
QLHazyCoder cbe9b1fabf 抽取cookie清理逻辑为新的第六步 2026-04-17 15:56:19 +08:00
QLHazyCoder 3071f94f7c feat: add step definitions module and integrate with sidepanel
- Introduced a new module for step definitions in `data/step-definitions.js` to manage shared step metadata.
- Updated `sidepanel.html` to dynamically render steps based on the new step definitions module.
- Refactored `sidepanel.js` to utilize the step definitions for rendering and managing step statuses.
- Enhanced tests to validate the step definitions module and its integration with the sidepanel.
- Cleaned up existing tests to ensure they align with the new structure and functionality.
2026-04-17 01:39:46 +08:00
QLHazyCoder 439268b4b7 feat: 新增 isSignupEntryHost 函数以支持 chatgpt.com 和 chat.openai.com 的注册页面识别,更新相关测试用例 2026-04-16 20:21:03 +08:00
笨笨 1731d770af merge: 合并最新 dev(2925 模式选择)并修复测试 mock
- 解决 background.js 3 处冲突:保留 LuckMail 逻辑 + 采用 dev 的 isGeneratedAliasProvider(state) 新 API
- 解决 sidepanel.js 3 处冲突:保留 LuckMail UI + 采用 dev 的 mail2925Mode 参数
- step9 测试补充 normalizeMail2925Mode/getMail2925Mode 提取和 MAIL_2925_MODE 常量
- 全部 76 个测试通过
2026-04-15 00:09:11 +08:00
笨笨 8571f59e99 merge: 合并最新 dev 分支(cloudflare-temp-email + iCloud)
- 解决 background.js / sidepanel.html / sidepanel.js / 测试文件共 24 处冲突
- LuckMail、Cloudflare Temp Email、iCloud 三种邮箱提供商正确共存
- step9 清理范围测试对齐 dev 分支行为(closeTabsByUrlPrefix 排除 OAuth callback URL)
- LuckMail 测试补充 dev 分支新增依赖的 mock
- 全部 76 个测试通过
2026-04-14 23:54:35 +08:00
Q3CC 14e3d6271d feat: integrate iCloud hide my email generation into OAuth flow
- 合并 PR #72 的核心改动:新增 iCloud Hide My Email 生成、alias 管理与成功后自动标记/删除流程
- 本地补充修复:解决与 Cloudflare Temp Email 分支差异的冲突,并补齐合并后的测试常量
- 影响范围:background 邮箱生成与 Step 9 收尾、sidepanel alias 管理 UI、manifest/rules 与新增 iCloud 测试
2026-04-14 23:17:21 +08:00
Q3CC a070615af4 test: update luckmail regression coverage 2026-04-14 22:21:08 +08:00
Twelveeee 136b65728a test: include rebased helpers in extracted bundles 2026-04-14 19:14:59 +08:00
Twelveeee 0614917ad4 feat:新增CloudflareTempEmail 2026-04-14 19:14:21 +08:00
QLHazyCoder 6a90b52f6d fix: restore step9 localhost cleanup and hotmail validation handling
- 合并 PR #31 的核心改动:恢复 Step 9 标签页清理函数、补齐 Step 8/9 测试 mock,并优化 Hotmail AADSTS90023 报错提示\n- 本地补充修复:按真实 localhost callback 首段路径生成清理前缀,兼容 /auth/callback 与 /codex/callback\n- 影响范围:background Step 9 cleanup、Hotmail 账号校验、Step 8/9 回归测试
2026-04-13 10:39:15 +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