Cline
Operating the Cline CLI on workers — `cline auth`, JSON output, cost and usage, and what it cannot do.
Install
npm install -g clineThe worker looks for cline on the worker user's PATH.
Sign-in
Run cline auth once as the worker's user to choose a provider and model (Cline's own account by default). An
unauthorized run ends with an error of class auth, which the worker reports as authentication required.
How it runs
cline --json --auto-approve true [-m <model>] <prompt>
- A prompt argument starts in act mode.
- Its final
run_resultreports tokens and cost, which the worker records for the task.
Add-on models
Cline cannot use add-on models or providers configured on the worker. When it reaches its limit, the task moves to another compatible agent, or waits, as the fallback policy says.
Sessions
Resume is not claimed for Cline: no resume command could be verified without an account. After a crash, recovery starts a fresh session from the checkpoint.
What was verified
Checked against Cline 3.0.68 on 2026-10-06: its --help, and a real run without credentials through the
worker's session runtime. A task with the vendor's account has not been run.