{"draft":null,"from":175,"to":318,"files":[{"path":"client/src/key-admin.ts","added":5,"removed":0,"diff":"--- a/client/src/key-admin.ts\n+++ b/client/src/key-admin.ts\n@@ -38,6 +38,11 @@\n \tthrow new UsageError(\"abso key needs the admin token in ABSO_ADMIN_TOKEN or ~/.abso/admin-token\");\n }\n \n+/** What an admin command says each time it uses the admin token, and where it came from. Never the token. */\n+export function adminTokenWords(env: Readonly<Record<string, string | undefined>> = process.env): string {\n+\treturn `Using the admin token, from ${fromEnv(env, \"ADMIN_TOKEN\")?.trim() ? \"ABSO_ADMIN_TOKEN\" : \"~/.abso/admin-token\"}.`;\n+}\n+\n function scrub(text: string, secrets: readonly string[]): string {\n \tlet out = text.replace(/abso_sk_[A-Za-z0-9_-]+/g, \"[redacted]\");\n \tfor (const secret of secrets) if (secret.length > 0) out = out.split(secret).join(\"[redacted]\");"}],"unmatched":[]}