- MCP
- show on this site's /mcp
- CLI
- abso show 264 --json
- JSON
- /christopher/abso-core/versions/264?format=json
abso login says why it couldn't ask a person (abso 684): when the ask step fails (the server refuses, a limit, Issues unreachable), it prints 'Couldn't ask a person to approve this (<reason>), so here is the code.' and falls back to the code, instead of falling back silently. Found trying 684 on staging. Tests: client/test/box.test.ts, 16 pass.
of shared·approvals-page··Not checked
Version 263 · Files at version 264
2 files, 11 lines added, 2 removed.
--- a/client/src/box.ts
+++ b/client/src/box.ts
@@ -299,7 +299,15 @@
301301 // The page opens with the code in it, so nobody copies a link by hand. The link and code are printed all the same.
302− const asked = io.ask ? await io.ask({ device, user: code }).catch(() => null) : null;
302+ // A failed ask falls back to the code, and says why, so a person can still approve it (abso 684).
306+ `Couldn't ask a person to approve this (${e instanceof Error ? e.message : String(e)}), so here is the code.`,
304312 const askWord = asked.asks.length === 1 ? `ask ${asked.asks[0]}` : `asks ${asked.asks.join(", ")}`;
305313 io.say(`Asked ${asked.who} (${askWord} in ${asked.project}) to sign this box in, as at most ${asked.role}.`);
--- a/client/src/main.ts
+++ b/client/src/main.ts
@@ -1109,7 +1109,8 @@
1112− if (!asked.ok || !Array.isArray(body.people) || typeof body.request_url !== "string") return null;
11151116 const when = new Intl.DateTimeFormat("en-US", { timeZone: "America/Chicago", hour: "numeric", minute: "2-digit" });