Skip to content

CSCSoftware/AiDex

v1.18.0 Breaking

This release includes breaking changes for platform teams planning a safe upgrade.

Published 1mo MCP Developer Tools
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

ai-coding claude claude-code code-indexing code-search copilot
+10 more
cursor developer-tools gemini gemini-cli mcp mcp-server sqlite tree-sitter vscode windsurf

Summary

AI summary

HCL/Terraform language support added and tree-sitter upgraded to 0.25.

Full changelog

Highlights

  • HCL/Terraform language support (#9) — AiDex now indexes .tf, .tfvars, and .hcl files. 12 supported languages total.
  • tree-sitter 0.21 → 0.25 (#8) — All 10 grammar packages bumped to latest. Better parser accuracy across all languages.

Big thanks to @vnz (Vincent Leraitre) for both contributions! 🎉

What's New

HCL/Terraform indexing

resource "aws_instance" "web" { ... }
variable "region" { ... }
module "vpc" { ... }

Becomes searchable as:

| Construct | Indexed As |
|-----------|------------|
| Blocks (resource, module, variable, output, data, locals, provider) | Types with dotted names — e.g. resource.aws_instance.web |
| Function calls | Methods |
| Attributes | Properties |
| Block labels (incl. keyword-like names: default, root, type, data) | Items (searchable) |

  • Terraform projects auto-discovered via *.tf and .terraform.lock.hcl markers in aidex_global_init
  • .terraform/ directory automatically excluded
  • Uses @tree-sitter-grammars/tree-sitter-hcl

tree-sitter modernization

  • Bumped tree-sitter from ^0.21.0 to ^0.25.0
  • All 10 grammar packages updated to latest compatible versions
  • Refactored: replaced per-language switch blocks with a centralized GRAMMAR_MAP — adding a new language is now a one-line change
  • File watcher in the viewer now uses parser.isSupported() instead of a hardcoded extension regex — auto-tracks every supported language

Upgrade Notes

  • Node.js 22+ recommended. tree-sitter 0.25 requires native compilation; Node 24 not yet compatible. .node-version pins to 22.
  • tree-sitter-c-sharp pinned to ^0.23.1: 0.23.5+ switched to ESM-only with top-level await, breaking CJS imports.
  • No breaking changes to the MCP API. Existing indexes will be transparently re-indexed on next aidex_init / aidex_session.

Validation

Cross-language regression tested against 6 sample projects (C, C++, Go, Java, PHP, Ruby): no regressions, C++ parser now detects 6 additional types and 3 additional methods thanks to the newer grammar.

Install / Upgrade

npm install -g [email protected]

Or for an existing install:

npm update -g aidex-mcp

After upgrade, restart your MCP client (Claude Code, Claude Desktop, Cursor, etc.) so the new version loads.


Full Changelog: https://github.com/CSCSoftware/AiDex/compare/v1.17.1...v1.18.0

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track CSCSoftware/AiDex

Get notified when new releases ship.

Sign up free

About CSCSoftware/AiDex

Persistent code index MCP server using Tree-sitter for fast, precise code search. Replaces grep with ~50 token responses instead of 2000+. Supports 11 languages including C#, TypeScript, Python, Rust, and Go.

All releases →

Beta — feedback welcome: [email protected]