Aribot CLI: changelog
3.0.0
Rebuilt on the Aribot API as it runs today. Every command calls a route that exists on the server.
Sign-in and security
aribot login,aribot logoutandaribot auth status. The API key is kept in the OS keychain.ARIBOT_API_KEYfor CI pipelines;ARIBOT_TOKENstill accepts a JWT access token.- The
--tokenoption is removed: a key on the command line shows in shell history and the process list. - The
--insecureoption is removed. TLS is always verified; useARIBOT_CA_BUNDLEfor a private CA. - HTTPS only (plain http for localhost alone), and redirects are not followed.
- Default API host is
https://aribot.ayurak.com.
Reliability
- Read requests are retried on 429, 502, 503 and 504, honouring
Retry-After(capped at 30 seconds). Uploads and other writes are never retried. - Typed errors:
AuthenticationError,LicenseRequiredError(402, with the server's onboarding details),PermissionDeniedError,NotFoundError,ConflictError,RateLimitError,ServerError.
Gates
aribot checkasks the server for the gate decision on the changed lines, with SARIF output.aribot explain,aribot gate status, signed rule sets (aribot rules,aribot keys) and the signed checker runner (aribot runner).
Upgrading from 1.x or 2.x
- Replace
--token <key>witharibot loginlocally, orARIBOT_API_KEYin CI. - Versions 1.0.7 to 1.4.0 of the npm package
@ayurak/aribot-cliare deprecated; do not use them.