Skip to content

chore: release v0.42.0 - #240

Merged
xxchan merged 1 commit into
mainfrom
release/v0.42.0
Oct 8, 2026
Merged

xxchan merged 1 commit into
mainfrom
release/v0.42.0

Conversation

@xxchan

@xxchan xxchan commented Oct 8, 2026

Copy link
Copy Markdown
Member

Release OAR and CLI 0.42.0. This PR changes only the two package version fields.

Behavior changes

  • FailureClass has four new members: model_unavailable, input_too_large, rate_limited and billing (feat: classify runtime failures from structured fields (#227) #237). Host code with an exhaustive switch over it needs the new cases.
  • A 429 that names no quota or balance is now rate_limited; it was quota. A 429 whose provider code names a quota or a balance is quota or billing.
  • failureText("auth", name) without a credential now reads "could not authenticate". It used to read "is not signed in", which was wrong for a refused key. Pass the outcome's credential to get "is not signed in" (missing) or "credentials were rejected" (rejected).
  • Some opens now reject with RuntimeFailureError (still an Error, same message) where they rejected with a raw RequestError or a plain Error: an ACP agent that requires auth, a -32602 answer to the model call, a key cursor refuses, a pi model OAR does not find.
  • A grok failure reason now includes its data text (the provider's answer), not only "Internal error".
  • An input with empty text and no images is now rejected unsupported (empty input: give text or images) before anything reaches the runtime (fix: support image-only session inputs #239).

New

Validation: all 13 checks passed on each PR's final head (#237 772d337, #238 3c60fd7, #239 47d91ac), and each merged tree equals its CI tree. After this PR passes CI and merges, tag its exact squash commit as v0.42.0 to trigger npm trusted publishing.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@xxchan
xxchan merged commit 8c677f6 into main Oct 8, 2026
13 checks passed
@xxchan
xxchan deleted the release/v0.42.0 branch October 8, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant