Jetformat

login, status, logout

One sign-in per machine for paid commands. Free commands never need it.

login

jetformat login
jetformat login --device-auth

Opens the browser to jetformat.com, the same way Codex login does. --device-auth prints a URL and a code instead, for machines without a browser. The token is stored in ~/.jetformat/credentials.json with mode 0600.

status

jetformat status

Prints {"authenticated": true, "balance": 80, "locked": false} without contacting the network.

logout

jetformat logout

Removes the local token. unauth and unAuth are aliases.

What happens on a paid command

  1. Before the job, the CLI checks that the account has credits. Zero balance refuses to start and writes nothing.
  2. The job runs locally.
  3. On success the CLI reports the verb, the unit count, and a job id. Never the file, its name, or a hash.
  4. On failure it reports zero and nothing is charged.

Override the API base with JETFORMAT_API for self-hosted testing. Release builds have no switch that turns metering off. See how credits work.

Last updated