6 releases
| 0.4.2 | Apr 26, 2026 |
|---|---|
| 0.4.1 | Apr 26, 2026 |
| 0.2.0 | Apr 25, 2026 |
| 0.1.2 | Apr 25, 2026 |
#1718 in Artificial intelligence
Used in 3 crates
245KB
6K
SLoC
drift-core
Core data model, attribution engine, and compaction provider trait for Drift AI — the AI-native blame CLI.
This crate contains the library code that both the drift CLI binary
(published as drift-ai) and the
stdio MCP server (drift-mcp) are
built on:
NormalizedSession+CodeEvent— agent-agnostic session and per-file event models.EventStore— WAL-mode SQLite storage withcode_events,sessions,file_shas, and (v0.1.1+)compaction_callstables.CompactionProvidertrait —MockProviderfor offline/test runs,AnthropicProviderfor livePOST /v1/messages?stream=truewith retry + context-window handling.- Attribution engine — SHA-256 ladder for human-edit detection;
commit_draftsupserts events with parent chains.
See the top-level README for install, quickstart, and the full feature tour.
Licensed under Apache-2.0.
Dependencies
~35–52MB
~742K SLoC