feat: index the Salesforce stack (Apex, LWC, Aura, Visualforce)
Closed
DO
1mo ago+1320+1320+0123456789012345678901234567890123456789-7-7-0123456789
Add end-to-end indexing for Salesforce projects as one connected graph:
- Apex (.cls/.trigger): vendored tree-sitter-apex.wasm (ABI 15) + declarative extractor — classes, interfaces, enums, methods, constructors, properties, triggers, inner classes; call/extends/implements edges; annotations.
- Visualforce (.page/.component), Aura (.cmp/.app/.evt/.intf), and LWC HTML templates (lwc/*.html): custom markup extractors (one component node per file).
- Cross-layer salesforce.ts resolver: LWC/Aura JS @salesforce/apex imports ->
Apex method; VF controller=/extensions=/<c:comp> -> Apex class/component; Aura cmp.get("c.x") -> Apex method. Apex stays its own language family so the framework gate keeps these cross-language edges.
Validated: check-grammar PASS (ABI 15); verify-extraction PASS on ebikes-lwc, dreamhouse-lwc, apex-recipes; agent A/B (claude -p, Opus 4.8) shows the LWC->Apex flow answered by one codegraph_explore with 0 Read/0 Grep vs 4-9 Read without. 17 extraction tests; full suite 1257 passed / 0 failed.
Docs: README supported-languages + coverage tables, CHANGELOG, coverage playbook entry, docs/design/salesforce-stack.md, agent-eval corpus.