refacil-sdd-ai 4.0.7 → 4.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/hooks.js +2 -1
  2. package/package.json +1 -1
package/lib/hooks.js CHANGED
@@ -24,6 +24,7 @@ function writeCursorHooksJson(projectRoot, config) {
24
24
  }
25
25
 
26
26
  function installCursorHooks(projectRoot) {
27
+ cleanLegacySettingsHooks(projectRoot);
27
28
  const config = readCursorHooksJson(projectRoot);
28
29
  let changed = false;
29
30
 
@@ -195,7 +196,7 @@ function cleanLegacySettingsHooks(projectRoot) {
195
196
  const sddMarkers = ['_sdd', '_sdd_compact', '_sdd_review', '_sdd_notify'];
196
197
  const evts = ['SessionStart', 'PreToolUse', 'UserPromptSubmit', 'beforeSubmitPrompt', 'Stop', 'afterAgentResponse'];
197
198
 
198
- for (const ideDir of ['.cursor', '.claude']) {
199
+ for (const ideDir of ['.cursor']) {
199
200
  const settingsPath = path.join(projectRoot, ideDir, 'settings.json');
200
201
  if (!fs.existsSync(settingsPath)) continue;
201
202
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "refacil-sdd-ai",
3
- "version": "4.0.7",
3
+ "version": "4.0.8",
4
4
  "description": "SDD-AI: Specification-Driven Development with AI — metodologia de desarrollo con IA usando OpenSpec, Claude Code y Cursor",
5
5
  "bin": {
6
6
  "refacil-sdd-ai": "./bin/cli.js"