Skip to content

chore: release v0.32.0 - #184

Merged
xxchan merged 1 commit into
mainfrom
chore/release-0.32.0
Oct 7, 2026
Merged

xxchan merged 1 commit into
mainfrom
chore/release-0.32.0

Conversation

@xxchan

@xxchan xxchan commented Oct 7, 2026

Copy link
Copy Markdown
Member

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

New

  • SessionOptions.mcpServers on grok, kimi, opencode, antigravity and pi (feat(session): mcpServers on grok, kimi, opencode, antigravity and pi #181, part 2 of Session option to attach MCP servers (mcpServers), refused where a runtime can't #170; claude and codex shipped in 0.31.0):
    • grok, kimi, opencode, antigravity: ACP mcpServers on session/new / session/load / session/resume. An http entry is refused when initialize declares no mcpCapabilities.http (all four declare it). No agent keeps the servers across a resume: give them again.
    • antigravity refuses an entry with env or headers values: its server would store them in plain text in its conversation database, where they outlive the session. Entries without credentials attach.
    • pi: pi's own MCP extension, with servers registered for the session (registerMcpServer) and tools exposed directly; $ and ! in values are escaped so they arrive literally. Names must match [A-Za-z0-9_-] and not collide after pi's normalisation.
    • opencode: works together with the prompt options from 0.31.0.
    • cursor still refuses it, with the reason: no live run yet shows Cursor's agent calling the tool.
  • Name-clash and environment behavior per runtime are in the runtime matrix and each runtime page.

Validation: all 13 checks passed on #181's final head (07ea1f3); MCP vendor tests ran the real grok, kimi, opencode, antigravity CLIs (locally, OAR_TEST-gated) and the bundled pi SDK (CI) against aimock with stdio and http echo servers, on open and after resume, asserting no record holds a credential. After this PR passes CI and merges, tag its exact squash commit as v0.32.0 to trigger npm trusted publishing.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@xxchan
xxchan merged commit 403a21c into main Oct 7, 2026
12 of 13 checks passed
@xxchan
xxchan deleted the chore/release-0.32.0 branch October 7, 2026 07:22
xxchan added a commit that referenced this pull request Oct 7, 2026
…ows (#185)

The claude `mcpServers` name-clash vendor test (#178) removes its
`CLAUDE_CONFIG_DIR` scratch directory right after the session ends. On
the Windows claude-aimock job, claude and the user-scope MCP servers it
started can still be writing there as they exit, so `rmdir` failed with
`ENOTEMPTY` twice on the v0.32.0 release PR (#184, run 37586620255). The
assertions before it passed; only the cleanup failed.

This retries the removal (`maxRetries: 10, retryDelay: 300`), the same
as `sea-trial/harness/aimock.ts` does for codex's home. Test-only
change; no library code changes.

🤖 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]>
stamp-build Bot added a commit that referenced this pull request Nov 6, 2026
<!-- stamp:review:v1 -->
<sup><img
src="https://cdn.slock.ai/avatars/6aabf32c-20bc-4cba-b55a-2aa72b60999b/8ba4452ceb890f1930886ef4286fdb99.webp"
width="16" height="16" align="absmiddle" alt=""> <b>Otter</b> from
open-agent-runtime opened this pull request through
Stamp</sup><br><sup><a
href="https://stamp.build/review?receipt=prc_5fc172ada4680903a9a2e2ec15684487"><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 -->

DSH previously refused every `SessionOptions.mcpServers` entry. It now
accepts stdio command/args through native MCP client plugins in the
existing private invocation patch. Native model requests advertise the
tools; scripted-provider tool calls execute through DSH's MCP client,
and results reach both subsequent requests and OAR records. This
addresses the command/args path reported by `@⁠Ancienttwo` in #646.

Each OAR session owns its DSH process. User configuration stays intact,
concurrent sessions do not inherit each other's entries, and resume
requires entries to be supplied again. Native namespace collisions
reject session opening. HTTP and nonempty MCP env/headers remain
explicitly refused until their persistence boundary is audited; this
uses the existing `mcpServerCredentials` declaration. Names must satisfy
DSH's native format without renaming.

The initial failure probes exposed a necessary startup check: DSH's
global loader barrier settles even when a plugin fails. OAR now also
waits for each requested native plugin fiber and requires ACTIVE state.
Missing methods, inactive plugins, failed commands and collisions cannot
silently open a session without the requested tool. Failed startup and
disposal terminate the owned MCP children. Bridge JS still imports no
DSH package, and there is no ACP exchange or bundled DSH dependency.

[Reproducible probe and selected
results](https://github.com/botiverse/oar/blob/agent/otter/dsh-session-mcp/experiments/dsh-mcp/README.md)
include native tool results, resupplied/omitted resume and the
distinction between unchanged user configuration and ordinary DSH
session/cache writes. Persistence of command/args is also unaudited: do
not move tokens into `args`. The native ACTIVE enum check fails closed
if DSH changes its value; the latest-version vendor probe covers this
dependency.

Validation on Linux:

- DSH 0.2.1-rc.5 and 0.2.2-rc.1 each pass all 21 native vendor cases and
18 behavior cases, with one capability skip.
- New cases cover literal arguments and cwd, live session isolation,
configured servers, resume, actual child cleanup after dispose and
failed open, missing commands and namespace collisions. Startup failure
controls failed before the per-plugin check.
- Full check: 3,568 unit tests after rebasing over #648 and 18 mock
behavior cases. Build and clean packed-package consumption pass. Unit
controls also cover early typed refusal and missing/inactive native
loader capabilities.

Windows and macOS results await this PR's CI. Task #184; separate from
the 0.89.0 release. No package version or CI gate change.

---------

Co-authored-by: Otter <[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