fix(setup): drop stale Codex oauth_resource and disclose remote replacement
A command entry that still carries oauth_resource is rejected by Codex for stdio. Setup now treats that key as remote and removes it. The approval plan keeps other fields only for a local command entry and says a remote entry's other fields are replaced.
This commit is contained in:
committed by
xeropresence
parent
b478a8b011
commit
502e665212
@@ -63,12 +63,12 @@ Detected provider settings replace only matching environment keys.
|
||||
Other fields you added to that entry, such as OMP's `timeout` or Codex's
|
||||
`tool_timeout_sec`, are kept. Setup rewrites only the launch keys (`command`,
|
||||
`args`, `type` or `transport`, and the environment map) and REA's
|
||||
client-specific keys. It removes remote-server keys such as `url` and `headers`
|
||||
that contradict the local command, and an entry-level `enabled: false` or
|
||||
(outside Grok Build) `disabled: true`, so the registration is active. An
|
||||
existing entry without a `command` is a remote server and is replaced whole. A
|
||||
legacy OpenCode entry moved into the native `mcp.servers` table keeps only its
|
||||
environment.
|
||||
client-specific keys. It removes remote-server keys such as `url`, `headers`,
|
||||
and `oauth_resource` that contradict the local command, and an entry-level
|
||||
`enabled: false` or (outside Grok Build) `disabled: true`, so the registration
|
||||
is active. An existing entry without a `command` is a remote server and is
|
||||
replaced whole. A legacy OpenCode entry moved into the native `mcp.servers`
|
||||
table keeps only its environment.
|
||||
Setup and doctor report a malformed REA environment map or invalid runtime
|
||||
setting before setup writes files. Repair the named setting in the client
|
||||
configuration; setup does not silently discard the rest of the map.
|
||||
|
||||
Reference in New Issue
Block a user