Skip to content

chore: release v0.31.0 - #180

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

xxchan merged 1 commit into
mainfrom
chore/release-0.31.0

Conversation

@xxchan

@xxchan xxchan commented Oct 7, 2026

Copy link
Copy Markdown
Member

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

New

  • SessionOptions.mcpServers (feat(session): mcpServers attaches MCP servers to one session on claude and codex #178, part 1 of Session option to attach MCP servers (mcpServers), refused where a runtime can't #170): MCP servers attached to one session, in ACP's McpServer shape (stdio {name, command, args?, env?} or http {name, type: "http", url, headers?}; no SSE). They are added on top of the runtime's own servers, never written to its configuration, and must be given again on resume. env and headers values never reach a record, event or error.
    • claude: --mcp-config from a 0600 file in a fresh 0700 directory, deleted when the process ends; a same-named user server is replaced for that session.
    • codex: thread/start / thread/resume config overrides; codex merges a same-named user entry field by field, so OAR always sets args and enabled = true; names outside ^[\w:@/.-]+$ are refused before codex starts.
    • Every other runtime (cursor, pi, grok, kimi, opencode, antigravity, morph) refuses a non-empty list with UnsupportedOptionError until its channel is verified.
  • opencode systemPrompt / appendSystemPrompt (feat(opencode): carry session prompts through native configuration #179, closes ACP runtimes: use per-session launch flags for options ACP doesn't carry, instead of refusing #171 for opencode): carried through opencode's own OPENCODE_CONFIG_CONTENT. systemPrompt replaces the prompt of the agent the session actually uses (the saved agent on resume), verified against the mode opencode reports; appendSystemPrompt adds a session-owned instructions file after the user's own. Refused when OPENCODE_CONFIG_CONTENT is already set, for an empty systemPrompt, and for a saved agent that no longer exists. Prompt text is passed literally ({env:…} / {file:…} are not expanded).

Validation: all 13 checks passed on the final heads of #178 (da06902) and #179 (41c9761); claude and codex MCP attachment run against the real CLIs with stdio and http echo servers. After this PR passes CI and merges, tag its exact squash commit as v0.31.0 to trigger npm trusted publishing.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@xxchan
xxchan merged commit a29dbdc into main Oct 7, 2026
13 checks passed
@xxchan
xxchan deleted the chore/release-0.31.0 branch October 7, 2026 06:06
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.

ACP runtimes: use per-session launch flags for options ACP doesn't carry, instead of refusing

1 participant