fix: namespace cursor agent installs

This commit is contained in:
Affaan Mustafa
2026-04-30 02:12:24 -04:00
committed by Affaan Mustafa
parent 5881554a1c
commit e1d6d853f7
9 changed files with 121 additions and 7 deletions

View File

@@ -213,7 +213,10 @@ function runTests() {
assert.strictEqual(plan.installRoot, targetRoot);
assert.ok(operationFor(plan, path.join('.cursor', 'rules', 'common-style.md')));
assert.ok(operationFor(plan, path.join('.cursor', 'rules', 'typescript-style.md')));
assert.ok(operationFor(plan, path.join('.cursor', 'agents', 'planner.md')));
assert.ok(operationFor(plan, path.join('.cursor', 'agents', 'ecc-planner.md')));
assert.ok(!plan.operations.some(operation => (
operation.destinationPath.endsWith(path.join('.cursor', 'agents', 'planner.md'))
)));
assert.ok(operationFor(plan, path.join('.cursor', 'skills', 'demo', 'SKILL.md')));
assert.ok(operationFor(plan, path.join('.cursor', 'commands', 'plan.md')));
assert.ok(operationFor(plan, path.join('.cursor', 'hooks', 'hook.js')));