Repository navigation
chore: release v0.32.0 - #184
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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]>
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.
Release OAR and CLI 0.32.0. This PR changes only the two package version fields.
New
SessionOptions.mcpServerson 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):mcpServersonsession/new/session/load/session/resume. An http entry is refused wheninitializedeclares nomcpCapabilities.http(all four declare it). No agent keeps the servers across a resume: give them again.envorheadersvalues: its server would store them in plain text in its conversation database, where they outlive the session. Entries without credentials attach.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.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 asv0.32.0to trigger npm trusted publishing.🤖 Generated with Claude Code