Skip to content

chore: release v0.121.0 - #983

Merged
stamp-build[bot] merged 1 commit into
mainfrom
agent/cindy/release-0.121.0
Nov 19, 2026
Merged

stamp-build[bot] merged 1 commit into
mainfrom
agent/cindy/release-0.121.0

Conversation

@stamp-build

@stamp-build stamp-build Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Cindy from open-agent-runtime opened this pull request through Stamp
View in Stamp →


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, ViewMessage kind: "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 reduceSessionView need a branch for kind: "activity" (type ViewActivity), and must replay a preceding start or a full checkpoint when they rebuild a running session.

SessionOptions.fork (#888), feature

With resume, fork opens 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.id is the copy's id (new type SessionFork). The root turn_ended event carries forkAnchor when the runtime has a usable cut point, and reduceSessionView puts it on ViewTurn.forkAnchor, so a host can offer "branch from here" without reading native frames.

  • Claude: --resume <source> --fork-session --session-id <new id>, so OAR assigns the copy's id, with through as --resume-session-at. There is no forkAnchor on an aborted turn, or when the turn's last root assistant message holds a tool call or is followed by a tool result. --fork-session and, with a fork, --resume-session-at stay refused in launchArgs.
  • Codex: thread/fork with lastTurnId; the copy's id is the thread id Codex returns. through needs codex 0.143.0 or later and is runtime_outdated before 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.
  • Every other runtime declares fork in refusedSessionOptions (new RefusableSessionOption).

Antigravity: Gemini quota notices, whole-turn usage and credits (#982), fix

agy 1.5.12 can end a refused turn with a normal end_turn whose whole output is its "Individual quota reached ... Resets in 4h12m." notice. OAR now reports that turn as failure: "quota" with resetsAt, but only when the entire native output is that exact notice and the reply carries no usage; quoting the notice inside an answer stays completed. A prompt RPC error carrying the same sentence also supplies resetsAt. The reset has the precision of the smallest unit agy prints, so a retry at that time can still be refused.

  • Token totals now come from the prompt reply, which covers every model call in the turn (two calls of 108 tokens report 216). Input is totalTokens - outputTokens, including cache reads; thought tokens count inside output; a reported zero cache write stays zero.
  • When every model group is used up, the account snapshot now includes credits from agy's own /credits answer: { available, balance }, with balance a decimal string. Absent means OAR did not ask or could not read a number.
  • The antigravity page records that usage_update.used is 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 resetsAt from 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() returned unknown against 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 Antigravity logout() 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 gets EPERM. That is no longer a failed cleanup: Codex's abort cleanup reports those processes as SessionCleanup.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 the exited reason, leaves unread data to a busy reader, and stops watching after a further 60 s.

dispose() after a native exit (#979), fix

If 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: userInvocable only from the skill's own command (#950), fix

true now 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, and false is claimed only for user and project settings skills.

Also

🤖 Generated with Claude Code

Co-authored-by: xxchan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@stamp-build
stamp-build Bot merged commit a41628f into main Nov 19, 2026
22 checks passed
@stamp-build
stamp-build Bot deleted the agent/cindy/release-0.121.0 branch November 19, 2026 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants