@nerviq/cli 1.2.3 → 1.2.5
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.
- package/package.json +2 -2
- package/src/activity.js +12 -12
- package/src/aider/activity.js +1 -1
- package/src/claudex-sync.json +3 -3
- package/src/codex/activity.js +1 -1
- package/src/codex/patch.js +1 -1
- package/src/codex/techniques.js +32 -34
- package/src/copilot/patch.js +1 -1
- package/src/copilot/premium.js +2 -1
- package/src/cursor/patch.js +1 -1
- package/src/cursor/premium.js +2 -1
- package/src/feedback.js +13 -8
- package/src/gemini/activity.js +1 -1
- package/src/gemini/patch.js +1 -1
- package/src/gemini/premium.js +3 -2
- package/src/gemini/techniques.js +14 -13
- package/src/harmony/advisor.js +5 -65
- package/src/harmony/audit.js +3 -0
- package/src/harmony/canon.js +99 -1
- package/src/harmony/cli.js +21 -0
- package/src/harmony/drift.js +2 -2
- package/src/harmony/memory.js +9 -8
- package/src/insights.js +1 -1
- package/src/opencode/activity.js +1 -1
- package/src/opencode/patch.js +1 -1
- package/src/opencode/techniques.js +15 -13
- package/src/shared/capabilities.js +194 -0
- package/src/state-paths.js +85 -0
- package/src/synergy/compensation.js +1 -20
- package/src/synergy/learning.js +20 -5
- package/src/synergy/routing.js +8 -14
- package/src/techniques.js +2981 -2929
- package/src/windsurf/patch.js +1 -1
- package/src/windsurf/premium.js +2 -1
package/src/windsurf/patch.js
CHANGED
|
@@ -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 + '.
|
|
192
|
+
const backupPath = fullPath + '.nerviq-backup';
|
|
193
193
|
fs.writeFileSync(backupPath, original, 'utf8');
|
|
194
194
|
fs.writeFileSync(fullPath, patched, 'utf8');
|
|
195
195
|
|
package/src/windsurf/premium.js
CHANGED
|
@@ -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 =
|
|
409
|
+
const snapshotDir = resolveProjectStateReadPath(dir, 'snapshots');
|
|
409
410
|
try {
|
|
410
411
|
const files = fs.readdirSync(snapshotDir)
|
|
411
412
|
.filter(f => f.endsWith('.json'))
|