mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-15 02:49:33 +01:00
fix(mcp-sync): route tests never follow COPILOT_HOME, and docs name Copilot (#581)
The route test cleared only the registry CLIs' relocation vars, so with COPILOT_HOME exported it wrote its fixture into that real Copilot config. It now clears the sync-only tools' vars too, and Copilot's install probe goes through the test's own installed set instead of the machine's PATH. Docs: CLAUDE.md, the API reference and the Settings reference name COPILOT_HOME and the sync-only table; a missing comma in docs/cli-registry.md; the mcp-sync.ts overview and the Sync confirm mention Copilot. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
92e54163e0
commit
29d8ca16b4
6 files changed
+23
-9
No files matched your search
@@ -1235,7 +1235,7 @@ Object.assign(CodemanApp.prototype, {
|
||||
show('Apply or Save settings to turn MCP sync on first, then preview or sync.', 'save-first');
|
||||
return;
|
||||
}
|
||||
if (apply && !confirm('Add missing MCP servers to every installed, enabled CLI\'s config file? Env values and headers on those servers are copied too.')) return;
|
||||
if (apply && !confirm('Add missing MCP servers to every installed, enabled CLI\'s config file (and GitHub Copilot CLI\'s, when it is installed)? Env values and headers on those servers are copied too.')) return;
|
||||
show('Working…');
|
||||
const res = apply ? await this._apiPost('/api/mcp-sync', {}) : await this._api('/api/mcp-sync');
|
||||
let body = null;
|
||||
|
||||
Reference in new issue
Block a user