Repository navigation
v0.8.0: High-Leverage AI Agent Acceleration Tools & AST Pruning
LocalGrep v0.8.0: The Complete Autonomous Agent Accelerator
This release delivers the high-leverage agent tools and AST pruning fixes detailed in the architecture roadmap, cutting agent token consumption by up to 92% and providing instant deterministic file navigation:
New Commands & Capabilities:
lg slice <file> '<symbol>' [--json]: Skeletonized file context collapsing non-target methods for 85%+ token reduction during edits.lg lint-fast <file> [--json]: Sub-20ms pre-flight linter for PHP, Vue SFC tag balancing, and Python syntax.lg test-map <file> [--run] [--json]: Targeted Pest and PHPUnit test selector and runner with distilled output.lg sample <Model|table> [--json]: Zero-query database peek from PostgreSQL socket, SQLite, and MySQL with credential redaction.lg impact <symbol|file> [--json]: Downstream blast radius engine mapping frontend/backend callers, routes, and affected tests.lg error-decode [log|stdin] [--json]: Intelligent stack-trace distiller stripping framework vendor noise and inlining SQL query bindings.lg env-audit [--json]: Configuration and environment validator checking live schema, disabled services, and credentials.lg state-map <component.vue> [--json]: Frontend reactive dependency DAG tracing props, computeds, watchers, and emits.lg api-shape <route|controller@method> [--json]: Full-stack contract synthesizer unifying Route, FormRequest, Resource, and Inertia components.- Exact AST Symbol Short-Circuiting in
lg prune: Fixes cross-encoder length penalty on concise methods (score = 1000.0).
Test Coverage:
- 40/40 unit tests passing in <0.2s.