Repository navigation
chore: release v0.121.0 - #983
Merged
Merged
Conversation
Co-authored-by: xxchan <[email protected]> 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.
Forking a saved session, Gemini quota notices with reset times on Antigravity, and bounded native queries. One breaking change for hosts that consume the session view: content that arrives outside a turn no longer joins a running turn (#953, below).
Breaking: content outside turns stays outside them (#953)
Root text or tool updates can arrive after a native turn has ended, with no new start (Antigravity 1.5.10 and 1.5.11, an OpenCode own-reply sample). OAR used to show such a session as running indefinitely while there was no active turn to abort. Now the status fold keeps it idle with
activity: { since, lastEventAt }, and the view keeps that content in its own message,ViewMessagekind: "activity". A later prompt or verified native start opens a new turn without moving earlier activity into it. Late tool updates still amend their original entry, and process exit closes unresolved tools.Consumers of
reduceSessionViewneed a branch forkind: "activity"(typeViewActivity), and must replay a preceding start or a full checkpoint when they rebuild a running session.SessionOptions.fork(#888), featureWith
resume,forkopens a new native session that starts as a copy of a saved one, optionally cut after a given turn (fork.through), and leaves the source untouched.Session.idis the copy's id (new typeSessionFork). The rootturn_endedevent carriesforkAnchorwhen the runtime has a usable cut point, andreduceSessionViewputs it onViewTurn.forkAnchor, so a host can offer "branch from here" without reading native frames.--resume <source> --fork-session --session-id <new id>, so OAR assigns the copy's id, withthroughas--resume-session-at. There is noforkAnchoron an aborted turn, or when the turn's last root assistant message holds a tool call or is followed by a tool result.--fork-sessionand, with a fork,--resume-session-atstay refused inlaunchArgs.thread/forkwithlastTurnId; the copy's id is the thread id Codex returns.throughneeds codex 0.143.0 or later and isruntime_outdatedbefore anything is sent on older versions or when Codex does not report its version. A Codex fork reports no token totals, because its total includes the source's turns.forkinrefusedSessionOptions(newRefusableSessionOption).Antigravity: Gemini quota notices, whole-turn usage and credits (#982), fix
agy 1.5.12 can end a refused turn with a normal
end_turnwhose whole output is its "Individual quota reached ... Resets in 4h12m." notice. OAR now reports that turn asfailure: "quota"withresetsAt, but only when the entire native output is that exact notice and the reply carries no usage; quoting the notice inside an answer stayscompleted. A prompt RPC error carrying the same sentence also suppliesresetsAt. The reset has the precision of the smallest unit agy prints, so a retry at that time can still be refused.totalTokens - outputTokens, including cache reads; thought tokens count inside output; a reported zero cache write stays zero.creditsfrom agy's own/creditsanswer:{ available, balance }, withbalancea decimal string. Absent means OAR did not ask or could not read a number.usage_update.usedis the current context size on 1.5.12 with a real Gemini account (docs(antigravity): real Gemini context usage on 1.5.12 #981).Codex: quota reset times (#962), fix
Codex quota failures now carry
resetsAtfrom the current turn's exhausted window when it is attributable to this session's root turn, and from the provider body preserved in a remote-compaction HTTP 400. Conflicting resets, child-thread activity and streamed failures that lost the body stay without one.Native queries are bounded and clean up after themselves (#978), fix
The shared query deadline now covers startup, the native read and cleanup. An owned child process tree is stopped even when startup finishes late; at the deadline the caller returns while shutdown finishes; a completed read keeps its value if only cleanup is slow. This fixes droid and its tools staying alive after
authStatus()returnedunknownagainst a stalled Factory peer, and the same ownership gap in several model and skill readers, including Cursor while its SDK subprocess starts. OpenCode model listing applies the deadline to its version probe too and rejects an invalid budget before starting. Login subprocesses get the same process-tree shutdown, and Antigravitylogout()keeps a successful native logout when the status check after it fails.Process cleanup when a runtime runs as another user (#963, #964), fix
Contributed by builder (airwing). With a
sudo -u <worker>wrapper as the runtime command, signalling the worker's processes getsEPERM. That is no longer a failed cleanup: Codex's abort cleanup reports those processes asSessionCleanup.foreign. On POSIX, OAR no longer waits forever for output pipes that a leftover background process holds open after the root exits: it closes its ends after 2 s and names them in theexitedreason, leaves unread data to a busy reader, and stops watching after a further 60 s.dispose()after a native exit (#979), fixIf the native process exits on its own before the host calls
dispose()(seen on Pi RPC),dispose()now resolves at once instead of never answering. Concurrent callers share one disposal.Claude:
userInvocableonly from the skill's own command (#950), fixtruenow needs the skill's own entry in Claude's command list. A duplicated name, or a project skill shadowed by a builtin command, stays unknown, andfalseis claimed only for user and project settings skills.Also
OAR_<RUNTIME>_BINoverride is the only candidate when it is non-empty (docs(runtimes): an OAR_*_BIN override is the only candidate when set #980). OpenCode v1 automatic compaction over ACP is documented (docs(opencode): document v1 automatic compaction over ACP #969). Kimi docs match current adapter behaviour (docs(kimi): align runtime claims with current adapter behavior #957). November 18 runtime version check recorded (docs: record November 18 runtime version check #967).🤖 Generated with Claude Code