import type { ModelsResponse } from "~/services/copilot/get-models" export interface State { githubToken?: string copilotToken?: string accountType: string models?: ModelsResponse vsCodeVersion?: string copilotChatVersion?: string manualApprove: boolean rateLimitWait: boolean showToken: boolean // Rate limiting configuration rateLimitSeconds?: number lastRequestTimestamp?: number // Auth-mode information set by start.ts after resolveAuthMode(). // Surfaced on the /admin overview page and in startup logs. authModeLabel?: "on" | "off (loopback)" | "off (acknowledged risk)" bindAddress?: string } export const state: State = { accountType: "individual", manualApprove: false, rateLimitWait: false, showToken: false, }