feat: add mixed-channel precheck flow for antigravity accounts

This commit is contained in:
liuxiongfeng
2026-02-13 03:05:45 +08:00
parent 496545188a
commit 8cb7356bbc
10 changed files with 567 additions and 197 deletions

View File

@@ -716,6 +716,26 @@ export interface UpdateAccountRequest {
confirm_mixed_channel_risk?: boolean
}
export interface CheckMixedChannelRequest {
platform: AccountPlatform
group_ids: number[]
account_id?: number
}
export interface MixedChannelWarningDetails {
group_id: number
group_name: string
current_platform: string
other_platform: string
}
export interface CheckMixedChannelResponse {
has_risk: boolean
error?: string
message?: string
details?: MixedChannelWarningDetails
}
export interface CreateProxyRequest {
name: string
protocol: ProxyProtocol