feat: add experimental support for AST parsing and static graph indexing

- Introduced CLI options for using AST grep parsers and enabling static graph relationships during indexing.
- Updated configuration management to load new settings for AST parsing and static graph types.
- Enhanced AST grep processor to handle imports with aliases and improve relationship tracking.
- Modified TreeSitter parsers to support synthetic module scopes for better static graph persistence.
- Implemented global relationship updates in the incremental indexer for static graph expansion.
- Added new ArtifactTag and FloatingFileBrowser components to the frontend for improved terminal dashboard functionality.
- Created utility functions for detecting CCW artifacts in terminal output with associated tests.
This commit is contained in:
catlog22
2026-02-15 23:12:06 +08:00
parent 48a6a1f2aa
commit 8938c47f88
39 changed files with 2956 additions and 297 deletions

View File

@@ -23,8 +23,8 @@ dependencies = [
"pathspec>=0.11",
"watchdog>=3.0",
# ast-grep for pattern-based AST matching (PyO3 bindings)
# Note: May have compatibility issues with Python 3.13
"ast-grep-py>=0.3.0; python_version < '3.13'",
# ast-grep-py 0.40+ supports Python 3.13
"ast-grep-py>=0.40.0",
]
[project.optional-dependencies]