Skip to content

chore: release v0.116.0 - #917

Merged
stamp-build[bot] merged 1 commit into
mainfrom
agent/cindy/release-0.116.0
Nov 18, 2026
Merged

stamp-build[bot] merged 1 commit into
mainfrom
agent/cindy/release-0.116.0

Conversation

@stamp-build

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

Copy link
Copy Markdown
Contributor

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


Kimi's read-only queries no longer risk clearing the user's Kimi login, concurrent first Kimi Web starts and concurrent OpenCode starts no longer fail each other, and the Cursor SDK peer moves to 1.4.1.

Kimi: read-only queries could clear the user's login (#913), fix

With an expired Kimi access token, the short-lived kimi web process OAR starts for skills() (and accountUsage() on Linux/macOS) ran Kimi's default background model-catalog refresh. That refresh could rotate the OAuth refresh token on the server, and OAR then stopped the process before Kimi saved the replacement. A later refresh, such as the next usage read (by Kimi's source, also a session or the user's own kimi), sent the old token, was rejected, and Kimi wrote its revoked state: access and refresh tokens both empty, so the user had to log in again. One skills read was enough; no concurrency was needed.

  • Both read-only Web processes now start with KIMI_CODE_MODEL_CATALOG_REFRESH_ON_START=0 and KIMI_CODE_MODEL_CATALOG_REFRESH_INTERVAL_MS=0 in that child's environment only. The caller's environment and the user's Kimi configuration are unchanged. A usage read that needs a fresh token still refreshes once through /oauth/usage under Kimi's own lock.
  • Measured with Kimi 2.6.3 against a local OAuth server that rotates refresh tokens: before, 3/3 sequential skills-then-usage reads lost the login; after, 3/3 sequential and 3/3 concurrent reads kept it, with one explicit refresh. No real account was used.
  • Not covered: a usage refresh interrupted by a deadline, crash or termination can still lose its replacement (graceful native shutdown is separate follow-up work); Kimi session processes and Kimi processes started outside OAR are unchanged.
  • Hosts that set KIMI_DISABLE_OAUTH_LOCK=1 for usage reads: that avoids usage-side writes, but it could not undo a token already lost by an earlier skills read. Upgrading fixes the skills side.

Kimi: concurrent first Web starts (#912), fix

This covers the read-only Web processes behind skills() and accountUsage(); Kimi ACP sessions are not gated. Two Kimi Web processes starting against one Kimi home with no server.token yet could each create a token, and the first process then rejected its own printed Web bearer token with HTTP 401. OAR now lets only one such start proceed per resolved Kimi home within one OAR process, until it is ready, exits or fails; the others wait within the caller's original deadline (in six ordinary cold pairs on Kimi 2.6.3, the second start began a median 1.9 s after the first), cancellation still works, and failed starts are not retried. A home that already has a non-empty token is not gated. Controlled Kimi 2.4.1 and 2.6.3 races: 3/6 requests failed before, 0/6 after. Several OAR processes sharing one Kimi home are not coordinated.

OpenCode: concurrent starts sharing a data directory (#905), fix

OpenCode could exit with database is locked when two processes started at once on one data directory: one was recovering the SQLite WAL while the other ran its first WAL statement before setting a busy timeout. OAR now serializes OpenCode ACP startup per data directory, from spawn until initialize answers; sessions still run concurrently. In a 12-open reproduction on an unchanged OpenCode: 5/12 failed before, 0/12 after; a waiting start took a median 1.66 s longer, inside the existing 60 s initialize deadline. Several OAR processes sharing one data directory are not coordinated.

Cursor: SDK peer 1.4.1 (#911), dependency change

The exact optional peer @cursor/sdk moves from 1.4.0 to 1.4.1. Hosts that use Cursor through OAR install @cursor/[email protected]; the oar CLI depends on it and installs it. On Linux with a real login and gpt-5.4-nano, all 12 applicable live scenarios and the 3 tool-denial rounds passed once each; offline login (11), configuration (6) and skills (2) checks passed.

Also

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@stamp-build
stamp-build Bot merged commit 867269c into main Nov 18, 2026
22 checks passed
@stamp-build
stamp-build Bot deleted the agent/cindy/release-0.116.0 branch November 18, 2026 01:12
@stamp-build

stamp-build Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

New failure in post-merge full tests: workflow ci on branch main after PR 917 merged.

Newly failing:

  • check (windows-latest): sea-trial/vendor/antigravity-skills.vendor.test.ts > Antigravity native skill query > native metadata, plugin identity and invocation flags without a saved con…

Please fix. See logs: stamp run view 44213963146 --repo botiverse/oar --log-failed

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