Repository navigation
fix: honor Pi 1.1.0 cancellation and update SDK pins - #246
Merged
Merged
Conversation
Merged
xxchan
added a commit
that referenced
this pull request
Oct 8, 2026
Release OAR and CLI 0.44.0. This PR changes only the two package version fields. **Hosts that use cursor: bump `@cursor/sdk` to exactly 1.0.37.** OAR's peer dependency is an exact pin and moves from 1.0.36 to 1.0.37 (#246). The CLI ships with 1.0.37. **Behavior change: pi cancellation** (#246) - pi's bundled SDK is now `@earendil-works/pi-coding-agent` ^1.1.0 (was ^1.0.2), which reports cancellation natively in `agent_settled.aborted`. - `abort()` now goes through the SDK's complete `AgentSession.abort()` path (retries, compaction and branch summaries included); it is still answered `accepted` at once. - A pi turn's `aborted` outcome now comes from pi's own flag, not from OAR's abort request. A turn that a pi extension cancels is now `aborted`; it used to read `completed`. An error from the SDK's abort is recorded as a `pi/abort_rejected` frame. - Sessions written by pi 1.0.4 resume on 1.1.0 with their id, model and history. **Docs and tests** - The `accepted` response for prompt, steer and queue now states its exception: a later `input_dropped` or `dropped` hands the input back to the caller (#244). - `SessionOptions.disallowedTools`: a model that calls a denied tool anyway gets the runtime's refusal (claude, pi, codex, antigravity), pinned by vendor tests; a resume that omits the list lifts the restriction except on antigravity, which keeps its saved filter (#245). - cursor: SDK 1.0.37 still keeps the 24-hour background-shell timer (cursor.md). Validation: all 13 checks passed on #246's final head (`8efd9c2`), #245's (`463bb36`) and #244's (`9f54237`), and each merged tree equals its CI tree. The 1.0.37 check covers the cursor login stand-in and adapter regressions; no real cursor session was run on 1.0.37 (experiments/runtime-version-checks/2026-10-08.md). After this PR passes CI and merges, tag its exact squash commit as `v0.44.0` to trigger npm trusted publishing. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: exe.dev user <[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.
Pi 1.1.0 reports cancellation in
agent_settled.aborted. OAR was bypassing the full SDK abort path and inferring cancellation only from its own requests, so the native flag could stay false after a host abort and an extension's abort could appear completed. Call the public SDK cancellation method without delaying the accepted response, and derive the outcome from the native flag.Raise both Pi dependency floors to
^1.1.0, select 1.1.0 in the workspace, and update the exact Cursor optional peer/dev/CLI pins to 1.0.37. Hosts using Cursor must install@cursor/[email protected]alongside the next OAR release; the CLI supplies it itself. Update the current version documentation and keep the evidence and migration requirements in the October 8 report.Validation:
CI=1 pnpm run check, build, and packed clean installation passed. The clean install used a temporary home and no account credentials.ctx.abort()without an OAR request. The pre-fix failures were reproduced and retained.Rebased onto current main, including the newly added denied-tool execution/resume regression in #245.