Skip to content

0.2.0

Choose a tag to compare

@snaga snaga released this 15 Aug 14:09
· 20 commits to main since this release

AST-Digger v0.2.0 Release Notes

AST-Digger v0.2.0 introduces comprehensive Markdown (.md, .markdown) document parsing and section navigation via tree-sitter! 🎉
AI agents can now explore and extract specific sections from documentation and specifications with minimal token overhead.

✨ What's New

  • 📝 Markdown AST Parsing & Section Navigation:
    • Added tree-sitter based Markdown parser (internal/parser/markdown.go).
    • Supported heading hierarchy (H1-H6, ATX and Setext headings) and section extraction across all core commands:
      • outline: Extract heading outlines from Markdown files.
      • locate: Locate line ranges of specific sections.
      • symbol: Extract targeted section body without reading entire files.
      • references & resolve-import: Find and resolve Markdown links and relative references.
      • directory: Display Markdown files and their top-level headings within directory trees.

📚 Documentation & Refactoring

  • Reorganized SDD specification files from SPECS/ to the standard doc/ directory.
  • Updated SKILL.md and README.md with Markdown exploration best practices for AI agents.

🧪 Testing

  • Added end-to-end and unit tests with test fixtures for Markdown AST operations.