feat(pool): add codex cycle stats mode

This commit is contained in:
Kayphoon
2026-05-06 23:14:25 +08:00
parent 4e9f063385
commit 79cb9b502a
19 changed files with 1901 additions and 51 deletions

View File

@@ -18,6 +18,12 @@ export interface AccountStatusSnapshot {
recoverable?: boolean
}
export interface QuotaWindowUsageSnapshot {
request_count?: number | null
total_tokens?: number | null
total_cost_usd?: number | string | null
}
export interface QuotaWindowSnapshot {
code: string
label?: string | null
@@ -33,6 +39,7 @@ export interface QuotaWindowSnapshot {
reset_seconds?: number | null
window_minutes?: number | null
is_exhausted?: boolean | null
usage?: QuotaWindowUsageSnapshot | null
}
export interface QuotaCreditsSnapshot {