auto-update
Pull the latest ECC repo changes and reinstall the current managed targets.
Auto Update
Update ECC from its upstream repo and regenerate the current context’s managed install using the original install-state request.
Usage
# Preview the update without mutating anythingECC_ROOT="${CLAUDE_PLUGIN_ROOT:-$(node -e "var r=(()=>{var e=process.env.CLAUDE_PLUGIN_ROOT;if(e&&e.trim())return e.trim();var p=require('path'),f=require('fs'),h=require('os').homedir(),d=p.join(h,'.claude'),q=p.join('scripts','lib','utils.js');if(f.existsSync(p.join(d,q)))return d;for(var s of [['ecc'],['ecc@ecc'],['marketplace','ecc'],['everything-claude-code'],['everything-claude-code@everything-claude-code'],['marketplace','everything-claude-code']]){var l=p.join(d,'plugins',...s);if(f.existsSync(p.join(l,q)))return l}try{for(var g of ['ecc','everything-claude-code']){var b=p.join(d,'plugins','cache',g);for(var o of f.readdirSync(b,{withFileTypes:true})){if(!o.isDirectory())continue;for(var v of f.readdirSync(p.join(b,o.name),{withFileTypes:true})){if(!v.isDirectory())continue;var c=p.join(b,o.name,v.name);if(f.existsSync(p.join(c,q)))return c}}}}catch(x){}return d})();console.log(r)")}"node "$ECC_ROOT/scripts/auto-update.js" --dry-run
# Update only Cursor-managed files in the current projectnode "$ECC_ROOT/scripts/auto-update.js" --target cursor
# Override the ECC repo root explicitlynode "$ECC_ROOT/scripts/auto-update.js" --repo-root /path/to/everything-claude-codeNotes
- This command uses the recorded install-state request and reruns
install-apply.jsafter pulling the latest repo changes. - Reinstall is intentional: it handles upstream renames and deletions that
repair.jscannot safely reconstruct from stale operations alone. - Use
--dry-runfirst if you want to see the reconstructed reinstall plan before mutating anything.