// What each API token scope allows, for the settings UI. Pure, safe for the browser. import type { TokenScope } from "@/lib/db/schema"; export const SCOPE_LABEL: Record = { "models:read": "Look up Hub repos, list models, read jobs and disk space", "downloads:create": "Request downloads (within the guardrails)", "deployments:read": "List runtimes and deployments, read their state and logs", "deployments:write": "Create deployments and edit, start, stop or delete its own ones (within the guardrails)", "benchmarks:read": "Read benchmark runs, sweeps and comparisons", "benchmarks:run": "Start benchmark runs, A/B runs and sweeps on its own deployments (within the guardrails)", };