Versions 270 to 271
Lines 38–48 at 271 (were 38–43 at 270)
3838 throw new UsageError("abso key needs the admin token in ABSO_ADMIN_TOKEN or ~/.abso/admin-token");
4040
41+/** What an admin command says each time it uses the admin token, and where it came from. Never the token. */
42+export function adminTokenWords(env: Readonly<Record<string, string | undefined>> = process.env): string {
43+ return `Using the admin token, from ${fromEnv(env, "ADMIN_TOKEN")?.trim() ? "ABSO_ADMIN_TOKEN" : "~/.abso/admin-token"}.`;
45+
4348 for (const secret of secrets) if (secret.length > 0) out = out.split(secret).join("[redacted]");
- MCP
- compare on this site's /mcp
- CLI
- abso diff 270 271 client/src/key-admin.ts --json
- JSON
- /christopher/abso-core/compare/270..271?file=client%2Fsrc%2Fkey-admin.ts&format=json