singularity-forge/packages/native
Lex Christopherson e05292f772 feat: add native ast module — AST-aware structural search and rewrite via ast-grep
Port ast-grep integration from Oh My Pi with 38+ language support via tree-sitter
grammars. Exposes `astGrep` (search) and `astEdit` (rewrite) as N-API functions
with TypeScript wrappers.

Key changes:
- New `gsd-ast` crate with language definitions, glob utilities, and ast-grep core
- Replaces fs_cache/task dependencies with `ignore` crate for file walking
- Synchronous API matching the existing grep module pattern
- Full TypeScript type declarations in packages/native/src/ast/

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-13 12:47:27 -06:00
..
src feat: add native ast module — AST-aware structural search and rewrite via ast-grep 2026-03-13 12:47:27 -06:00
package.json feat: add native ast module — AST-aware structural search and rewrite via ast-grep 2026-03-13 12:47:27 -06:00
tsconfig.json feat: Rust native engine scaffold with grep module 2026-03-13 12:21:09 -06:00