This release includes breaking changes for platform teams planning a safe upgrade.
✓ No known CVEs patched in this version
Topics
+10 more
Affected surfaces
ReleasePort's take
Light signalFunction name extraction for C and C++ parsers is now accurate, indexing previously missed methods.
Why it matters: Ensures all function names are correctly indexed in version v2.1.1; critical for code analysis tooling accuracy.
Summary
AI summaryFixed C/C++ function name extraction so previously missing methods are indexed.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Feature | Low |
Re-indexing required for previously indexed C/C++ projects to apply the fix. Re-indexing required for previously indexed C/C++ projects to apply the fix. Source: granite4.1:30b@2026-05-31-audit Confidence: low |
— |
| Bugfix | Medium |
C/C++ function names are now correctly extracted from source files. C/C++ function names are now correctly extracted from source files. Source: llm_adapter@2026-05-31 Confidence: low |
— |
Full changelog
Bugfix Release
C and C++ functions were silently dropped from the index — aidex_signature and aidex_signatures returned types but zero methods for every C/C++ file.
Fixed
C/C++ function names were never extracted (src/parser/extractor.ts)
The generic method extractor only looked for a direct identifier child of a function_definition node. But the tree-sitter-c/c++ grammar never places the name there — it nests it under a declarator chain:
function_definition → (pointer_declarator)* → function_declarator → identifier
As a result name stayed null and every function was discarded, so C/C++ files showed types but no methods at all.
A new findCFunctionName() helper walks the declarator field chain (through any number of pointer_declarator / reference_declarator wrappers) down to the function_declarator and reads the real name. Applied only on the c / cpp path — other languages are untouched.
Verified: loghub_client.c went from 0 → 11 functions extracted (including pointer-return functions like uint8_t *slot_at(...)); regression-tested against C#, TypeScript and C++ with no change to their output.
⚠️ Action required
Already-indexed C/C++ projects keep the old (empty) result in their DB because the file hash is unchanged and won't auto-reindex. Force a re-index with aidex_init (or remove + update the affected files) to pick up the now-extracted functions.
🤖 Generated with Claude Code
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
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.
Related context
Beta — feedback welcome: [email protected]