Versions 26 to 27
Lines 6–12 at 27 (were 6–11 at 26)
1011
Lines 17–23 at 27 (were 16–22 at 26)
1819
19−/** The admin token goes only to a server named in AVCS_ADMIN_SERVERS (comma-separated): none is built in. */
20+/** The admin token goes only to a server named in ABSO_ADMIN_SERVERS (comma-separated): none is built in. */
Lines 30–42 at 27 (were 29–41 at 26)
3031
3132export function adminToken(env: Readonly<Record<string, string | undefined>> = process.env): string {
32− const fromEnv = env.AVCS_ADMIN_TOKEN?.trim();
33− if (fromEnv) return fromEnv;
38− throw new UsageError("abso key needs the admin token in AVCS_ADMIN_TOKEN or ~/.abso/admin-token");
39+ throw new UsageError("abso key needs the admin token in ABSO_ADMIN_TOKEN or ~/.abso/admin-token");
4041
Lines 46–54 at 27 (were 45–53 at 26)
4647
4748async function call(config: Config, admin: string, method: "GET" | "POST", path: string): Promise<unknown> {
48− if (!adminGoesTo(config.server, process.env.AVCS_ADMIN_SERVERS))
50− `abso key will not send the admin token to ${config.server}; AVCS_ADMIN_SERVERS names the servers it may go to`,
51+ `abso key will not send the admin token to ${config.server}; ABSO_ADMIN_SERVERS names the servers it may go to`,
- MCP
- compare on this site's /mcp
- CLI
- abso diff 26 27 client/src/key-admin.ts --json
- JSON
- /christopher/abso-core/compare/26..27?file=client%2Fsrc%2Fkey-admin.ts&format=json