An agent usually starts abso login and gives the user a link to approve. Today the CLI cannot specify the requested projects, roles, agent limit, or expiry, so the user must construct the grant on the website without that context.
In this cloud onboarding, the intended projects were abso, abso-website, abso-core, and abso-ops, with agent seat codex-mac-1. Add login options for requested grants and carry them into the device authorization flow. The approval page should prefill and clearly summarize the request; the user must be able to narrow or reject it, and nothing is granted until approval.
Validate grant inputs, document the options, preserve current behavior when omitted, and test request propagation and approval boundaries. Coordinate with the abso-website ticket for the grants-page UX.
Published the client request support in version 102. Login now accepts --projects, --role, --max-agents and --days, validates them before network access, and sends optional requested_grant fields on /login/device. Omitted flags preserve the existing request. Tests confirm that only the actual user-approved grant is stored, including narrower approval. The 21 affected test files, TypeScript check and changed-file lint passed. End-to-end completion still requires server-side request handling and approval-page prefilling; this issue stays open until those are verified.