fix: install native Cursor hook and MCP config (#1543)

* fix: install native cursor hook and MCP config

* fix: avoid false healthy stdio mcp probes
This commit is contained in:
Affaan Mustafa
2026-04-21 18:35:21 -04:00
committed by GitHub
parent 8c422a76f4
commit 92e0c7e9ff
8 changed files with 249 additions and 52 deletions

View File

@@ -122,6 +122,15 @@ function runTests() {
)),
'Should preserve non-rule Cursor platform files'
);
assert.ok(
plan.operations.some(operation => (
operation.sourceRelativePath === '.mcp.json'
&& operation.destinationPath === path.join(projectRoot, '.cursor', 'mcp.json')
&& operation.kind === 'merge-json'
&& operation.strategy === 'merge-json'
)),
'Should materialize Cursor MCP config at the native project path'
);
assert.ok(
plan.operations.some(operation => (
operation.sourceRelativePath === '.cursor/rules/common-agents.md'