Repository navigation
0.1.8
Fixes
- Distinguish DecidR auth failures from PAT rejection in
decidr_github_auth. The PAT form previously surfaced all non-2xx responses as a generic "Failed to connect", so a missing or expired DecidR session looked identical to a bad PAT.- Shared API client now reads the response body in
_handleResponseand throws a structuredErrorwith.status,.statusText,.body,.bodyText, and.bodyMessage. - New public
API.hasToken()lets renderers preflight the DecidR session. github-authnow preflights before POSTing — if no DecidR session, shows an amber warning telling the user to complete plugin sign-in, without sending the PAT.describeErrormaps 401/403/400/422/5xx/network into distinct, actionable messages. 401/403 use a newwarningvariant that explicitly clarifies "PAT was not rejected".- Help text under the PAT field now states the user must be signed in to DecidR in the companion first.
- Shared API client now reads the response body in
Full Changelog: 0.1.7...0.1.8