Repository navigation
docs(mcp): explain PowerShell launch environment scope - #8762
ShuaixinHuang wants to merge 2 commits into
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
[Low impact] This documentation-only PR appears safe to merge. SummaryClarifies how PowerShell launch variables affect REA and its clients.
Reviews (2) · Last reviewed commit: "docs(mcp): qualify saved setup selection..." · Reviewed by Greptile |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6b9acc6f0f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| To select this profile for an agent, set `REA_MCP_INPUT_SCHEMA_PROFILE` in that | ||
| client's existing REA registration `env` object and restart the client, preserving |
There was a problem hiding this comment.
Account for OpenCode's
environment registration field
For the supported OpenCode client, both registration dialects use environment, not env; parseClientConfiguration() explicitly selects that member in src/application/ClientConfigurationDocument.ts:241. If an OpenCode reader is switching an existing full profile to compact, following this instruction writes to the wrong member and leaves environment.REA_MCP_INPUT_SCHEMA_PROFILE unchanged, so the intended profile selection does not take effect. Qualify the env instruction by client or explicitly call out OpenCode's environment object.
Useful? React with 👍 / 👎.
Summary
Add a PowerShell example to the client configuration guide for selecting an MCP input-schema profile. Explain that a terminal assignment affects that shell and its children, while an agent needs the setting in its own REA registration and a restart.
Problem and expected behavior
POSIX-style
NAME=value commandsyntax is not a PowerShell command prefix. Windows readers also need to distinguish a successful terminal doctor run from the environment used by an already running desktop client.Change and scope
One documentation page gains the
$env:example, previous-value restoration guidance, client-specificenv/ OpenCodeenvironmentfields, the supported selections persisted by setup, and a link to launch-environment verification. This is an independent documentation clarification; no issue is claimed fixed and no runtime behavior changes. Maintainer capability/authority scope decision: not applicable.Validation performed
npm run docs:check— passed, including 9 README consistency tests.npm run docs:build— passed; the rendered page contains the new section anchor.Compatibility, safety, and release
No runtime, schema, package, persistent environment or client-configuration changes. The example's process-scoped setting and restoration instructions are explicit.
Author readiness
Human owner: @ShuaixinHuang
Before merge
type(scope): outcome.