Cha
1.14.0 - 2026-05-14
v1.14.0
May 14 2026 at 07:28 UTC
Added
- Plugin AST Query API — WASM plugins can now execute tree-sitter queries against the current file's AST via the
tree-queryhost import interface (run-query,run-queries,node-at,nodes-in-range). Enables plugins to do custom structural pattern matching without reimplementing parsing. file-roleenum inanalysis-input— host infers whether a file issource,test,doc,config, orgeneratedfrom its path, allowing plugins to apply differential detection strategies.- SourceModel enrichment —
analysis-inputnow includescomments,type-aliases,parameter-names,switch-arm-values, andis-module-declfields previously only available to internal plugins. parse_file_full()incha-parser— returnsParseResultcarrying model + tree-sitterTree+Languagefor downstream use by WASM host callbacks.
Changed
- WIT bumped to
cha:plugin@0.2.0— breaking change: plugins compiled against0.1.0must be recompiled. No behavioral change for existing internal plugins.