Skip to content

v0.7.0: Zero Cold-Start Daemon & Multi-Tier AST Extraction

Choose a tag to compare

@blackrain02 blackrain02 released this 04 Oct 09:59
· 13 commits to main since this release

Highlights in v0.7.0

  • Multi-Tier AST Extraction (lg contract <file> [--full]): Eliminates over-pruning by providing full visibility into component and model internals without reading entire 400+ line files.
    • Vue 3: Extracts defineExpose, internal reactive state (ref, reactive, computed), lifecycle hooks (onMounted, onUnmounted, etc.) with called function summaries, and balanced multi-target watchers (watch([a, b], ...)).
    • PHP: Extracts traits used inside classes (use HasFactory, SoftDeletes;), protected properties ($casts, $fillable, $table), and protected methods (booted(), casts()).
    • TS/JS: Extracts internal interfaces and types.
  • Zero Cold-Start Architecture via Linux User Service (systemd --user):
    • Automatically manages daemon lifecycle with memory limits and instant recovery (Restart=always).
    • Warm ONNX runtime in memory delivers sub-5ms semantic queries and AST pruning.
  • MCP Server & CLI:
    • Added full: bool = False to localgrep_contract MCP tool.
    • Added --full and --hooks flags to lg contract CLI.