10 Commits

Author SHA1 Message Date
QLHazyCoder a7b35ee11a refactor flows into canonical runtime architecture 2026-05-21 07:21:34 +08:00
QLHazyCoder a85ed0ce89 feat: lay groundwork for multi-flow registries 2026-05-13 04:46:56 +08:00
QLHazyCoder 6f9a9913b5 fix: update API URLs and improve error handling for SUB2API configuration 2026-05-08 09:11:19 +08:00
QLHazyCoder 1973f5a898 feat: 更新密码页面识别逻辑,支持手机号注册和登录路径,并添加相关测试用例 2026-05-05 03:03:19 +08:00
markyal 4b7714e209 feat: support 126 mail provider routing and shared NetEase verification flow
- 合并 PR #112 的核心改动:新增 126 邮箱 provider,并复用 163 / 163 VIP 的网页邮箱接码链路
- 本地补充修复:吸收 126 子域名注入与来源识别修正,以及新版 ChatGPT 登录验证码邮件匹配适配
- 影响范围:sidepanel mail provider、background navigation/source routing、content mail polling、相关回归测试
2026-04-25 17:42:23 +08:00
QLHazyCoder 672c593271 fix: close iCloud mail tabs after verification success 2026-04-25 15:14:35 +08:00
Ryan Liu 8c37ffc098 merge: 合并 dev 并解决 PR 冲突 2026-04-23 10:09:35 +08:00
Ryan Liu b89d5389ee fix: 补齐 126 邮箱 host 家族识别 2026-04-23 09:57:29 +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 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