Skip to content

chore: release v0.54.3 - #335

Merged
xxchan merged 1 commit into
mainfrom
chore/release-0.54.3
Oct 10, 2026
Merged

xxchan merged 1 commit into
mainfrom
chore/release-0.54.3

Conversation

@xxchan

@xxchan xxchan commented Oct 10, 2026

Copy link
Copy Markdown
Member

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

Fixed: claude's own turn stays separate from a prompt written just before it (#326, #334)

  • When a background task finishes, claude starts a turn of its own to report it. A host prompt written a few milliseconds after the task's notification could see that turn's root system/init arrive before the prompt's command_lifecycle queued receipt. OAR could not yet tell that the init was not the prompt's, and did not correct it when queued arrived. SessionView then put claude's report inside the prompt's turn ("» What is 2+2?" → "The background command finished…" → "4" in a second turn with no input), and status followed it. promptAndWait and awaitTurnEnd(…, inputId) already returned the right answer.
  • OAR now keeps such an init unclaimed until the receipt arrives. When queued proves the prompt has not started, the same frame carries input_queued followed by turn_active without an inputId, so claude's report is its own turn and the prompt sits before the turn that answers it. Only an init seen since that write, with no native turn already running and not claimed by started, counts; a repeated init or queued reports nothing again. Live views and record replay agree.
  • While claude's own turn runs, status stays running instead of dropping to waiting when the prompt is queued.

Behavior changes

  • In that timing, a turn_active without inputId now follows input_queued in the queued frame. Records written by 0.54.2 and earlier replay as before.

Validation: #334 passed all 17 checks on its final head, and its merged tree equals its CI tree. Its regressions replay two recordings of real claude 2.1.292 with a scripted provider (a prompt written 20 ms after a background task's notification, which saw init first, and 0 ms, which saw queued first), plus a prompt written while the task still runs and cancellation while claude's turn continues. Lookout swept the delay live with no account: on claude 2.1.292 seven runs from 15 to 30 ms and on 2.1.296 fifteen runs from 15 to 45 ms, catching the init-first order three to four times on each version. Every run gave the right view and promptAndWait returned "4". Ferryman's recording from Ferry on 0.53.0 showed the same order. After this PR passes CI and merges, tag its exact squash commit as v0.54.3 to trigger npm trusted publishing.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@xxchan
xxchan merged commit b36b439 into main Oct 10, 2026
17 checks passed
@xxchan
xxchan deleted the chore/release-0.54.3 branch October 10, 2026 11:02
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