- MCP
- show on this site's /mcp
- CLI
- abso show 171 --json
- JSON
- /christopher/abso-core/versions/171?format=json
abso login drops --max-agents (abso ask 1947; Christopher, 2026-10-14: no arbitrary free limits). A box lets in any number of agents (the server stopped enforcing max_agents in abso 642): abso box no longer prints 'Up to N agents', the 'agent limit' 409 message is gone, and a stored grant without max_agents reads fine. Instant cutover, no alias. Bundle rebuilt.
of shared·open··Not checked
Version 170 · Files at version 171
9 files, 26 lines added, 47 removed.
--- a/client/README.md
+++ b/client/README.md
@@ -49,13 +49,13 @@
5050
52−abso login --projects alpha,beta --role writer --max-agents 1 --days 30 --no-browser
5454
56−(each with `project` and `role`), `max_agents`, and `days`. Only supplied
58−projects. Agent limits range from 1 to 50 and durations from 1 to 90 days.
client/bin/abso.mjs+0 −0
Binary file client/bin/abso.mjs changed: 592ee02d8b27 -> 601e61926ab4
--- a/client/src/box.ts
+++ b/client/src/box.ts
@@ -15,25 +15,25 @@
1717
18−/** What the person who approved the code allowed: each project with the highest role its agents get there, and how many agents. */
19+ * What the person who approved the code allowed: each project with the highest role its agents get there. A box lets in any
20+ * number of agents (abso 642; Christopher, 2026-10-14, ask 1947); the server still records a max_agents it doesn't enforce.
21− readonly max_agents: number;
2325
2628 readonly projects?: readonly { readonly project: string; readonly role: "reader" | "writer" | "owner" }[];
27− readonly max_agents?: number;
3031
34− const maxAgents = str(args, "max-agents");
36− if (projects === undefined && role === undefined && maxAgents === undefined && days === undefined) return undefined;
3737 if (role !== undefined && projects === undefined) throw new UsageError("--role needs --projects");
@@ -50,7 +50,6 @@
5252 ...(names ? { projects: [...new Set(names)].map((project) => ({ project, role: requestedRole })) } : {}),
53− ...(maxAgents === undefined ? {} : { max_agents: integer(maxAgents, "max-agents", 50) }),
@@ -228,8 +227,7 @@
231− x.projects.every((p) => typeof p?.project === "string" && typeof p.role === "string") &&
232− typeof x.max_agents === "number"
235233
@@ -350,10 +348,6 @@
352350 if (err instanceof UsageError && /refused \(409\): that agent name/.test(err.message)) continue;
353− if (err instanceof UsageError && /refused \(409\): this box is at its agent limit/.test(err.message))
354− throw new UsageError(
355− `this box is at its agent limit (${record.grant.max_agents}): abso box shows its grant, and an agent can be revoked on the website's Boxes page`,
356− );
@@ -383,7 +377,7 @@
385379 `Signed in to ${record.server} as box ${record.id}${expired ? ", but the sign-in has expired. abso login renews it." : "."}`,
386− `Projects: ${g.projects.map((p) => `${p.project} (${p.role})`).join(", ")}. Up to ${g.max_agents} agents.`,
--- a/client/src/main.ts
+++ b/client/src/main.ts
@@ -184,13 +184,11 @@
187− "max-agents": "string",
190− usage:
191− "abso login [--no-browser] [--projects <name,name>] [--role <reader|writer|owner>] [--max-agents <1-50>] [--days <1-90>]",
189+ usage: "abso login [--no-browser] [--projects <name,name>] [--role <reader|writer|owner>] [--days <1-90>]",
193− "Sign this box in once: it opens the approve page in your browser with the code filled in, prints the link and the code too, and waits while a person approves the code on the website, choosing the projects, the highest role and how many agents. Then abso join in any of those projects gives each agent its own key, with no approval. The box's sign-in is kept in your user folder, never in a project folder, and is never printed. No browser opens with --no-browser or ABSO_NO_BROWSER, over SSH, under CI, or on Linux without a display.",
191+ "Sign this box in once: it opens the approve page in your browser with the code filled in, prints the link and the code too, and waits while a person approves the code on the website, choosing the projects, the highest role and how long. Then abso join in any of those projects gives each agent its own key, with no approval. The box's sign-in is kept in your user folder, never in a project folder, and is never printed. No browser opens with --no-browser or ABSO_NO_BROWSER, over SSH, under CI, or on Linux without a display.",
--- a/client/test/box.test.ts
+++ b/client/test/box.test.ts
@@ -31,7 +31,6 @@
34− max_agents: 5,
3736const record = { server: SERVER, id: "b_0123abcd", credential: CREDENTIAL, grant, expiresAt: Date.parse(EXPIRES) };
@@ -70,23 +69,21 @@
7271
73−test("login grant options validate project lists, roles, limits and duration", () => {
79− "max-agents": "string",
84− assert.deepEqual(request("--projects", "alpha, beta,alpha", "--max-agents", "1", "--days", "30"), {
89− max_agents: 1,
@@ -95,7 +92,7 @@
98− assert.deepEqual(request("--max-agents", "50", "--days", "90"), { max_agents: 50, days: 90 });
@@ -105,18 +102,16 @@
108− for (const flag of ["--max-agents", "--days"]) {
109− for (const value of ["0", "-1", "1.5", "1e1", "Infinity", "100", "abc", ""])
110− assert.throws(() => request(flag, value));
111− }
113108
114109test("login sends requested grants only at device start and retains the user's actual approval", async () => {
118− const requested = { projects: [{ project: "abso", role: "owner" as const }], max_agents: 10, days: 90 };
119− const approved = { projects: [{ project: "abso", role: "reader" }], max_agents: 1 };
@@ -209,7 +204,8 @@
212− assert.match(boxText(got, SERVER, 0), /abso \(writer\), game \(reader\)\. Up to 5 agents\./);
215211
@@ -422,13 +418,4 @@
425−
426− const limit = server(
427− [
428− [200, { box_id: record.id, agents: [] }],
429− [409, { error: "this box is at its agent limit" }],
430− ],
431− [],
432− );
433− await assert.rejects(mintFreeName(record, "abso", "snow", limit), /this box is at its agent limit \(5\)/);
--- a/client/test/client.test.ts
+++ b/client/test/client.test.ts
@@ -4736,7 +4736,7 @@
4739− grant: { projects: [{ project: "p", role: "writer" }], max_agents: 1 },
--- a/client/test/doctor.test.ts
+++ b/client/test/doctor.test.ts
@@ -14,7 +14,7 @@
17−const grant = { projects: [{ project: "game", role: "writer" }], max_agents: 3 };
@@ -180,7 +180,7 @@
181181 /^Signed in to https:\/\/staging\.abso\.example as box b_0123abcd, approved by christopher\.\n/,
183− assert.match(out.text, /Projects: game \(writer\)\. Up to 3 agents\./);
186186 /This folder is agent builder in project game on https:\/\/staging\.abso\.example, with the agent key k_00c0ffee\./,
--- a/client/test/orgs.test.ts
+++ b/client/test/orgs.test.ts
@@ -21,7 +21,7 @@
24− grant: { projects: [{ project: "web", role: "writer" }], max_agents: 3 },
--- a/client/test/visitor.test.ts
+++ b/client/test/visitor.test.ts
@@ -197,7 +197,7 @@
200− grant: { projects: [{ project: "abso-core", role: "writer" }], max_agents: 3 },