Cha
1.16.0 - 2026-05-21
v1.16.0
May 21 2026 at 11:35 UTC
Added
TsxParserincha-parser—.tsxfiles now route to a parser usingtree_sitter_typescript::LANGUAGE_TSX, so JSX nodes (jsx_element,jsx_attribute,jsx_self_closing_element) are first-class AST citizens. WASM plugins can now match them viatree_query::run_query.examples/wasm-plugin-react-hooks— example WASM plugin demonstratingtree_queryintegration. Detects 5 React Rules of Hooks violations: hooks called from non-component functions, hooks in conditionals, hooks in loops, hooks after early return, and hooks in nested callbacks.examples/wasm-plugin-todo-tracker— example WASM plugin demonstrating extended TODO comment tracking beyond the builtintodo_tracker. Adds 5 new smells: extended tag set (BUG/WIP/OPTIMIZE/PERF/DEPRECATED + user-configurable extras),(by:YYYY-MM-DD)expiration, priority escalation (!/!!/!!!), per-file TODO hotspot detection, and required-attribution policy.
Notes
- WIT unchanged at
cha:plugin@0.3.0(no breaking change). - Routing for
.ts/.mts/.ctscontinues to useLANGUAGE_TYPESCRIPT. Only.tsxswitched.