mirror of
https://gitee.com/wanwujie/sub2api
synced 2026-04-03 23:12:14 +08:00
Problem: - When creating Anthropic Console accounts to groups with Antigravity accounts, the mixed channel warning was not triggered - Only Antigravity accounts triggered the confirmation dialog Solution: - Renamed isAntigravityAccount to needsMixedChannelCheck - Extended check to include both 'antigravity' and 'anthropic' platforms - Updated all 8 call sites in CreateAccountModal and EditAccountModal Changes: - frontend/src/components/account/CreateAccountModal.vue: 4 updates - frontend/src/components/account/EditAccountModal.vue: 4 updates Testing: - Frontend compilation: passed - Backend unit tests: passed - OAuth flow: confirmation parameter correctly passed in Step 2 - Backend compatibility: verified with checkMixedChannelRisk logic Impact: - Both Antigravity and Anthropic accounts now show mixed channel warning - OAuth accounts correctly pass confirm_mixed_channel_risk parameter - No breaking changes to existing functionality