The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
fix: move ajv to dependencies and auto-install deps in install scripts
Seunghyun Woo9c381b4469f1
diff --git a/install.ps1 b/install.ps1index 7a5af5bf9..ea9b09c31 100644--- a/install.ps1+++ b/install.ps1@@ -34,5 +34,14 @@ while ($true) {$scriptDir = Split-Path -Parent $scriptPath$installerScript = Join-Path -Path (Join-Path -Path $scriptDir -ChildPath 'scripts') -ChildPath 'install-apply.js'+# Auto-install Node dependencies when running from a git clone+$nodeModules = Join-Path -Path $scriptDir -ChildPath 'node_modules'+if (-not (Test-Path -LiteralPath $nodeModules)) {+ Write-Host '[ECC] Installing dependencies...'+ Push-Location $scriptDir+ try { & npm install --no-audit --no-fund --loglevel=error }+ finally { Pop-Location }+}+& node $installerScript @argsexit $LASTEXITCODEdiff --git a/install.sh b/install.shindex d0abc14f3..31925ddeb 100755--- a/install.sh+++ b/install.sh@@ -14,4 +14,10 @@ while [ -L "$SCRIPT_PATH" ]; dodoneSCRIPT_DIR="$(cd "$(dirname "$SCRIPT_PATH")" && pwd)"+# Auto-install Node dependencies when running from a git clone+if [ ! -d "$SCRIPT_DIR/node_modules" ]; then+ echo "[ECC] Installing dependencies..."+ (cd "$SCRIPT_DIR" && npm install --no-audit --no-fund --loglevel=error)+fi+exec node "$SCRIPT_DIR/scripts/install-apply.js" "$@"diff --git a/package.json b/package.jsonindex 5e82a1b30..b9a6ab12b 100644--- a/package.json+++ b/package.json@@ -110,11 +110,11 @@},"dependencies": {"@iarna/toml": "^2.2.5",+ "ajv": "^8.18.0","sql.js": "^1.14.1"},"devDependencies": {"@eslint/js": "^9.39.2",- "ajv": "^8.18.0","c8": "^10.1.2","eslint": "^9.39.2","globals": "^17.1.0",