dsh-tool-ast-grep: AST-based Structural Code Search and Outline Tool
`dsh-tool-ast-grep` 是 DeepSeek Harness (DSH) 生態中的核心插件,旨在解決傳統正則表達式搜索令牌消耗大、語義準確度低的問題。該工具基於 `ast-grep` 引擎,提供 AST 級別的結構化代碼搜索與語法大綱提取能力。其核心功能包括:支持元變量的 `ast_search`、能節省 80%-95% 令牌的 `ast_outline` 結構提取,以及免疫 Shell 轉義問題的子進程安全調用。支持 TypeScript、Python、Rust、Go 等多種語言。安裝該插件需先安裝 `ast-grep` CLI,通過 `dsh plugin` 命令啓用,能有
閱讀全文