HeadlinesBriefing favicon HeadlinesBriefing.com

Sem Unveils Entity‑Level Diff Tool for Git

Hacker News •
×

Sem launches a command‑line binary that replaces traditional line‑by‑line diffs with function‑level changes, enabling developers to see added, modified, or deleted entities across any language. The tool automatically hooks into Git, requiring no plugins or config, and outputs JSON for automation.

The new diff engine uses rename detection, structural hashing, and inline highlights to surface three changed entities in a single file. Benchmarks show AI agents perform 2.3× better on Sem output versus raw diffs, proving the approach useful for model‑driven code analysis.

Sem also offers blame, impact, and log commands that trace entity ownership, dependency graphs, and historical evolution. With support for 26 languages and a single binary, the tool fits into existing workflows and can be installed via Homebrew or Cargo. The result is a lightweight, language‑agnostic system that turns every git diff into an actionable, entity‑aware view.