Commit Graph

14 Commits

Author SHA1 Message Date
QLHazycoder 4687d07e2d feat: upgrade multi-flow account contributions 2026-05-19 13:29:18 +00:00
QLHazyCoder d93cdfff9e Refactor multi-flow mail capability boundaries 2026-05-13 06:35:43 +08:00
QLHazyCoder 691ac39514 优化步骤在日志中的显示 2026-05-03 19:25:55 +08:00
QLHazycoder 1e22e4f7cf fix(contribution): dedupe localhost callback submission 2026-04-26 08:38:00 +00:00
QLHazycoder 596bf38d5c feat(contribution): 增强贡献模式逻辑,支持 SUB2API 和 CPA 源,优化状态处理和界面显示 2026-04-26 00:28:25 +00:00
QLHazyCoder 05bf4d0185 Merge remote-tracking branch 'origin/dev' into master-sync 2026-04-23 09:18:13 +08:00
QLHazyCoder 491d309a6f feat: 添加邮箱字段到贡献请求体,并更新相关测试用例 2026-04-22 21:52:04 +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 157f49592a feat: 更新贡献昵称逻辑,允许用户留空昵称并调整相关测试用例 2026-04-21 01:55:06 +08:00
QLHazyCoder 8a16d81e01 feat: 添加贡献模式昵称和QQ字段,更新相关逻辑和测试 2026-04-20 13:15:22 +08:00
QLHazyCoder c2c5e3e334 feat: 更新贡献模式和 OAuth 流程中的状态消息,简化回调处理逻辑,增强测试覆盖 2026-04-20 01:17:36 +08:00
QLHazyCoder 0d0cf4b2af feat: 更新 OAuth 流程中的日志信息,增强密码缺失时的处理逻辑,添加相关测试 2026-04-20 01:05:09 +08:00
QLHazyCoder 01849505e4 feat: 添加贡献模式支持,增强状态管理和错误处理逻辑 2026-04-19 23:35:35 +08:00
QLHazyCoder c994d7ae12 贡献功能开发 2026-04-18 23:51:56 +08:00