Repository navigation
chore: release v0.57.0 - #363
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.
Release OAR and CLI 0.57.0. This PR changes only the two package version fields.
Most of this release comes from comparing OAR with the Claude Agent SDK and the codex SDK (#342): in common host scenarios OAR should be no worse than a runtime's own SDK.
Added:
listModelsnames the default model and each model's provider (#347, #355)ModelEntry.default: truemarks the model a session uses when nomodelis set, where the runtime says so: codex's configured model (config/readfor the host's cwd, when it is listed), else codex's catalogisDefault; a new ACP session's current model on grok, kimi and antigravity; the default saved in pi's settings (global plus the project at the host's cwd). claude, cursor and opencode mark none, because they cannot say which model an unset session runs. OAR never picks one.ModelEntry.provider: { id, displayName? }for runtimes with several providers: pi (with pi's display name, omitted when it only repeats the id) and opencode (providerID), so hosts never parseid.Added: host-set limits and schemas have their own failure classes (#339, #356)
limit_reached: claude stopped at--max-turnsor--max-budget-usd(result subtypeserror_max_turns,error_max_budget_usd).output_schema: the runtime could not produce output matchingSessionOptions.outputSchema(claudeerror_max_structured_output_retries, grokstructuredOutputError). Both used to beunknown.failureAdvicesays not to retry either until the host changes the limit or schema;failureTextwords them.reasonis now its subtype followed by claude's ownerrorstext (error_max_turns: Reached maximum number of turns (2)).Added: reasoning tokens (#345, #362)
TokenTotals.reasoning: the part ofoutputthe runtime reports as reasoning, on codex (reasoningOutputTokens), grok, pi, pi-durable and cursor. It is already insideoutput, so do not add it again. Unreported stays absent and a reported 0 stays 0; it accumulates, survives resume baselines andwithChildren, and replays the same from JSON records. claude and the other ACP runtimes report none.Fixed: claude
launchArgsthat collide with OAR's own flags are refused (#336, #356)--continue/-c,--resume/-r,--session-id,--fork-session,--permission-mode,--print/-p,--input-format,--output-formatand--json-schema(also in--flag=valueform) are refused at open with anUnsupportedOptionErrornaming the option to use. Before,--continuemade claude exit,--fork-sessionleftSession.idon the old id, and--permission-modewas silently overridden. Each argument is compared whole, so a value equal to one of these flags is refused too.Changed:
oar mcpreturns structured results (#304, #360)run,waitandlistdeclare anoutputSchemaand returnstructuredContentalongside the JSON text, for clients that call tools from code (OpenCode v2'sexecute, codex code mode).waitnow returns{ reports }andlistreturns{ agents, unread }(both were top-level arrays;listcarries the unread reports as a field instead of a text note).Fixed:
session_linkedonce per edge (#324, #361)Fixed: inventory (#351, #357)
argumentHint: "".cwdas a session would, so it can run that workspace's code: do not inventory an untrusted directory.Behavior changes
FailureClassgainslimit_reachedandoutput_schema;ModelEntrygainsdefaultandprovider;TokenTotalsgainsreasoning. Hosts with an exhaustiveswitchorRecordneed the new cases.oar mcpwaitandlistreturn objects, not arrays.launchArgswith the flags above are refused.Validation: every PR passed all 17 checks on its final head (#358 and #359 change only Markdown and one comment). #355 and #356 merged with trees equal to their CI trees; #357, #360, #361 and #362 merged after typecheck, lint and the full unit suite passed locally on top of the PRs merged before them. Verified against real runtimes with mock providers and no account: codex 0.162.1 default under four configurations, pi with two providers and saved defaults, grok, kimi and opencode listings; claude 2.1.296 launchArgs refusals (claude not started),
--max-turns,--max-budget-usdand exhausted schema retries; grok schema errors; the builtoar mcpreturning structuredlistandwait; codex 0.162.1 reasoning counts of 3 then 7 across a resume;session_linkedonce on OpenCode v2, codex and grok recordings. After this PR passes CI and merges, tag its exact squash commit asv0.57.0to trigger npm trusted publishing.🤖 Generated with Claude Code