mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-03 01:40:21 +08:00
feat: 新增 Antigravity/Kiro 账户禁用封禁状态监控与展示
- 前端:为 Antigravity 和 Kiro 上游元数据添加禁用/封禁状态字段 - 前端:在密钥详情抽屉中展示账户禁用/封禁警告信息,合并重复的时间格式化函数 - 后端:优化 Antigravity 和 Kiro 适配器的状态检测与上报逻辑 Co-authored-by: AAEE86 <ppk0227@hotmail.com> Closes #158
This commit is contained in:
@@ -355,6 +355,9 @@ export interface AntigravityModelQuota {
|
||||
export interface AntigravityUpstreamMetadata {
|
||||
updated_at?: number // Unix 时间戳(秒)
|
||||
quota_by_model?: Record<string, AntigravityModelQuota>
|
||||
is_forbidden?: boolean // 账户是否被禁止访问
|
||||
forbidden_reason?: string // 禁止访问原因
|
||||
forbidden_at?: number // 禁止时间(Unix 时间戳,秒)
|
||||
}
|
||||
|
||||
// Kiro 上游配额信息
|
||||
@@ -367,6 +370,9 @@ export interface KiroUpstreamMetadata {
|
||||
next_reset_at?: number // 下次重置时间(Unix 时间戳,毫秒)
|
||||
email?: string // 用户邮箱
|
||||
updated_at?: number // Unix 时间戳(秒)
|
||||
is_banned?: boolean // 账户是否被封禁
|
||||
ban_reason?: string // 封禁原因
|
||||
banned_at?: number // 封禁时间(Unix 时间戳,秒)
|
||||
}
|
||||
|
||||
export interface UpstreamMetadata {
|
||||
|
||||
Reference in New Issue
Block a user