fix(setup): drop stale Qwen tcp endpoints and name rewritten entry keys

Qwen prefers a tcp websocket endpoint over command, so a command entry that
still has tcp stays remote. Setup now removes that key. The approval plan
names startup_timeout_sec and Copilot tools when setup replaces them.
This commit is contained in:
Cursor Agent
2026-10-12 21:35:28 -04:00
committed by xeropresence
parent 0cd9f47ff1
commit 53ba7e7b31
5 changed files with 111 additions and 33 deletions
@@ -1525,6 +1525,9 @@ const REGISTRATION_REMOTE_KEYS: Readonly<Record<string, true>> = {
// Codex serializes `--oauth-resource` as `oauth_resource` and rejects it on
// a command entry (`oauth_resource is not supported for stdio`).
oauth_resource: true,
// Qwen treats `tcp` as a websocket endpoint and prefers it over `command`,
// so a command entry that still has `tcp` stays remote.
tcp: true,
};
/**