Repository navigation
chore: release v0.126.0 - #1088
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OAR 0.126.0
Behavior changes hosts should know
installation()refuses programs that are not the vendor CLI, and every refusal is typed (feat(installation): enforce vendor identity, per-line version ranges, and host checks across all runtimes #1084). Theunsupportedsnapshot now always carries acode, and the old untyped variant is gone, so custom runtime probes must set one:version_unsupported: the vendor CLI is outside the supported range. This is the only code admitted tocheckUpdate()andupgrade(). Hosts should show every other code as a setup problem, not reinstall.unrecognized_executable: the program in the slot does not identify as the vendor CLI. Identity comes from its version output, so a wrapper (for example anOAR_CLAUDE_BINscript) that prints a bare version is now refused; Claude must print(Claude Code).readiness_failed: the runtime's readiness check (--help,app-server --help,acp --helpand the like) exited nonzero, or--versionfailed where the runtime declares an identity or version policy.unsupported_platform,unsupported_node_version,unsupported_host(for example Pi RPC inside a single executable or Electron, or Cursor subprocess mode inside a single executable) anddependency_missing(a required module such as Pi's RPC entry or Cursor's SDK cannot be resolved). Cursor now refuses Node below 22.13.0 in both modes.>=1.18.30 <2.0.0 || >=2.0.27 <3.0.0. Installs below 1.18.30, at 2.0.0 to 2.0.26, or on 3.x that worked before are nowversion_unsupported.--helpreadiness probe, so an uncached probe starts one more process.rateLimitedmeans the whole account is limited (fix(account-usage): align account-wide rateLimited, native error classification, shared usedRatio, and runtime edge cases #1073). On Codex only the account bucket and its credits set it; a single-model bucket such as Spark stays inwindows. On Claude only the five-hour and seven-day windows set it; per-model windows andseven_day_oauth_appsdo not, and unlimited Extra Usage counts as headroom.usedRationever rounds an unexhausted reading up to 1, and on Codex it no longer exceeds 1. Codex no longer reportsreauth_requiredorunsupportedfor process exits, initialize failures or timeouts, and its usage and limit-reset errors carry the nativecause. Grok reportsreauth_requiredonly for ACP code-32000, not for any error mentioning sign-in. Codex's legacy single-bucket view getsscope: account. Antigravity setsrateLimitedwhen every group is exhausted and credits are at or below zero.planis the name the runtime shows the user (fix(claude): prefer validated oauthAccount.planDisplayName for plan and document plan display-name contract #1076). Claude readsoauthAccount.planDisplayNamewhen the stored account matches the signed-in one, and falls back to the native plan code otherwise. Hosts that comparedplanagainst native codes such asmaxwill now see display names onauthStatus,loginandaccountUsage.OAR_KILL_GRACE_MS).quotawithresetsAt(fix(antigravity): classify mid-turn quota notices as quota with resetsAt #1068), after earlier tool work too. Normal text that quotes the notice still completes.New
Runtime.credentialson all 15 built-in runtimes lists its stores (directoryEnv,fallbackDirectoryEnvs, keychainservice), its variables with theproviderand logicalfieldeach belongs to (for stripping, redaction and error attribution),scope(single_accountorper_provider),management(native, orexternal: no native login, the person or host supplies the credential),signInPaste,usageDirectoryEnvand keyinterpolation.LoginAccount.accountIdis set on Claude (oauthAccount.accountUuid, only when the stored account matches the signed-in one) and on Codex (only when the login lives in Codex's default file store and the file's sign-in token matches the signed-in account). A missingaccountIdnever means "no account".modelRequests: "latest"and callSession.lastModelRequest()for the last attributed root request, read on demand and redacted. Claude (2.1.274 and later; resume verified on 2.1.326) reads its own capture, which writes the body of every model call, child and auxiliary calls included, to a private directory. Pi SDK keeps the body after Pi and extensions have transformed it, for Anthropic Messages, OpenAI Chat Completions and OpenAI Responses models; other model APIs are refused at open. Pi RPC and all other runtimes declare the option refused.RefusableSessionOptiongains"modelRequests".Session.nativeSessionFile()returns the file Codex (0.169.0 and later) or Pi has saved, once it exists, on fresh, resumed and forked sessions, and still after disposal. It returnsnullfor a path that contains a credential. The path is the runtime's own spelling and can differ between opens of the same session (Codex on Windows adds\\?\on resume); compare files by filesystem identity.Runtime.sideQuestionanswers one question about a saved Claude session from a disposable native fork with no tools, no MCP servers, no slash commands and no user or project hooks. It makes its own provider request with Claude's default model unlessmodelis given, and times out after 60 s by default. The source can be running or stopped and is left unchanged. Claude Code 2.1.326 and later.tool_call_ended.fileChangesand the session view, with moves kept together. Codex 0.160.1 and later.SessionCapabilityDeclarationgainssideQuestion,fileChangesandnativeSessionFile. New exported types includeModelRequest,FileChange,SideQuestionOptions, the installation refusal types andCredentialField.Fixes
agent_endandagent_settled.droidafter a refused interrupt.abort()at 10 s. In subprocess mode it stops the child if the run ignores cancel; in-process, a hung cancel answersacceptedafter 10 s while the run may continue. A live native refusal isruntime_refused.session_not_foundand the native error.runtime_exited, answers a prompt sent while another is starting withbusy, and answers idle steer withno_active_turnbefore checking images.status()right afterprompt(), answers idle steer withno_active_turn, still returnsacceptedwhen a status read fails after a durable commit, boundsabort()at 10 s and reports aborted inbox inputs asinput_dropped.Tests and docs
🤖 Generated with Claude Code