Versions 170 to 171
Lines 15–39 at 171 (were 15–39 at 170)
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");
Lines 50–55 at 171 (were 50–56 at 170)
5252 ...(names ? { projects: [...new Set(names)].map((project) => ({ project, role: requestedRole })) } : {}),
53− ...(maxAgents === undefined ? {} : { max_agents: integer(maxAgents, "max-agents", 50) }),
Lines 227–233 at 171 (were 228–235 at 170)
231− x.projects.every((p) => typeof p?.project === "string" && typeof p.role === "string") &&
232− typeof x.max_agents === "number"
235233
Lines 348–353 at 171 (were 350–359 at 170)
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− );
Lines 377–383 at 171 (were 383–389 at 170)
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.`,
- MCP
- compare on this site's /mcp
- CLI
- abso diff 170 171 client/src/box.ts --json
- JSON
- /christopher/abso-core/compare/170..171?file=client%2Fsrc%2Fbox.ts&format=json