@nerviq/cli 1.2.3 → 1.2.6

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.
@@ -189,7 +189,7 @@ function applyPatch(dir, filePath, patchFn, options = {}) {
189
189
  return { success: true, reason: 'dry run', preview, unchanged: false };
190
190
  }
191
191
 
192
- const backupPath = fullPath + '.claudex-backup';
192
+ const backupPath = fullPath + '.nerviq-backup';
193
193
  fs.writeFileSync(backupPath, original, 'utf8');
194
194
  fs.writeFileSync(fullPath, patched, 'utf8');
195
195
 
@@ -10,6 +10,7 @@
10
10
  const path = require('path');
11
11
  const { WINDSURF_DOMAIN_PACKS } = require('./domain-packs');
12
12
  const { WINDSURF_MCP_PACKS } = require('./mcp-packs');
13
+ const { resolveProjectStateReadPath } = require('../state-paths');
13
14
 
14
15
  // ---------------------------------------------------------------------------
15
16
  // 1. Multi-Pack Composition Engine
@@ -405,7 +406,7 @@ const GATE_THRESHOLDS = {
405
406
 
406
407
  function getWindsurfHistory(dir, limit = 20) {
407
408
  const fs = require('fs');
408
- const snapshotDir = path.join(dir, '.claude', 'claudex-setup', 'snapshots');
409
+ const snapshotDir = resolveProjectStateReadPath(dir, 'snapshots');
409
410
  try {
410
411
  const files = fs.readdirSync(snapshotDir)
411
412
  .filter(f => f.endsWith('.json'))