Aribot CLI for Node.js: changelog
3.0.0
A rebuild: a Node.js port of the Python aribot-cli 3.0.0, on @ayurak/sdk 3. Every command calls a route that exists on the Aribot server today, with the Python CLI's options, output, JSON and exit codes.
Commands
aribot check: the server's gate decision for the changed lines (paths and line ranges only), with--json,--sarif(SARIF 2.1.0),--staged,--strictand the warn-only--gate idefor pre-commit hooks.aribot check --legacykeeps the scan-based gate.aribot explain: requirements, threats, findings and full fix steps for a file, with--apply-patch.aribot gate status,aribot rules list|import|dry-run|sign|bind,aribot keys init.aribot runner sign-and-send|register|public-key: the signed checker runner.aribot scan,aribot verify,aribot traceability.aribot login,aribot logout,aribot auth status.
Sign-in and security
- Credentials in this order:
ARIBOT_API_KEY, the OS keychain (shared with the Python CLI),ARIBOT_TOKEN. - The keychain is reached through
security(macOS) andsecret-tool(Linux), with the key on standard input. Windows: setARIBOT_API_KEY. - The
--tokenoption is removed, and there is no--insecureoption. TLS is always verified;ARIBOT_CA_BUNDLEadds a private CA. - HTTPS only (plain http for localhost alone), redirects are not followed, and only read requests are retried.
- Ed25519 signing with
node:crypto; key files are interchangeable with the Python CLI.
Package
- No runtime dependencies other than
@ayurak/sdk. Node.js 18 or later. - Published with npm provenance from
js/in Aristiun/aribot-cli (tagsnpm-v*).
Upgrading from 1.x or 2.x
- Versions 1.0.7 to 1.4.0 of
@ayurak/aribot-cliare deprecated; do not use them. - Replace
aribot config set-key <key>witharibot loginlocally, orARIBOT_API_KEYin CI, and delete~/.aribot/config.json. aribot scannow scans source code;aribot code-review <repo-url>is nowaribot scan <repo-url>. The 2.x commandsthreats,compliance,report,statusandmaestroare removed.