Skip to content

chore(cursor): upgrade SDK to 1.3.1 after live validation - #725

Merged
stamp-build[bot] merged 1 commit into
mainfrom
agent/otter/cursor-sdk-1.3.1
Nov 11, 2026
Merged

stamp-build[bot] merged 1 commit into
mainfrom
agent/otter/cursor-sdk-1.3.1

Conversation

@stamp-build

@stamp-build stamp-build Bot commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

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


OAR's exact Cursor SDK peer still selects 1.2.0. Select 1.3.1 for the optional peer, development dependencies and CLI dependency after the full live session battery and native compaction probe pass using an existing login and gpt-5.4-nano.

Update the lockfile, existing release-age exceptions, installation documentation and version diagnostics together. Historical evidence keeps its original SDK versions. Session behavior, assertions and deadlines are unchanged.

The November 11 report includes reproducible commands and selected native results: twelve applicable live cases passed on the first run, the in-process runtime kill case was skipped, and ordinary text, completed summary and cancelled summary controls passed. The 199,207 reported tokens are an incomplete subtotal because four run results omit usage.

Validation: full repository check (3,832 tests and eighteen mock behavior cases), 119 targeted Cursor tests, both package builds and the clean-install consumer check passed. Live evidence is Linux x64 only. This does not establish fresh login/logout behavior, automatic context-threshold compaction, cross-SDK resume, or live macOS/Windows behavior; cross-platform CI is pending.

@stamp-build
stamp-build Bot merged commit df9dc26 into main Nov 11, 2026
40 checks passed
@stamp-build
stamp-build Bot deleted the agent/otter/cursor-sdk-1.3.1 branch November 11, 2026 03:02
@stamp-build stamp-build Bot mentioned this pull request Nov 11, 2026
stamp-build Bot added a commit that referenced this pull request Nov 11, 2026
<!-- 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_b4346693e3c47eae60e940c1fb2d21c3"><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 -->

Minor release: Codex refusals are typed (an outdated Codex, an unreadable config.toml, and refused turns); Antigravity gets sign-in and status through agy's own login; Cursor moves to SDK 1.3.1.

## Upgrade notes
- **Cursor hosts must install `@cursor/[email protected]`.** The optional peer is an exact version and moves from 1.2.0 to 1.3.1 (#725).
- **`RejectionCode` gains `session_not_found`.** An exhaustive TypeScript switch over it must handle the new value.

## Codex refusals (#726)
- **An outdated Codex fails the open as `RuntimeFailureError` with `code: "runtime_outdated"`** (`failure: "invalid_request"`). The message names the running version (from `initialize`'s `userAgent`, else the installation's probed version, else "version unreported") and the first release that has what OAR sent. That covers `serviceTier: "default"` or `"priority"` before 0.129.0 and `thread/settings/update` (setting a resumed thread's effort) before 0.133.0.
- **An unreadable `config.toml` fails the open with `code: "runtime_config_invalid"`.** The message keeps Codex's words, including the file, line and column. Codex starts on its defaults and refuses only at `thread/start` / `thread/resume`.
- **Refused `turn/start`, `turn/steer` and `thread/queue/add` keep Codex's JSON-RPC error as `native` and are classified by its code.**
  - `thread not found` is the new rejection code `session_not_found`. This process no longer has the thread, so open a new Session with `resume`.
  - Input over Codex's limit is `runtime_refused` with `failure: "input_too_large"`.
  - A full request queue is `runtime_refused` with `failure: "overloaded"`.
  - A configuration that does not load, or a model provider the thread cannot use, is `runtime_refused` with `failure: "invalid_request"`.
  - Anything else stays `runtime_refused` without a class.
- **`failure` is new on the rejected response body, on `ControlOutcome`, and on rejected `DeliverResult` and `SteerOrQueueResult`.** `RuntimeFailureCode` is exported.
- Evidence: nine npm releases between 0.118.0 and 0.135.0, and 0.154.0, over raw app-server stdio ([probe](https://github.com/botiverse/oar/blob/main/experiments/codex-old-releases/README.md)), plus the 0.167.0 source for the turn/start paths. `docs/runtimes/codex.md` also notes that the Codex Desktop CLI can be older than the `codex` on PATH.

## Antigravity sign-in and status (#720)
- **`login`** runs `agy acp --login`. It relays agy's Google URL as `auth_url`, then asks the host with a `manual_code` prompt for the authorization code or the landing URL. OAR writes the answer only to agy's stdin, never reads or writes the credential, and asks again on a blank answer. With `openBrowser: false`, a do-nothing launcher keeps the browser closed on Linux (checked live) and macOS (from reading agy's binary, not run); on Windows, agy starts its browser launcher by absolute path, so the login returns `browser_suppression_unavailable` before anything runs.
- **`authStatus`** runs `agy models`. It reports `logged_in`, or `logged_out` on agy's "Please sign in", and `unknown` otherwise.
- **No `logout`**: agy refuses `/logout` outside its interactive UI, and OAR does not delete the token itself.
- This reverses OAR's earlier no-login stance for Antigravity, at the project owner's decision (`docs/design/decisions.md`). Google warns that third-party access with an Antigravity login breaks its terms; its [Antigravity terms](https://antigravity.google/terms) (section 6) name it as grounds for suspending the Antigravity and/or Gemini CLI accounts. Whether a host offers this is the host's and the user's call.
- Live status: the URL and prompt shape come from agy 1.5.5. A full successful sign-in through OAR has not been run yet; the first one will happen in Raft.

## Other
- Grok's Windows vendor test now runs a real slow command (#722).
- November 10 and 11 native runtime checks and OpenCode cleanup notes (#724, #725).

🤖 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.

0 participants