{"version":171,"agent":"open","message":"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.","time":1791965043647,"timeIso":"2026-10-14T08:04:03.647Z","changes":8,"change":2622,"files":["client/README.md","client/bin/abso.mjs","client/src/box.ts","client/src/main.ts","client/test/box.test.ts","client/test/client.test.ts","client/test/doctor.test.ts","client/test/orgs.test.ts","client/test/visitor.test.ts"],"draft":null,"diff":[{"path":"client/README.md","added":3,"removed":3,"diff":"--- a/client/README.md\n+++ b/client/README.md\n@@ -49,13 +49,13 @@\n An agent can request the access it needs when starting a box login:\n \n ```bash\n-abso login --projects alpha,beta --role writer --max-agents 1 --days 30 --no-browser\n+abso login --projects alpha,beta --role writer --days 30 --no-browser\n ```\n \n The client sends a `requested_grant` with the device request: `projects`\n-(each with `project` and `role`), `max_agents`, and `days`. Only supplied\n+(each with `project` and `role`) and `days`. Only supplied\n fields are sent; project roles default to `writer`. The role option requires\n-projects. Agent limits range from 1 to 50 and durations from 1 to 90 days.\n+projects. Durations range from 1 to 90 days. A box lets in any number of agents.\n The person approving still chooses the actual grant and can narrow or reject\n the request. Servers must support requested grants to prefill their approval\n page; older servers may ignore the suggestions. Without these options, login"},{"path":"client/bin/abso.mjs","blob":{"before":"592ee02d8b27362315ccdd12955a1aef7fcf73f7346f97ab5264dc5ce578a857","after":"601e61926ab4e739eca6c63024a1440c595df6a411b0d882aa4ecd943066aef1"},"added":0,"removed":0,"diff":"Binary file client/bin/abso.mjs changed: 592ee02d8b27 -> 601e61926ab4"},{"path":"client/src/box.ts","added":7,"removed":13,"diff":"--- a/client/src/box.ts\n+++ b/client/src/box.ts\n@@ -15,25 +15,25 @@\n import { type Parsed, str, UsageError } from \"./args.ts\";\n import { homeFile, homeWritePath, OLD_STATE_DIR, STATE_DIR } from \"./state-dir.ts\";\n \n-/** What the person who approved the code allowed: each project with the highest role its agents get there, and how many agents. */\n+/**\n+ * What the person who approved the code allowed: each project with the highest role its agents get there. A box lets in any\n+ * number of agents (abso 642; Christopher, 2026-10-14, ask 1947); the server still records a max_agents it doesn't enforce.\n+ */\n export interface Grant {\n \treadonly projects: readonly { readonly project: string; readonly role: string }[];\n-\treadonly max_agents: number;\n }\n \n /** Requested access is a suggestion for the person approving, never an authorization. */\n export interface LoginRequest {\n \treadonly projects?: readonly { readonly project: string; readonly role: \"reader\" | \"writer\" | \"owner\" }[];\n-\treadonly max_agents?: number;\n \treadonly days?: number;\n }\n \n export function loginRequest(args: Parsed): LoginRequest | undefined {\n \tconst projects = str(args, \"projects\");\n \tconst role = str(args, \"role\");\n-\tconst maxAgents = str(args, \"max-agents\");\n \tconst days = str(args, \"days\");\n-\tif (projects === undefined && role === undefined && maxAgents === undefined && days === undefined) return undefined;\n+\tif (projects === undefined && role === undefined && days === undefined) return undefined;\n \tif (role !== undefined && projects === undefined) throw new UsageError(\"--role needs --projects\");\n \tconst requestedRole = role ?? \"writer\";\n \tif (requestedRole !== \"reader\" && requestedRole !== \"writer\" && requestedRole !== \"owner\")\n@@ -50,7 +50,6 @@\n \t};\n \treturn {\n \t\t...(names ? { projects: [...new Set(names)].map((project) => ({ project, role: requestedRole })) } : {}),\n-\t\t...(maxAgents === undefined ? {} : { max_agents: integer(maxAgents, \"max-agents\", 50) }),\n \t\t...(days === undefined ? {} : { days: integer(days, \"days\", 90) }),\n \t};\n }\n@@ -228,8 +227,7 @@\n \t\ttypeof x === \"object\" &&\n \t\tx !== null &&\n \t\tArray.isArray(x.projects) &&\n-\t\tx.projects.every((p) => typeof p?.project === \"string\" && typeof p.role === \"string\") &&\n-\t\ttypeof x.max_agents === \"number\"\n+\t\tx.projects.every((p) => typeof p?.project === \"string\" && typeof p.role === \"string\")\n \t);\n }\n \n@@ -350,10 +348,6 @@\n \t\t\treturn { ...(await mintKey(record, project, agent, fetcher)), agent };\n \t\t} catch (err) {\n \t\t\tif (err instanceof UsageError && /refused \\(409\\): that agent name/.test(err.message)) continue;\n-\t\t\tif (err instanceof UsageError && /refused \\(409\\): this box is at its agent limit/.test(err.message))\n-\t\t\t\tthrow new UsageError(\n-\t\t\t\t\t`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`,\n-\t\t\t\t);\n \t\t\tthrow err;\n \t\t}\n \t}\n@@ -383,7 +377,7 @@\n \tconst expired = record.expiresAt <= now;\n \treturn [\n \t\t`Signed in to ${record.server} as box ${record.id}${expired ? \", but the sign-in has expired. abso login renews it.\" : \".\"}`,\n-\t\t`Projects: ${g.projects.map((p) => `${p.project} (${p.role})`).join(\", \")}. Up to ${g.max_agents} agents.`,\n+\t\t`Projects: ${g.projects.map((p) => `${p.project} (${p.role})`).join(\", \")}.`,\n \t\t`${expired ? \"Expired\" : \"Expires\"} ${day(record.expiresAt)} UTC.`,\n \t].join(\"\\n\");\n }"},{"path":"client/src/main.ts","added":2,"removed":4,"diff":"--- a/client/src/main.ts\n+++ b/client/src/main.ts\n@@ -184,13 +184,11 @@\n \t\t\t\"no-browser\": \"boolean\",\n \t\t\tprojects: \"string\",\n \t\t\trole: \"string\",\n-\t\t\t\"max-agents\": \"string\",\n \t\t\tdays: \"string\",\n \t\t},\n-\t\tusage:\n-\t\t\t\"abso login [--no-browser] [--projects <name,name>] [--role <reader|writer|owner>] [--max-agents <1-50>] [--days <1-90>]\",\n+\t\tusage: \"abso login [--no-browser] [--projects <name,name>] [--role <reader|writer|owner>] [--days <1-90>]\",\n \t\tabout:\n-\t\t\t\"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.\",\n+\t\t\t\"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.\",\n \t\trun: async (args, env) => {\n \t\t\tconst server = boxServer(args, env);\n \t\t\tconst open ="},{"path":"client/test/box.test.ts","added":9,"removed":22,"diff":"--- a/client/test/box.test.ts\n+++ b/client/test/box.test.ts\n@@ -31,7 +31,6 @@\n \t\t{ project: \"abso\", role: \"writer\" },\n \t\t{ project: \"game\", role: \"reader\" },\n \t],\n-\tmax_agents: 5,\n };\n const EXPIRES = \"2026-10-15T00:00:00.000Z\";\n const record = { server: SERVER, id: \"b_0123abcd\", credential: CREDENTIAL, grant, expiresAt: Date.parse(EXPIRES) };\n@@ -70,23 +69,21 @@\n \t};\n }\n \n-test(\"login grant options validate project lists, roles, limits and duration\", () => {\n+test(\"login grant options validate project lists, roles and duration\", () => {\n \tconst request = (...words: string[]) =>\n \t\tloginRequest(\n \t\t\tparseArgs(\"login\", words, {\n \t\t\t\tprojects: \"string\",\n \t\t\t\trole: \"string\",\n-\t\t\t\t\"max-agents\": \"string\",\n \t\t\t\tdays: \"string\",\n \t\t\t}),\n \t\t);\n \tassert.equal(request(), undefined);\n-\tassert.deepEqual(request(\"--projects\", \"alpha, beta,alpha\", \"--max-agents\", \"1\", \"--days\", \"30\"), {\n+\tassert.deepEqual(request(\"--projects\", \"alpha, beta,alpha\", \"--days\", \"30\"), {\n \t\tprojects: [\n \t\t\t{ project: \"alpha\", role: \"writer\" },\n \t\t\t{ project: \"beta\", role: \"writer\" },\n \t\t],\n-\t\tmax_agents: 1,\n \t\tdays: 30,\n \t});\n \tassert.deepEqual(request(\"--projects\", \"alpha\", \"--role\", \"reader\"), {\n@@ -95,7 +92,7 @@\n \tassert.deepEqual(request(\"--projects\", \"alpha\", \"--role\", \"owner\"), {\n \t\tprojects: [{ project: \"alpha\", role: \"owner\" }],\n \t});\n-\tassert.deepEqual(request(\"--max-agents\", \"50\", \"--days\", \"90\"), { max_agents: 50, days: 90 });\n+\tassert.deepEqual(request(\"--days\", \"90\"), { days: 90 });\n \tfor (const words of [\n \t\t[\"--role\", \"writer\"],\n \t\t[\"--projects\", \"\"],\n@@ -105,18 +102,16 @@\n \t\t[\"--projects\", Array.from({ length: 101 }, (_, i) => `p${i}`).join(\",\")],\n \t])\n \t\tassert.throws(() => request(...words));\n-\tfor (const flag of [\"--max-agents\", \"--days\"]) {\n-\t\tfor (const value of [\"0\", \"-1\", \"1.5\", \"1e1\", \"Infinity\", \"100\", \"abc\", \"\"])\n-\t\t\tassert.throws(() => request(flag, value));\n-\t}\n+\tfor (const value of [\"0\", \"-1\", \"1.5\", \"1e1\", \"Infinity\", \"100\", \"abc\", \"\"])\n+\t\tassert.throws(() => request(\"--days\", value));\n });\n \n test(\"login sends requested grants only at device start and retains the user's actual approval\", async () => {\n \tconst h = home();\n \tconst seen: Seen = [];\n \tconst c = clock();\n-\tconst requested = { projects: [{ project: \"abso\", role: \"owner\" as const }], max_agents: 10, days: 90 };\n-\tconst approved = { projects: [{ project: \"abso\", role: \"reader\" }], max_agents: 1 };\n+\tconst requested = { projects: [{ project: \"abso\", role: \"owner\" as const }], days: 90 };\n+\tconst approved = { projects: [{ project: \"abso\", role: \"reader\" }] };\n \tconst got = await login(\n \t\tSERVER,\n \t\t{\n@@ -209,7 +204,8 @@\n \tassert.equal(files.length, 1);\n \tassert.ok(readFileSync(join(h, \".abso\", \"boxes\", files[0]!), \"utf8\").includes(CREDENTIAL));\n \tassert.equal(boxText(got, SERVER, 0).includes(CREDENTIAL), false);\n-\tassert.match(boxText(got, SERVER, 0), /abso \\(writer\\), game \\(reader\\)\\. Up to 5 agents\\./);\n+\tassert.match(boxText(got, SERVER, 0), /abso \\(writer\\), game \\(reader\\)\\.\\n/);\n+\tassert.doesNotMatch(boxText(got, SERVER, 0), /agents/);\n \tassert.equal(JSON.stringify(boxPublic(got)).includes(CREDENTIAL), false);\n });\n \n@@ -422,13 +418,4 @@\n \t\t],\n \t\t\"snow is this box's already: never minted again, which would replace its key\",\n \t);\n-\n-\tconst limit = server(\n-\t\t[\n-\t\t\t[200, { box_id: record.id, agents: [] }],\n-\t\t\t[409, { error: \"this box is at its agent limit\" }],\n-\t\t],\n-\t\t[],\n-\t);\n-\tawait assert.rejects(mintFreeName(record, \"abso\", \"snow\", limit), /this box is at its agent limit \\(5\\)/);\n });"},{"path":"client/test/client.test.ts","added":1,"removed":1,"diff":"--- a/client/test/client.test.ts\n+++ b/client/test/client.test.ts\n@@ -4736,7 +4736,7 @@\n \t\t\tcredential: \"abso_bx_secret\",\n \t\t\tid: \"b_1\",\n \t\t\texpiresAt: Date.now() + 1e6,\n-\t\t\tgrant: { projects: [{ project: \"p\", role: \"writer\" }], max_agents: 1 },\n+\t\t\tgrant: { projects: [{ project: \"p\", role: \"writer\" }] },\n \t\t};\n \t\tmkdirSync(join(home, \".avcs\", \"boxes\"), { recursive: true });\n \t\twriteBox(record as never, home);"},{"path":"client/test/doctor.test.ts","added":2,"removed":2,"diff":"--- a/client/test/doctor.test.ts\n+++ b/client/test/doctor.test.ts\n@@ -14,7 +14,7 @@\n const CREDENTIAL = \"abso_bx_the-secret-credential\";\n const KEY = \"abso_sk_the-secret-key\";\n const NOW = Date.parse(\"2026-10-10T06:00:00.000Z\");\n-const grant = { projects: [{ project: \"game\", role: \"writer\" }], max_agents: 3 };\n+const grant = { projects: [{ project: \"game\", role: \"writer\" }] };\n const box = (expiresAt = Date.parse(\"2026-10-20T00:00:00.000Z\")) => ({\n \tserver: SERVER,\n \tid: \"b_0123abcd\",\n@@ -180,7 +180,7 @@\n \t\tout.text,\n \t\t/^Signed in to https:\\/\\/staging\\.abso\\.example as box b_0123abcd, approved by christopher\\.\\n/,\n \t);\n-\tassert.match(out.text, /Projects: game \\(writer\\)\\. Up to 3 agents\\./);\n+\tassert.match(out.text, /Projects: game \\(writer\\)\\.\\n/);\n \tassert.match(\n \t\tout.text,\n \t\t/This folder is agent builder in project game on https:\\/\\/staging\\.abso\\.example, with the agent key k_00c0ffee\\./,"},{"path":"client/test/orgs.test.ts","added":1,"removed":1,"diff":"--- a/client/test/orgs.test.ts\n+++ b/client/test/orgs.test.ts\n@@ -21,7 +21,7 @@\n \t\t\tserver: SERVER,\n \t\t\tid: \"box_1\",\n \t\t\tcredential: CREDENTIAL,\n-\t\t\tgrant: { projects: [{ project: \"web\", role: \"writer\" }], max_agents: 3 },\n+\t\t\tgrant: { projects: [{ project: \"web\", role: \"writer\" }] },\n \t\t\texpiresAt: Date.now() + 86_400_000,\n \t\t},\n \t\thome,"},{"path":"client/test/visitor.test.ts","added":1,"removed":1,"diff":"--- a/client/test/visitor.test.ts\n+++ b/client/test/visitor.test.ts\n@@ -197,7 +197,7 @@\n \t\t\t\tserver: url,\n \t\t\t\tid: \"b_0123abcd\",\n \t\t\t\tcredential: CREDENTIAL,\n-\t\t\t\tgrant: { projects: [{ project: \"abso-core\", role: \"writer\" }], max_agents: 3 },\n+\t\t\t\tgrant: { projects: [{ project: \"abso-core\", role: \"writer\" }] },\n \t\t\t\texpiresAt: Date.now() + 86_400_000,\n \t\t\t},\n \t\t\thome,"}],"ci":null}