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

@@ -78,9 +78,51 @@
"layoutSplitV": "上下分割",
"layoutGrid": "2x2 网格",
"launchCli": "启动 CLI",
"tool": "工具",
"mode": "模式",
"modeDefault": "默认",
"modeYolo": "Yolo",
"quickCreate": "快速创建",
"configure": "配置..."
},
"cliConfig": {
"title": "创建 CLI 会话",
"description": "配置工具、模型、模式、Shell 与工作目录。",
"tool": "工具",
"model": "模型",
"modelAuto": "自动",
"mode": "模式",
"modeDefault": "默认",
"modeYolo": "Yolo",
"shell": "Shell",
"workingDir": "工作目录",
"workingDirPlaceholder": "例如:/path/to/project",
"browse": "浏览",
"errors": {
"workingDirRequired": "工作目录不能为空。",
"createFailed": "创建会话失败。"
}
},
"fileBrowser": {
"title": "文件浏览器",
"open": "打开文件浏览器",
"selected": "已选文件",
"noSelection": "未选择文件",
"copyPath": "复制路径",
"copied": "已复制",
"insertPath": "插入到终端",
"loading": "加载中...",
"loadFailed": "加载文件树失败"
},
"artifacts": {
"types": {
"workflowSession": "工作流",
"liteSession": "Lite",
"claudeMd": "CLAUDE.md",
"ccwConfig": "配置",
"issue": "问题"
}
},
"pane": {
"selectSession": "选择会话",
"selectSessionHint": "从下拉菜单中选择终端会话",