Release / release (push) Successful in 3m0s
Scopes deployments:read/write and benchmarks:read/run; /api/v1 endpoints for runtimes, deployments (create with dry run, edit, start, stop, delete own ones), benchmark runs, A/B, sweeps and comparisons; ?wait= on all status endpoints. Guardrails: approval, agent deployments at once, one GPU job at a time, time limits, sweep variants, runtime and argument allowlists, host port range, memory/CPU caps, protected deployments with a VRAM check. Requested-by filters, approval bars, per-token activity log, scope editing, docs/agent/SKILL-tuning.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
13 lines
719 B
TypeScript
13 lines
719 B
TypeScript
// 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<TokenScope, string> = {
|
|
"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)",
|
|
};
|