mirror of
https://github.com/Egonex-AI/Understand-Anything.git
synced 2026-06-22 10:58:03 +08:00
c447b69faf
Live verification during planning surfaced two facts that change the shipping strategy: 1. tree-sitter-dart@1.0.0's prebuilt wasm uses the pre-`dylink.0` format and fails to load in web-tree-sitter@0.26.x (the version this project uses). Verified by directly loading the upstream wasm and catching the failure in getDylinkMetadata. 2. The grammar source itself is sound — rebuilding with the current tree-sitter-cli@0.26.x + wasi-sdk-29 toolchain produces a working dylink.0-format wasm that parses every construct the extractor needs. Revised packaging: ship the freshly-built wasm as a workspace-internal package (@understand-anything/tree-sitter-dart-wasm) rather than depending on the broken upstream npm artifact. No loader changes required; existing TreeSitterPlugin resolves it the same way it resolves other tree-sitter packages. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
c447b69faf
·
2026-06-13 04:30:09 -07:00
History