Ataraxy-Labs/sem
github.com原文 ↗
sem 在 Git 之上做 entity-level diff:用 tree-sitter 提取函数、方法、类等实体,并报告“哪个实体变了”而不是单纯行号变化。它支持 26 种语言、任意 Git repo 无需 setup,SQLite entity cache 放在仓库外;`sem diff` 支持 staged、commit/range、rename detection、structural hashing 和 word-level inline highlights,明显是为代码审查和 coding agent 上下文压缩设计的。
–浏览
评论 · Comments