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` 命令启用,能有

阅读全文