New internal/api (backend REST client + CLIENT_ENV→{dev,stg,prod} base URL + proxy/CA-aware HTTP — honor HTTPS_PROXY/NO_PROXY + system cert pool). New internal/config (~/.tracebloc, 0600, user token + active client). Commands under a new auth parent: tracebloc login (device flow: POST /device/code, print URL+code, poll /device/token, store token), logout, auth status.
Depends on the backend device-grant (the /device/* endpoints). Repo: tracebloc/cli. Part of tracebloc/backend#830.
New
internal/api(backend REST client +CLIENT_ENV→{dev,stg,prod} base URL + proxy/CA-aware HTTP — honorHTTPS_PROXY/NO_PROXY+ system cert pool). Newinternal/config(~/.tracebloc,0600, user token + active client). Commands under a newauthparent:tracebloc login(device flow:POST /device/code, print URL+code, poll/device/token, store token),logout,auth status.Depends on the backend device-grant (the
/device/*endpoints). Repo: tracebloc/cli. Part of tracebloc/backend#830.