ast-sgrep
v2.0.0
Published
Native ast-sgrep command launcher
Readme
ast-sgrep
Native command launcher used by pi-ast-sgrep. Most Pi users should install the extension instead:
pi install npm:pi-ast-sgrepThis package exposes the equivalent asgrep and ast-sgrep commands and selects one exact-version native package for the current host. Supported hosts at 2.0.0 are macOS arm64/x64, glibc Linux arm64/x64, and Windows x64. Alpine/musl Linux, Windows arm64, and other hosts are rejected explicitly. Installation and execution never download a binary, build Rust source, or search PATH.
The launcher validates native package identity, OS/CPU/libc metadata, exact version, executable state, and SHA-256 checksums (CLI + Code Mode NAPI addon) before returning paths. AST_SGREP_BINARY / ASGREP_CODEMODE_NAPI_PATH are developer overrides and are not needed for a packaged installation.
See the Pi package guide for install/use/update/remove instructions, offline and security behavior, and recovery. MIT.
