Files
archived-orca/cloud/apps/sandbox-control/migrations/0048_agent_credential_verified.sql
T
Neil 06075e682f feat(cloud): POST /v1/agent-credentials/claude/verify for the desktop's pre-launch check
Runs the confirm-before-revoke auth check on demand: a pass within 10 min answers at once (verified_at, migration 0048), otherwise one check rate-limited to one a minute per person, revoking (audited) only on a definite authentication_error. Storing a new token forgets the old verification.
2026-11-10 18:10:43 -08:00

5 lines
287 B
SQL

-- Last time the control plane's own auth check passed for this credential (POST
-- /v1/agent-credentials/claude/verify, or the check behind a provider 401). Recent passes answer verify
-- without calling the provider again.
ALTER TABLE agent_credentials ADD COLUMN verified_at INTEGER;