Commit graph

5 commits

Author SHA1 Message Date
Roo Code
467dea3814 feat(cli): add device code auth flow for remote/headless servers
Adds a --device-code flag to `roo auth login` that implements a device
code authentication flow similar to GitHub CLI. This allows users on
remote or headless servers to authenticate by:

1. Running `roo auth login --device-code`
2. Opening a verification URL on any device with a browser
3. Entering the displayed user code
4. CLI polls for completion and saves the token

The server-side endpoints (POST /api/cli/device-code and
POST /api/cli/device-code/poll) need to be implemented separately.

Closes #11925
2026-03-16 04:42:23 +00:00
Chris Estreich
98d35f7cfc
Use a redirect instead of a fetch for cli auth (#10799) 2026-01-16 23:26:04 -08:00
Chris Estreich
8fa2c1d598
Claude-like cli flags, auth fixes (#10797)
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
Co-authored-by: Roo Code <roomote@roocode.com>
2026-01-16 22:54:24 -08:00
Chris Estreich
fc21101a99
More file organization for the cli (#10599) 2026-01-09 23:22:51 -08:00
Chris Estreich
ea9717d7ba
Add a TUI (#10480)
Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
Co-authored-by: Daniel <57051444+daniel-lxs@users.noreply.github.com>
2026-01-09 19:19:58 -08:00