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> |
||
|---|---|---|
| .. | ||
| native | ||
| pi-agent-core | ||
| pi-ai | ||
| pi-coding-agent | ||
| pi-tui | ||