Commit Graph

25 Commits

Author SHA1 Message Date
chick c360e3f569 Fix add-phone handoff and SMS Bower rotation 2026-05-31 01:31:19 +08:00
QLHazyCoder 932d1e965b fix: route choose-account to target email login 2026-05-30 03:13:42 +08:00
QLHazyCoder e22a34b2e4 修复手机号 OAuth 恢复误走邮箱登录 2026-05-22 07:04:46 +08:00
QLHazyCoder a7b35ee11a refactor flows into canonical runtime architecture 2026-05-21 07:21:34 +08:00
QLHazyCoder 25249e229a Fix bound email relogin callback recovery 2026-05-20 03:26:08 +08:00
QLHazyCoder 3f3f9275cc 拆分 OAuth 后置验证流程 2026-05-15 23:03:02 +08:00
QLHazyCoder 81fc40706a Refactor workflow auto-run to node graph 2026-05-15 17:41:35 +08:00
InkCrow 67c111ed43 fix(auth): preserve phone identity across add-email retries 2026-05-12 20:39:20 +08:00
InkCrow 1ed128e118 fix(auth): preserve phone login identity across step8 retries 2026-05-12 16:41:09 +08:00
QLHazyCoder 6b87d68630 Merge origin/dev into PR 225 review fix 2026-05-10 06:02:53 +08:00
QLHazyCoder 15af098327 修复手机号登录回退与重发 500 处理 2026-05-10 05:02:10 +08:00
root 6f67a00980 fix: improve iCloud polling and add-phone handoff 2026-05-08 23:19:18 -04:00
QLHazyCoder 83c5a6237c fix: enhance step 7 login identifier resolution and add tests for phone/email handling 2026-05-08 10:31:20 +08:00
QLHazyCoder 428e23d66a Update GoPay helper API URL to new domain and enhance cookie cleanup functionality 2026-05-07 16:31:58 +08:00
QLHazyCoder 9964b5a317 feat: replace cookie cleanup step with registration success wait 2026-05-06 14:38:45 +08:00
QLHazyCoder 16baad20a3 feat: 更新手机号输入框逻辑,确保手动输入值在执行步骤前被保存,避免被旧状态覆盖 2026-05-05 01:48:18 +08:00
QLHazyCoder c04b64c966 手机号注册模式 2026-05-04 12:56:35 +08:00
QLHazyCoder 88ceb79af6 修改登陆及后续逻辑,统一使用一个逻辑 2026-04-26 05:22:36 +08:00
initiatione f8b919e883 Add codex2api as a protocol-first OAuth source
This keeps the existing CPA, SUB2API, and contribution flows intact
while introducing codex2api as a separate source that plugs into
Step 7 and Step 10 through backend APIs instead of page DOM.

The sidepanel now exposes codex2api settings, preserves the built-in
local default through placeholder-only UI, and accepts user-provided
public admin URLs. Step 7 now treats missing or invalid management
secrets as terminal config errors so the flow stops instead of retrying
needlessly.

Constraint: New source must be additive and must not break existing CPA/SUB2API/contribution paths
Rejected: Drive codex2api through admin page button clicks | too brittle against frontend DOM changes
Rejected: Reuse contribution mode as a source surface | violates existing panelMode/runtime-mode boundary
Confidence: high
Scope-risk: moderate
Reversibility: clean
Directive: Keep codex2api on the protocol path unless its API becomes insufficient; do not add a panel content script without proving the protocol path cannot work
Tested: npm test; targeted codex2api/auth retry loops repeated 40 times; full suite repeated 5 times
Not-tested: Real browser run against a live codex2api instance with a real Admin Secret and OpenAI authorization
2026-04-22 13:57:21 +08:00
QLHazyCoder 7cb1bda672 feat: 更新 OAuth 流程,调整步骤 6 和步骤 7 的逻辑,添加相关测试 2026-04-19 18:59:32 +08:00
祁连海 14a3e9d6b2 feat: 添加手机号页面错误处理逻辑,更新步骤7重试机制及文档说明 2026-04-17 23:46:56 +08:00
祁连海 61a3bb3461 feat: 移除CPA回调相关逻辑,固定为步骤9,更新文档以反映新流程 2026-04-17 23:38:47 +08:00
QLHazyCoder 4add7477d1 feat: 增加 OAuth 流程6分钟超时处理,优化验证码请求时间窗口逻辑 2026-04-17 19:12:06 +08:00
QLHazyCoder cbe9b1fabf 抽取cookie清理逻辑为新的第六步 2026-04-17 15:56:19 +08:00
QLHazyCoder 6652899758 feat: add account run history module and logging functionality
- Implemented `background/account-run-history.js` to persist account run results (success, failure, stop) in `chrome.storage.local` and log to a text file when the local Hotmail helper is enabled.
- Enhanced `background/auto-run-controller.js` and `background/message-router.js` to utilize the new account run record functionality.
- Updated steps in `background/steps/fetch-login-code.js`, `background/steps/fetch-signup-code.js`, and `background/steps/oauth-login.js` to handle retries and logging appropriately.
- Introduced tests for account run history and step retry limits to ensure functionality and reliability.
- Modified documentation to reflect new features and changes in behavior for specific providers (e.g., 2925).
2026-04-17 02:52:26 +08:00