feat(natives): migrated native bindings from WASM to Node.js N-API with ripgrep-backed grep module

- Migrated native bindings from WebAssembly (wasm-bindgen) to Node.js N-API architecture for improved performance and platform support.
- Replaced worker pool-based async architecture with synchronous native addon calls, eliminating thread overhead and simplifying the API.
- Added new grep module with ripgrep-backed filesystem search supporting parallel processing, glob filtering, and context line extraction.
- Updated build system to compile Rust crates to platform-specific .node binaries instead of WASM modules.
- Removed WASI implementation and worker pool infrastructure no longer needed with N-API native bindings.
- Updated CI/CD pipeline to build native addons for multiple platforms (Linux x64/arm64, macOS x64/arm64, Windows x64) and include them in releases.
This commit is contained in:
can1357
2026-01-31 18:02:56 +01:00
parent e67e02947f
commit eabbde0c8a
41 changed files with 1858 additions and 5159 deletions
+2
View File
@@ -46,3 +46,5 @@ __pycache__/
*.cpuprofile
target/
*.node