Skip to content

fix: hand off sign-in on first run and classify browser start failures - #142

Merged
junhsss merged 4 commits into
mainfrom
jun/ste-3499-fix-first-run-failures-of-steel-browser-start
Nov 18, 2026
Merged

junhsss merged 4 commits into
mainfrom
jun/ste-3499-fix-first-run-failures-of-steel-browser-start

Conversation

@junhsss

@junhsss junhsss commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

STE-3499

  • Without credentials, commands that open a session (browser start, browser actions that start or attach one, scrape, screenshot, pdf) start device sign-in. In a terminal they wait until the code expires and then continue. Otherwise they fail with auth_required and print the URL and code; running the command again after approval continues. In CI they skip this and fail with auth_required as before.
  • browser start failures get real classes instead of internal_error: invalid_input, api_bad_response, local_state_invalid. Telemetry adds http_status and the API error code.
  • User-Agent is steel-cli/<version>. Telemetry adds ci.

Behavior changes:

  • invalid_input exits 2.
  • A transport error from reqwest is network_error (exit 4); a response that can't be decoded is api_bad_response. Both were internal_error.
  • Output error_code is io_error for io errors and not_found for 410.

…fuses it, and add --use-proxy and --project (#144)
@junhsss
junhsss merged commit 5aa483f into main Nov 18, 2026
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants