Repository navigation
chore: release v0.122.0 - #1005
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.
One answer per installed runtime for hosts that integrate OAR without per-runtime code, OpenCode 2.x system prompts and whole-session fork, DSH background job stops, writable roots, images and manual compaction, and the previous sign-in after a login expires. Behavior changes for hosts: malformed
resumeids are refused, a Claude resume must be confirmed by claude, some static declarations moved into the per-installation answer, and Pi inventories refuse a differentenv(below). This release also corrects the 0.121.0 notes on #953.Correction to 0.121.0: #953 also changed
status()The 0.121.0 headline said only session-view consumers were affected.
status()changed too: root content outside a turn leaves it idle withactivity: { since, lastEventAt }, cleared by the next turn start or exit. A host that treated recent content as running must readactivityinstead; such a session has no turn to abort.Behavior changes
SessionOptions.resumethat is blank, starts with-, or contains NUL is refused withUnsupportedOptionError(option: "resume") on every runtime, before any process starts.resumeis now confirmed withget_status. If claude resolves the value as a session title to a different native id, the open is rejected and the process stopped, instead of recording the title asSession.id. A resume also fails, and the process is stopped, whenget_statusreports no id or does not answer within 30 seconds. An unmatched title on 2.1.326 and later isSessionNotFoundError.--flag=value(fix(session): validate resume ids, pass --flag=value argv, and confirm claude session id #994).sessionCapabilities(installation): OpenCode's static map no longer listsfork(v1 refusals are per installation, feat(opencode): fork whole v2 sessions and declare versioned controls #996), Cursor no longer declaresmanualCompaction(fix(runtime): align native settlement, inventory scope and host guidance #1002), and DSH no longer declaresimages: false(feat(dsh): support background job stops, session roots, images and compaction #997). A host reading only the static fields must switch to the installation answer.envthat differs from the host process now returnunsupported(scope_unavailable), since the in-process SDK would search a different scope (fix(runtime): align native settlement, inventory scope and host guidance #1002).One capability answer per installation (#992, #995), feature
A host can now decide what to offer for a runtime from data alone, before opening a session.
Runtime.sessionCapabilities(installation)returns this installation's complete answer:steer,images,refusedSessionOptions(the static map plus refusals a release adds below its floor),manualCompaction, andcompactionEvents: { started, ended }when established.defineRuntimemerges the static declarations;installedSessionCapabilities(runtime, installation)does the same for anyRuntime. A test or host that compared this answer to onlysteerandimagesnow also sees the static refusals (test(cybion): expect the installation answer to carry static refusals #1001).Runtime.verifiedPlatforms: where OAR's behavior suite ran the real binary or SDK in CI (one table, kept equal to the CI manifest). Absent means unknown, not unsupported.Runtime.credentials: the shape of what a runtime reads on its own, never a value: environment variables withpurposeandsecret, and the stores it manages (kind,directoryEnv, default directory, path, whether it wins over the environment). DSH declaresDEEPSEEK_API_KEYand, in precedence order,$DSH_HOME/.credentials.yaml(wins over the environment), the session directory's.envand$DSH_HOME/.env. Other runtimes follow with native evidence.orient()carriessessionCapabilitiesfor each available installation, and the platform and credential facts for every entry. The report is plain JSON.Previous sign-in after expiry (#988, #990), feature
New optional
LastAccount { email, displayName }on a logged-out status and on areauth_requiredorunavailableusage result, when the runtime still names the previous account.OpenCode 2.x
systemPromptfrom 2.2.0 andappendSystemPromptfrom 2.0.30, through the session-local configuration overlay (feat(opencode): systemPrompt and appendSystemPrompt on OpenCode 2.x #989). The system prompt goes on every visible primary agent; subagents and hidden agents keep theirs. Below each floor the option is refused before any native query, and shared placement refuses both. After a resume, OpenCode keeps the earlier appended text in its saved system snapshot with a native "no longer apply" note.SessionOptions.forkcopies a whole v2 session through ACP and binds the copy's reported id;fork.throughis refused because the native handler accepts only the source id (feat(opencode): fork whole v2 sessions and declare versioned controls #996). V1 keeps its refusal. Hosts can read each release line's manual compaction support and v1 refusals before opening. Explicit upgrades use the v2 executable's own updater.retryevent with attempt, remaining delay and error category (fix(opencode): report scheduled provider retries over ACP #1000). On 1.x ACP gives no retry status, and cancelling during backoff returnsend_turn, which OAR keeps as the native outcome.DSH (#987, #997)
Fixes
endTurnProcessesOnAbort: true: an accepted abort stops only the terminals of the confirmed root turn after it ends as aborted; compaction and child activity cannot pass ownership to a later prompt (fix(grok): scope abort cleanup to confirmed root turns #999).summarize().Community: Cybion (#965), feature
Contributed by zccz14. A community runtime over Cybion's Agent API, exported from
@botiverse/oar/communityand added by the host with its deployment and API key. The Thread id isSession.id, soresumereattaches to the server's conversation. Steer reuses the input route, abort uses the cancel route Cybion's own UI calls, and images travel inline. Model listing, account usage and inventories are unsupported, and amodeloreffortthat differs from the stored one on resume is refused. Live turns, resume, cancel and steer were observed against cybion.ntnl.io on 2026-11-18.Also
🤖 Generated with Claude Code
Co-authored-by: xxchan [email protected]