v1.12.0 — Auto-Setup, Comprehensive AI Instructions, Refactoring
What's New
Auto-Setup on Install
npm install -g aidex-mcp now automatically registers AiDex with all detected AI clients (Claude Code, Claude Desktop, Cursor, Windsurf, Gemini CLI, VS Code Copilot) and installs AI instruction files (CLAUDE.md, GEMINI.md). No more manual aidex setup needed.
- Opt-out:
AIDEX_NO_SETUP=1 npm install -g aidex-mcporCIenv var - Graceful fallback if auto-setup fails
Comprehensive AI Instructions
The instruction block installed by aidex setup now covers all 27 tools with:
- Decision tree:
.aidex/exists → STOP, use AiDex instead of Grep - Explicit ❌/✅ examples
- Search modes explained (exact/contains/starts_with)
- Session notes, task backlog, global search, screenshots — all with examples
- Duplicate detection: won't add a second block if manual AiDex instructions exist
Code Refactoring
- Extracted shared utilities (
shared.ts,global-shared.ts) — ~200 lines of boilerplate eliminated across 10 command files - DB fixes: transactions for bulk operations, N+1→batch query, stats 7→1 query
- SQL injection fix in
global-signatures.ts
Full Changelog: https://github.com/CSCSoftware/AiDex/blob/master/CHANGELOG.md