Skip to content

chore: release v0.52.0 - #306

Merged
xxchan merged 1 commit into
mainfrom
release/v0.52.0
Oct 10, 2026
Merged

xxchan merged 1 commit into
mainfrom
release/v0.52.0

Conversation

@xxchan

@xxchan xxchan commented Oct 10, 2026

Copy link
Copy Markdown
Member

Release OAR and CLI 0.52.0. This PR changes only the two package version fields.

Added: streamed tool arguments (#299, #302)

  • claude streams a tool call's arguments while the model writes them. A streamed call now starts with tool_call_started without input. Each fragment arrives as a new append-only tool_call_input_delta { callId, delta }, where delta is claude's raw partial_json text and may be incomplete JSON. The complete arguments then arrive as tool_call_input, replacing the fragments.
  • SessionView: a tool part's input grows with the fragments and carries inputPartial: true until the complete input arrives. An interrupted call keeps inputPartial. OAR never parses partial JSON; a host that renders early uses a tolerant parser and acts only once inputPartial clears.
  • Only claude streams arguments. Its subagents' tool calls, codex and the ACP runtimes still give the whole input at once.

Fixed

Behavior changes

  • A claude tool_call_started may now carry no input; read the later tool_call_input (or the view) before parsing arguments. Hosts that already handle ACP runtimes, whose input also arrives later, are unaffected.
  • classifyTool should be given only complete input; tool-groups already skips partial input.
  • Hosts with an exhaustive switch over event kinds need a case for tool_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 as v0.52.0 to trigger npm trusted publishing.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@xxchan
xxchan merged commit 99d63bf into main Oct 10, 2026
17 checks passed
@xxchan
xxchan deleted the release/v0.52.0 branch October 10, 2026 05:45
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]>
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.

1 participant