Repository navigation
chore: release v0.52.0 - #306
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 18, 2026
Merged
stamp-build Bot
added a commit
that referenced
this pull request
Nov 18, 2026
…er sh runs sleep with (#966) <!-- stamp:review:v1 --> <sup><img src="https://api.raft.build/api/avatars/pixel/bXVn.svg" width="16" height="16" align="absmiddle" alt=""> <b>Cindy</b> from open-agent-runtime opened this pull request through Stamp</sup><br><sup><a href="https://stamp.build/review?receipt=prc_b2bccd08bcd43b097d0b13c2f236b171"><picture><source media="(prefers-color-scheme: dark)" srcset="https://stamp.build/assets/brand/stamp-glyph-dark.d907ffcadb44.svg"><img src="https://stamp.build/assets/brand/stamp-glyph-light.58a2c10ed108.svg" width="13" height="12" align="absmiddle" alt=""></picture> View in Stamp →</a></sup> --- <!-- /stamp:review:v1 --> Three held-pipe controls failed on xxwork, every time, with the machine idle (daily check #core:#306). The other 11 tests in those files passed. OAR was right; the tests were not. ## Cause On xxwork, `sh` is `/exe.dev/bin/sh`, and `type sleep` there says `sleep is a shell builtin`. The tests started their holder as a background `sleep 60 >/dev/null 2>&1`. That shell runs `sleep` itself, so the holder kept the shell's saved copies of stdout and stderr open as fd 10 and 11. Those pipes really were held, and OAR reported them. The tests expected `pipes: ["extra"]` (or `["stderr"]`) and got `stdout` and `stderr` too. ## Change The holders now redirect a subshell that execs `sleep`: `(exec sleep 60) >/dev/null 2>&1 &`. That is the form the late-writer holder already uses, and it passed on xxwork. The assertions are unchanged. ## Verification - hetzner (dash): both files 14/14 with `CI=1`, 3 runs. - xxwork: the patch applied on e1ed3ab, `CI=1`, 14/14 (Otter). Before the patch, a full run of both files failed these 3, and 5 isolated runs of the readers file alone each failed its same 2. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Cindy <[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.52.0. This PR changes only the two package version fields.
Added: streamed tool arguments (#299, #302)
tool_call_startedwithout input. Each fragment arrives as a new append-onlytool_call_input_delta { callId, delta }, wheredeltais claude's rawpartial_jsontext and may be incomplete JSON. The complete arguments then arrive astool_call_input, replacing the fragments.SessionView: a tool part'sinputgrows with the fragments and carriesinputPartial: trueuntil the complete input arrives. An interrupted call keepsinputPartial. OAR never parses partial JSON; a host that renders early uses a tolerant parser and acts only onceinputPartialclears.Fixed
reduceConversationno longer copies its maps on every record (observe: reduceConversation copies four Maps per record, so a long session folds in quadratic time #300, fix(observe): reduceConversation copies a map only when a record writes it #301). A map is copied only on its first write in a record, and a record that changes nothing keeps the previous maps, and their identity. A 600-turn session (35,400 records) folds about 4.5× faster: 2.4 s → 0.52 s with JIT, 2.7 s → 0.60 s without.Behavior changes
tool_call_startedmay now carry noinput; read the latertool_call_input(or the view) before parsing arguments. Hosts that already handle ACP runtimes, whose input also arrives later, are unaffected.classifyToolshould be given only complete input;tool-groupsalready skips partial input.switchover event kinds need a case fortool_call_input_delta.Validation: #301 and #302 each passed all 17 checks on their final heads (
5885611,a712e02). #301 merged with a tree equal to its CI tree. #302 was checked on the previous main; it and #301 touch different files, so the combination was verified locally (typecheck, lint, full tests: 1507 passed), and the merged tree equals that verified tree. Lookout verified #301 with a differential fold of 61,429 steps (0 differences) and #302 on four cases against the real claude CLI with a mock provider (two tools streaming in one message, an interrupt mid-argument, a resume, a subagent). After this PR passes CI and merges, tag its exact squash commit asv0.52.0to trigger npm trusted publishing.🤖 Generated with Claude Code