🔧 Công cụ lập trình•Mã nguồn mở•Đang hoạt động

Sem

CLI kiểm soát phiên bản theo ngữ nghĩa: diff, blame, impact analysis theo entity thay vì theo dòng code.

#sem
Danh mục
🔧 Công cụ lập trình
Giá
Mã nguồn mở
GitHub Stars
⭐ 3,369
Ngôn ngữ
Rust
License
Apache-2.0
Ngày thêm
2026-03-29
Tóm tắt từ README GitHub
Part of the Ataraxy Labs stack : agent-native infrastructure for software development. See also: weave (entity-level git merge driver) · inspect (semantic code review) · opensessions (tmux sidebar for coding agents). Read the manifesto: https://ataraxy-labs.com/#thesis · Essays: https://ataraxy-labs.com/blogs · LLMs: https://ataraxy-labs.com/llms.txt Semantic version control built on Git. Instead of lines changed, sem tells you what entities changed: functions, methods, classes. Why sem? · Install · Commands · Agents (MCP) · Cloud consent · Releases sem is a semantic version control tool that works on top of Git. It parses your code with tree-sitter, extracts every function, class, and method as an entity, and diffs at the entity level instead of lines. This means you see "function was modified" instead of "lines x-y changed." It works in any Git repo with no setup. Cloud-backed queries are opt-in per repo: logging in does not upload a repo or send a query. See the cloud consent flow for the public/private repo states, preview screen, local audit log, and forget controls. Install Or via Homebrew: Or via winget on Windows: Or via Scoop on Windows: Or install the npm
Xem thêm từ README.md

Đánh giá chi tiết

Tổng quan

Sem là CLI quản lý phiên bản code theo ngữ nghĩa. Thay vì diff từng dòng như git, Sem hiểu cấu trúc code: function, class, variable. Diff hiển thị "function X đã thay đổi signature" thay vì "dòng 42-58 bị sửa".

Tính năng chính

  • Semantic diff: so sánh theo entity (function, class, type)
  • Blame theo entity, không theo dòng
  • Impact analysis: thay đổi này ảnh hưởng component nào
  • Hỗ trợ 21 ngôn ngữ lập trình
  • Viết bằng Rust, chạy nhanh

Ai nên dùng

Developer review code thường xuyên, đặc biệt codebase lớn. Team muốn hiểu impact của mỗi thay đổi.

Hạn chế

Còn mới, chưa tích hợp sâu vào các IDE/editor phổ biến.

Sem | Atlas for AI